[go: up one dir, main page]

CN111800699A - Volume adjustment prompting method and device, earphone equipment and storage medium - Google Patents

Volume adjustment prompting method and device, earphone equipment and storage medium Download PDF

Info

Publication number
CN111800699A
CN111800699A CN202010717220.1A CN202010717220A CN111800699A CN 111800699 A CN111800699 A CN 111800699A CN 202010717220 A CN202010717220 A CN 202010717220A CN 111800699 A CN111800699 A CN 111800699A
Authority
CN
China
Prior art keywords
volume
user terminal
audio data
earphone body
sound pressure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010717220.1A
Other languages
Chinese (zh)
Other versions
CN111800699B (en
Inventor
张峰
张斌
蒋兆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Zimi Electronic Technology Co Ltd
Original Assignee
Jiangsu Zimi Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Zimi Electronic Technology Co Ltd filed Critical Jiangsu Zimi Electronic Technology Co Ltd
Priority to CN202010717220.1A priority Critical patent/CN111800699B/en
Publication of CN111800699A publication Critical patent/CN111800699A/en
Application granted granted Critical
Publication of CN111800699B publication Critical patent/CN111800699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses a volume adjustment prompting method and device, earphone equipment and a storage medium. Acquiring a sound pressure level of audio data within an ear canal; acquiring a first volume of the earphone body and a second volume of the user terminal; when the sound pressure level of the audio data is smaller than a preset value, determining a volume adjusting object based on a first volume of the earphone body and a second volume of the user terminal, wherein the earphone body is connected with the user terminal and is provided with a volume adjusting part; and generating prompt information based on the volume adjusting object to prompt the user. The volume of the earphone body or the user terminal can be conveniently operated by a user, so that the volume of audio data played by the earphone can reach the optimum, the times of trying to adjust the volume of the earphone body or the user terminal by the user are reduced, and the complexity of the user in adjusting the volume is reduced.

Description

Volume adjustment prompting method and device, earphone equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of sound signal processing, in particular to a volume adjustment prompting method and device, earphone equipment and a storage medium.
Background
Nowadays, new generation consumer electronics devices such as global smart phones and tablet computers are rapidly developed, and earphone products, especially wireless earphone products, are receiving more and more attention.
With the development of the technology, the volume adjustment mode of the wireless headset is diversified. Some earphones have volume adjusting keys, and volume adjustment can be performed by pressing the volume adjusting keys on the earphones, such as a google pixel pads 2 bluetooth earphone. Some earphones have no keys and can be adjusted by adjusting the volume of the connected mobile terminal, such as Apple airheads Pro Bluetooth earphones. When the volume of the mobile terminal playing the audio data is small, and the earphone body supports volume adjustment, the volume of the mobile phone and the earphone body needs to be increased at the same time, so that the playing volume of the audio data can be larger. In the prior art, for an earphone with an earphone body supporting volume adjustment, a mobile terminal is generally applied to increase the volumes of the earphone body and the mobile terminal at the same time, and a user needs to try to determine a volume adjustment mode, so that the adjustment accuracy is poor.
Disclosure of Invention
The invention provides a volume adjustment prompting method, a volume adjustment prompting device, earphone equipment and a storage medium, which are used for prompting a user to adjust the volume of an earphone or a user terminal according to the comprehensive judgment of the volume of audio data in an auditory canal and the volumes of an earphone body and the user terminal, so that the volume of the audio data in the auditory canal is optimal.
In a first aspect, an embodiment of the present invention provides a volume adjustment prompting method, where the method includes:
acquiring a sound pressure level of audio data within an ear canal;
acquiring a first volume of the earphone body and a second volume of the user terminal;
when the sound pressure level of the audio data is smaller than a preset value, determining a volume adjusting object based on a first volume of the earphone body and a second volume of the user terminal, wherein the earphone body is connected with the user terminal, and volume adjusting parts are respectively arranged on the earphone body and the user terminal;
and generating prompt information based on the volume adjusting object to prompt the user.
In a second aspect, an embodiment of the present invention further provides a volume adjustment prompting device, where the device includes:
the sound pressure level acquisition module is used for acquiring the sound pressure level of the audio data in the auditory canal;
the volume acquisition module is used for acquiring a first volume of the earphone body and a second volume of the user terminal;
the object determining module is used for determining a volume adjusting object based on a first volume of the earphone body and a second volume of the user terminal when the sound pressure level of the audio data is smaller than a preset value, wherein the earphone body is connected with the user terminal, and volume adjusting parts are respectively arranged on the earphone body and the user terminal;
and the prompting module generates prompting information based on the volume adjusting object so as to prompt a user.
In a third aspect, an embodiment of the present invention further provides an earphone device, where the earphone device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the volume adjustment prompting method provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the volume adjustment prompting method provided in any embodiment of the present invention.
According to the embodiment of the invention, the volume adjustment object is determined by acquiring the sound pressure level of the audio data, the first volume of the earphone body and the second volume of the user terminal, and whether the volume adjustment is carried out on the earphone body or the user terminal or both the earphone body and the user terminal is determined. And the adjusted object is informed to the user by a prompt message method, so that the user can conveniently operate the volume of the volume adjustment object, the volume of the audio data played by the earphone can reach the optimum, the complexity of the user in adjusting the volume is reduced, and the accuracy of volume adjustment is improved.
Drawings
Fig. 1 is a flowchart of a volume adjustment prompting method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a volume adjustment prompting method in the second embodiment of the present invention;
fig. 3 is a flowchart of a volume adjustment prompting method in the third embodiment of the present invention;
fig. 4 is a block diagram showing a configuration of a volume adjustment prompting apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an earphone device in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a volume adjustment prompting method according to an embodiment of the present invention, where this embodiment is applicable to an earphone with a volume adjustment function, and a user adjusts the volume of an earphone body and the volume of a user terminal to adjust the volume of audio playing, respectively, and the method can be executed by an earphone device with a volume adjustment function, and specifically includes the following steps:
step 110, a sound pressure level of the audio data within the ear canal is obtained.
The audio data may be acquired by a device that is disposed in the earphone and can record sound data, for example, a feedback microphone in the earphone acquires the audio data in the ear canal. And carrying out signal processing on the acquired audio data to obtain the sound pressure level of the audio data.
The response of the human ear to sound, depending on the loudness and frequency of the sound, can be represented using sound levels. The sound levels are classified into a sound level, B sound level, and C sound level, where the a sound level expresses subjective feeling of human ears. In the present invention, the a sound level is used to express a human's subjective feeling on audio data in the ear canal, i.e., the overall influence of the frequency and sound pressure of the audio data.
Illustratively, the collected audio data is converted into frequency domain signals, and the audio data of different frequency domains is converted by using the a sound level to obtain the sound pressure levels of the audio data of different frequency domains.
Specifically, gather audio data with fixed collection cycle to convert it into time domain signal, convert time domain signal into frequency domain signal, the mode of conversion can be for Fourier transform, divide into different ranges with frequency domain signal, in order to obtain the sound pressure level in the different frequency domain ranges, through the sound pressure level computational formula:
Figure BDA0002598659690000041
where dB _ k denotes a sound pressure of each frequency domain range, W _ k denotes a weight coefficient of the frequency domain range, and N is a division number of the divided frequency domain ranges. Thus, for collecting audio data of a period, the sound pressure level of the audio data can be obtained as a whole, that is, the sound pressure level of the audio data in the collection period is obtained as a whole, and thus, the processes of collecting the audio data, converting the audio data and obtaining the sound pressure level are cycled, and the sound pressure level of the audio data in a preset time period is determined, wherein the preset time period can be 1 second or less than 1 second, and the preset time period at least comprises 1 sampling period. The preset time period is short, the sound pressure level of the audio data can be determined in a short time, and the time of volume adjustment prompting is reduced on the whole.
And step 120, acquiring a first volume of the earphone body and a second volume of the user terminal.
The earphone body has a volume adjusting function, and the actual volume of the earphone body during audio data playing is obtained. The method can be determined by acquiring the position of a volume adjusting key of the earphone body, or acquiring the volume percentage or the volume level of the earphone body, wherein the specific manner of acquiring the volume of the earphone is determined according to the type and the model of the earphone. Similarly, the method for acquiring the actual volume of the user terminal during audio playing can also be determined by adopting the method, and the method for acquiring the actual volume of the earphone body and the user terminal is not particularly limited.
And step 130, when the sound pressure level of the audio data is smaller than a preset value, determining a volume adjusting object based on the first volume of the earphone body and the second volume of the user terminal.
Wherein, the earphone body is connected with the user terminal, and the earphone body can be connected through a wire or in a wireless mode such as Bluetooth. The earphone body and the user terminal are respectively provided with a volume adjusting part. The user terminal includes, but is not limited to, an electronic device with a headset function, such as a mobile phone and a tablet computer. When the sound pressure level of the acquired audio data in the ear canal is smaller than a preset value, the playing volume of the audio data is smaller, and the volume needs to be increased by adjusting a volume adjusting part of the earphone body or the user terminal. The method includes the steps of determining whether a volume adjustment object is an earphone body or a user terminal according to a first volume of the earphone body and a second volume of the user terminal, and specifically determining whether the volume adjustment object is the earphone body or the user terminal or whether the earphone body and the user terminal are both volume adjustment objects according to the first volume of the earphone body and the second volume of the user terminal. So that the user can accurately adjust the volume according to the determined volume adjusting object, and invalid attempts of the user are avoided. The preset value of the sound pressure level of the audio data is determined according to the minimum value of the sound pressure level which can be heard by human ears or the comfortable range of the audio data which can be heard by the human ears, and can also be adjusted according to different hearing conditions of each person.
Optionally, when the sound pressure level of the audio data is less than the preset value, the first volume of the earphone body is less than or equal to the first preset volume, and the second volume of the user terminal is less than or equal to the second preset volume, it is determined that the earphone body and the user terminal are volume adjustment objects. And when the sound pressure level of the audio data is less than a preset value, the first volume of the earphone body is less than or equal to the first preset volume, and the second volume of the user terminal is greater than the second preset volume, determining that the earphone body is a volume adjusting object. And when the sound pressure level of the audio data is smaller than a preset value and the first volume of the earphone body is larger than the first preset volume, determining that the user terminal is a volume adjusting object.
Specifically, a preset volume is set for the earphone body and the user terminal respectively, the earphone body is set to be a first preset volume, and the user terminal is set to be a second preset volume. When the sound pressure level of the audio data in the ear canal is less than the preset value, the user cannot hear or cannot hear the audio data. And comparing the obtained volumes of the earphone body and the user terminal with respective preset volumes. When the volume of the earphone body is smaller than or equal to a first preset volume and the volume of the user terminal is smaller than or equal to a second preset volume, the volumes of the earphone body and the user terminal are adjusted, namely, the earphone body and the user terminal are used as volume adjusting objects. When the acquired volume of the earphone body is smaller than or equal to the first preset volume and the volume of the user terminal is larger than the second preset volume, only the volume of the earphone body needs to be adjusted. When the acquired volume of the earphone body is larger than the first preset volume, the volume of the user terminal is adjusted at the moment so as to increase the volume of audio playing. The earphone comprises an earphone body, wherein a first preset volume of the earphone body is set according to a comfortable volume range audible by human ears, and a specific numerical value is set according to the requirements of an actual user. Similarly, the second preset volume set by the user terminal is also set according to a comfortable volume range audible by human ears. The values of the first preset volume and the second preset volume may be the same or different.
When the obtained sound pressure level in the auditory canal is smaller than a preset value, a sound volume adjusting object is accurately determined according to the obtained actual sound volumes of the earphone body and the user terminal and the preset first preset sound volume and second preset sound volume, and the problem that the user repeatedly tries to confirm the sound volume adjusting object and the adjusting accuracy is poor is solved.
And step 140, generating prompt information based on the volume adjusting object to prompt the user.
Specifically, after the volume adjustment object is determined, the user is informed in a prompt message mode according to the volume adjustment object, so that the user can adjust the volumes of the earphone body, the user terminal or both the earphone body and the user terminal in a targeted manner under the condition that the audio data playing volume is small, and inconvenience caused by the fact that the user tries to adjust the volumes of the earphone body and the user terminal under the condition that the user does not know the volumes of the earphone body and the user terminal is reduced.
Optionally, the manner of prompting the user includes at least one of the following manners: the method comprises the steps of displaying text prompt information on the basis of a display interface of a user terminal, playing voice prompt information in the ear canal on the basis of an earphone body, and controlling a volume adjusting object to vibrate in the vibration prompt information.
Specifically, the display may be displayed in text form on a display interface of the user terminal, for example, when it is determined that the first volume of the earphone body should be adjusted, a word "please adjust the volume of the earphone" is displayed on the display interface of the user terminal. Or the user is informed of the prompt information in the form of voice playing in the ear canal through the earphone body, for example, the voice of "please adjust the earphone volume" is played in the ear canal through the earphone body at a volume which is larger than the audio data and can be accepted by the user. Or the user is informed of the prompt information in a vibration mode, wherein the user is prompted to have a different vibration mode for adjusting the first volume of the earphone body and the second volume of the user terminal, and the vibration carrier may be the earphone body or the user terminal, which is not limited specifically here.
According to the embodiment of the invention, the volume adjustment object is determined by acquiring the sound pressure level of the audio data, the first volume of the earphone body and the second volume of the user terminal, the volume adjustment is determined to be performed on the earphone body or the user terminal, or the volumes of the earphone body and the user terminal are adjusted, and the adjusted object is informed to the user by a prompt message method, so that the user can conveniently operate the earphone body or the user terminal, the volume of the audio data played by the earphone can reach the best, the complexity of the user in adjusting the volume is reduced, and the accuracy of adjusting the volume is improved.
Example two
Fig. 2 is a flowchart of a volume adjustment prompting method according to an embodiment of the present invention, in which a step of determining a volume adjustment value of a volume adjustment object is added on the basis of the above embodiment, and the volume adjustment value of the volume adjustment object is determined based on a sound pressure level of audio data in an ear canal, a highest sound pressure level allowed in the ear canal, and a current volume of the volume adjustment object. Correspondingly, the prompt message is generated based on the volume adjusting object, and the prompt message comprises: and generating prompt information based on the volume adjustment object and the volume adjustment value. Wherein explanations of the same or corresponding terms as those of the above-described embodiments are omitted. The volume adjustment prompting method provided by the embodiment comprises the following steps:
step 210, a sound pressure level of audio data within the ear canal is obtained.
And step 220, acquiring a first volume of the earphone body and a second volume of the user terminal.
And step 230, when the sound pressure level of the audio data is smaller than a preset value, determining a volume adjusting object based on a first volume of the earphone body and a second volume of the user terminal, wherein the earphone body is connected with the user terminal, and the earphone body and the user terminal are respectively provided with a volume adjusting part.
Step 240, determining a volume adjustment value for the volume adjustment object based on the sound pressure level of the audio data in the ear canal, the highest allowed sound pressure level in the ear canal, and the current volume of the volume adjustment object.
Specifically, the sound pressure level variation range that people's ear can feel is 0-120dB, according to the different people's auditory canal enduring power, sets up the sound pressure level of 100dB in this invention as the highest sound pressure level that the auditory canal allows. The first volume of the earphone body obtained in step 320 is the current volume of the earphone body, and similarly, the second volume of the user terminal is the current volume of the user terminal. After the object of volume adjustment is determined, the earphone is based on the sound pressure level of the acquired audio data in the ear canal and the preset highest sound pressure level allowed by the human ear. Determining the maximum sound pressure level which can be adjusted by the audio data, converting the maximum sound pressure level into the volume, and determining the volume adjusting value of the volume adjusting object according to the current volume of the volume adjusting object. On the basis of determining the volume adjusting object, the volume adjusting value is more accurately acquired.
And step 250, generating prompt information based on the volume adjustment object and the volume adjustment value so as to prompt the user.
Specifically, the prompt information is generated based on the volume adjustment object and the volume adjustment value, and the user is notified of the prompt information. Optionally, the volume adjustment object and the corresponding volume adjustment value may be notified to the user by voice. The volume adjusting object and the exact volume adjusting value can be displayed to the user on the display interface of the user terminal in a text mode, so that the user can know the volume adjusting object and the volume adjusting value, the volume adjustment is more convenient, and the time of the user in the volume adjustment process is saved.
According to the technical scheme of the embodiment, the volume adjusting object can be determined after the sound pressure level of the audio data, the first volume of the earphone body and the second volume of the user terminal are obtained. And determining the maximum sound pressure level which can be adjusted by the audio data according to the sound pressure level of the acquired audio data and the highest sound pressure level allowed by the ear canal, converting the maximum sound pressure level into volume, and determining the volume adjusting value which can be adjusted by the volume adjusting object according to the volume and the current volume of the volume adjusting object. And inform the user of the volume adjustment object and the corresponding volume adjustment value, the user can adjust the volume of the corresponding audio data under the condition of knowing the accurate volume adjustment object and volume adjustment value, thereby facilitating the operation of the user, simplifying the operation process of the user and realizing more accurate volume adjustment.
EXAMPLE III
The present embodiment adds a step of a preliminary preparation work for acquiring the sound pressure level of the audio data on the basis of the above-described embodiment. Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted. Referring to fig. 3, the volume adjustment prompting method provided in this embodiment includes:
step 310, determining that the earphone body is in a working state, and the user terminal associated with the earphone body is in an audio output state.
Specifically, when the user uses the earphone, the earphone is connected with the user terminal in a wireless or limited manner, whether the earphone body is in a working state and whether the user terminal is playing audio data are determined, preparation is made for subsequent recording of a sound signal of the audio data by the earphone, and it is determined that both the earphone body and the user terminal are in the working state and the user terminal is outputting the audio data. The method and the device avoid the situation that when the subsequent feedback microphone cannot receive the audio data, the audio data is judged to be low in volume, so that errors occur in the subsequent steps.
Optionally, the headset of the present invention may adopt a bluetooth headset, and the bluetooth headset means that the headset body has a function of independently adjusting volume, and the specific type of the bluetooth headset is not specifically limited here.
And step 320, when the audio data in the ear canal is detected, starting a feedback microphone, wherein the feedback microphone is used for collecting the audio data in the ear canal.
Specifically, when the earphone is in a working state and the user terminal is also in an audio playing state, the feedback microphone in the earphone is started. And when the earphone is in a closed state or the user terminal cannot detect that the audio data is played, the feedback microphone in the earphone is closed, so that the power consumption is reduced, and unnecessary work of the microphone is also reduced. The audio data in the auditory canal is collected, and the feedback microphone can be set when the earphone leaves a factory or can be installed by a user according to the requirement of the user.
Step 330, a sound pressure level of the audio data within the ear canal is obtained.
And 340, acquiring a first volume of the earphone body and a second volume of the user terminal.
And step 350, when the sound pressure level of the audio data is smaller than a preset value, determining a volume adjusting object based on the first volume of the earphone body and the second volume of the user terminal.
And step 360, generating prompt information based on the volume adjusting object to prompt the user.
According to the technical scheme, the working state of the earphone body and the audio playing state of the user terminal are determined, the fact that the feedback microphone is started to collect audio data in the auditory canal is determined, and the collection accuracy of the feedback microphone for sounds in the auditory canal is higher. The sound pressure level of the audio data is acquired and analyzed, whether the sound volume adjusting object is the earphone body or the user terminal or the earphone body and the user terminal are both the sound volume adjusting objects is known according to the first sound volume of the earphone body and the second sound volume of the user terminal, and the generated prompt information of the sound volume adjusting object is informed to the user, so that the flow of the sound volume adjusting prompt method is further perfected, and the accuracy of sound volume adjusting prompt is improved.
Example four
The volume adjustment prompting device 40 provided in the embodiment of the present invention is capable of executing the volume adjustment prompting method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the executing method, and with reference to fig. 4, the method specifically includes:
the sound pressure level obtaining module 410 obtains the sound pressure level of the audio data in the ear canal.
The volume obtaining module 420 obtains a first volume of the earphone body and a second volume of the user terminal.
And an object determining module 430, configured to determine a volume adjustment object based on a first volume of the earphone body and a second volume of the user terminal when the sound pressure level of the audio data is less than a preset value, where the earphone body is connected with the user terminal, and a volume adjustment component is disposed on the earphone body.
And the prompt module 440 generates prompt information based on the volume adjustment object to prompt the user.
Optionally, the object determining module 430 includes:
and the first object determining submodule determines that the earphone body and the user terminal are volume adjusting objects when the sound pressure level of the audio data is smaller than a preset value, and when the first volume of the earphone body is smaller than or equal to a first preset volume and the second volume of the user terminal is smaller than or equal to a second preset volume.
And the second object determining submodule determines that the earphone body is a volume adjusting object when the sound pressure level of the audio data is smaller than a preset value, the first volume of the earphone body is smaller than or equal to the first preset volume, and the second volume of the user terminal is larger than the second preset volume.
And the third object determining submodule determines that the user terminal is a volume adjusting object when the sound pressure level of the audio data is smaller than a preset value and the first volume of the earphone body is larger than the first preset volume.
Optionally, the sound pressure level obtaining module 410 further includes:
and the conversion sub-module converts the audio data into a frequency domain signal.
And the conversion submodule converts the audio data of different frequency domains by using the A sound level so as to acquire the sound pressure levels of the audio data of different frequency domains.
Optionally, the apparatus 40 further comprises:
and a volume adjustment value determination module which determines a volume adjustment value of the volume adjustment object based on the sound pressure level of the audio data in the ear canal and the allowable highest sound pressure level in the ear canal.
Correspondingly, the prompt module 440 further includes:
and generating prompt information based on the volume adjustment object and the volume adjustment value.
Optionally, the apparatus 40 further comprises:
and the microphone starting module is used for starting the feedback microphone when detecting that the audio data exist in the auditory canal before acquiring the sound pressure level of the audio data in the auditory canal, wherein the feedback microphone is used for acquiring the audio data in the auditory canal.
Optionally, the apparatus 40 further comprises:
and the working state determining module is used for determining that the earphone body is in a working state and the user terminal associated with the earphone body is in an audio output state before the feedback microphone is started.
Optionally, the prompt module 440 includes:
and the text prompt submodule displays the prompt information in the text form on the basis of a display interface of the user terminal.
And the voice prompt submodule plays the voice prompt information in the auditory canal based on the earphone body.
And the vibration prompting submodule is used for controlling the volume adjusting object to generate vibration based on the prompting information in the vibration form.
Through the volume adjustment prompting device 40 of the fourth embodiment of the present invention, the volume adjustment object is determined by obtaining the sound pressure level of the audio data, the first volume of the earphone body, and the second volume of the user terminal, the volume adjustment is determined to be performed on the earphone body, the user terminal, or both, and the adjusted object is notified to the user by a method of prompting information, so that the user can operate the earphone body or the user terminal conveniently, the volume of the audio data played by the earphone can reach the best, the complexity of the user in adjusting the volume is reduced, and the accuracy of the volume adjustment of the user is improved.
The volume adjustment prompting device provided by the embodiment of the invention can execute the volume adjustment prompting method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the volume adjustment prompting device, the included modules and sub-modules are merely divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented. In addition, the specific names of the functional modules are only for convenience of distinguishing from each other and are not used for limiting the protection scope of the present invention.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an earphone device according to embodiment 5 of the present invention, and as shown in fig. 5, the earphone device includes a memory 510, a processor 520, an input device 530, and an output device 540. The number of processors 520 in the headset device may be one or more, and one processor 520 is illustrated in fig. 5 as an example. The processor 520, the memory 510, the input means 530 and the output means 540 in the headset device may be connected by a bus or other means, as exemplified by a bus connection in fig. 5.
The memory 510 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions corresponding to the volume adjustment prompting method in the embodiment of the present invention. The processor 520 executes various functional applications and data processing of the headset device by executing software programs, instructions and modules stored in the memory 510, that is, the volume adjustment prompting method described above.
The memory 510 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like. The storage data area may store data created according to the use of the terminal, and the like. Further, the memory 510 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 510 may further include memory located remotely from processor 520, which may be connected to the headset device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 530 may be used to receive sound signals of inputted audio data and to generate key signal inputs related to user settings and function control of the headset device. The output device 540 may include a display device such as a display screen or a sound playing device such as a speaker in a headphone.
EXAMPLE six
The sixth embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are used to execute a volume adjustment prompting method when executed by a computer processor, and of course, the storage medium containing computer-executable instructions provided in the sixth embodiment of the present invention is not limited to the method operations described above, and may also execute the related operations in the volume adjustment prompting method provided in any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the volume adjustment prompting device, the modules and the sub-modules included in the embodiment are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented. In addition, the specific names of the functional modules are only for convenience of distinguishing from each other and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A volume adjustment prompting method is characterized by comprising the following steps:
acquiring a sound pressure level of audio data within an ear canal;
acquiring a first volume of the earphone body and a second volume of the user terminal;
when the sound pressure level of the audio data is smaller than a preset value, determining a volume adjusting object based on a first volume of the earphone body and a second volume of the user terminal, wherein the earphone body is connected with the user terminal, and volume adjusting parts are respectively arranged on the earphone body and the user terminal;
and generating prompt information based on the volume adjusting object to prompt the user.
2. The method of claim 1, wherein determining a volume adjustment object based on a first volume of the earphone body and a second volume of the user terminal when the sound pressure level of the audio data is less than a preset value comprises:
when the sound pressure level of the audio data is smaller than a preset value, the first volume of the earphone body is smaller than or equal to a first preset volume, and the second volume of the user terminal is smaller than or equal to a second preset volume, determining that the earphone body and the user terminal are volume adjusting objects;
when the sound pressure level of the audio data is smaller than a preset value, the first volume of the earphone body is smaller than or equal to a first preset volume, and the second volume of the user terminal is larger than a second preset volume, determining that the earphone body is a volume adjusting object;
and when the sound pressure level of the audio data is smaller than a preset value and the first volume of the earphone body is larger than the first preset volume, determining that the user terminal is the volume adjusting object.
3. The method of claim 1, wherein the obtaining the sound pressure level of the audio data within the ear canal comprises:
converting the audio data into a frequency domain signal;
and converting the audio data of different frequency domains by using the A sound level to acquire the sound pressure levels of the audio data of different frequency domains.
4. The method of claim 1, further comprising:
determining a volume adjustment value for the volume adjustment object based on a sound pressure level of audio data within the ear canal, a highest sound pressure level allowed within the ear canal, and a current volume of the volume adjustment object;
correspondingly, generating a prompt message based on the volume adjustment object to prompt the user includes:
and generating prompt information based on the volume adjusting object and the volume adjusting value so as to prompt a user.
5. The method of claim 1, further comprising, prior to the obtaining the sound pressure level of the audio data within the ear canal:
and when detecting that audio data exist in the ear canal, starting the feedback microphone, wherein the feedback microphone is used for collecting the audio data in the ear canal.
6. The method of claim 5, further comprising, prior to said activating the backfeed microphone:
and determining that the earphone body is in a working state and the user terminal associated with the earphone body is in an audio output state.
7. The method of claim 1, wherein the prompting the user comprises at least one of:
displaying the prompt information in a text form on the basis of a display interface of a user terminal;
playing the prompt message in a voice form in an ear canal based on the earphone body;
and controlling the volume adjusting object to generate vibration based on the prompt information in the vibration form.
8. A volume adjustment prompting device, comprising:
the sound pressure level acquisition module is used for acquiring the sound pressure level of the audio data in the auditory canal;
the volume acquisition module is used for acquiring a first volume of the earphone body and a second volume of the user terminal;
the object determining module is used for determining a volume adjusting object based on a first volume of the earphone body and a second volume of the user terminal when the sound pressure level of the audio data is smaller than a preset value, wherein the earphone body is connected with the user terminal, and volume adjusting parts are respectively arranged on the earphone body and the user terminal;
and the prompting module generates prompting information based on the volume adjusting object so as to prompt a user.
9. An earphone device, characterized in that the device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the volume adjustment alert method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a volume adjustment alerting method as claimed in any one of claims 1 to 7.
CN202010717220.1A 2020-07-23 2020-07-23 Volume adjustment prompting method and device, earphone equipment and storage medium Active CN111800699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010717220.1A CN111800699B (en) 2020-07-23 2020-07-23 Volume adjustment prompting method and device, earphone equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010717220.1A CN111800699B (en) 2020-07-23 2020-07-23 Volume adjustment prompting method and device, earphone equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111800699A true CN111800699A (en) 2020-10-20
CN111800699B CN111800699B (en) 2022-10-04

Family

ID=72828274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010717220.1A Active CN111800699B (en) 2020-07-23 2020-07-23 Volume adjustment prompting method and device, earphone equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111800699B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613122A (en) * 2021-03-18 2021-11-05 深圳市冠旭电子股份有限公司 Volume adjusting method and device, earphone and storage medium
CN113873387A (en) * 2021-10-25 2021-12-31 深圳千岸科技股份有限公司 Volume adjusting method and system based on earphone terminal

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1505802A1 (en) * 2003-08-04 2005-02-09 High Tech Computer Corp. Handheld device having an auto-volume control means for earphone plugging and controlling method thereof
US20130101126A1 (en) * 2010-02-02 2013-04-25 Koninklijke Philips Electronics N.V. Controller for a headphone arrangement
CN103873974A (en) * 2014-03-05 2014-06-18 宇龙计算机通信科技(深圳)有限公司 Method for protecting hearing of human ears, earphone and mobile terminal
EP3110168A1 (en) * 2012-06-20 2016-12-28 Apple Inc. An earphone having an acoustic tuning mechanism
CN108540906A (en) * 2018-06-15 2018-09-14 歌尔股份有限公司 Volume adjusting method, earphone and computer readable storage medium
CN108540900A (en) * 2018-03-30 2018-09-14 广东欧珀移动通信有限公司 Volume adjusting method and related product
CN108668018A (en) * 2018-04-23 2018-10-16 Oppo广东移动通信有限公司 Mobile terminal, volume control method and related product
CN109511037A (en) * 2018-12-19 2019-03-22 努比亚技术有限公司 Earpiece volume adjusting method, device and computer readable storage medium
WO2019084752A1 (en) * 2017-10-31 2019-05-09 深圳传音通讯有限公司 Method for adjusting volume of earphone by voice and related product
US20190303091A1 (en) * 2018-03-30 2019-10-03 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for Processing Audio Signal and Related Products

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1505802A1 (en) * 2003-08-04 2005-02-09 High Tech Computer Corp. Handheld device having an auto-volume control means for earphone plugging and controlling method thereof
US20130101126A1 (en) * 2010-02-02 2013-04-25 Koninklijke Philips Electronics N.V. Controller for a headphone arrangement
EP3110168A1 (en) * 2012-06-20 2016-12-28 Apple Inc. An earphone having an acoustic tuning mechanism
CN103873974A (en) * 2014-03-05 2014-06-18 宇龙计算机通信科技(深圳)有限公司 Method for protecting hearing of human ears, earphone and mobile terminal
WO2019084752A1 (en) * 2017-10-31 2019-05-09 深圳传音通讯有限公司 Method for adjusting volume of earphone by voice and related product
CN108540900A (en) * 2018-03-30 2018-09-14 广东欧珀移动通信有限公司 Volume adjusting method and related product
US20190303091A1 (en) * 2018-03-30 2019-10-03 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for Processing Audio Signal and Related Products
CN108668018A (en) * 2018-04-23 2018-10-16 Oppo广东移动通信有限公司 Mobile terminal, volume control method and related product
CN108540906A (en) * 2018-06-15 2018-09-14 歌尔股份有限公司 Volume adjusting method, earphone and computer readable storage medium
CN109511037A (en) * 2018-12-19 2019-03-22 努比亚技术有限公司 Earpiece volume adjusting method, device and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613122A (en) * 2021-03-18 2021-11-05 深圳市冠旭电子股份有限公司 Volume adjusting method and device, earphone and storage medium
CN113613122B (en) * 2021-03-18 2023-10-20 深圳市冠旭电子股份有限公司 Volume adjusting method, volume adjusting device, earphone and storage medium
CN113873387A (en) * 2021-10-25 2021-12-31 深圳千岸科技股份有限公司 Volume adjusting method and system based on earphone terminal

Also Published As

Publication number Publication date
CN111800699B (en) 2022-10-04

Similar Documents

Publication Publication Date Title
CN108430003B (en) Sound effect compensation method and device, readable storage medium and terminal
US10284943B2 (en) Method and apparatus for adjusting sound field of an earphone and a terminal
EP4047469B1 (en) Method and apparatus for protecting user hearing, and electronic device
CN108391207A (en) Data processing method, device, terminal, earphone and readable storage medium
JP6877919B2 (en) Electronic devices and audio playback devices that can adjust the equalizer settings based on the physiological condition of hearing
KR101659410B1 (en) Sound optimization device and method about combination of personal smart device and earphones
CN106131751B (en) Audio processing method and audio output device
WO2021103260A1 (en) Control method for headphones and headphones
CN104754462A (en) Automatic regulating device and method for volume and earphone
CN111800699B (en) Volume adjustment prompting method and device, earphone equipment and storage medium
CN106412188A (en) A reminder method and device
CN111787479B (en) Method and system for correcting listening sensation of TWS earphone
TW201901411A (en) Smart earphone device personalization system and using method thereof
US10997984B2 (en) Sounding device, audio transmission system, and audio analysis method thereof
KR101482420B1 (en) Sound Controller of a Cellular Phone for Deafness and its method
CN104348436B (en) A kind of parameter regulation means and electronic equipment
TWI630828B (en) Personalized system of smart headphone device for user-oriented conversation and use method thereof
CN107493376A (en) A kind of ringing volume adjusting method and device
US20240298120A1 (en) User interface control using vibration suppression
CN109218875B (en) Intelligent earphone device personalization system with directional conversation function and use method
CN116074696B (en) Method and device for actively improving tone quality of bone conduction loudspeaker
CN111757211A (en) Noise reduction method, terminal device and storage medium
CN115550820B (en) Speaker control methods, devices, electronic equipment and storage media
CN113507678B (en) Bluetooth answering method and device of hearing aid
HK40070487B (en) Method and apparatus for protecting user hearing, and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant