CN109511036B - Automatic earphone muting method and earphone capable of automatically muting - Google Patents

Automatic earphone muting method and earphone capable of automatically muting Download PDF

Info

Publication number
CN109511036B
CN109511036B CN201811533926.1A CN201811533926A CN109511036B CN 109511036 B CN109511036 B CN 109511036B CN 201811533926 A CN201811533926 A CN 201811533926A CN 109511036 B CN109511036 B CN 109511036B
Authority
CN
China
Prior art keywords
earphone
snore
frequency
wearer
data
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.)
Active
Application number
CN201811533926.1A
Other languages
Chinese (zh)
Other versions
CN109511036A (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201811533926.1A priority Critical patent/CN109511036B/en
Publication of CN109511036A publication Critical patent/CN109511036A/en
Application granted granted Critical
Publication of CN109511036B publication Critical patent/CN109511036B/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
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses an automatic mute method of an earphone and the earphone capable of automatically muting, comprising the following steps: detecting a change in the posture of the wearer of the headset; after the posture of the earphone wearer is kept stable and lasts for a set time, the volume of the earphone is reduced; detecting the breathing frequency of the earphone wearer and collecting the sound emitted by the earphone wearer; when the breathing frequency of the earphone wearer accords with the breathing frequency of the human body in the sleep state or the collected sound curve accords with the snore curve, the earphone is muted. According to the invention, the sensor for detecting the posture change and the breathing frequency of the wearer is arranged on the earphone, and the accurate detection of whether the wearer of the earphone is asleep is realized by utilizing the signal processing capability of the earphone. Through controlling the earphone to sleep the back automatic silence of person of wearing, not only can practice thrift intelligent terminal's electric quantity, can improve earphone person of wearing's sleep quality moreover, avoided earphone person of wearing to sleep the back, suffer the erosion of earphone noise and lead to the impaired condition of hearing to take place for a long time because of the eardrum.

Description

Automatic earphone muting method and earphone capable of automatically muting
Technical Field
The invention belongs to the technical field of earphones, and particularly relates to an earphone capable of realizing automatic muting when an earphone wearer enters a sleep state.
Background
The sleep is indispensable life activity of human body, and the sleep can make each organ of human body obtain abundant rest and restoration, and good sleep is vital to human health. Research shows that the relaxing music has certain sleep aiding effect, can relax body and nerve of people, and can further enter a sleep state better and more quickly. Thus, many people prefer to listen to music before going to bed.
With the development of science and technology, a plurality of electronic products gradually realize intellectualization. Smart terminals such as mobile phones and tablet computers are widely popularized in the current society, and playing music by using the smart terminals is a commonly adopted mode at present. When listening to music, in order to prevent the music played by the user from affecting others, the user can play the music by using the earphone and the host computer.
When a user wears earphones to listen to music before sleeping, it often happens that the user is asleep but the music is still playing. Therefore, the electric quantity of the intelligent terminal can be wasted, the sleep quality of a user can be influenced, and even the situation that the hearing is damaged due to the fact that the ear of a person wears the earphone for a long time can occur.
Disclosure of Invention
The invention aims to provide a technology for automatically controlling the earphone to be muted after an earphone wearer enters a sleep state, so that the sleep quality of the earphone wearer can be improved while the electric quantity of an intelligent terminal is effectively saved.
In order to solve the technical problems, the invention adopts the following technical scheme:
in one aspect, the present invention provides an automatic muting method for an earphone, including: detecting a change in the posture of the wearer of the headset; after the posture of the earphone wearer is kept stable and lasts for a set time, the volume of the earphone is reduced; detecting the breathing frequency of the earphone wearer and collecting the sound emitted by the earphone wearer; when the breathing frequency of the earphone wearer accords with the breathing frequency of the human body in the sleep state or the collected sound curve accords with the snore curve, the earphone is muted.
Preferably, after the posture of the earphone wearer is kept stable and continues for a set time, the output volume of the earphone is adjusted to 40-50 decibels.
In order to avoid waking up a user wearing the earphone in a noisy environment, the earphone is designed to firstly detect the environmental noise after the volume of the earphone is reduced because the posture of the user wearing the earphone is kept stable, and when the environmental noise meets the condition suitable for sleeping of a human body, the volume of the earphone is further adjusted to the volume suitable for sleeping of the human body; then, the process of detecting the breathing frequency of the earphone wearer and collecting the sound emitted by the earphone wearer is executed.
Preferably, when the environmental noise is less than 30 decibels, the environmental noise is considered to meet the condition suitable for the human body to sleep; the volume suitable for sleeping of the human body is 20-40 decibels.
In order to further save the electric quantity of the intelligent terminal, after the earphone is muted, if the earphone is a wireless earphone, the wireless connection between the earphone and the host can be disconnected, so that the earphone enters a standby state, and the electric quantity of the earphone is further saved. If the earphone is a wired earphone, a play pause signal can be sent to a host connected with the earphone through the earphone, and the mode of controlling the host to stop playing the sound source is adopted, so that the electric quantity of the host is further saved.
In order to enable the breathing frequency of the human body in the sleep state stored in the earphone to better accord with the real situation of an earphone wearer, the breathing frequency of the human body in the sleep state is optimized by adopting the following method: setting a default interval for the respiratory frequency of the human body in a sleep state; recording the breathing frequency of the human body in a sleep state each time in the use process of the earphone; selecting the respiratory frequency record values of nearly N times to form a data set; analyzing and curve fitting the data in the set, removing the data with large discreteness in the set, and optimizing the data composition in the set; calculating the mean and the variance of the data in the optimized set to calculate an expected value S; forming a respiratory frequency interval S +/-Delta S of the human body in a sleep state by taking the expected value S as standard reference data; and correcting the breathing frequency interval S +/-Delta S of the human body in the sleep state in each use process of the earphone.
In order to make the snore curve stored in the earphone more conform to the real situation of the wearer of the earphone, the invention adopts the following method to optimize the snore curve: setting a default frequency interval and average loudness of snore; recording the snore frequency and the average loudness of the human body in the sleep state each time when the earphone is used; selecting the snore frequency record values and the average loudness record values of the nearly N times to respectively form a snore frequency data set and a snore loudness data set; respectively analyzing and curve fitting the data in the snore frequency data set and the snore loudness data set, removing the data with large discreteness in the sets, and optimizing the data composition in the snore frequency data set and the snore loudness data set; respectively calculating the mean and the variance of the data in the optimized snore frequency data set and the optimized snore loudness data set to calculate a snore frequency expected value SF and a snore loudness expected value SA; forming a snore frequency interval SF +/-Delta SF by taking the snore frequency expected value SF as standard reference data; forming a snore loudness interval SA +/-Delta SA by taking the snore loudness expected value SA as standard reference data; correcting the snore frequency interval SF +/-Delta SF and the snore loudness interval SA +/-Delta SA in each use process of the earphone; and when the sound frequency collected by the earphone and emitted by the earphone wearer is in the snore frequency interval SF +/-Delta SF and the average loudness of the sound is in the snore loudness interval SA +/-Delta SA, determining that the sound curve collected by the earphone conforms to the snore curve.
In another aspect, the invention further provides an earphone capable of automatically muting, which comprises an acceleration sensor, a micro-motion sensor, a main microphone, a loudspeaker and a processor; the acceleration sensor is used for detecting the posture change of a wearer of the headset; the micro-motion sensor is used for detecting the breathing frequency of the earphone wearer; the main microphone is used for collecting the sound emitted by a wearer of the earphone; the loudspeaker is used for playing audio signals sent to the earphone by the host; the processor receives the detection signal output by the acceleration sensor, judges the posture of the earphone wearer, and reduces the output volume of the loudspeaker after the posture of the earphone wearer is kept stable and lasts for a set time; the processor receives the detection signal output by the micro sensor and starts the main microphone to collect the sound emitted by the earphone wearer after reducing the output volume of the loudspeaker, so that the breathing frequency of the earphone wearer is calculated and a sound curve of the earphone wearer is formed, and the loudspeaker is controlled to be muted when the breathing frequency of the earphone wearer accords with the breathing frequency of a human body in a sleep state or the collected sound curve accords with a snore curve.
Furthermore, a noise microphone is arranged in the earphone capable of automatically muting and is used for collecting environmental noise and sending the environmental noise to the processor; after the output volume of the loudspeaker is reduced because the posture of the earphone wearer is kept stable, the processor firstly starts the noise microphone to collect the environmental noise, and adjusts the output volume of the loudspeaker to the volume suitable for the sleep of the human body when the environmental noise meets the condition suitable for the sleep of the human body.
Compared with the prior art, the invention has the advantages and positive effects that: according to the invention, the sensor for detecting the posture change and the breathing frequency of the wearer is arranged on the earphone, and the accurate detection of whether the wearer of the earphone is asleep is realized by utilizing the signal processing capability of the earphone. Through controlling the automatic silence of earphone after the person of wearing is sleeping, not only can practice thrift intelligent terminal's electric quantity, can improve earphone person of wearing's sleep quality moreover, avoid the earphone person of wearing to sleep the back, because of the eardrum suffers the erosion of earphone noise for a long time and leads to the impaired condition of hearing to take place, certain guard action has been played earphone person of wearing's hearing, the intelligent level of earphone product has also been promoted simultaneously, earphone user's use experience has been improved.
Other features and advantages of the present invention will become more apparent from the detailed description of the embodiments of the present invention when taken in conjunction with the accompanying drawings.
Drawings
Fig. 1 is a schematic block circuit diagram of an embodiment of an earphone capable of automatically muting according to the present invention;
fig. 2 is a flowchart of an embodiment of an automatic muting method for earphones according to the present invention.
Detailed Description
The following describes embodiments of the present invention in further detail with reference to the accompanying drawings.
The earphone of this embodiment is an intelligent earphone integrated with data processing capability, and as shown in fig. 1, includes a processor, a main microphone, a noise microphone, a speaker, a voice decoding chip, and other main components. In order to realize the function of detecting whether the wearer enters the sleep state on the headset, the embodiment also arranges an acceleration sensor and a micro-motion sensor on the headset. The acceleration sensor is used for detecting the posture change of the earphone wearer, preferably, a mode that the six-axis acceleration sensor is matched with the angular acceleration sensor is adopted, whether the human body has large-amplitude actions such as left-right shaking or up-down vibration is detected, and whether the earphone wearer enters a relatively stable and static state is judged. The micro-motion sensor is used for detecting the micro-motion of the facial muscles of the earphone wearer so as to realize the detection of the breathing frequency of the human body. Will acceleration sensor and micro-motion sensor are connected to the treater, and the breathing frequency change that the treater can combine the human posture that acceleration sensor detected to change and micro-motion sensor to detect judges that the earphone wearer is awake or has fallen asleep, then according to judgement result control loudspeaker normally broadcast music when the wearer is awake, and when detecting that the wearer falls asleep, through control loudspeaker silence to improve the sleep quality of wearer.
The main microphone is used for collecting the sound emitted by the earphone wearer, and the noise microphone is used for collecting the environmental noise. The audio signals collected by the main microphone and the noise microphone can be transmitted to the voice decoding chip through an audio channel (audio processing circuit), and are sent to the processor after being coded and processed by the voice decoding chip, so that whether the environment where the earphone wearer is located is suitable for sleeping of a human body or not and whether the earphone wearer gives snore or not are judged, and whether the loudspeaker is required to be controlled to mute or not is determined.
For the wired earphone, the audio data sent by the host can be transmitted to a processor in the earphone through an earphone wire; for a wireless headset, such as a bluetooth headset, the wireless headset may receive the data from a wireless module, such as a bluetooth module, and transmit the data to a processor. The processor processes the received audio data, sends the processed audio data to the voice decoding chip for decoding, and then drives the loudspeaker to play through the audio channel.
For the bluetooth headset, in order to simplify the circuit design, a processing chip integrated with the bluetooth function may be used to replace the bluetooth module and the processor, such as the bluetooth control chip shown in fig. 1, which is connected to the acceleration sensor, the micro sensor and the voice decoding chip, and is connected to the RF antenna through the antenna channel (radio frequency circuit), and transmits electromagnetic waves through the RF antenna to search for the bluetooth devices around the headset, thereby implementing the pairing link with the host.
The DC/DC voltage stabilizing circuit in fig. 1 may be connected to a battery in the headset, convert the battery voltage into a working voltage required by a load, and supply power to the load such as a bluetooth control chip, an acceleration sensor, a micro sensor, and a voice decoding chip.
The automatic muting method of the earphone of the present embodiment is explained in detail below with reference to fig. 2.
S201, connecting an earphone with a host, and playing audio data in the host;
when the earphone is used, one earphone works in a conversation mode, and the other earphone works in a mode of playing sound source files in the host, such as music, program accompanying sound and the like. The automatic earphone muting method of the embodiment is applied to a mode that the earphone plays a host sound source file, namely, the earphone works in a non-call mode, receives audio data transmitted by the host and drives a loudspeaker on the earphone to play.
S202, detecting the posture change of a headset wearer;
in the process that the earphone plays audio data (non-call voice) from the host, a processor in the earphone starts an acceleration sensor to detect the posture change of the earphone wearer, namely, whether the earphone wearer has large action or not is detected, so that whether the earphone wearer is awake at present or possibly enters a sleep state is preliminarily judged.
S203, reducing the volume of the earphone after the posture of the earphone wearer is kept stable and the set time is continued;
as the body goes from awake to sleep, it experiences a period of time in which the body is relatively level and still. The present embodiment detects the posture change of the wearer of the headset by using the six-axis acceleration sensor and the angular acceleration sensor, and generates a detection signal to be sent to the processor. When the acceleration detected by the six-axis acceleration sensor is smoothly close to zero with respect to the earth gravity and the data detected by the angular acceleration sensor is relatively smooth, the headset wearer is considered to have entered a relatively stationary state. A set time T, for example T =20 minutes, is predetermined and when the processor in the headset detects that the posture of the headset wearer remains stable for the set time T, the headset wearer is considered to be about to enter a sleep state. At this time, the processor can properly reduce the output volume of the speaker, for example, adjust the volume value of the earphone to 40-50 db to adapt to the state change of the earphone wearer, so that the earphone wearer can more easily enter the sleep state.
S204, detecting environmental noise, and adjusting the volume of the earphone to the volume suitable for the human body to sleep when the environmental noise meets the condition suitable for the human body to sleep;
since the earphone wearer is usually in a shallow sleep stage at the initial stage of entering a sleep state, if the environmental noise is large and the earphone performs a mute operation, the environmental noise easily wakes up the earphone wearer. In order to better achieve the sleep-aiding effect, the earphone is designed in the embodiment, after the posture of the earphone wearer is detected to be kept stable and lasts for the set time T, on one hand, the volume of the earphone is reduced, and on the other hand, a noise microphone on the earphone is turned on to collect environmental noise. And if the environmental noise is less than 30 decibels, the noise of the environment where the earphone wearer is located is considered to meet the condition of being suitable for the human body to sleep. At this time, the output volume of the speaker can be further reduced, for example, the volume of the earphone is adjusted to a volume suitable for sleeping, for example, 20-40 db, so as to avoid a noisy environment from waking up a sleeping earphone wearer.
If the environmental noise can not satisfy the condition suitable for the human body to sleep, for example, the environmental noise is always greater than 30 decibels, the subsequent steps are not executed.
S205, detecting the breathing frequency of the earphone wearer;
a processor in the headset activates the micro-motion sensor, detects micro-motion of the facial muscles of the wearer of the headset, generates a detection signal and sends the detection signal to the processor. And the processor calculates the breathing frequency of the earphone wearer according to the received detection signal.
S206, collecting the sound emitted by the earphone wearer;
a processor in the headset activates a primary microphone to pick up the sound emitted by the wearer of the headset to generate a sound profile.
S207, detecting whether the breathing frequency of the earphone wearer accords with the breathing frequency of a human body in a sleep state, detecting whether the acquired sound curve accords with a snore curve, judging that the earphone wearer enters the sleep state as long as one condition is met, and executing the subsequent steps; if the two conditions are not met, repeating the steps S205-S207;
this embodiment adopts two kinds of modes to detect whether earphone wearer gets into sleep state: one is that the judgment is carried out according to the breathing frequency of the earphone wearer, if the breathing frequency of the earphone wearer accords with the breathing frequency of the human body in the sleep state, the earphone wearer is considered to enter the sleep state; the other method is to judge according to the sound emitted by the earphone wearer, and if the sound curve collected by the main microphone conforms to the snore curve, namely the earphone wearer emits snore, the earphone wearer is considered to enter the sleep state. The priority levels of the two detection and judgment modes are parallel, and the subsequent steps are executed as long as the detection result of one mode is that the earphone wearer enters the sleep state. If the detection result that the earphone wearer enters the sleep state is not generated in either of the two ways, the steps S205 to S207 are repeatedly executed.
The breathing frequency of the human body in the sleep state can be written into the earphone in advance before the earphone leaves a factory, for example, 16-20 times per minute, so as to be used for judging whether the earphone wearer enters the sleep state.
In view of the problem of individual difference, the breathing frequency of some human bodies after entering sleep may deviate from the breathing frequency interval stored in the earphone, and in order to make the breathing frequency interval stored in the earphone more consistent with the real situation of the wearer of the earphone, the following method is preferably adopted in the embodiment to determine the breathing frequency of the human body in the sleep state:
before the earphone leaves a factory, writing a default interval of the breathing frequency of the human body in a sleep state into a memory in the earphone;
in the use process of the earphone, the processor writes the respiratory frequency acquired when the human body enters the sleep state into the memory each time;
the processor selects the respiratory frequency record values of nearly N times in each use process of the earphone to form a data set; the larger the N is, the better the N is, the space for storing the recorded respiratory rate value in the memory can be set, and the data exceeding the storage space is extruded from the earliest data so as to ensure that the recorded values stored in the storage space are the latest values;
the processor analyzes and fits the data in the set, removes the data with large discreteness in the set, and optimizes the data composition in the set;
the processor calculates the mean and the variance of the data in the optimized set to calculate an expected value S;
the processor takes the expected value S as standard reference data to reform the respiratory frequency interval S +/-Delta S of the human body in the sleep state; said Δ s may be empirically determined, pre-written into memory;
and the processor corrects the breathing frequency interval S +/-Delta S of the human body in the sleep state in the use process of the earphone every time so as to realize optimization.
Similarly, the snore curve can be written into the earphone in advance before the earphone leaves the factory, so that whether the earphone wearer enters the sleep state or not can be judged. The snore curve may include a plurality of sets obtained from actual acquisitions of different representative persons.
Of course, in order to improve the accuracy of the mute control of the earphone, the snore curve may also be optimized by the following method:
before the earphone leaves a factory, writing a default snore frequency interval and average loudness into a memory in the earphone; the default snore frequency interval and the average loudness can comprise a plurality of groups so as to match different crowds;
in the use process of the earphone, the processor writes the snore frequency and the average loudness acquired when the human body enters the sleep state into the memory each time; in this embodiment, the sound data collected by the main microphone may be subjected to fourier transform, and converted from the time domain to the frequency domain, so as to analyze the composition of the snore frequency and obtain the average loudness;
the processor selects the snore frequency record value and the average loudness record value for nearly N times in the use process of the earphone each time, and a snore frequency data set and a snore loudness data set are respectively formed;
the processor analyzes and fits curves for the data in the snore frequency data set and the snore loudness data set respectively, removes the data with large discreteness in the set, and optimizes the data composition in the snore frequency data set and the snore loudness data set;
the processor respectively calculates the mean and the variance of the optimized data in the snore frequency data set and the snore loudness data set so as to calculate the snore frequency expected value SF and the snore loudness expected value SA;
the processor can form a snore frequency interval SF +/-Delta SF by taking the snore frequency expected value SF as standard reference data, and form a snore loudness interval SA +/-Delta SA by taking the snore loudness expected value SA as standard reference data; the Δ sf and Δ sa can be empirically determined and written into the memory in advance;
and the processor corrects the snore frequency interval SF +/-Delta SF and the snore loudness interval SA +/-Delta SA in each use process of the earphone so as to realize optimization.
And when the processor detects that the frequency of the sound emitted by the earphone wearer and collected by the main microphone is in the snore frequency interval SF +/-Delta SF and the average loudness of the sound emitted by the earphone wearer is in the snore loudness interval SA +/-Delta SA, judging that the sound curve collected by the main microphone conforms to the snore curve, and generating a detection result of the earphone wearer entering a sleeping state.
By realizing the self-learning function on the earphone, the mute control of the earphone can be more accurate, and the use experience of a user is improved.
S208, muting the earphone;
after the earphone wearer is judged to enter the sleep state, the processor controls the loudspeaker to mute, and the sleep quality of the earphone wearer is improved.
If the earphone is a wireless earphone, the wireless connection between the earphone and the host can be further disconnected, and the earphone is controlled to enter a standby state, so that the electric quantity of the earphone is saved.
If the earphone is a wired earphone, a play pause signal can be sent to a host connected with the earphone through the earphone so as to control the host to stop playing the sound source, and the purpose of saving the electric quantity of the host is achieved.
Therefore, the function of automatically muting the earphone after the wearer enters the sleep state is realized.
It is to be understood that the above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and those skilled in the art may make modifications, alterations, additions or substitutions within the spirit and scope of the present invention.

Claims (8)

1. An automatic earphone muting method is characterized by comprising the following steps:
detecting a change in the posture of the wearer of the headset;
after the posture of the earphone wearer is kept stable and lasts for a set time, the volume of the earphone is reduced;
detecting the environmental noise, and further reducing the volume of the earphone to the volume suitable for the human body to sleep when the environmental noise meets the condition suitable for the human body to sleep;
detecting the breathing frequency of the earphone wearer and collecting the sound emitted by the earphone wearer;
when the breathing frequency of the earphone wearer accords with the breathing frequency of the human body in the sleep state or the collected sound curve accords with the snore curve, the earphone is muted.
2. The automatic earphone muting method according to claim 1, characterized in that the output volume of the earphone is adjusted to 40-50 db after the posture of the earphone wearer is kept stable for a set time.
3. The headphone auto-mute method as recited in claim 1,
when the environmental noise is less than 30 decibels, the environmental noise is considered to meet the condition suitable for the human body to sleep;
the volume suitable for sleeping of the human body is 20-40 decibels.
4. The headphone auto-mute method as recited in claim 1, wherein, after the headphones are muted,
if the earphone is a wireless earphone, the wireless connection between the earphone and the host is disconnected, and the earphone enters a standby state;
if the earphone is a wired earphone, a play pause signal is sent to a host connected with the earphone through the earphone, and the host is controlled to stop playing the sound source.
5. The automatic earphone muting method according to any one of the claims 1 to 4, characterized in that the breathing frequency of the human body in the sleep state is generated by:
setting a default interval for the respiratory frequency of the human body in a sleep state;
recording the breathing frequency of the human body in a sleep state each time in the use process of the earphone;
selecting the respiratory frequency record values of nearly N times to form a data set;
analyzing and curve fitting the data in the set, removing the data with large discreteness in the set, and optimizing the data composition in the set;
calculating the mean and the variance of the data in the optimized set to calculate an expected value S;
forming a respiratory frequency interval S +/-Delta S of the human body in a sleep state by taking the expected value S as standard reference data;
and correcting the breathing frequency interval S +/-Delta S of the human body in the sleep state in each use process of the earphone.
6. An automatic earphone muting method according to any one of the claims 1 to 4, characterized in that the snore curve is generated by the following method:
setting a default frequency interval and average loudness of snore;
recording the snore frequency and the average loudness of the human body in the sleep state each time when the earphone is used;
selecting the snore frequency record values and the average loudness record values of the nearly N times to respectively form a snore frequency data set and a snore loudness data set;
respectively analyzing and curve fitting the data in the snore frequency data set and the snore loudness data set, removing the data with large discreteness in the sets, and optimizing the data composition in the snore frequency data set and the snore loudness data set;
respectively calculating the mean and the variance of the data in the optimized snore frequency data set and the optimized snore loudness data set to calculate a snore frequency expected value SF and a snore loudness expected value SA;
forming a snore frequency interval SF +/-Delta SF by taking the snore frequency expected value SF as standard reference data;
forming a snore loudness interval SA +/-Delta SA by taking the snore loudness expected value SA as standard reference data;
correcting the snore frequency interval SF +/-Delta SF and the snore loudness interval SA +/-Delta SA in each use process of the earphone;
and when the sound frequency collected by the earphone and emitted by the earphone wearer is in the snore frequency interval SF +/-Delta SF and the average loudness of the sound is in the snore loudness interval SA +/-Delta SA, determining that the sound curve collected by the earphone conforms to the snore curve.
7. An automatically muting headset, comprising:
an acceleration sensor for detecting a change in the posture of the wearer of the headset;
a micro-motion sensor for detecting the breathing frequency of the wearer of the headset;
a primary microphone for picking up sounds made by a wearer of the headset;
the loudspeaker is used for playing the audio signal sent to the earphone by the host;
a noise microphone for collecting ambient noise;
the processor receives the detection signal output by the acceleration sensor, judges the posture of the earphone wearer, reduces the output volume of the loudspeaker after the posture of the earphone wearer is kept stable and lasts for a set time, then starts the noise microphone to collect environmental noise, and further reduces the output volume of the loudspeaker to the volume suitable for the sleep of the human body when the environmental noise meets the condition suitable for the sleep of the human body; the processor receives the detection signal output by the micro sensor and starts the main microphone to collect the sound emitted by the earphone wearer after reducing the output volume of the loudspeaker, so that the breathing frequency of the earphone wearer is calculated and a sound curve of the earphone wearer is formed, and the loudspeaker is controlled to be muted when the breathing frequency of the earphone wearer accords with the breathing frequency of a human body in a sleep state or the collected sound curve accords with a snore curve.
8. The earphone according to claim 7, further comprising a memory for storing a default interval of the breathing frequency of the human body in the sleep state, and a default interval of the snoring frequency and the average loudness;
the processor records the breathing frequency of the human body in a sleep state every time in the use process of the earphone every time, and selects the breathing frequency recorded value of nearly N times to form a data set; then, analyzing and curve fitting the data in the set, and removing the data with large discreteness in the set so as to optimize the data composition in the set; then, the processor calculates the average and variance of the data in the optimized set to calculate an expected value S, and the expected value S is used as standard reference data to reform the respiratory frequency interval S +/-Delta S of the human body in the sleep state; the processor corrects the breathing frequency interval S +/-Delta S of the human body in the sleep state in each use process of the earphone;
the processor records the snore frequency and the average loudness of the human body entering the sleep state every time in the use process of the earphone every time, selects the snore frequency recorded value and the average loudness recorded value for nearly N times, and respectively forms a snore frequency data set and a snore loudness data set; then, analyzing and curve fitting the data in the snore frequency data set and the snore loudness data set respectively, and removing the data with large discreteness in the sets so as to optimize the data composition in the snore frequency data set and the snore loudness data set; then, the processor respectively calculates the mean and the variance of the optimized data in the snore frequency data set and the snore loudness data set to calculate a snore frequency expected value SF and a snore loudness expected value SA, further forms a snore frequency interval SF +/-Delta SF by taking the snore frequency expected value SF as standard reference data, and forms a snore loudness interval SA +/-Delta SA by taking the snore loudness expected value SA as standard reference data; the processor corrects the snore frequency interval SF +/-Delta SF and the snore loudness interval SA +/-Delta SA in each use process of the earphone;
and when the processor detects that the frequency of the sound emitted by the earphone wearer and collected by the main microphone is in the snore frequency interval SF +/-Delta SF and the average loudness of the sound is in the snore loudness interval SA +/-Delta SA, judging that the sound curve collected by the main microphone conforms to the snore curve.
CN201811533926.1A 2018-12-14 2018-12-14 Automatic earphone muting method and earphone capable of automatically muting Active CN109511036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811533926.1A CN109511036B (en) 2018-12-14 2018-12-14 Automatic earphone muting method and earphone capable of automatically muting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811533926.1A CN109511036B (en) 2018-12-14 2018-12-14 Automatic earphone muting method and earphone capable of automatically muting

Publications (2)

Publication Number Publication Date
CN109511036A CN109511036A (en) 2019-03-22
CN109511036B true CN109511036B (en) 2020-12-01

Family

ID=65752645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811533926.1A Active CN109511036B (en) 2018-12-14 2018-12-14 Automatic earphone muting method and earphone capable of automatically muting

Country Status (1)

Country Link
CN (1) CN109511036B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111000540A (en) * 2019-12-24 2020-04-14 博瑞资(重庆)教育科技有限公司 Student physique health detection system
CN115134702A (en) * 2022-06-30 2022-09-30 歌尔股份有限公司 Earphone control method and device, earphone and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373227A (en) * 2015-10-29 2016-03-02 小米科技有限责任公司 Method and device for intelligently closing electronic device
CN105590640A (en) * 2014-10-20 2016-05-18 中兴通讯股份有限公司 Playing control method and device for mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8456330B2 (en) * 2008-09-26 2013-06-04 Apple Inc. Configurable buttons for electronic devices
WO2014172671A1 (en) * 2013-04-18 2014-10-23 Digimarc Corporation Physiologic data acquisition and analysis
CN105763975A (en) * 2014-12-16 2016-07-13 西安九度网络科技有限公司 Intelligent earphone device
CN106339199A (en) * 2016-08-19 2017-01-18 乐视控股(北京)有限公司 Earphone control method and device, earphone and wearable equipment
CN106453856A (en) * 2016-09-23 2017-02-22 上海斐讯数据通信技术有限公司 Method and system for controlling music play
CN108924681A (en) * 2018-06-05 2018-11-30 四川斐讯信息技术有限公司 A kind of earphone and method of automatic regulating volume
CN108810749B (en) * 2018-06-08 2021-04-06 Oppo(重庆)智能科技有限公司 Player control method, device, terminal equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590640A (en) * 2014-10-20 2016-05-18 中兴通讯股份有限公司 Playing control method and device for mobile terminal
CN105373227A (en) * 2015-10-29 2016-03-02 小米科技有限责任公司 Method and device for intelligently closing electronic device

Also Published As

Publication number Publication date
CN109511036A (en) 2019-03-22

Similar Documents

Publication Publication Date Title
CN108989931B (en) Hearing protection earphone, hearing protection method thereof and computer readable storage medium
CN113826157B (en) Audio system and signal processing method for ear-mounted playing device
CN106465011B (en) It is detected on head using the earphone of differential signal measurement
CN105446697A (en) Automatic earphone volume adjusting method, device and system
CN102172044A (en) Control method and apparatus for audio output
WO2017143712A1 (en) Headset with automatic volume adjustment function and automatic volume adjustment method thereof
WO2021103260A1 (en) Control method for headphones and headphones
WO2017143714A1 (en) Earphones having automatic volume adjustment and method for automatic volume adjustment of earphones
CN113949956B (en) Noise reduction processing method and device, electronic equipment, earphone and storage medium
US20220417635A1 (en) Voice controlled venting for insert headphones
CN109511036B (en) Automatic earphone muting method and earphone capable of automatically muting
CN104754462A (en) Automatic regulating device and method for volume and earphone
CN111510822A (en) Sound control system, device, method and computer readable storage medium thereof
CN112954530A (en) Earphone noise reduction method, device and system and wireless earphone
CN103873984A (en) System and method for automatically regulating output volume of electronic device
CN105163216A (en) Automatic music playing method and earphone
CN109814833B (en) Real-time control frequency response output device and application method thereof
CN106686496B (en) Play mode control method of wearable device and wearable device
US11010126B1 (en) Headset, control module and method for automatic adjustment of volume of headset, and storage medium
WO2017143713A1 (en) Headset having automatic volume adjustment function and automatic volume adjustment method therefor
CN110944261B (en) Earphone sound effect control method and headset
CN105811907B (en) Audio-frequency processing method
US20220141583A1 (en) Hearing assisting device and method for adjusting output sound thereof
US12057097B2 (en) Earphone system and method for operating an earphone system
CN114071307A (en) Earphone volume adjusting method, device, equipment and medium

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