CN-122027933-A - Control method, device and earphone
Abstract
The embodiment of the disclosure provides a control method, a control device and an earphone, which are applied to the earphone, wherein the method comprises the steps of monitoring the wearing state of the earphone; acquiring an operation instruction of a user for the earphone, wherein the operation instruction comprises at least one of a wake-up instruction, a camera shooting instruction, an inquiry instruction or an audio playing instruction, and controlling the earphone to execute corresponding target operation according to the wearing state and the operation instruction. The flexibility of using the earphone is improved.
Inventors
- CAI WEI
- LI XINYU
- XIA QING
- XU MENG
- LI HAOQIAN
- YANG JU
Assignees
- 深圳市大十未来科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241101
Claims (20)
- 1. A control method, characterized by being applied to headphones, comprising: Monitoring the wearing state of the earphone; acquiring an operation instruction of a user for the earphone, wherein the operation instruction comprises at least one of a wake-up instruction, a camera shooting instruction, an inquiry instruction or an audio playing instruction; and controlling the earphone to execute corresponding target operation according to the wearing state and the operation instruction.
- 2. The control method according to claim 1, wherein the operation instruction is the wake instruction, and controlling the earphone to execute the corresponding target operation according to the wearing state and the operation instruction comprises: and if the wearing state is the worn state, controlling the earphone to wake up a voice assistant connected with the earphone.
- 3. The control method according to claim 2, characterized in that the method further comprises: And controlling a voice assistant connected with the earphone to play preset voice, wherein the preset voice is used for indicating the voice assistant to be in an awake state.
- 4. The control method according to claim 1, wherein a camera is provided in the headset, the operation instruction is the image capturing instruction, and controlling the headset to execute a corresponding target operation according to the wearing state and the operation instruction comprises: Responding to the shooting instruction, and acquiring shooting configuration information; and controlling the earphone to execute corresponding target operation according to the image pick-up configuration information and the wearing state.
- 5. The control method according to claim 4, wherein controlling the headphones to perform the corresponding target operation according to the image capturing configuration information and the image capturing instruction, comprises: If the wearing state is matched with the camera shooting configuration information, controlling a camera in the earphone to acquire an image; And if the wearing state is not matched with the camera shooting configuration information, controlling a camera in the earphone to not collect images.
- 6. The method of claim 5, wherein the method further comprises: And if the wearing state is not matched with the camera shooting configuration information, controlling the earphone to play prompt voice, wherein the prompt voice is used for prompting the camera shooting configuration information.
- 7. The control method according to claim 5, characterized in that determining that the wearing state matches the image capturing configuration information includes at least one of: The camera shooting configuration information indicates that two ears collect images, and the wearing state indicates that two earphones are in the wearing state; The camera shooting configuration information indicates that two ears collect images, and the wearing state indicates that only one earphone is in the wearing state; or the camera shooting configuration information indicates that a single ear collects images, and the wearing state indicates that two earphones are in the wearing state.
- 8. The control method according to claim 5, wherein determining that the wearing state does not match the image capturing configuration information includes: The camera shooting configuration information indicates that one earphone collects images, and the wearing state indicates that only the other earphone is in the wearing state.
- 9. The control method according to claim 1, wherein the operation instruction is the query instruction, and controlling the earphone to execute the corresponding target operation according to the wearing state and the operation instruction comprises: if the wearing state is the worn state, controlling the earphone to play a reply voice aiming at the inquiry command provided by a voice assistant connected with the earphone; And if the wearing state is the unworn state, controlling the earphone not to play the reply voice or controlling the earphone not to respond to the inquiry command.
- 10. The control method according to claim 9, characterized in that the method further comprises: And when the reply voice is played, if the wearing state is changed from the worn state to the unworn state, controlling the earphone to pause playing the reply voice.
- 11. The method according to claim 10, wherein the method further comprises: If the wearing state is changed from the unworn state to the worn state, determining a first duration corresponding to the unworn state, and controlling the earphone to execute corresponding target operation according to the first duration.
- 12. The method of claim 11, wherein controlling the headset to perform the respective target operation according to the first duration comprises: If the first time length is smaller than or equal to a first preset time length, when the wearing state is changed from the unworn state to the worn state, controlling the earphone to continuously play the unplayed reply voice.
- 13. The method of claim 11, wherein controlling the headset to perform the respective target operation according to the first duration comprises: and if the first time length is longer than the first preset time length, displaying the text corresponding to the reply voice through the terminal equipment connected with the earphone.
- 14. The method according to claim 10, wherein the method further comprises: And when the reply voice is played, if the wearing state is changed from the worn state to the unworn state, controlling the earphone to not respond to a new inquiry command.
- 15. The method of claim 14, wherein controlling the headset to not respond to a new query comprises: and controlling the earphone not to receive the voice information of the new inquiry command.
- 16. The method according to claim 1, wherein the operation instruction is the audio playing instruction, and controlling the earphone to execute the corresponding target operation according to the wearing state and the operation instruction comprises: if the wearing state is the worn state, controlling the earphone to play audio; and if the wearing state is the unworn state, controlling the earphone not to play audio.
- 17. The control method according to claim 16, characterized in that the method further comprises: in the process of playing audio, if the wearing state is changed from the worn state to the unworn state, controlling the earphone to pause playing audio, responding to the fact that the wearing state is the worn state, determining the connection state of the earphone in an unworn period, and controlling the earphone to execute corresponding target operation according to the connection state; In the audio playing process, if the first voice corresponding to the query instruction is obtained, and the duration of the first voice is greater than or equal to the second preset duration, controlling the earphone to adjust the volume of the audio to be played from the first volume to the preset volume until the first voice is determined to be ended, and controlling the earphone to adjust the volume of the audio to be played to the first volume; The starting time of the unworn period is a time corresponding to the time when the wearing state is changed from the worn state to the unworn state, and the ending time of the unworn period is a time corresponding to the time when the wearing state is determined to be the worn state.
- 18. The control method according to claim 17, wherein controlling the headphones to perform the respective target operations according to the connection state includes: If the connection state of the earphone is used for indicating that the earphone is not disconnected in the unworn period, acquiring audio to be played corresponding to the unworn period, and controlling the earphone to play the audio to be played; And if the connection state of the earphone is used for indicating the disconnection of the earphone in the non-wearing period, controlling the earphone not to play audio.
- 19. The control method of claim 18, wherein determining the first end of speech comprises: and if the earphone does not detect the voice and the duration corresponding to the voice is greater than or equal to a third preset duration, determining that the first voice is ended.
- 20. A control apparatus, characterized by comprising: The monitoring module is used for monitoring the wearing state of the earphone; The acquisition module is used for acquiring an operation instruction of a user for the earphone, wherein the operation instruction comprises at least one of a wake-up instruction, a camera shooting instruction, an inquiry instruction or an audio playing instruction; the first control module is used for controlling the earphone to execute corresponding target operation according to the wearing state and the operation instruction.
Description
Control method, device and earphone Technical Field The embodiment of the disclosure relates to the technical field of computer and network communication, in particular to a control method, a control device and an earphone. Background The earphone can interact with the user through the voice assistant, so that the use experience of the earphone is improved. At present, the earphone can collect the operation instruction of the user, and process the operation instruction of the user through the voice assistant to obtain corresponding reply voice. In the above process, the earphone may perform a corresponding operation according to an operation instruction of the user. However, in the daily use process of the earphone, the earphone may be in an unworn state, such as when the user takes out the earphone from the earphone box but does not wear the earphone, the user temporarily takes off the earphone from the ear, or the earphone drops off from the ear during the use process, where, if the voice assistant still interacts with the user like the earphone in the wearing state, the use habit of the user is not met, so that the use flexibility of the earphone is poor and the experience is poor. Disclosure of Invention The embodiment of the disclosure provides a control method, a control device and an earphone, and solves the problem that a voice assistant interacts with a user when the earphone is not worn. In a first aspect, an embodiment of the present disclosure provides a control method, applied to an earphone, the method including: Monitoring the wearing state of the earphone; acquiring an operation instruction of a user for the earphone, wherein the operation instruction comprises at least one of a wake-up instruction, a camera shooting instruction, an inquiry instruction or an audio playing instruction; and controlling the earphone to execute corresponding target operation according to the wearing state and the operation instruction. In a second aspect, an embodiment of the present disclosure provides a control apparatus, including: The monitoring module is used for monitoring the wearing state of the earphone; The acquisition module is used for acquiring an operation instruction of a user for the earphone, wherein the operation instruction comprises at least one of a wake-up instruction, a camera shooting instruction, an inquiry instruction or an audio playing instruction; And the control module is used for controlling the earphone to execute corresponding target operation according to the wearing state and the operation instruction. In a third aspect, embodiments of the present disclosure provide an earphone comprising a processor and a memory; The memory stores computer-executable instructions; The processor executes computer-executable instructions stored in the memory, causing the at least one processor to perform the control method as described above in the first aspect and the various possible designs of the first aspect. In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, implement the control method as described above in the first aspect and the various possible designs of the first aspect. In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program which, when executed by a processor, implements the control method as described above for the first aspect and the various possible designs of the first aspect. The control method, the control device and the earphone provided by the embodiment monitor the wearing state of the earphone. And acquiring an operation instruction of a user for the earphone. And controlling the earphone to execute corresponding target operation according to the wearing state and the operation instruction. In the process, when the earphone acquires the operation instruction, the wearing state of the earphone is monitored and determined at the same time. And controlling the earphone to execute corresponding target operation according to the wearing state and the operation instruction. When the user uses the earphone to be in an unworn state, the earphone can continue to execute corresponding operation, and the user can not acquire information corresponding to the earphone operation, so that the flexibility of using the earphone is improved. Drawings In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the description of the prior art, it being obvious that the drawings in the following description are some embodiments of the present disclosure, and that other drawings may be obtained from these drawings without inventive effort to a person of ordinary skill in the art. Fig. 1 is a schematic diagram of an application scenario provid