patents.google.com

CN108055606B - Information prompting method of electronic equipment and electronic equipment - Google Patents

  • ️Tue Dec 24 2019

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The application provides an information prompting method of electronic equipment and the electronic equipment, and aims to provide the information prompting method for the user when the user needs to use the electronic equipment (if the user needs to wear an earphone), so that the user can effectively distinguish a first device and a second device in the electronic equipment based on the prompting information, and the situation that the first device and the second device are used reversely, for example, the situation that the left earphone and the right earphone in an earphone device are worn reversely, and the like, is avoided. The information prompting method of the electronic device and the electronic device provided by the application are described in detail through a plurality of embodiments.

Referring to fig. 1, fig. 1 is a flowchart of an information prompting method of an electronic device according to an embodiment of the present application, where the method is applicable to an electronic device including a first apparatus and a second apparatus, such as an earphone apparatus including left and right earphones, and the method is particularly applicable to a target apparatus of the first apparatus and the second apparatus, where the target apparatus may be the first apparatus and/or the second apparatus, that is, the method may be applied to any one of the first apparatus and the second apparatus of the electronic device, or may also be applied to both the first apparatus and the second apparatus.

As shown in fig. 1, in this embodiment, the information prompting method of the electronic device includes the following steps:

step 101, obtaining the state information of the target device.

As described above, the target device is a first device and/or a second device in the electronic device, taking the electronic device as an earphone device, the first device and the second device are a left earphone and a right earphone of the earphone device, respectively, for example, and the target device may be the left earphone and/or the right earphone.

Since the present application aims to enable a user to distinguish a first device and a second device (for example, distinguish between left and right earphones and the like) in an electronic device by effectively prompting the user when the user needs to use the electronic device, the state information of the target device obtained in this step may be state information that can be associated with a condition of a user's need to use the electronic device, such as acceleration information of the electronic device, or human body proximity information and ambient light information of the electronic device, and the like, so that it is possible to subsequently analyze and determine whether the user has a need to use the electronic device according to the state information.

And 102, judging whether the state information meets a preset condition or not to obtain a judgment result.

The preset conditions are as follows: the status information may reflect a condition that the user should satisfy when having a requirement of using the electronic device, and the condition may be predetermined by a technician according to a type of the status information, for example, according to whether the status information is acceleration information of the electronic device, or human body proximity information, ambient light information, or the like, the condition that the user should satisfy when having a requirement of using the electronic device is determined accordingly.

On the basis, after the state information of the target device is obtained, whether the state information meets the preset condition or not can be judged, so that whether the user has the requirement of using the electronic equipment at present or not can be known. If the preset condition is met, the user currently has the requirement for using the electronic equipment, otherwise, the user does not have the requirement for using the electronic equipment.

And 103, if the judgment result shows that the first device and the second device are satisfied, performing information prompt on the target device to distinguish the first device from the second device through the information prompt.

If the judgment result is that the state information of the target device meets the preset condition, the state information indicates that the user currently has the requirement for using the electronic equipment, in this case, in order to avoid the user to use the first device and the second device of the electronic equipment reversely, for example, to wear the left ear earphone and the right ear earphone of the earphone device reversely, information prompt can be performed in the target device, namely the first device and/or the second device, so that the user can effectively distinguish the first device from the second device according to the prompt information.

Specifically, taking the earphone device as an example, when the state information of the left ear earphone and/or the right ear earphone serving as the target device meets the preset condition, information prompt may be performed in the left ear earphone and/or the right ear earphone, so that the user can effectively distinguish the left ear earphone and the right ear earphone according to the prompt information, thereby avoiding wearing the left ear earphone and the right ear earphone reversely.

On the contrary, if the judgment result is that the state information of the target device does not meet the preset condition, the user does not have the requirement of using the electronic equipment at present, and therefore prompting is not needed.

Based on the above scheme, in the information prompting method for electronic equipment provided in this embodiment, the electronic equipment to which the method is applied includes the first device and the second device, and the method is particularly applicable to the first device and/or the second device in the electronic equipment, and here, the device to which the method is applied is referred to as a target device. The method includes obtaining state information of a target device; judging whether the state information meets a preset condition or not; and if the first device and the second device are satisfied, performing information prompt on the target device so as to distinguish the first device from the second device through the prompt. Therefore, the technical scheme is provided, the target device can be subjected to information prompt by prejudging the state information of the target device, and the first device and the second device can be effectively distinguished through the prompt.

Referring to fig. 2, fig. 2 is a flowchart of an information prompting method of an electronic device according to a second embodiment of the present application, where in the second embodiment, the information prompting method of the electronic device may be implemented through the following processing procedures:

step 201, obtaining acceleration information of the target device.

In this embodiment, the obtained state information of the target device is specifically acceleration information of the target device, so that it can be supported to analyze and determine whether the user has a requirement for using the electronic device through the acceleration information of the target device in the electronic device.

In practical implementation of the present application, the acceleration information of the target device may be acquired by presetting corresponding acquisition devices, such as an acceleration sensor and a nine-axis sensor, in the target device (such as a left-ear earphone and/or a right-ear earphone).

Step 202, judging whether the acceleration information represents that the target device is changed from a static state to a motion state, and obtaining a judgment result.

In a real application scenario, when a user has a demand for using the electronic device, a corresponding enabling action is generally applied to the electronic device, such as picking up an earphone for use, so that the state of the electronic device is correspondingly changed from a static state to a motion state with acceleration, and therefore, whether the user has the demand for using the electronic device can be reversely known based on the motion state change condition of a target device in the electronic device. If the target device changes from the static state to the motion state, the user has a requirement for using the electronic equipment, and otherwise, the user does not have the requirement.

In view of this, the preset conditions may be set as: the target device changes from a stationary state to a moving state. Therefore, in this step, it is possible to determine whether the user has a demand for using the electronic device by determining whether the acceleration information indicates that the target device is changed from the stationary state to the moving state.

Specifically, the change of the motion state of the target device can be known based on the acceleration information of the target device, wherein if the acceleration of the target device changes from zero to non-zero, the change of the target device from the static state to the motion state with the acceleration is correspondingly represented, and such a situation can be determined that the user has the requirement for using the electronic equipment, and otherwise, the situation is not available.

In the specific implementation of the present application, in order to avoid erroneous determination of the state change of the target device, for example, erroneous determination caused by a measurement error of a corresponding sensing device (e.g., an acceleration sensor or a nine-axis sensor), an acceleration change threshold may be preset, and then, only when a change value of the acceleration of the target device from zero to non-zero is not lower than the threshold, it is determined that the state of the target device is changed from the stationary state to the moving state, otherwise, if the change value of the acceleration of the target device from zero to non-zero is lower than the threshold, it is determined that the change value is caused by the measurement error, and it is still determined that the target device is in the stationary state.

And 203, if the judgment result shows that the target device is changed from the static state to the motion state, performing information prompt on the target device in a vibration, voice and/or information display mode.

As can be seen from the above description, when the determination result indicates that the target device has changed from the stationary state to the moving state, the determination result indicates that the user has a need to use the electronic apparatus, for example, the user has a need to use an earphone device, and in this case, in order to avoid the user from using the first device and the second device of the electronic apparatus reversely when the user uses the electronic apparatus, the target device may prompt information, so that the user can effectively distinguish the first device and the second device of the electronic apparatus according to the prompt information, and further avoid using the first device and the second device reversely.

When the information is prompted, the user may be prompted in the form of vibration, voice, and/or information display, which is not limited in this embodiment.

Specifically, for example, the user may be prompted to be prompted in a vibration manner by providing a vibrator in one of the first device and the second device, or by providing a vibrator in both devices; or, the existing sound playing module (such as a speaker in an earphone) or an additionally arranged sound playing module in the first device and/or the second device can be directly utilized to prompt the user in a voice broadcast mode; alternatively, it is also possible to support prompting the user in an LED display manner by providing an LED (Light Emitting Diode) display unit in one of the first device and the second device, or providing an LED display unit in both devices.

Taking a typical application scenario of wearing and using left and right earphones in an earphone device as an example, assuming that the method of the present embodiment is specifically applied to the left earphone of the earphone device, but not applied to the right earphone, when a user needs to use and pick up the earphone device, the left earphone triggers an information prompt because of a change in acceleration, such as triggering vibration, voice broadcast, or LED display, and the right earphone does not make a prompt, so that the user can directly determine that the earphone with the information prompt is the left earphone, and the other earphone without the information prompt is the right earphone. In contrast, the case where the method of the present embodiment is applied to the right-ear headphone and the method of the present embodiment is not applied to the left-ear headphone is similar to the above case, and will not be described in detail here.

If the method of this embodiment is applied to the left and right earphones at the same time, the user can distinguish the left and right earphones by performing different and differentiated information prompts on the left and right earphones, specifically, for example, the left and right earphones vibrate in different vibration modes or perform voice broadcast with different voice broadcast contents, or perform LED display with different LED display contents (for example, when the left earphone is picked up, the left earphone is lit and displays "L", and conversely, if the right earphone is picked up, the right earphone is lit and displays "R", etc.), and so on, so that the user can effectively distinguish the left and right earphones according to the difference of the prompt information.

In practical application, a prompting mode and/or a personalized setting function of prompting content can be provided for a user in the first device and/or the second device of the electronic equipment, so that the personalized prompting requirement of the user can be met.

The embodiment realizes that the information prompt is triggered based on the acceleration information of the target device in the electronic equipment, so that by applying the scheme of the embodiment, the user can effectively distinguish the first device and the second device of the electronic equipment based on the triggered prompt information, for example, the left ear earphone and the right ear earphone are effectively distinguished, and therefore the problem that the left ear earphone and the right ear earphone are worn reversely can be avoided.

Referring to fig. 3, fig. 3 is a flowchart of an information prompting method of an electronic device according to a third embodiment of the present application, where in the third embodiment, the information prompting method of the electronic device may be implemented through the following processing procedures:

and 301, obtaining human body approaching information and environment light information of the target device.

In this embodiment, the obtained state information of the target device is specifically human body proximity information and ambient light information of the target device, so that subsequent support is performed to analyze and determine whether the user has a requirement for using the electronic device through the human body proximity information and the ambient light information of the target device in the electronic device.

In practical implementation of the present application, the acquisition of the human body proximity information and the ambient light information of the target device can be realized by presetting corresponding acquisition devices, such as a human body proximity sensor, an ambient light sensor, and the like, in the target device (such as a left ear earphone and/or a right ear earphone).

Step 302, determining whether the human body proximity information and the ambient light information indicate that the human body is close to the target device and the ambient light of the target device is dark, and obtaining a determination result.

In a practical application scenario, when a user has a demand for using an electronic device, a corresponding enabling action is generally applied to the electronic device, such as picking up an earphone and then performing a wearing action on the earphone, and for the electronic device such as an earphone device, when the user picks up the earphone and performs the wearing action, a state of the electronic device is correspondingly close to a human body, and meanwhile, in the process of wearing the earphone, a condition of blocking light occurs, for example, in the process of wearing the earphone to an ear, the ear or a head can block ambient light of the earphone, so that ambient light of the earphone can be darkened.

Correspondingly, the preset conditions may be set as: the human body approaches the target device and the ambient light of the target device becomes dark.

On the basis, whether the user has the requirement of using the electronic equipment can be known by judging whether the human body approaching information and the environment light information represent that the human body approaches the target device and the environment light of the target device is dark. If the human body approach information and the ambient light information of the target device in the electronic equipment indicate that the human body approaches the target device and the ambient light of the target device becomes dark, determining that the user has the requirement for using the electronic equipment; on the contrary, if the human body proximity information and the ambient light information indicate that the human body is not in proximity to the target device or that the ambient light of the target device is not dimmed, it is determined that the user does not have a demand for using the electronic apparatus.

And 303, if the judgment result shows that the human body approaches the target device and the ambient light of the target device becomes dark, performing information prompt on the target device in a voice mode and/or a vibration mode.

In this case, in order to avoid the user from using the first device and the second device of the electronic device in the opposite direction when the user uses the electronic device, information can be presented in the target device, so that the user can effectively distinguish the first device and the second device of the electronic device according to the presentation information, and further avoid using the first device and the second device in the opposite direction.

In the embodiment, the information prompt is executed on the target device in the process that the user wears the electronic equipment, for example, in the process that the user wears the earphone, so that the user can be prompted in a voice and/or vibration mode, and the display modes such as the LED and the like are not applicable any more.

Accordingly, the support may be caused to prompt the user in a vibratory manner by providing a vibrator on one of the first device, the second device, or both devices; alternatively, the user may be prompted in a voice broadcast manner by directly using a sound generating unit (e.g., a sound generating unit in an earphone) in the first device and/or the second device.

Taking a typical application scenario of wearing and using left and right earphones in an earphone device as an example, assuming that the method is specifically applied to the left earphone of the earphone device and not applied to the right earphone, when a user needs to use and wear the earphones, the left earphone can trigger information prompt due to the fact that a human body approaches and the ambient light becomes dark in the wearing process, such as triggering vibration or triggering voice broadcast, and the right earphone does not make a prompt. In contrast, the case where the method of the present embodiment is applied to the right-ear headphone and the method of the present embodiment is not applied to the left-ear headphone is similar to the above case, and will not be described in detail here.

If the method of this embodiment is applied to the left and right earphones at the same time, the user can distinguish the left and right earphones by performing different information prompts in the left and right earphones, specifically, for example, the left and right earphones vibrate in different vibration modes or perform voice broadcast with different voice broadcast contents, and the like, respectively, so that the user can effectively distinguish the left and right earphones according to the difference of the prompt information.

This embodiment has realized triggering information suggestion based on human body proximity information and the ambient light information of target device in the electronic equipment to, using this embodiment scheme, the user can effectively distinguish first device, the second device of electronic equipment based on the tip information, for example, effectively distinguish left and right ear earphone etc. consequently can avoid appearing the problem that left and right ear earphone wore the contrary.

Next, referring to a schematic structural diagram of the electronic device in this embodiment shown in fig. 4, the electronic device includes a first apparatus 100 and a second apparatus 200, and as shown in fig. 5, a target apparatus of the first apparatus 100 and the second apparatus 200 includes:

an information collector 101 for collecting status information of the target device; the target device is the first device 100 and/or the second device 200.

The target device is a first device and/or a second device in the electronic device, taking the electronic device as an earphone device, and taking the first device and the second device as a left earphone and a right earphone of the earphone device respectively as an example, the target device may be the left earphone and/or the right earphone.

The purpose of the present application is to enable a user to distinguish a first device and a second device (for example, to distinguish between left and right earphones and the like) in an electronic device by effectively prompting the user when the user needs to use the electronic device, so that the state information of the target device collected by the information collector 101 may be state information that can be associated with a demand condition of the user for using the electronic device, such as acceleration information that may include but is not limited to the electronic device, or human body proximity information and ambient light information of the electronic device, and the like, so that it is possible to analyze and determine whether the user has a demand for using the electronic device according to the state information.

A processor 102, configured to obtain state information of the target device acquired by the information acquirer 101; judging whether the state information meets a preset condition or not to obtain a judgment result; and when the judgment result shows that the first device and the second device are satisfied, performing information prompt on the target device to distinguish the first device from the second device through the information prompt.

The preset conditions are as follows: the status information may reflect a condition that the user should satisfy when having a requirement of using the electronic device, and the condition may be predetermined by a technician according to a type of the status information, for example, according to whether the status information is acceleration information of the electronic device, or human body proximity information, ambient light information, or the like, the condition that the user should satisfy when having a requirement of using the electronic device is determined accordingly.

On the basis, after the state information of the target device is obtained, whether the state information meets the preset condition or not can be judged, so that whether the user has the requirement of using the electronic equipment at present or not can be known. If the preset condition is met, the user currently has the requirement for using the electronic equipment, otherwise, the user does not have the requirement for using the electronic equipment.

When it is determined that the state information of the target device satisfies the preset condition, and accordingly indicates that the user currently has a demand for using the electronic device, in order to avoid the user from using the first device and the second device of the electronic device reversely, for example, wearing left and right earphones of an earphone device reversely, etc., information can be prompted in the target device, that is, the first device and/or the second device, so that the user can effectively distinguish the first device from the second device according to the prompt information.

Specifically, taking the earphone device as an example, when the state information of the left ear earphone and/or the right ear earphone serving as the target device meets the preset condition, information prompt may be performed in the left ear earphone and/or the right ear earphone, so that the user can effectively distinguish the left ear earphone and the right ear earphone according to the prompt information, thereby avoiding wearing the left ear earphone and the right ear earphone reversely.

On the contrary, if the judgment result is that the state information of the target device does not meet the preset condition, the user does not have the requirement of using the electronic equipment at present, and therefore prompting is not needed.

Based on the above scheme, the electronic device provided in this embodiment includes a first device and a second device, where a target device (i.e., the first device and/or the second device) in the first device obtains status information of the target device, determines whether the status information satisfies a preset condition, and performs an information prompt on the target device when the status information satisfies the preset condition, so that a user can distinguish the first device from the second device based on the prompt. Therefore, the technical scheme is provided, the user can effectively distinguish the first device and the second device of the electronic equipment based on the prompt information, for example, the left ear earphone and the right ear earphone are effectively distinguished, and therefore the problem that the left ear earphone and the right ear earphone are worn reversely can be avoided.

Next, a fifth embodiment of the present application provides a possible implementation manner of the processor 102, and in this embodiment, the processor 102 may specifically implement effective information prompt for a user when the user has a requirement of using an electronic device through the following processing procedures:

obtaining acceleration information of the target device; judging whether the acceleration information represents that the target device is changed from a static state to a motion state or not to obtain a judgment result; and if the judgment result shows that the target device is changed from the static state to the motion state, performing information prompt on the target device in a vibration, voice and/or information display mode.

In this embodiment, the obtained state information of the target device is specifically acceleration information of the target device, so that it can be supported to analyze and determine whether the user has a requirement for using the electronic device through the acceleration information of the target device in the electronic device.

In practical implementation of the present application, the acceleration information of the target device may be acquired by presetting corresponding acquisition devices, such as an acceleration sensor and a nine-axis sensor, in the target device (such as a left-ear earphone and/or a right-ear earphone).

In a real application scenario, when a user has a demand for using the electronic device, a corresponding enabling action is generally applied to the electronic device, such as picking up an earphone for use, so that the state of the electronic device is correspondingly changed from a static state to a motion state with acceleration, and therefore, whether the user has the demand for using the electronic device can be reversely known based on the motion state change condition of a target device in the electronic device. If the target device changes from the static state to the motion state, the user has a requirement for using the electronic equipment, and otherwise, the user does not have the requirement.

In view of this, the preset conditions may be set as: the target device changes from a stationary state to a moving state. Therefore, whether the user has the requirement for using the electronic equipment can be obtained by judging whether the acceleration information represents that the target device is changed from the static state to the motion state.

Specifically, the change of the motion state of the target device can be known based on the acceleration information of the target device, wherein if the acceleration of the target device changes from zero to non-zero, the change of the target device from the static state to the motion state with the acceleration is correspondingly represented, and such a situation can be determined that the user has the requirement for using the electronic equipment, and otherwise, the situation is not available.

In the specific implementation of the present application, in order to avoid erroneous determination of the state change of the target device, for example, erroneous determination caused by a measurement error of a corresponding sensing device (e.g., an acceleration sensor or a nine-axis sensor), an acceleration change threshold may be preset, and then, only when a change value of the acceleration of the target device from zero to non-zero is not lower than the threshold, it is determined that the state of the target device is changed from the stationary state to the moving state, otherwise, if the change value of the acceleration of the target device from zero to non-zero is lower than the threshold, it is determined that the change value is caused by the measurement error, and it is still determined that the target device is in the stationary state.

As can be seen from the above description, when the determination result indicates that the target device has changed from the stationary state to the moving state, the determination result indicates that the user has a need to use the electronic apparatus, for example, the user has a need to use an earphone device, and in this case, in order to avoid the user from using the first device and the second device of the electronic apparatus reversely when the user uses the electronic apparatus, the target device may prompt information, so that the user can effectively distinguish the first device and the second device of the electronic apparatus according to the prompt information, and further avoid using the first device and the second device reversely.

When the information is prompted, the user may be prompted in the form of vibration, voice, and/or information display, which is not limited in this embodiment.

Specifically, for example, the user may be prompted to be prompted in a vibration manner by providing a vibrator in one of the first device and the second device, or by providing a vibrator in both devices; or, the existing sound playing module (such as a speaker in an earphone) or an additionally arranged sound playing module in the first device and/or the second device can be directly utilized to prompt the user in a voice broadcast mode; alternatively, it is also possible to support prompting the user in an LED display manner by providing an LED (Light Emitting Diode) display unit in one of the first device and the second device, or providing an LED display unit in both devices.

Taking a typical application scenario of wearing and using left and right earphones in an earphone device as an example, assuming that the method of the present embodiment is specifically applied to the left earphone of the earphone device, but not applied to the right earphone, when a user needs to use and pick up the earphone device, the left earphone triggers an information prompt because of a change in acceleration, such as triggering vibration, voice broadcast, or LED display, and the right earphone does not make a prompt, so that the user can directly determine that the earphone with the information prompt is the left earphone, and the other earphone without the information prompt is the right earphone. In contrast, the case where the method of the present embodiment is applied to the right-ear headphone and the method of the present embodiment is not applied to the left-ear headphone is similar to the above case, and will not be described in detail here.

If the method of this embodiment is applied to the left and right earphones at the same time, the user can distinguish the left and right earphones by performing different and differentiated information prompts on the left and right earphones, specifically, for example, the left and right earphones vibrate in different vibration modes or perform voice broadcast with different voice broadcast contents, or perform LED display with different LED display contents (for example, when the left earphone is picked up, the left earphone is lit and displays "L", and conversely, if the right earphone is picked up, the right earphone is lit and displays "R", etc.), and so on, so that the user can effectively distinguish the left and right earphones according to the difference of the prompt information.

In practical application, a prompting mode and/or a personalized setting function of prompting content can be provided for a user in the first device and/or the second device of the electronic equipment, so that the personalized prompting requirement of the user can be met.

The embodiment realizes that the information prompt is triggered based on the acceleration information of the target device in the electronic equipment, so that by applying the scheme of the embodiment, the user can effectively distinguish the first device and the second device of the electronic equipment based on the triggered prompt information, for example, the left ear earphone and the right ear earphone are effectively distinguished, and therefore the problem that the left ear earphone and the right ear earphone are worn reversely can be avoided.

In this embodiment, the processor 102 may specifically perform effective information prompt on a user when the user has a requirement for using an electronic device through the following processing procedures:

acquiring human body proximity information and ambient light information of the target device; judging whether the human body approaching information and the ambient light information indicate that the human body approaches the target device and the ambient light of the target device becomes dark to obtain a judgment result; and if the judgment result shows that the human body approaches the target device and the ambient light of the target device becomes dark, performing information prompt on the target device in a voice mode and/or a vibration mode.

In this embodiment, the obtained state information of the target device is specifically human body proximity information and ambient light information of the target device, so that subsequent support is performed to analyze and determine whether the user has a requirement for using the electronic device through the human body proximity information and the ambient light information of the target device in the electronic device.

In practical implementation of the present application, the acquisition of the human body proximity information and the ambient light information of the target device can be realized by presetting corresponding acquisition devices, such as a human body proximity sensor, an ambient light sensor, and the like, in the target device (such as a left ear earphone and/or a right ear earphone).

In a practical application scenario, when a user has a demand for using an electronic device, a corresponding enabling action is generally applied to the electronic device, such as picking up an earphone and then performing a wearing action on the earphone, and for the electronic device such as an earphone device, when the user picks up the earphone and performs the wearing action, a state of the electronic device is correspondingly close to a human body, and meanwhile, in the process of wearing the earphone, a condition of blocking light occurs, for example, in the process of wearing the earphone to an ear, the ear or a head can block ambient light of the earphone, so that ambient light of the earphone can be darkened.

Correspondingly, the preset conditions may be set as: the human body approaches the target device and the ambient light of the target device becomes dark.

On the basis, whether the user has the requirement of using the electronic equipment can be known by judging whether the human body approaching information and the environment light information represent that the human body approaches the target device and the environment light of the target device is dark. If the human body approach information and the ambient light information of the target device in the electronic equipment indicate that the human body approaches the target device and the ambient light of the target device becomes dark, determining that the user has the requirement for using the electronic equipment; on the contrary, if the human body proximity information and the ambient light information indicate that the human body is not in proximity to the target device or that the ambient light of the target device is not dimmed, it is determined that the user does not have a demand for using the electronic apparatus.

In this case, in order to avoid the user from using the first device and the second device of the electronic device in the opposite direction when the user uses the electronic device, information can be presented in the target device, so that the user can effectively distinguish the first device and the second device of the electronic device according to the presentation information, and further avoid using the first device and the second device in the opposite direction.

In the embodiment, the information prompt is executed on the target device in the process that the user wears the electronic equipment, for example, in the process that the user wears the earphone, so that the user can be prompted in a voice and/or vibration mode, and the display modes such as the LED and the like are not applicable any more.

Accordingly, the support may be caused to prompt the user in a vibratory manner by providing a vibrator on one of the first device, the second device, or both devices; alternatively, the user may be prompted in a voice broadcast manner by directly using a sound generating unit (e.g., a sound generating unit in an earphone) in the first device and/or the second device.

Taking a typical application scenario of wearing and using left and right earphones in an earphone device as an example, assuming that the method is specifically applied to the left earphone of the earphone device and not applied to the right earphone, when a user needs to use and wear the earphones, the left earphone can trigger information prompt due to the fact that a human body approaches and the ambient light becomes dark in the wearing process, such as triggering vibration or triggering voice broadcast, and the right earphone does not make a prompt. In contrast, the case where the method of the present embodiment is applied to the right-ear headphone and the method of the present embodiment is not applied to the left-ear headphone is similar to the above case, and will not be described in detail here.

If the method of this embodiment is applied to the left and right earphones at the same time, the user can distinguish the left and right earphones by performing different information prompts in the left and right earphones, specifically, for example, the left and right earphones vibrate in different vibration modes or perform voice broadcast with different voice broadcast contents, and the like, respectively, so that the user can effectively distinguish the left and right earphones according to the difference of the prompt information.

This embodiment has realized triggering information suggestion based on human body proximity information and the ambient light information of target device in the electronic equipment to, using this embodiment scheme, the user can effectively distinguish first device, the second device of electronic equipment based on the tip information, for example, effectively distinguish left and right ear earphone etc. consequently can avoid appearing the problem that left and right ear earphone wore the contrary.

It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.

For convenience of description, the above system or apparatus is described as being divided into various modules or units by function, respectively. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.

From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.

Finally, it is further noted that, herein, relational terms such as first, second, third, fourth, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.