Earphone control method, earphone and storage medium
By collecting voice information in Bluetooth headphones and identifying conversation scenes, controlling the headphones to perform dialogue prompts, the problem of poor communication effect when users wear headphones is solved, and the effect of effective communication without taking off the headphones is achieved.
Patent Information
- Application Number
- CN202510237590.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-06-03
AI Technical Summary
When users wear Bluetooth headphones, it is difficult for others to determine whether the user can hear the conversation, resulting in poor communication results.
Collect voice information through the headphone microphone to determine the voice scene. If it is a conversation scene, control the headset to perform the dialogue prompt action and output the prompt that the headset is in standby state.
Without taking off your headphones, users can communicate politely with others to improve user experience and communication effects.
Smart Images

Figure CN120091253A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technologies, and particularly to a control method for earphones, earphones, and a storage medium. Background Art
[0002] During the daily use of Bluetooth earphones, when a user is immersed in music, a call, or other audio content, if someone suddenly comes to talk to the user, it is often inconvenient to take off the earphones at this time, and it is easy to interrupt the user's current experience. At the same time, if the user does not take off the earphones and continues the conversation, it seems impolite, and due to the sound insulation effect of the earphones, others cannot determine whether the user can hear the conversation content, resulting in communication barriers.
[0003] When current Bluetooth earphones are designed, most of them focus on improving aspects such as sound quality, battery life, and wearing comfort, and relatively little consideration is given to the convenience of taking off the earphones and communication efficiency when the user is communicating face to face, resulting in poor communication effects when the user wears Bluetooth earphones.
[0004] The above content is only used to assist in understanding the technical solution of this application, and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main purpose of this application is to provide a control method for earphones, earphones, and a storage medium, aiming to solve the technical problem that due to the user wearing earphones, others cannot determine whether the user hears the conversation content, resulting in poor communication effects.
[0006] To achieve the above purpose, this application proposes a control method for earphones, and the method includes:
[0007] Determine a voice scenario according to voice information collected by a microphone of the earphone;
[0008] If the voice scenario is a conversation scenario, control the earphone to perform a conversation prompt action to output a prompt that the earphone is in a standby state.
[0009] In an embodiment, the step of determining a voice scenario according to voice information collected by a microphone of the earphone includes:
[0010] After the microphone collects the voice information, determine semantic information of the voice information;
[0011] If the semantic information includes a response message, determine that the voice scenario is a conversation scenario.
[0012] In an embodiment, before the step of if the voice scenario is a conversation scenario, control the earphone to perform a conversation prompt action to output a prompt that the earphone is in a standby state, further includes:
[0013] After the microphone collects the voice signal, determine the semantic information of the voice message and the pose change information of the earphone;
[0014] If the semantic information includes Q&A information and the pose change information includes pose features matching the response action, determine that the voice scenario is a conversation scenario.
[0015] In one embodiment, the step of controlling the earphone to perform a conversation prompt action if the voice scenario is a conversation scenario includes:
[0016] Obtain the user configuration information of the earphone;
[0017] Determine the conversation prompt type of the earphone according to the user configuration information of the earphone, where the conversation prompt type includes at least voice prompt and / or visual prompt;
[0018] Control the earphone to run according to the operating parameters corresponding to the voice prompt and / or the visual prompt, so as to perform the conversation prompt action and output a prompt that the earphone is in the standby state.
[0019] In one embodiment, the step of determining the conversation prompt type of the earphone according to the user configuration information of the earphone includes:
[0020] Determine whether there is a preset prompt type according to the user configuration information;
[0021] If there is no such preset prompt type, obtain the current environmental noise level;
[0022] When the environmental noise level is within a preset noise level range, determine that the conversation prompt type is a voice prompt, otherwise determine that the conversation prompt type is a visual prompt;
[0023] If there is such a preset prompt type, set the preset prompt type as the conversation prompt type.
[0024] In one embodiment, the step of controlling the earphone to perform a conversation prompt action to output a prompt that the earphone is in the standby state if the voice scenario is a conversation scenario includes:
[0025] If the voice scenario is a conversation scenario, the conversation prompt type is a visual prompt, and the operating parameter corresponding to the visual prompt is a lighting control parameter, obtain the current environmental lighting information;
[0026] Determine the lighting color change, lighting brightness, and / or lighting flashing mode corresponding to the lighting control parameter according to the current environmental lighting information;
[0027] Control the operation of the lighting system of the earphone according to the change of the lighting color, the lighting brightness and / or the lighting flashing mode; or
[0028] If the voice scenario is a conversation scenario, the conversation prompt type is a visual prompt and the operation parameter corresponding to the visual prompt is a display area control parameter, obtain the current ambient lighting information;
[0029] Determine the display content and display brightness corresponding to the display area control parameter according to the current ambient lighting information;
[0030] Control the operation of the display screen of the earphone according to the display content and the display brightness.
[0031] In one embodiment, the step of, if the voice scenario is a conversation scenario, controlling the earphone to perform a conversation prompt action to output a prompt that the earphone is in a standby state includes:
[0032] If the voice scenario is a conversation scenario and the conversation prompt type is a voice prompt, determine the voice prompt content and volume parameter corresponding to the voice prompt action;
[0033] Control the earphone to output a voice prompt according to the voice prompt content and the volume parameter.
[0034] In one embodiment, after the step of, if the voice scenario is a conversation scenario, controlling the earphone to perform a conversation prompt action to output a prompt that the earphone is in a standby state, further includes:
[0035] If it is detected that the pose change of the earphone satisfies a preset corrective pose, control the earphone to stop performing the conversation prompt action.
[0036] In addition, to achieve the above object, the present application also proposes an earphone, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the control method of the earphone as described above.
[0037] In addition, to achieve the above object, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the control method of the earphone as described above are implemented.
[0038] One or more technical solutions proposed by the present application have at least the following technical effects:
[0039] Based on the voice information collected by the microphone of the earphone, determine whether the user is currently in a voice scenario of having a conversation with others. If so, control the earphone to perform a conversation prompt action to output a prompt indicating that the earphone is in a standby state, so as to prompt others that the user is having a conversation, enabling the user to communicate effectively with others without removing the earphone, improving the user experience and the communication effect when wearing the earphone. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings herein are incorporated into and constitute a part of this specification, showing embodiments consistent with the present application and, together with the specification, are used to explain the principles of the present application.
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0042] Figure 1 Schematic diagram of the functional modules of the earphone for the control method of the earphone of the present application;
[0043] Figure 2 Schematic flowchart provided by the first embodiment of the control method of the earphone of the present application;
[0044] Figure 3 Schematic flowchart provided by the second embodiment of the control method of the earphone of the present application;
[0045] Figure 4 Schematic diagram of the device structure of the hardware operating environment involved in the control method of the earphone in the embodiments of the present application.
[0046] The implementation, functional features, and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0047] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0048] The main solution of the embodiments of the present application is: determine the voice scenario based on the voice information collected by the microphone of the earphone;
[0049] If the voice scenario is a conversation scenario, control the earphone to perform a conversation prompt action to output a prompt indicating that the earphone is in a standby state.
[0050] In related technologies, when a user wears headphones and is immersed in music, a call, or other audio content, if someone suddenly comes to talk to the user, it is often inconvenient to take off the headphones at this time, and it is easy to interrupt the user's current experience. At the same time, if the user does not take off the headphones and continues the conversation, it seems impolite, and due to the sound insulation effect of the headphones, others cannot determine whether the user can hear the conversation content, resulting in communication barriers.
[0051] When current Bluetooth headphones are designed, most of them focus on improving aspects such as sound quality, battery life, and wearing comfort. Relatively less consideration is given to the convenience of taking off the headphones and the communication efficiency when the user is communicating face to face, resulting in poor communication effects when the user wears Bluetooth headphones.
[0052] This application provides a solution. By using the voice information collected by the microphone of the headphones, it is determined whether the user is currently in a voice scenario of talking to others. If so, the headphones are controlled to perform a dialogue prompt action to output a prompt that the headphones are in the standby state. Furthermore, others are prompted that the user is in a conversation, enabling the user to communicate effectively with others without taking off the headphones, improving the user experience and the communication effect when wearing the headphones.
[0053] To better understand the technical solution of this application, the following will be described in detail in combination with the accompanying drawings of the specification and specific implementation manners.
[0054] In this embodiment, for the convenience of description, the following will be described with the headphones as the execution subject.
[0055] To ensure that the headphones can actively or passively adjust the working state based on the current conversation scenario, reduce the interference of the currently playing audio to the user during the conversation, and politely prompt others that the current user can hear the conversation content, enabling the user to communicate effectively with others without taking off the headphones, the headphones at least include a conversation scenario recognition module, a conversation action prompt module, and a Bluetooth module. Specifically, the functional modules of the headphones are as Figure 1 shown. The conversation scenario recognition module includes a microphone installed inside the headphones for capturing surrounding voice signals; a noise filter for filtering environmental noise to ensure the clarity of the captured voice signals; a voice recognition module capable of analyzing the captured sound signals to identify whether there is a conversation scenario; a pose detection module capable of analyzing the pose change information generated by the user's nodding, shaking the head, etc. when capturing the sound signals; and a signal transmission module for transmitting the signals to the conversation action prompt module.
[0056] The dialogue action prompt module includes a microprocessor for receiving and processing signals from the dialogue scene recognition module; an LED lighting system integrated on the earphone housing, which includes multiple LED lights with adjustable colors; and a sound prompt system with a built-in speaker for playing dialogue action prompt sounds. Among them, the LED lighting system includes lighting modes associated with dialogue prompt actions such as color changes and blinking patterns. When a dialogue scene is recognized, the LED lights will change colors to indicate that the user is having a conversation, or different blinking patterns with different frequencies can be provided to indicate that the user is having a conversation. The sound prompt system will play a preset prompt sound when a dialogue scene is recognized. It can be understood that in a dialogue scene, lighting prompts and voice prompts are usually carried out simultaneously to enhance the prompt effect. In addition, only one of the prompt actions can be executed separately, such as only prompting through lights or only prompting through voice. Among them, the LED lighting system can also automatically adjust the brightness of the lights according to changes in ambient light to ensure that the prompt lights are clearly visible.
[0057] The Bluetooth module includes a Bluetooth chip that supports the Bluetooth 5.0 protocol to ensure a stable connection between the earphone and user devices (such as mobile phones and computers). A wireless communication module enables data transmission between the earphone and the mobile phone application. Users can set and customize the lighting and sound prompts through the mobile phone application.
[0058] In addition, the setting parameters of the earphone can be adjusted through the user control interface of the device connected to the earphone. For example, the setting interface of the mobile phone application provides setting options for parameters such as lighting modes, colors, intensities, and prompt sounds, enabling users to adjust the dialogue prompt content according to their personal preferences. At the same time, users can also view information such as the battery level and Bluetooth connection status of the earphone through this application, facilitating users to understand the device status. In addition, users can also set to turn on or off the dialogue prompt function in this application to enhance the interactivity and operation flexibility with the earphone.
[0059] Based on the functional modules of the earphone, the embodiments of the present application provide a control method for the earphone. Refer to Figure 2 , Figure 2 which is a schematic flowchart of the first embodiment of the control method for the earphone of the present application.
[0060] In this embodiment, the control method for the earphone includes steps S10 to S20:
[0061] Step S10, determine the voice scene according to the voice information collected by the microphone of the earphone.
[0062] It should be noted that voice information is the content transmitted through human voice signals, including semantic content, i.e., the text information contained in the voice, paralinguistic features such as intonation, speech rate, emotion and other non-text information, and acoustic features such as frequency, amplitude, timbre and other physical attributes. Voice scenarios include dialogue scenarios, audio media playback scenarios, public broadcast scenarios, and noisy scenarios, etc.
[0063] In this embodiment, after the microphone of the earphone captures the voice signal, the signal is processed by a noise filter to reduce the influence of environmental noise on voice information and improve the accuracy of subsequent voice analysis and recognition. After noise reduction processing, the voice signal is analyzed and recognized based on a voice recognition algorithm, and the current voice scenario is determined through the semantic content contained in the voice information. For example, if the voice recognition module of the earphone analyzes that the current voice information contains the prompt sound of a public broadcast, the voice scenario is determined to be a public broadcast scenario at this time. If the voice recognition module of the earphone analyzes that the current voice information contains the response information of the user wearing the earphone, the voice scenario can be determined to be a dialogue scenario. Among them, the response information refers to the information for the user to respond to others' conversations, rather than the information when the user talks to himself or sings. Therefore, the semantic information usually contains the dialogue audio of others and the response information to this audio. Among them, the earphone can perform timbre analysis on the voice information to identify the identity of the speaker. The specific voice analysis technology is not limited in this application. Therefore, after the microphone collects the voice information, it is necessary to determine the semantic information of the voice information, and this semantic information is the context semantics after analyzing and processing the voice information. If the semantic information contains response information, the voice scenario is determined to be a dialogue scenario.
[0064] In a normal dialogue scenario, usually after someone calls the user's name or makes a more detailed dialogue statement near the user, the earphone detects whether it has collected the user's response information. After the user replies to the dialogue statement, the voice information collected by the microphone at this time contains response information, and then it is determined that the current voice scenario is a dialogue scenario.
[0065] Exemplarily, user B asks user A wearing the earphone "A, do you still have the PPT (PowerPoint) used last week? Can you send me a copy?" and user A answers "Okay, no problem". At this time, after the earphone recognizes the dialogue content of user B's voice and user A's response information, it determines that the current voice scenario is a dialogue scenario. It can be understood that in some dialogue scenarios, the user's name usually appears. Therefore, the earphone can judge whether the current dialogue is directed at the user based on the actual name of the user. In a noisy environment, such as when there are multiple dialogue audios sent by different users in the voice information, in order to improve the accuracy of voice scenario recognition, the dialogue audio that is closer is usually parsed first.
[0066] Optionally, in addition to determining the current voice scenario by analyzing the semantic information in the voice message, the voice scenario can also be determined by voiceprint recognition. For example, when the voice of an acquaintance of the user is recognized, the voice scenario can be determined as a conversation scenario without the user's response. For example, when user A is at home and hears a family member say to him / her "Please get me item B", after the earphone detects this voice, the current voice scenario is determined as a conversation scenario.
[0067] Furthermore, the earphone is set with operating modes related to the user's normal work / study and life. For example, when working / studying, the earphone is in the normal mode, and when resting at home or in other relatively quiet places, the earphone is in the leisure mode. In the work mode, the surrounding environment is relatively noisy, and usually, after the user sends a response message, the current voice scenario is determined as a conversation scenario. In the leisure mode, when the voice message of another user is detected, without the user's response, by analyzing the user's action information such as the user's nodding action, it is determined whether the current scenario is a conversation scenario.
[0068] In this embodiment, the specific algorithm types of the noise filtering algorithm and the speech recognition algorithm are not limited in this application.
[0069] Step S20, if the voice scenario is a conversation scenario, control the earphone to perform a conversation prompt action to output a prompt indicating that the earphone is in the standby state.
[0070] In this embodiment, after recognizing that the voice scenario is a conversation scenario, based on the speech recognition algorithm, the signal corresponding to the conversation scenario is transmitted to the microprocessor, and based on the microprocessor, the LED lighting system and the sound prompt system of the earphone are controlled to adjust the light color or mode, and at the same time, a prompt sound is played to indicate to others that the user is having a conversation and the earphone is in the standby state. For example, the light is adjusted to blue light, and in the blue light state, the earphone is in the standby mode, and at the same time, an audio prompt of "The currently played audio has been stopped" is output to inform other users that the earphone is currently in the standby state and does not affect normal conversation.
[0071] It can be understood that when the voice scenario is a conversation scenario, in order to reduce the interference of the earphone to the user's conversation, and at the same time achieve polite communication without the need to take off the earphone, the earphone needs to enter the standby state, and in the standby state, the earphone pauses the currently played audio. In order to make others know that the earphone is not currently making a sound and whether the user can hear the conversation content, at this time, it is necessary to control the earphone to perform a conversation prompt action, and through this conversation prompt action, output a prompt indicating that the earphone is in the standby state, without the need for the user to take off the earphone for communication, improving the user experience and the communication effect when wearing the earphone.
[0072] The types of dialogue prompts include visual prompts and voice prompts. Visual prompts include adjusting the color, blinking pattern, and brightness of the flashing lights to achieve the visual prompt effect. Optionally, if the earphone is equipped with a small screen, text information generated based on the light color in the standby state can also be displayed on the small screen. Voice prompts are to output corresponding audio prompt content through the earphone. Visual prompts and voice prompts usually occur simultaneously, or one of the prompt actions can be executed based on the actual state of the earphone or the current environmental information.
[0073] Optionally, if the voice scenario is not a dialogue scenario, the earphone continuously collects the voice information of the current environment until it is determined that the voice scenario is a dialogue scenario.
[0074] This embodiment provides a control method for an earphone, which performs noise reduction and speech recognition processing on the voice information collected by the earphone. After recognizing that there is a dialogue audio of others and the response information of the dialogue audio in the voice information, it is determined that the current voice scenario is a dialogue scenario. Then, the earphone is controlled to enter the standby state and dialogue prompt actions such as light prompts and voice prompts are executed through the earphone, so that others can know that the earphone is currently in the silent standby state, and the user can communicate effectively with others without removing the earphone. Based on the light and sound prompts for dialogue scenario recognition, the user can communicate with others politely when wearing the earphone, improving the usability and user experience and enhancing the communication effect.
[0075] Based on the first embodiment of this application, in the second embodiment of this application, the same or similar content as the above first embodiment can be referred to the above introduction and will not be repeated hereinafter. On this basis, the earphone is provided with a detection module for detecting the change of the earphone pose. Therefore, please refer to Figure 3 , before step S20, the control method of the earphone further includes steps S30 to S40:
[0076] Step S30, after the microphone collects the voice signal, determine the semantic information of the voice information and the pose change information of the earphone.
[0077] In this embodiment, in addition to analyzing the context semantics in the semantic information and determining that the current voice scenario is a dialogue scenario when the semantic information contains response information, it is also possible to determine whether the voice scenario is a dialogue scenario by means of action perception when receiving the voice information of the question and answer. For example, perceiving actions such as nodding or shaking the head performed by the user, so as to judge whether the current is in a dialogue scenario. It can be understood that when the user performs actions associated with the dialogue scenario, the pose information of the earphone changes. Therefore, the action performed by the user can be determined through the pose change information.
[0078] After the microphone collects the voice signal, in addition to determining the semantic information of the voice message, the pose change information of the earphone can also be determined, so as to determine whether there is a pose feature matching the response action currently through the pose change information of the earphone, thereby determining whether the current voice scenario is a conversation scenario.
[0079] Before determining the pose change information, it is necessary to associate and save the conversation scenario with a specific pose change, so that when it is detected that the pose change matches the pre-stored pose change, the current voice scenario is considered a conversation scenario.
[0080] Step S40, if the semantic information includes question-and-answer information, and the pose change information includes a pose feature matching the response action, determine that the voice scenario is a conversation scenario.
[0081] In this embodiment, the question-and-answer information is the question-and-answer content before others start a conversation with the user. After determining the semantic information and the pose change information, if the semantic information includes question-and-answer information and the pose change information includes a pose feature matching the response action, the voice scenario can be directly determined as a conversation scenario at this time.
[0082] Exemplarily, when the user listens to a song through the earphone and someone asks the user about work, at this time the earphone detects the voice information of the other person's question, and at the same time the user performs a nodding action within a preset time. After the earphone detects the pose change information corresponding to this action, it is determined that the user needs to have a conversation with others, that is, the voice scenario is determined as a conversation scenario.
[0083] It should be noted that during the process of controlling the earphone to perform the conversation prompt action, the Bluetooth module of the earphone ensures the real-time communication connection between the earphone and the user device. At the same time, the user can set and customize the light and sound prompts through the mobile application. In addition, the user can also monitor the status of the earphone in real time through the mobile application, manually control the on and off of the light and sound prompt functions, increasing the interactivity and convenience of use.
[0084] This embodiment provides a control method for an earphone. Through the question-and-answer information in the semantic information and the pose change information of the earphone, it is possible to stop playing the current audio before the user starts a conversation with others, thereby improving the user's actual communication experience.
[0085] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar content as the above first embodiment can be referred to the above introduction and will not be repeated hereinafter. On this basis, after identifying that the voice scenario is a conversation scenario, during the process of controlling the earphone to perform the conversation prompt action, in addition to directly controlling the earphone to perform light prompts and voice prompts, the conversation prompt type of the earphone can also be determined first, and then based on this conversation prompt type, the corresponding control actions are controlled to be executed.
[0086] Specifically, step S20 includes steps S21 to S23:
[0087] Step S21, obtaining the user configuration information of the earphone.
[0088] In this embodiment, the user configuration information includes the default conversation prompt type set by the user for the earphone. For example, if the user sets the default conversation prompt type as light prompt + voice prompt, after obtaining this user configuration information, it can be determined that the current prompt type is light prompt + voice prompt. In addition, the remaining battery information of the earphone can also be obtained, and according to the remaining battery information of the earphone, a prompt method that meets the current power requirement can be dynamically selected, thereby improving the battery life of the earphone.
[0089] Step S22, determining the conversation prompt type of the earphone according to the user configuration information of the earphone, where the conversation prompt type includes at least voice prompt and / or visual prompt.
[0090] In this embodiment, it can be first determined whether there is a preset prompt type according to the user configuration information of the earphone. If there is a preset prompt type, the preset prompt type is set as the conversation prompt type. When there is no preset prompt type, the earphone can dynamically select the prompt type according to the actual requirements.
[0091] Specifically, if there is no preset prompt type, the current environmental noise level is obtained. When the environmental noise level is within the preset noise level range, it indicates that it is suitable to give a voice prompt in the current environment. At this time, the conversation prompt type is determined as a voice prompt. It can be understood that the preset noise level range is a noise level range where there are other sounds in the environment and the sounds will not affect others when they occur; when the environmental noise level is not within the preset noise level range, for example, in a relatively quiet environment or a relatively noisy environment, giving a voice prompt will affect others, or others cannot clearly hear the voice prompt due to large external noise interference. Therefore, when the environmental noise level is not within the preset noise level range, the conversation prompt type is determined as a visual prompt.
[0092] When the earphone does not set a preset prompt type, the conversation prompt type is determined by the size of the current environmental noise, improving the conversation prompt effect.
[0093] Step S23, controlling the earphone to operate according to the operating parameters corresponding to the voice prompt and / or the visual prompt, so as to execute the conversation prompt action and output a prompt indicating that the earphone is in the standby state.
[0094] In this embodiment, the operating parameters corresponding to the voice prompt and the visual prompt are different. For example, the voice prompt content and volume parameter during the voice prompt, the light brightness, color change, and flashing mode during the light prompt, and the display content and display brightness during the display on the display screen, etc.
[0095] Therefore, after determining the actual conversation prompt type, run based on the operating parameters corresponding to these conversation prompt types, so that when reminding by voice prompt, others can clearly hear the sound emitted by the earphone, and when using visual prompt, others can clearly see the light change of the earphone, thereby improving the output effect of the conversation prompt action of the earphone.
[0096] Based on the first embodiment or the third embodiment of the present application, in the fourth embodiment of the present application, the same or similar content as the above first embodiment can be referred to the above introduction and will not be elaborated hereinafter. On this basis, after identifying that the voice scenario is a conversation scenario, in addition to directly controlling the earphone to perform light prompt and voice prompt, as an optional implementation manner of controlling the earphone to execute the conversation prompt action, the conversation prompt type of the earphone can also be determined first, and then the corresponding conversation prompt action can be executed based on the conversation prompt type. Among them, the conversation prompt type of the earphone can be determined through the user configuration information of the earphone, such as preset settings, and the preset settings refer to the default conversation prompt type set by the user for the earphone.
[0097] Specifically, when the voice scenario is a conversation scenario, the conversation prompt type is a visual prompt, and the operating parameter corresponding to the visual prompt is a light control parameter, which indicates that the earphone needs to be controlled to execute the conversation prompt action by means of light prompt at present. Therefore, to ensure that the light prompt of the earphone can be accurately seen by others, it is necessary to first obtain the current ambient light information, then determine the light color change, light brightness, and / or light flashing mode corresponding to the light control parameter according to the current ambient light information, and finally control the operation of the earphone's lighting system according to the light color change, light brightness, and / or light flashing mode, so that the earphone executes the current conversation prompt action.
[0098] In another optional implementation manner of controlling the earphone to execute the conversation prompt action, when the voice scenario is a conversation scenario, the conversation prompt type is a visual prompt, and the operating parameter corresponding to the visual prompt is a display area control parameter, which indicates that the earphone needs to be controlled to execute the conversation prompt action by means of display area light prompt at present. Therefore, to ensure that the light prompt of the earphone can be accurately seen by others, it is necessary to first obtain the current ambient light information, then determine the display content and display brightness corresponding to the display area control parameter according to the current ambient light information, and finally control the operation of the earphone's display screen according to the display content and display brightness. Among them, the display content can be set based on actual requirements or the size of the display area of the earphone, such as outputting text prompts such as "off", "mute", "standby", etc.
[0099] Further, in another optional implementation manner of controlling the earphone to perform a dialogue prompt action, if the voice scenario is a dialogue scenario and the dialogue prompt type is a voice prompt, it is necessary to determine the voice prompt content and volume parameter corresponding to the voice prompt action, and then control the earphone to output a voice prompt according to the voice prompt content and volume parameter.
[0100] This embodiment provides a control method for an earphone. By specific dialogue prompt types and control parameters associated with the prompt types, the earphone is controlled to operate based on the corresponding parameters, enabling the user to communicate with others politely when wearing the earphone, improving the usability and user experience.
[0101] Based on any of the above embodiments, in the fifth embodiment of the present application, due to different actual scenarios, the earphone may be misjudged and enter the standby state. Therefore, the user can control the earphone to stop performing the dialogue prompt action through the set error correction method, and at the same time optimize the subsequent detection and judgment through the self-learning mechanism of the earphone. Therefore, after step S20, if it is detected that the pose change of the earphone meets the preset error correction pose, control the earphone to stop performing the dialogue prompt action so that the earphone continues to play the content that was previously paused.
[0102] It should be noted that the above examples are only for understanding the present application and do not constitute a limitation on the earphone control method of the present application. Based on this technical concept, more forms of simple transformations are within the protection scope of the present application.
[0103] The present application provides an earphone, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the earphone control method in the first embodiment above.
[0104] Next, refer to Figure 4 , which shows a schematic structural diagram of an earphone suitable for implementing the embodiments of the present application. Figure 4 The earphone shown is only an example and should not impose any limitation on the functions and usage scope of the embodiments of the present application.
[0105] Such as Figure 4As shown, the earphone may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. In the random access memory 1004, various programs and data required for the operation of the earphone are also stored. The processing device 1001, the read-only memory 1002, and the random access memory 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems may be connected to the input / output interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the earphone to communicate with other devices wirelessly or wiredly to exchange data. Although the figure shows an earphone having various systems, it should be understood that it is not required to implement or have all the shown systems. More or fewer systems may be alternatively implemented or had.
[0106] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device, or installed from the storage device 1003, or installed from the read-only memory 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the methods of the embodiments disclosed in the present application are executed.
[0107] The earphone provided in the present application adopts the earphone control method in the above embodiment, and can solve the technical problem that due to the user wearing the earphone, others cannot determine whether the user hears the conversation content, resulting in poor communication effect. Compared with the prior art, the beneficial effects of the earphone provided in the present application are the same as those of the earphone control method provided in the above embodiment, and other technical features in the earphone are the same as those disclosed in the method of the previous embodiment, and will not be elaborated here.
[0108] It should be understood that each part disclosed in this application can be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in a suitable manner in any one or more embodiments or examples.
[0109] As described above, the above is only the specific embodiment of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed in this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
[0110] This application provides a computer-readable storage medium with computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the control method of the earphone in the above embodiments.
[0111] The computer-readable storage medium provided by this application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems, or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memories, read-only memories, erasable programmable read-only memories (EPROMs), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or combined with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, radio frequency (RF), etc., or any suitable combination of the above.
[0112] The above computer-readable storage medium can be included in the earphone; it can also exist separately and not be assembled into the earphone.
[0113] The above computer-readable storage medium carries one or more programs. When the above one or more programs are executed by the earphone, the earphone is caused to: determine a voice scenario based on the voice information collected by the microphone of the earphone;
[0114] If the voice scenario is a conversation scenario, control the earphone to perform a conversation prompt action to output a prompt indicating that the earphone is in a standby state.
[0115] Computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, by connecting through the Internet using an Internet service provider).
[0116] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and this module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks can occur in a different order from that marked in the accompanying drawings. For example, two consecutively represented blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0117] The modules described in the embodiments of this application can be implemented in software or in hardware. Among them, the name of the module does not constitute a limitation on the unit itself in some cases.
[0118] The readable storage medium provided in this application is a computer-readable storage medium. The computer-readable storage medium stores computer-readable program instructions (i.e., computer programs) for performing the above-mentioned control method of the earphone, and can solve the technical problem that due to the user wearing the earphone, others cannot determine whether the user hears the conversation content, resulting in poor communication effects. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the earphone control method provided in the above embodiments, and will not be elaborated here.
[0119] The above are only some embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structural transformation made under the technical concept of the present application by using the content of the specification and drawings of the present application, or any direct / indirect application in other related technical fields, is included in the patent protection scope of the present application.
Claims
1. A method for controlling headphones, characterized in that: The earphone control method comprises: Determine the voice scene based on the voice information collected by the microphone of the headset; If the voice scene is a conversation scene, the headset is controlled to perform a conversation prompt action to output a prompt that the headset is in a standby state.
2. The method for controlling the earphone according to claim 1, characterized in that: The step of determining the voice scene according to the voice information collected by the microphone of the headset includes: After the microphone collects the voice information, determining semantic information of the voice information; If the semantic information includes response information, it is determined that the voice scene is a dialogue scene.
3. The method for controlling the earphone according to claim 1, characterized in that: Before the step of controlling the headset to perform a dialogue prompt action to output a prompt indicating that the headset is in a standby state if the voice scene is a dialogue scene, the method further includes: After the microphone collects the voice signal, determining semantic information of the voice information and position change information of the earphone; If the semantic information includes question and answer information, and the posture change information includes a posture feature that matches the answering action, it is determined that the voice scene is a dialogue scene.
4. The method for controlling the earphone according to claim 1, wherein: If the voice scene is a conversation scene, the step of controlling the headset to perform a conversation prompt action includes: Obtaining user configuration information of the headset; Determining a conversation prompt type of the headset according to user configuration information of the headset, wherein the conversation prompt type includes at least a voice prompt and / or a visual prompt; The headset is controlled to operate according to the operating parameters corresponding to the voice prompt and / or the visual prompt to execute the dialogue prompt action and output a prompt that the headset is in a standby state.
5. The method for controlling the earphone according to claim 4, characterized in that: The step of determining the conversation prompt type of the headset according to the user configuration information of the headset comprises: Determining whether there is a preset prompt type according to the user configuration information; If the preset prompt type does not exist, obtain the current environment noise level; If the environmental noise level is within a preset noise level range, determining that the dialogue prompt type is a voice prompt, otherwise determining that the dialogue prompt type is a visual prompt; If the preset prompt type exists, the preset prompt type is set as the dialogue prompt type.
6. The method for controlling the earphone according to claim 1, characterized in that: If the voice scene is a conversation scene, the step of controlling the headset to perform a conversation prompt action to output a prompt that the headset is in a standby state includes: If the voice scene is a dialogue scene, the dialogue prompt type is a visual prompt, and the operating parameter corresponding to the visual prompt is a lighting control parameter, obtaining current ambient lighting information; Determine the light color change, light brightness and / or light flashing mode corresponding to the light control parameter according to the current ambient light information; Controlling the operation of the lighting system of the headset according to the change in the light color, the light brightness and / or the light flashing pattern; or If the voice scene is a dialogue scene, the dialogue prompt type is a visual prompt and the operating parameter corresponding to the visual prompt is a display area control parameter, obtaining current ambient light information; Determine the display content and display brightness corresponding to the display area control parameter according to the current ambient light information; The operation of the display screen of the headset is controlled according to the display content and the display brightness.
7. The method for controlling the earphone according to claim 1, characterized in that: If the voice scene is a conversation scene, the step of controlling the headset to perform a conversation prompt action to output a prompt that the headset is in a standby state includes: If the voice scene is a dialogue scene and the dialogue prompt type is a voice prompt, determine the voice prompt content and volume parameters corresponding to the voice prompt action; According to the voice prompt content and the volume parameter, the earphone is controlled to output the voice prompt.
8. The method for controlling an earphone according to claim 1, wherein: After the step of controlling the headset to perform a dialogue prompt action to output a prompt indicating that the headset is in a standby state if the voice scene is a dialogue scene, the method further includes: If it is detected that the posture change of the headset meets the preset error correction posture, the headset is controlled to stop executing the dialogue prompt action.
9. A headset, characterized in that: The headset comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the headset control method according to any one of claims 1 to 8.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the method for controlling the earphone according to any one of claims 1 to 8 are implemented.