Volume prompt method, device, earphone and storage medium

By obtaining the ambient volume value in the headset and outputting volume prompt information, the problem that users cannot judge the volume of their speech when wearing the headset is solved, and the volume is controlled reasonably in a quiet environment to reduce the impact on others.

CN114710730BActive Publication Date: 2025-02-07GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210475382.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2025-02-07
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

When users wear headphones, due to the good sound insulation effect, they cannot objectively judge the volume of their speech, which leads to unconsciously speaking too much in a quiet environment, affecting other people.

Method used

By obtaining the volume value of the ambient sound in the environment where the headset is located, if it is less than the preset value, the volume prompt information is output, prompting the user to control the speech volume to be less than the second preset value.

Benefits of technology

It effectively avoids the difficulty in judging volume due to the sound insulation of headphones, prevents unconsciously speaking loudly in a quiet environment, and reduces the impact on others.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114710730B_ABST
    Figure CN114710730B_ABST
Patent Text Reader

Abstract

The present application discloses a volume prompt method, device, earphone and storage medium, and relates to the field of earphone technology. The method is applied to earphones, and includes: obtaining the volume value of the ambient sound of the current environment in which the earphone is located as a first volume value; if the first volume value is less than a first preset value, outputting volume prompt information, and the volume prompt information is used to prompt the wearer to control the speaking volume to be less than a second preset value when speaking. In this way, when the current environment is a relatively quiet environment, the earphone can prompt the wearer to speak at a lower volume through the volume prompt information, thereby avoiding the wearer's inability to judge the volume of his or her own speech due to the sound insulation of the earphone, and unconsciously speaking too loudly in a relatively quiet environment, thereby avoiding the occurrence of problems such as affecting other people in the current environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of earphone technology, and in particular to a volume prompt method, device, earphone and storage medium. Background Art

[0002] With the rapid development of terminal technology, people use smart terminals more and more frequently in their daily lives, especially headphones that can be used as accessories for smart watches, smart phones, computers, etc. Since headphones can block out the sounds of the surrounding environment, people like to wear headphones in public places and use them to listen to music, make calls, voice, video, and play movies.

[0003] However, when users wear headphones, due to the good sound insulation effect of the headphones, users cannot objectively know the volume of their own voices, which may cause users to speak very loudly in relatively quiet public places, such as libraries or conference rooms, affecting other users in the public place. Summary of the invention

[0004] The present application proposes a volume prompt method, device, earphone and storage medium to avoid excessive speaking volume in a relatively quiet environment.

[0005] In a first aspect, an embodiment of the present application provides a volume prompt method, which is applied to headphones. The method includes: obtaining the volume value of the ambient sound in the current environment of the headphones as a first volume value; if the first volume value is less than a first preset value, outputting volume prompt information, and the volume prompt information is used to prompt the wearer to control the speaking volume to be less than a second preset value when speaking.

[0006] In a second aspect, an embodiment of the present application provides a volume prompt device, which is applied to headphones, and the device includes: a volume acquisition module and a volume prompt module. The volume acquisition module is used to obtain the volume value of the ambient sound of the current environment in which the headphones are located as a first volume value; the volume prompt module is used to output volume prompt information if the first volume value is less than a first preset value, and the volume prompt information is used to prompt the wearer to control the speech volume to be less than a second preset value when speaking.

[0007] In a third aspect, an embodiment of the present application provides a headset, comprising: one or more processors; a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above-mentioned method.

[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the above method.

[0009] In the solution provided by the present application, the volume value of the ambient sound of the current environment in which the headset is located is obtained as the first volume value; if the first volume value is less than the first preset value, a volume prompt message is output, and the volume prompt message is used to prompt the wearer to control the speaking volume to be less than the second preset value when speaking. In this way, when the current environment is a relatively quiet environment, the headset can prompt the wearer to speak at a lower volume through the volume prompt message, thereby avoiding the wearer's inability to judge the volume of his or her own speech due to the sound insulation of the headset, and unconsciously speaking too loudly in a relatively quiet environment, thereby avoiding the occurrence of problems such as affecting other people in the current environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0011] Figure 1 A schematic diagram showing an application scenario of a volume prompt method provided by an embodiment of the present application.

[0012] Figure 2 A flow chart of a volume prompt method provided by an embodiment of the present application is shown.

[0013] Figure 3 A schematic diagram of the structure of a microphone on an earphone provided in an embodiment of the present application is shown.

[0014] Figure 4 A flow chart of a volume prompt method provided in another embodiment of the present application is shown.

[0015] Figure 5 Shows Figure 4 Schematic diagram of sub-steps of step S320 in some implementation modes.

[0016] Figure 6 A flow chart of a volume prompt method provided in another embodiment of the present application is shown.

[0017] Figure 7 A flow chart of a volume prompt method provided in yet another embodiment of the present application is shown.

[0018] Figure 8A flow chart of a volume prompt method provided in yet another embodiment of the present application is shown.

[0019] Fig. 9 It is a block diagram of a volume prompt device provided according to an embodiment of the present application.

[0020] Fig.10 It is a block diagram of an earphone according to an embodiment of the present application for executing the volume prompt method according to an embodiment of the present application.

[0021] Fig.11 It is a storage unit of an embodiment of the present application for storing or carrying a program code for implementing the volume prompt method according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0023] With the rapid development of terminal technology, people use smart terminals more and more frequently in their daily lives, especially headphones that can be used as accessories for smart watches, smart phones, computers and other devices. Because of their small size and convenience, many people like to wear headphones at all times. When there is a call, users can also answer the call quickly through headphone gestures without taking out their mobile phones. In addition, headphones can isolate the sounds of the surrounding environment. For example, wireless noise-cancelling headphones have good sound insulation. Therefore, people like to wear headphones in public places and use them to listen to music, make calls, voice, video, and movie playback.

[0024] However, when users wear headphones, due to the good sound insulation effect of the headphones, users cannot objectively know the volume of their own speech, which may cause users to speak very loudly in relatively quiet public places, such as libraries or conference rooms, affecting other users in public places.

[0025] In view of the above problems, the inventor proposes a volume prompt method, device, earphone and storage medium, which obtains the volume value of the ambient sound of the current environment in which the earphone is located as a first volume value; if the first volume value is less than a first preset value, outputs volume prompt information to prompt the wearer to control the speech volume to be less than a second preset value when speaking. The volume prompt method provided in the embodiment of the present application is described in detail below.

[0026] See also Figure 1 , Figure 1A schematic diagram of an application scenario of a volume prompt method provided in an embodiment of the present application. The application scenario includes earphones 101 and an electronic device 102 connected to the earphones. The earphones 101 can be various types of earphones, such as wired earphones or wireless earphones, etc.; the electronic device 102 can also be various devices that can establish a communication connection with the earphones 101, such as a smart phone, a laptop computer, a tablet computer or a desktop computer, etc., which is not limited in this embodiment. It can be understood that the earphones 101 can establish a communication connection with the electronic device 102 based on a wired or wireless connection, and exchange audio data and / or other types of data based on the communication connection.

[0027] In some embodiments, the headset 101 can obtain the volume value of the ambient sound in the current environment in which it is located as the first volume value; if the first volume value is less than the first preset value, a volume prompt message is output to prompt the wearer to control the speech volume to be less than the second preset value when speaking. Figure 1 Taking the application scenario as an example, the wearer is in a library, and the earphone 101 can obtain the volume value of the ambient sound in the library as the first volume value. If the first volume value is less than the first preset value, it indicates that the library is relatively quiet, and then outputs volume prompt information to prompt the wearer to control the speaking volume to be less than the second preset value when speaking.

[0028] Please refer to Figure 2 , Figure 2 A flow chart of a volume prompt method provided in an embodiment of the present application is applied to headphones. Figure 2 The volume prompt method provided in the embodiment of the present application is described in detail. The volume prompt method may include the following steps:

[0029] Step S210: Acquire the volume value of the ambient sound of the current environment in which the earphone is located as the first volume value.

[0030] In this embodiment, the ambient sound may include one or more of wind noise, footsteps, human voices, animal calls, car horns, alarm buzzers, running sounds, and car driving sounds.

[0031] It is understandable that in order to avoid the wearer of the earphones from unconsciously talking too loudly in a very quiet public place because the wearer is unable to objectively know the volume of the sound he or she makes while wearing the earphones, the volume value of the ambient sound of the current environment in which the earphones are located can be obtained to determine whether to prompt the user based on the obtained volume value.

[0032] In some embodiments, when the earphone detects that it is being worn, it can determine whether the current environment is a quiet place by obtaining the volume value of the ambient sound of the current environment in which the earphone is located as the first volume value, so as to subsequently determine whether to remind the wearer to speak less loudly based on the first volume value of the ambient sound.

[0033] In a possible implementation, the number of earphones can be multiple, for example, an earphone worn on the left ear and an earphone worn on the right ear. It can be understood that when the user wears corresponding earphones on both the left ear and the right ear, the sound insulation effect brought by the two earphones at the same time is better, and the wearer may not be able to hear the sound made by himself and the ambient sound, or the volume of the sound made by himself is low; however, when the user wears the corresponding earphone on only the left ear or the right ear, the wearer can hear the sound of the surrounding environment and the sound made by himself more clearly. Based on this, when the earphone includes a left earphone and a right earphone, any earphone can obtain the current status of all earphones. If the current status of the left earphone and the right earphone are both in the wearing state, the volume value of the ambient sound of the current environment in which the earphone is located is obtained as the first volume value; if the current status of any earphone of the left earphone and the right earphone is in the non-wearing state, the volume value of the ambient sound of the current environment in which the earphone is located may not be detected. In this way, the volume value of the ambient sound is detected only when both the left ear earphone and the right earphone are in the worn state; when the user only wears the left ear earphone or the right earphone, the volume value of the ambient sound is not detected. In other words, the earphone obtains the volume value of the ambient sound only when the user cannot objectively know the volume of the ambient sound and the sound emitted by himself, thereby avoiding unnecessary consumption of computing resources of the earphone for processing audio signals.

[0034] In some embodiments, see Figure 3The earphone 101 may include a first microphone 1011 and a second microphone 1012. The audio signal collected in real time by the first microphone 1011 is obtained as the first real-time audio signal. It can be understood that when the earphone 101 is in a wearing state, the first microphone 1011 is closer to the mouth of the wearer. Therefore, the first real-time audio signal mainly contains the audio signal emitted by the wearer, and only contains a small part of the audio signal of the ambient sound. The audio signal collected by the second microphone 1012 in real time is obtained as the second real-time audio signal. It can be understood that when the headset 101 is in the wearing state, the second microphone 1012 is away from the wearer's mouth and its direction is outward. Therefore, the second real-time audio signal mainly contains the audio signal of the ambient sound and only contains a small amount of audio signal emitted by the wearer. Further, it is more accurate to extract the audio signal of the ambient sound from the second real-time audio signal. Therefore, based on the first real-time audio signal, the second real-time audio signal can be filtered to obtain the ambient audio signal of the ambient sound of the current environment in which the headset is located. Specifically, first, the audio signal in the direction of the human mouth in the first real-time audio signal can be enhanced, and combined with the noise reduction algorithm, a pure human voice audio signal in the first real-time audio signal can be extracted; then, according to the signal-to-noise ratio of the human voice audio signal, the second real-time audio signal is filtered to filter out the human voice audio signal in the second implementation audio signal to obtain the ambient audio signal of the ambient sound of the current environment. Finally, the volume value of the ambient audio signal is obtained as the first volume value.

[0035] Step S220: If the first volume value is less than a first preset value, a volume prompt message is output, wherein the volume prompt message is used to prompt the wearer to control the speech volume to be less than a second preset value when speaking.

[0036] In this embodiment, after obtaining the first volume value of the ambient sound in the current environment where the headset is located, it can be determined whether the first volume value is less than the first preset value, and the first preset value can be understood as the maximum decibel threshold corresponding to a quiet environment; further, if it is determined that the first volume value is less than the first preset value, it indicates that the current environment where the headset is located is a quiet environment, and therefore, the headset can output volume prompt information to prompt the wearer of the headset to control the speaking volume to be less than the second preset value when speaking, and the second preset value can be understood as the maximum decibel threshold in a quiet environment that does not affect other users, that is, speaking in a quiet environment with a voice that does not exceed the second preset value will not affect other users in the quiet environment. Of course, when the first volume value is not less than the first preset value, it indicates that the current environment where the headset is located is not a quiet environment, and even if the user speaks loudly, it will not have much impact on users in the surrounding environment. At this time, there is no need to output volume prompt information to prompt the user to speak softly.

[0037] The first preset value and the second preset value may be pre-set decibel values, may be decibel values ​​set when the earphone leaves the factory, or may be decibel values ​​adjusted and set by the user according to actual needs, and this embodiment does not impose any limitation on this.

[0038] Optionally, the second preset value can be set to be smaller than the first preset value. For example, the first preset value is 50 decibels and the second preset value is 40 decibels. In this way, it can be ensured that the decibel value of the wearer of the headset when speaking is lower than the maximum decibel threshold corresponding to the quiet environment, thereby reducing the impact on other users in the quiet environment.

[0039] Optionally, the second preset value can also be set to be greater than the first preset value, and the difference between the second preset value and the first preset value is within the preset decibel threshold. For example, the preset decibel threshold is 5 decibels, the first preset value is 50 decibels, and the second preset value can be set to any decibel value between 50 decibels and 55 decibels. In this way, the headphone wearer is prompted to speak at a level slightly greater than the maximum decibel threshold corresponding to a quiet environment when wearing the headphones, thereby avoiding the occurrence of problems such as the other party being unable to hear what the wearer is saying because the wearer's voice is too low. At the same time, the impact on other users in a quiet environment is also relatively small.

[0040] In some embodiments, the headset outputs the aforementioned volume prompt information, including but not limited to voice prompts, vibration prompts, and controlling other devices connected to the headset to give prompts. For example, the headset can give a voice prompt to the wearer by broadcasting a prompt voice of "The current environment is a quiet environment, you can appropriately lower your speaking volume." For another example, the headset can vibrate at a preset frequency, and prompt the user through vibration that the speaking volume can be appropriately reduced in the current environment, wherein the preset frequency can be set by the user according to his or her own preferences. For another example, a control instruction is sent to an electronic device that is wirelessly or wired connected to the headset, and the electronic device includes but is not limited to a smart phone, a smart watch, and a computer. The electronic device responds to the control instruction and outputs the aforementioned volume prompt information in the form of voice prompts or text prompts to prompt the wearer to appropriately reduce the speaking volume in the current environment. In this way, the speaking volume prompt for the wearer of the headset can be completed without interrupting the use of the headset.

[0041] In some embodiments, the volume prompt method can also be applied to electronic devices, including but not limited to smart phones, smart phone watches, tablet computers, desktop computers, and laptop computers. For people with hearing impairments, such as the elderly or people with weak hearing, they cannot know the real volume of their own speech due to their own reasons. No matter what environment they are in, the speaking volume is relatively large. If they are in a public place, they may affect other people in the public place because of the excessive speaking volume. Therefore, the electronic device can also obtain the volume value of the ambient sound of the current environment in which it is located as the first volume value; if the first volume value is less than the first preset value, the volume prompt information is output, and the volume prompt information is used to prompt the user of the electronic device to control the speaking volume to be less than the second preset value when speaking. In this way, the user of the electronic device (such as a person with hearing impairment) can be prompted to speak in a quiet environment. Of course, the volume prompt method can be set as a volume prompt function in the electronic device, and the user of the electronic device determines whether to turn on the volume prompt function. The electronic device only prompts the user of the electronic device to lower the speaking volume by detecting the volume value of the ambient sound of the current environment after turning on the volume prompt function. In this way, the user of the electronic device confirms whether to turn on the volume prompt function, making the use more user-friendly and avoiding the problem of prompting users without hearing impairments, thereby reducing the user experience of these users.

[0042] In this embodiment, when the earphone detects that the volume value of the ambient sound in the current environment is lower than the first preset value, it indicates that the earphone is currently in a relatively quiet place. Then, the volume prompt information can be used to prompt the wearer to speak at a lower volume. This avoids the problem that the wearer cannot judge the volume of his or her own voice due to the sound insulation of the earphone, and unconsciously speaks too loudly in a relatively quiet place, affecting other people in the current environment. This further promotes social harmony and improves the harmony between people in the social environment.

[0043] Please refer to Figure 4 , Figure 4 A flow chart of a volume prompt method provided in another embodiment of the present application is applied to headphones. Figure 4 The volume prompt method provided in the embodiment of the present application is described in detail. The volume prompt method may include the following steps:

[0044] Step S310: Acquire the volume value of the ambient sound of the current environment in which the earphone is located as the first volume value.

[0045] In this embodiment, the specific implementation of step S310 can refer to the content of the above-mentioned embodiment, which will not be repeated here.

[0046] Step S320: If the first volume value is less than the first preset value and the audio signal emitted by the wearer is detected, the volume prompt information is output.

[0047] In this embodiment, when it is determined that the first volume value is less than the first preset value, that is, when the headset determines that it is currently in a quiet environment, it can further detect whether the wearer of the headset sends an audio signal. When the audio signal sent by the wearer is detected, it is determined that the wearer is making a sound, and then the volume prompt information is output to prompt the wearer to control the speaking volume to be less than the second preset value when speaking.

[0048] The detected audio signal emitted by the wearer includes one or more of a speech audio signal, an inhalation audio signal, and an interjection audio signal. The speech audio signal refers to an audio signal generated by the wearer speaking, the inhalation audio signal refers to an audio signal generated by the air vibration caused by the wearer inhaling before the wearer is ready to speak, and the interjection audio signal includes but is not limited to audio signals of interjections such as "um", "oh", and "oh". It can be understood that if the wearer is detected to emit a speech audio signal, it indicates that the wearer is speaking, and the volume prompt information is output at this time, which can prompt the wearer to lower the speaking volume; if the wearer is detected to emit an inhalation audio signal or an interjection audio signal, it indicates that the wearer is about to speak, and the volume prompt information is output at this time, which can prompt the user in advance before the user officially speaks not to exceed the second preset value of the speaking volume. For example, before the user answers the call and is ready to speak, the user is prompted to answer the call at the second preset volume, thereby avoiding the impact on other users in the current environment in advance.

[0049] In some implementations, it may be possible to first determine whether the first volume value is less than the first preset value, and if it is determined that the first volume value is less than the first preset value, then detect whether there is an audio signal emitted by the wearer in the current environment. In other words, first detect whether the current environment is a quiet environment, and if it is a quiet environment, then detect whether the wearer is speaking or about to speak, and if it is detected that the wearer is speaking or about to speak, output a volume prompt message to prompt the user that the current speaking volume should not exceed the second preset value.

[0050] In other embodiments, it is also possible to first detect whether there is an audio signal emitted by the wearer in the current environment. If so, it is then determined whether the first volume value is less than the first preset value. If so, the volume prompt information is finally output. That is to say, it is first detected that the user is speaking or about to speak, and then it is detected whether the current environment is a quiet environment. If it is determined to be a quiet environment, the user is prompted to speak at a volume lower than the second preset value.

[0051] In some other embodiments, it is possible to simultaneously detect whether the first volume value is less than the first preset value and whether there is an audio signal emitted by the wearer in the current environment, and if both conditions are met, output volume prompt information. In this way, it is possible to quickly determine whether the current environment is a quiet environment, detect whether the wearer is speaking or about to speak, and promptly prompt the wearer to speak at a volume lower than the second preset value in the current environment.

[0052] In some embodiments, see Figure 5 , step S320 may include the following steps:

[0053] Step S321: If the first volume value is less than the first preset value and an audio signal emitted by the wearer is detected, the volume value of the audio signal emitted by the wearer is obtained as a second volume value.

[0054] Step S322: If the second volume value is greater than a third preset value, output the volume prompt information.

[0055] In this embodiment, after detecting the audio signal emitted by the wearer and determining that the wearer is speaking, the volume value of the audio signal emitted by the wearer can be further obtained as the second volume value; then it is determined whether the second volume value is greater than a third preset value. If it is greater than the third preset value, it indicates that the wearer's current speaking volume is too loud, and a volume prompt message can be output to prompt the wearer to speak at a volume lower than the second preset value. Figure 3 The first real-time audio signal collected by the first microphone 1011 is enhanced and filtered for human voice. For specific implementation, please refer to the contents in the aforementioned embodiments, which will not be repeated here. The third preset value is a preset decibel value, which can be the decibel value set when the headset leaves the factory, or the decibel value set by the wearer according to the needs of different scenarios. For example, for the application scenario of the library, the third preset value is set to 60 decibels; for another example, for the application scenario in the high-speed rail carriage, the third preset value can be set slightly higher, such as 70 decibels. It can be understood that the third preset value can be the same as the second preset value, or it can be greater than the second preset value. It can be seen from this that if the current environment detected is a quiet environment and the wearer is talking, the wearer is prompted to lower the speaking volume only when the wearer speaks too loudly, so as to avoid the wearer's original speaking volume being lower than the second preset value, and the wearer is given an invalid prompt, so as to minimize the impact on the wearer's use of the headset for calls or entertainment.

[0056] Exemplarily, taking the first preset value as 50 decibels and the third preset value as 70 decibels, the headset determines whether the first volume value is greater than 50 decibels. If not, and the second volume value is greater than 70 decibels, a volume prompt message is output; if the first volume value is greater than 50 decibels, there is no need to output a volume prompt message.

[0057] Optionally, if the second volume value is less than the third preset value, it can be further detected whether the second volume value is less than the minimum volume threshold. If so, a volume increase prompt message can be output to prompt the user to speak at a volume greater than the minimum volume threshold and less than the second preset value, so as to avoid the wearer speaking too softly for fear of affecting surrounding users, resulting in communication barriers when talking through the headset.

[0058] In this embodiment, when the headset detects that the volume value of the ambient sound in the current environment is lower than the first preset value, it indicates that the headset is currently in a relatively quiet place, and when it is determined that the wearer's second volume value is greater than the third preset value, that is, when the wearer speaks too loudly, the wearer is prompted to lower the speaking volume, thereby avoiding the problem that the wearer cannot judge the volume of his or her own speaking due to the sound insulation of the headset, and unconsciously speaks too loudly in a relatively quiet place, affecting other people in the current environment. At the same time, it also avoids the problem that the wearer's original speaking volume is lower than the second preset value, resulting in invalid prompts to the wearer, thereby minimizing the impact on the wearer's use of the headset for calls or entertainment.

[0059] Please refer to Figure 6 , Figure 6 A flow chart of a volume prompt method provided in another embodiment of the present application is applied to headphones. Figure 6 The volume prompt method provided in the embodiment of the present application is described in detail. The volume prompt method may include the following steps:

[0060] Step S410: Acquire the volume value of the ambient sound of the current environment in which the earphone is located as the first volume value.

[0061] In this embodiment, the specific implementation of step S410 can refer to the content of the above-mentioned embodiment, which will not be repeated here.

[0062] Step S420: If the first volume value is less than the first preset value, and the current working state of the electronic device to which the headset is connected is any one of the preset working states, the volume prompt information is output, and the preset working state at least includes an incoming call state and a dialing state.

[0063] In this embodiment, the headset generally establishes a communication connection with the electronic device through a wireless or wired communication method, and the headset is used as an accessory of the electronic device based on the established communication connection. For example, the headset receives and plays audio signals such as music audio, video audio, and call audio sent by the electronic device through the communication connection, and the headset can collect call audio signals and feed them back to the electronic device. In other words, the headset can exchange data with the electronic device through the established communication connection. Among them, the electronic device includes but is not limited to smart phones, smart watches, tablet computers, laptops, desktop computers and other devices; the wireless communication connection can be a Bluetooth connection or other short-range wireless communication connection, which is not limited in this embodiment.

[0064] It can be understood that when the headset determines that the first volume value is less than the first preset value, that is, when the current environment is determined to be a quiet environment, the headset can obtain the current working state of the electronic device connected to the headset based on the communication connection established above, and determine whether the wearer is about to speak or is speaking based on the current working state. Specifically, it is detected whether the current working state is any working state in the preset working state. If so, it indicates that the wearer is currently using the headset as a call accessory of the electronic device and is about to make a call or is making a call with other devices. At this time, the volume prompt information is output again to prompt the wearer that the speaking volume is lower than the second preset value. Among them, the preset working state can be any form of incoming call state, dialing state and calling state, among which the incoming call state is used to indicate that the electronic device currently receives a call request sent by other devices, the dialing state is used to indicate that the electronic device is currently sending a call request to other devices, and the call request includes but is not limited to a voice call request and a video call request, and the calling state is used to indicate that the electronic device is talking to other devices, and the call includes but is not limited to a voice call and a video call. For example, the incoming call status, dialing status and calling status in the call form of the electronic device, and the incoming call status, dialing status and calling status in the application form of the electronic device, which are not limited in this example. In this way, the current working state of the electronic device can be used to pre-judge whether the wearer is about to speak or is speaking, and then the user is prompted in advance not to speak at a volume exceeding the second preset value, thereby avoiding the wearer's excessive speaking volume from affecting other users in the current environment.

[0065] In some embodiments, it may be possible to first determine whether the first volume value is less than a first preset value. If it is determined that the first volume value is less than the first preset value, then obtain the current working state of the electronic device connected to the headset, and detect whether the current working state is any of the preset working states. If the current working state is any of the preset working states, output volume prompt information to prompt the wearer to speak at a lower volume.

[0066] In other embodiments, the current working state of the electronic device connected to the headset may be obtained first, and it may be detected whether the current working state is any of the preset working states. If the current working state is any of the preset working states, it may be determined whether the first volume value is less than the first preset value. If the first volume value is less than the first preset value, a volume prompt message may be output to prompt the wearer to speak at a lower volume.

[0067] In some other embodiments, it is possible to simultaneously detect whether the first volume value is less than the first preset value and whether the current working state of the electronic device is any of the preset working states. If both are satisfied, a volume prompt message is output to prompt the wearer to speak at a lower volume.

[0068] In some embodiments, it can also be determined that the first volume value is less than the first preset value, and the current working state of the electronic device to which the headset is connected is any of the preset working states, and then further detect whether the wearer sends an audio signal. If the audio signal sent by the wearer is detected, the volume value of the audio signal sent by the wearer is obtained as the second volume value, and if the second volume value is greater than the third preset value, the volume prompt information is output. In this way, combining the two conditions of the current working state of the electronic device and the volume value of the audio signal sent by the wearer, it is determined whether to output the volume prompt information to prompt the wearer to speak at a lower volume, which can further improve the accuracy of the volume prompt.

[0069] In this embodiment, based on the current working state of the electronic device connected to the headset, it is pre-determined whether the wearer is about to speak or is speaking, and the user is pre-prompted not to speak at a volume exceeding a second preset value, thereby avoiding in advance the impact of the wearer's excessive speaking volume on other users in the current environment.

[0070] Please refer to Figure 7 , Figure 7 A flow chart of a volume prompt method provided in another embodiment of the present application is applied to headphones. Figure 7 The volume prompt method provided in the embodiment of the present application is described in detail. The volume prompt method may include the following steps:

[0071] Step S510: Acquire the volume value of the ambient sound of the current environment in which the earphone is located as the first volume value.

[0072] In this embodiment, the specific implementation of step S510 can refer to the content of the above-mentioned embodiment, which will not be repeated here.

[0073] Step S520: If the first volume value is less than a first preset value, and the scene corresponding to the current position of the headset matches the preset scene, the volume prompt information is output.

[0074] In this embodiment, when the headset determines that the first volume value is less than the first preset value, that is, when the headset determines that the current environment is a quiet environment, the headset can also determine the current location of the headset through positioning technology, so as to judge whether the current environment is a quiet environment that is not suitable for speaking loudly based on the current location. For example, a library is a quiet environment that is not suitable for speaking loudly, but a bedroom is a quiet environment that can speak loudly. Therefore, it can be combined with the current location of the headset to judge whether it is necessary to output volume prompt information to the wearer. Among them, positioning technology includes but is not limited to global positioning system (GPS) positioning, positioning based on base stations of mobile operating networks, and Wi-Fi positioning. The specific positioning technology used can be flexibly adjusted according to different application scenarios.

[0075] It is understandable that since earphones are generally used as accessories of electronic devices, and earphones and electronic devices are connected to each other through short-range wireless communication or wired communication. Therefore, the current position of the electronic device connected to the earphone can be obtained through the aforementioned positioning technology as the current position of the earphone; then the scene corresponding to the current position is obtained, and it is determined whether the scene matches the preset scene. If it matches, it indicates that the current environment of the earphone is a quiet environment that is not suitable for speaking loudly (for example, a library), and then the volume prompt information is output to prompt the user to speak at a volume that does not exceed the second preset value. If it does not match, it indicates that the current environment of the earphone is a quiet environment where loud speaking is allowed (for example, a bedroom), and then the volume prompt information is not output, that is, it does not affect the current wearer's ongoing calls or entertainment activities through the earphone.

[0076] In some implementations, when it is determined that the first volume value is less than the first preset value and the scene corresponding to the current position of the headset matches the preset scene, it is detected whether there is an audio signal emitted by the wearer in the current environment. If the audio signal emitted by the wearer is detected, the volume prompt information is output. The specific implementation method can refer to the content of the aforementioned embodiment, which will not be repeated here. That is, when it is determined that the current environment is a quiet environment that is not suitable for speaking loudly, the wearer is prompted to speak at a lower volume only when it is detected that the wearer is making a sound.

[0077] It can be understood that after determining that the first volume value is less than the first preset value and detecting the audio signal emitted by the wearer, it is also possible to determine whether the scene corresponding to the current position of the headset matches the preset scene, and if they match, output volume prompt information. That is to say, the execution order of the three conditions of determining whether the first volume value is less than the first preset value, determining whether the scene corresponding to the current position of the headset matches the preset scene, and detecting whether there is an audio signal emitted by the wearer in the current environment is not limited in this embodiment, and can be executed in a sequential order or simultaneously.

[0078] In other embodiments, when it is determined that the first volume value is less than the first preset value and the scene corresponding to the current position of the headset matches the preset scene, it is detected whether the current working state of the electronic device to which the headset is connected is any of the preset working states. If so, volume prompt information is output, wherein the specific implementation method for detecting the current working state can refer to the content in the aforementioned embodiment, and this embodiment is not limited to this.

[0079] It can be understood that the execution order of the three conditions of determining whether the first volume value is less than the first preset value, judging whether the scene corresponding to the current position of the headset matches the preset scene, and detecting whether the current working state of the electronic device connected to the headset is any of the preset working states is not limited in this embodiment, and can be executed in sequence or simultaneously.

[0080] Thus, it can be seen that in this embodiment, when it is determined that the current environment is a quiet environment, the positioning technology can also be combined to determine the current position of the headset, and based on the current position, it is judged whether the current environment is a quiet environment that is not suitable for speaking loudly. Moreover, only when the current environment is a quiet environment that is not suitable for speaking loudly, the wearer is prompted to speak at a volume lower than the second preset value, thereby achieving more accurate volume prompts for the wearer and reducing unnecessary volume prompts.

[0081] Please refer to Figure 8 , Figure 8 A flow chart of a volume prompt method provided in yet another embodiment of the present application is applied to headphones. Figure 7 The volume prompt method provided in the embodiment of the present application is described in detail. The volume prompt method may include the following steps:

[0082] Step S610: Acquire the volume value of the ambient sound of the current environment in which the earphone is located as the first volume value.

[0083] In this embodiment, the specific implementation of step S610 can refer to the content of the above-mentioned embodiment, which will not be repeated here.

[0084] Step S620: If the first volume value is less than the first preset value, and the current screen state of the electronic device to which the headset is connected is in a bright screen state, a volume prompt instruction is sent to the electronic device, and the volume prompt instruction is used to instruct the electronic device to output the volume prompt information.

[0085] In this embodiment, when it is determined that volume prompt information needs to be output to prompt the wearer not to exceed the second preset value of the speaking volume, the current screen state of the electronic device connected to the headset can be obtained, and based on the current screen state, a more suitable output method of the volume prompt information can be determined.

[0086] Optionally, if the first volume value is less than the first preset value, and the current screen state of the electronic device connected to the headset is in a bright screen state, it indicates that the electronic device connected to the headset is being viewed by the wearer. Therefore, the headset can send a volume prompt instruction to the electronic device, and correspondingly, the electronic device outputs volume prompt information in response to the volume prompt instruction. For example, the screen of the electronic device can display "The current environment is a quiet environment, you can appropriately lower your speaking volume." Of course, the electronic device can also vibrate to prompt. For specific implementation of the vibration prompt, please refer to the content of the aforementioned embodiment. In this way, the volume prompt for the wearer can be achieved without interrupting the headset's playback or audio signal collection process.

[0087] Among them, determining whether to output the volume prompt information is not limited to the condition that the first volume value is less than the first preset value, but can also be the condition that the first volume value is less than the first preset value and the audio signal emitted by the wearer is detected, or the condition that the first volume value is less than the first preset value and the current working state of the electronic device connected to the headset is any working state in the preset working states. The conditions for determining whether to output the volume prompt information in the aforementioned embodiments can all be applied to this embodiment, and this embodiment does not limit this.

[0088] Step S630: If the first volume value is less than the first preset value, and the current screen state of the electronic device to which the headset is connected is in the screen-off state, the volume prompt information is output.

[0089] It can be understood that when the current screen state of the electronic device connected to the headset is in the screen-off state, it indicates that the wearer is not currently viewing the electronic device. For example, if the electronic device is a smart phone, the current wearer places the smart phone connected to the headset in a pocket or backpack. At this time, if the volume prompt information is still output by controlling the electronic device, the wearer may not be able to perceive it, that is, the prompt is invalid. Based on this, after determining that the volume prompt information needs to be output, and the current screen state of the electronic device connected to the headset is in the screen-off state, the volume prompt information is directly output by the headset. In this way, the wearer can receive the volume prompt in time, avoiding the situation where the volume prompt information cannot be perceived by the wearer.

[0090] Among them, determining whether to output the volume prompt information is not limited to the condition that the first volume value is less than the first preset value, but can also be the condition that the first volume value is less than the first preset value and the audio signal emitted by the wearer is detected, or the condition that the first volume value is less than the first preset value and the current working state of the electronic device connected to the headset is any working state in the preset working states. The conditions for determining whether to output the volume prompt information in the aforementioned embodiments can all be applied to this embodiment, and this embodiment does not limit this.

[0091] In this embodiment, if it is determined that the first volume value is less than the first preset value, that is, when it is determined to output the volume prompt information, the current screen state of the electronic device to which the headset is connected can be further obtained, and the most appropriate output method can be selected in combination with the current screen state to output the volume prompt information, thereby ensuring that the wearer can obtain the volume prompt information in a timely manner, and then control his or her own speaking volume not to exceed the second preset value.

[0092] Please refer to Fig. 9 , which shows a structural block diagram of a volume prompt device 700 provided in an embodiment of the present application, which is applied to headphones. The device 700 may include: a volume acquisition module 710 and a volume prompt module 720.

[0093] The volume acquisition module 710 is used to acquire the volume value of the ambient sound of the current environment in which the earphone is located as the first volume value.

[0094] The volume prompt module 720 is used to output volume prompt information if the first volume value is less than a first preset value, and the volume prompt information is used to prompt the wearer to control the speaking volume to be less than a second preset value when speaking.

[0095] In some embodiments, the volume prompt module 720 may be specifically configured to output the volume prompt information if the first volume value is less than the first preset value and an audio signal emitted by the wearer is detected.

[0096] In this manner, the volume acquisition module 710 can also be used to acquire the volume value of the audio signal emitted by the wearer as the second volume value if the first volume value is less than the first preset value and the audio signal emitted by the wearer is detected. The volume prompt module 720 can be used to output the volume prompt information if the second volume value is greater than a third preset value.

[0097] In other embodiments, the volume prompt module 720 can be specifically used to output the volume prompt information if the first volume value is less than the first preset value and the current working state of the electronic device connected to the headset is any one of the preset working states, and the preset working state at least includes an incoming call state and a dialing state.

[0098] In some implementations, the volume prompt module 720 may be configured to output the volume prompt information if the first volume value is less than a first preset value and the scene corresponding to the current position of the headset matches the preset scene.

[0099] In other embodiments, the volume prompt module 720 can be specifically used to: if the first volume value is less than the first preset value, and the current screen state of the electronic device to which the headset is connected is in a screen-on state, send a volume prompt instruction to the electronic device, and the volume prompt instruction is used to instruct the electronic device to output the volume prompt information; if the first volume value is less than the first preset value, and the current screen state of the electronic device to which the headset is connected is in a screen-off state, output the volume prompt information.

[0100] In some other implementations, the volume acquisition module 710 may be specifically used to: if the earphone is in a wearing state, acquire the volume value of the ambient sound of the current environment in which the earphone is located as the first volume value.

[0101] In some embodiments, the headset includes a first microphone and a second microphone; the volume acquisition module 710 can be specifically used to: obtain the audio signal collected by the first microphone in real time as a first real-time audio signal; obtain the audio signal collected by the second microphone in real time as a second real-time audio signal; based on the first real-time audio signal, filter the second real-time audio signal to obtain an ambient audio signal of the ambient sound of the current environment in which the headset is located; obtain the volume value of the ambient audio signal as the first volume value.

[0102] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0103] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0104] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0105] In summary, in the solution provided by the embodiment of the present application, the volume value of the ambient sound of the current environment in which the headset is located is obtained as the first volume value; if the first volume value is less than the first preset value, the volume prompt information is output, and the volume prompt information is used to prompt the wearer to control the speaking volume to be less than the second preset value when speaking. In this way, when the current environment is a relatively quiet environment, the headset can prompt the wearer to speak at a lower volume through the volume prompt information, avoiding the wearer's inability to judge the volume of his or her own speech due to the sound insulation of the headset, and unconsciously speaking too loudly in a relatively quiet environment, thereby avoiding the occurrence of problems such as affecting other people in the current environment.

[0106] The following will be combined Fig.10 A headset provided in this application is described.

[0107] Reference Fig.10 , Fig.10 A structural block diagram of an earphone 800 provided in an embodiment of the present application is shown, and the above method provided in the embodiment of the present application can be executed by the earphone 800.

[0108] The headset 800 in the embodiment of the present application may include one or more of the following components: a processor 801, a memory 802, and one or more applications, wherein the one or more applications may be stored in the memory 802 and configured to be executed by one or more processors 801, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.

[0109] The processor 801 may include one or more processing cores. The processor 801 uses various interfaces and lines to connect various parts of the entire electronic device 800, and executes various functions and processes data of the electronic device 800 by running or executing instructions, programs, code sets or instruction sets stored in the memory 802, and calling data stored in the memory 802. Optionally, the processor 801 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 801 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem can also be integrated into the processor 801 and implemented separately through a communication chip.

[0110] The memory 802 may include a random access memory (RAM) or a read-only memory (ROM). The memory 802 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 802 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as the various corresponding relationships described above) created by the headset 800 during use, etc.

[0111] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0112] In several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or modules, which may be electrical, mechanical or other forms.

[0113] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0114] Please refer to Fig.11 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 900 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.

[0115] The computer readable storage medium 900 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 900 includes a non-transitory computer-readable storage medium. The computer readable storage medium 900 has storage space for program code 910 that performs any method step of the above method. These program codes can be read from or written to one or more computer program products. The program code 910 can be compressed, for example, in an appropriate form.

[0116] In some embodiments, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.

[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A volume prompt method, characterized in that: Applied to an earphone, the earphone comprises a first microphone and a second microphone, and the method comprises: Acquire an audio signal collected in real time by the first microphone as a first real-time audio signal, wherein when the headset is worn, the first microphone is closer to the wearer's mouth than the second microphone; Acquire an audio signal collected in real time by the second microphone as a second real-time audio signal, wherein the second microphone is away from the wearer's mouth when the headset is worn; Extracting a human voice audio signal from the first real-time audio signal; According to the signal-to-noise ratio of the human voice audio signal, filtering the second real-time audio signal, filtering out the human voice audio signal in the second real-time audio signal, and obtaining an ambient audio signal of the ambient sound of the current environment; Obtaining a volume value of the ambient audio signal as a first volume value; If the first volume value is less than a first preset value, a volume prompt message is output, wherein the volume prompt message is used to prompt the wearer to control the speech volume to be less than a second preset value when speaking.

2. The method according to claim 1, characterized in that If the first volume value is less than a first preset value, outputting volume prompt information includes: If the first volume value is less than the first preset value and the audio signal emitted by the wearer is detected, the volume prompt information is output.

3. The method according to claim 2, characterized in that If the first volume value is less than a first preset value and an audio signal emitted by the wearer is detected, outputting the volume prompt information includes: If the first volume value is less than the first preset value and an audio signal emitted by the wearer is detected, obtaining the volume value of the audio signal emitted by the wearer as the second volume value; If the second volume value is greater than a third preset value, the volume prompt information is output.

4. The method according to claim 1, characterized in that If the first volume value is less than a first preset value, outputting volume prompt information includes: If the first volume value is less than the first preset value, and the current working state of the electronic device to which the headset is connected is any one of the preset working states, the volume prompt information is output, and the preset working state at least includes an incoming call state and a dialing state.

5. The method according to any one of claims 1 to 4, characterized in that: If the first volume value is less than a first preset value, outputting volume prompt information includes: If the first volume value is less than a first preset value and the scene corresponding to the current position of the headset matches the preset scene, the volume prompt information is output.

6. The method according to any one of claims 1 to 4, characterized in that: If the first volume value is less than a first preset value, outputting volume prompt information includes: If the first volume value is less than the first preset value, and the current screen state of the electronic device to which the headset is connected is in a bright screen state, sending a volume prompt instruction to the electronic device, wherein the volume prompt instruction is used to instruct the electronic device to output the volume prompt information; If the first volume value is less than the first preset value and the current screen state of the electronic device to which the headset is connected is in an off state, the volume prompt information is output.

7. The method according to any one of claims 1 to 4, characterized in that: The step of obtaining the volume value of the ambient sound of the current environment in which the headset is located as the first volume value includes: If the earphone is in a wearing state, the volume value of the ambient sound of the current environment in which the earphone is located is obtained as the first volume value.

8. A volume prompt device, characterized in that: Applied to a headset, the headset includes a first microphone and a second microphone, and the device includes: A volume acquisition module is used to acquire an audio signal collected by the first microphone in real time as a first real-time audio signal, wherein the first microphone is closer to the wearer's mouth than the second microphone when the headset is worn; acquire an audio signal collected by the second microphone in real time as a second real-time audio signal, wherein the second microphone is away from the wearer's mouth when the headset is worn; extract a human voice audio signal from the first real-time audio signal; filter the second real-time audio signal according to a signal-to-noise ratio of the human voice audio signal, filter out the human voice audio signal from the second real-time audio signal, and obtain an ambient audio signal of ambient sound of the current environment; and acquire a volume value of the ambient audio signal as a first volume value; The volume prompt module is used to output volume prompt information if the first volume value is less than a first preset value, and the volume prompt information is used to prompt the wearer to control the speaking volume to be less than a second preset value when speaking.

9. A headset, characterized in that: include: one or more processors; Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, which can be called by a processor to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Headset device with environmental sound prompting mode

    CN106162413A

  • Speaking sound volume prompting method, earphone and readable storage medium

    CN113411715A

  • Peripheral device of sound transceiver

    TWM320270U