CN112804612B - Earphone control method, earphone control device, earphone and computer readable storage medium - Google Patents

Earphone control method, earphone control device, earphone and computer readable storage medium Download PDF

Info

Publication number
CN112804612B
CN112804612B CN202110323070.0A CN202110323070A CN112804612B CN 112804612 B CN112804612 B CN 112804612B CN 202110323070 A CN202110323070 A CN 202110323070A CN 112804612 B CN112804612 B CN 112804612B
Authority
CN
China
Prior art keywords
signal
sound signal
earphone
intensity
detected
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
CN202110323070.0A
Other languages
Chinese (zh)
Other versions
CN112804612A (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.)
Weifang Goertek Electronics Co Ltd
Original Assignee
Weifang Goertek Electronics 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 Weifang Goertek Electronics Co Ltd filed Critical Weifang Goertek Electronics Co Ltd
Priority to CN202110323070.0A priority Critical patent/CN112804612B/en
Publication of CN112804612A publication Critical patent/CN112804612A/en
Application granted granted Critical
Publication of CN112804612B publication Critical patent/CN112804612B/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/1083Reduction of ambient noise
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L21/0216Noise filtering characterised by the method used for estimating noise
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Headphones And Earphones (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

The invention discloses a method and a device for controlling an earphone, the earphone and a computer readable storage medium, wherein the method comprises the following steps: acquiring an environmental sound signal detected by an environmental microphone at fixed time; acquiring the intensity difference between the signal intensity of the currently detected environmental sound signal and the signal intensity of the last detected environmental sound signal; and when the intensity difference is larger than a preset threshold value, carrying out noise reduction operation on the earphone according to the environment sound signal. The invention reduces the noise reduction cost of the earphone.

Description

Earphone control method, earphone control device, earphone and computer readable storage medium
Technical Field
The present invention relates to the field of earphone technologies, and in particular, to an earphone control method and apparatus, an earphone, and a computer-readable storage medium.
Background
With the rapid development of communication technology, the TWS (True Wireless Stereo) headset technology is rapidly developed, and the TWS headset overcomes the problem that a wired headset is inconvenient to carry, thereby bringing great convenience to life, work and study of people.
Currently, there are three main interaction modes of the TWS headset: tapping, touch control, pressing. The method comprises the following steps that A, a G Sensor integrated in an earphone is mainly used for knocking, and the G Sensor is used for detecting the acceleration of knocking when a user knocks to realize interactive control; if the touch control is carried out, the touch sensor is used for sensing the touch action of a person to realize interactive control; the pressing realizes the interactive control by sensing the tiny pressure through the pressing sensor. All three interaction modes need to be realized by additionally arranging a sensor, so that the cost of the earphone is increased.
Disclosure of Invention
The invention mainly aims to provide an earphone control method, an earphone control device, an earphone and a computer readable storage medium, and aims to solve the problem that the cost of the earphone is high in the existing interactive mode.
In order to achieve the above object, the present invention provides an earphone control method, which includes the following steps:
acquiring an environmental sound signal detected by an environmental microphone at regular time;
acquiring the intensity difference between the signal intensity of the currently detected environmental sound signal and the signal intensity of the last detected environmental sound signal;
and when the intensity difference is larger than a preset threshold value, carrying out noise reduction operation on the earphone according to the environment sound signal.
In an embodiment, the headphone control method further includes: acquiring the sound state of the current environment of the earphone; and when the sound state is a noisy state, executing the step of regularly acquiring the environmental sound signals detected by the environmental microphone.
In one embodiment, the step of acquiring the sound state of the environment in which the headset is currently located includes: acquiring an environment sound signal detected by the environment microphone at regular time, and determining the sound state of the current environment according to the signal intensity of the environment sound signal; and if the signal intensity of the environment sound signal is less than or equal to the preset intensity, the sound state is judged to be a quiet state.
In an embodiment, after the step of acquiring the ambient sound signal of the ambient microphone in a timed manner, the method further includes: comparing the currently detected signal intensity with the last detected signal intensity; when the current detected signal strength is less than the last detected signal strength, the step of obtaining the strength difference between the signal strength of the current detected environmental sound signal and the signal strength of the last detected environmental sound signal is executed.
In an embodiment, the step of performing a noise reduction operation on the earphone according to the ambient sound signal when the intensity difference is greater than a preset threshold includes: when the intensity difference is larger than a preset threshold value, acquiring a proximity signal detected by a proximity sensor in the earphone; and when the approach signal meets an approach condition, carrying out noise reduction operation on the earphone according to the environment sound signal.
In an embodiment, after the step of periodically acquiring the ambient sound signal of the ambient microphone, the method further includes: detecting residual noise in the ear canal microphone; the step of acquiring a difference between the signal strength of the currently detected ambient sound signal and the signal strength of the last detected ambient sound signal is performed when the signal strength of the currently detected ambient sound signal is less than the signal strength of the last detected ambient sound signal and the signal strength of the currently detected ambient sound signal is greater than the signal strength of the residual noise.
In an embodiment, the step of obtaining the intensity difference between the signal intensity of the currently detected ambient sound signal and the signal intensity of the last detected ambient sound signal further includes: acquiring a difference value between the signal intensity of a high-frequency sound signal in the currently detected environmental sound signal and the signal intensity of a high-frequency sound signal in the last detected environmental sound signal; the step of performing noise reduction operation on the earphone according to the ambient sound signal comprises: and carrying out noise reduction operation on the earphone according to the currently detected high-frequency sound signal in the environment sound signal.
To achieve the above object, the present invention further provides a headphone control apparatus including a memory, a processor, and a headphone control program stored in the memory and executable on the processor, the headphone control program implementing the steps of the headphone control method as described above when executed by the processor.
To achieve the above object, the present invention further provides a headset including a memory, a processor, and a headset control program stored in the memory and executable on the processor, the headset control program implementing the steps of the headset control method as described above when executed by the processor.
To achieve the above object, the present invention also provides a computer-readable storage medium storing a headphone control program, which when executed by a processor, implements the steps of the headphone control method as described above.
The invention provides an earphone control method, an earphone control device, an earphone and a computer readable storage medium, which are used for regularly acquiring an environment sound signal detected by an environment microphone; acquiring the intensity difference between the signal intensity of the currently detected environmental sound signal and the signal intensity of the last detected environmental sound signal; and when the intensity difference is larger than a preset threshold value, carrying out noise reduction operation on the earphone according to the environment sound signal. The judgment of the environmental microphone on the sound signal is used for reducing the noise of the earphone, and compared with the condition that whether the noise of the earphone is reduced or not is judged by using a sensor, the cost of the earphone is reduced.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a headset control device/headset according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of a headphone control method according to the present invention;
fig. 3 is a schematic structural diagram of a microphone in the earphone according to the earphone control method of the present invention;
FIG. 4 is a schematic structural diagram of an earphone control device according to the earphone control method of the present invention;
fig. 5 is a flowchart illustrating a headphone control method according to a second embodiment of the present invention;
fig. 6 is a flowchart illustrating a headset controlling method according to a third embodiment of the present invention;
fig. 7 is a flowchart illustrating a fourth embodiment of a headphone control method according to the present invention;
fig. 8 is a flowchart illustrating a fifth embodiment of the headphone control method according to the present invention;
fig. 9 is a schematic diagram of the ambient sound signal before and after the hand cover according to the earphone control method of the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: acquiring an environmental sound signal detected by an environmental microphone at fixed time; acquiring the intensity difference between the signal intensity of the currently detected environmental sound signal and the signal intensity of the last detected environmental sound signal; and when the intensity difference is larger than a preset threshold value, carrying out noise reduction operation on the earphone according to the environment sound signal.
The judgment of the environmental microphone on the sound signal is used for reducing the noise of the earphone, and compared with the condition that whether the noise of the earphone is reduced or not is judged by using a sensor, the cost of the earphone is reduced.
As an implementation, the headset-based control device/headset may be as shown in fig. 1.
Embodiments of the present invention relate to a headset control device/headset that may be applied to a TWS headset, the headset control device/headset comprising: a processor 101, e.g. a CPU, a memory 102, a communication bus 103. Wherein a communication bus 103 is used for enabling the connection communication between these components.
The memory 102 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As shown in fig. 1, a memory 102, which is a kind of computer-readable storage medium, may include therein a headphone control program; and the processor 101 may be configured to invoke the headset control program stored in the memory 102 and perform the following operations:
acquiring an environmental sound signal detected by an environmental microphone at regular time;
acquiring the intensity difference between the signal intensity of the currently detected environmental sound signal and the signal intensity of the last detected environmental sound signal;
and when the intensity difference is larger than a preset threshold value, carrying out noise reduction operation on the earphone according to the environment sound signal.
In one embodiment, the processor 101 may be configured to invoke a headset control program stored in the memory 102 and perform the following operations:
acquiring the sound state of the current environment of the earphone;
and when the sound state is a noisy state, executing the step of regularly acquiring the environmental sound signals detected by the environmental microphone.
In one embodiment, the processor 101 may be configured to invoke a headset control program stored in the memory 102 and perform the following operations:
acquiring an environment sound signal detected by the environment microphone at regular time, and determining the sound state of the current environment according to the signal intensity of the environment sound signal;
and if the signal intensity of the environment sound signal is less than or equal to the preset intensity, the sound state is judged to be a quiet state.
In one embodiment, the processor 101 may be configured to invoke a headset control program stored in the memory 102 and perform the following operations:
comparing the currently detected signal intensity with the last detected signal intensity;
when the current detected signal strength is less than the last detected signal strength, the step of obtaining the strength difference between the signal strength of the current detected environmental sound signal and the signal strength of the last detected environmental sound signal is executed.
In one embodiment, the processor 101 may be configured to invoke a headset control program stored in the memory 102 and perform the following operations:
when the intensity difference is larger than a preset threshold value, acquiring a proximity signal detected by a proximity sensor in the earphone;
and when the approach signal meets an approach condition, carrying out noise reduction operation on the earphone according to the environment sound signal.
In one embodiment, the processor 101 may be configured to invoke a headset control program stored in the memory 102 and perform the following operations:
detecting residual noise in the ear canal microphone;
the step of acquiring a difference between the signal strength of the currently detected ambient sound signal and the signal strength of the last detected ambient sound signal is performed when the signal strength of the currently detected ambient sound signal is less than the signal strength of the last detected ambient sound signal and the signal strength of the currently detected ambient sound signal is greater than the signal strength of the residual noise.
In one embodiment, the processor 101 may be configured to invoke a headset control program stored in the memory 102 and perform the following operations:
converting the ambient sound signal into a digital signal;
determining a signal strength of the ambient sound signal from the digital signal.
In one embodiment, the processor 101 may be configured to invoke a headset control program stored in the memory 102 and perform the following operations:
acquiring a difference value between the signal intensity of a high-frequency sound signal in the currently detected environmental sound signal and the signal intensity of a high-frequency sound signal in the last detected environmental sound signal;
and carrying out noise reduction operation on the earphone according to the currently detected high-frequency sound signal in the environment sound signal.
Based on the hardware architecture of the earphone control device/earphone, the embodiment of the earphone control method is provided.
Referring to fig. 2, fig. 2 is a first embodiment of the headphone control method according to the present invention, the headphone control method including the steps of:
in step S10, the ambient sound signal detected by the ambient microphone is acquired at regular time.
Specifically, the environment microphone is used for detecting an environment sound signal and acquiring the environment sound signal of the environment microphone at regular time. As shown in fig. 3, the environment microphones may be disposed at the outer side of the earphone, for example, at a and/or b, and the number of the environment microphones may be one or more.
After the ambient sound signal is acquired, the ambient sound signal is converted into a digital signal, and the signal intensity of the ambient sound signal is determined according to the digital signal. As shown in fig. 4, the ambient sound signal collected by the microphone is converted into a digital signal by an audio encoder in the earphone, and the digital signal is subjected to signal processing by the digital signal processor to obtain the signal intensity of the ambient sound signal. The bluetooth Integrated Circuit, the audio encoder and the digital signal processor are connected with each other through an Inter-Integrated Circuit (I2C) bus by a Pulse Code Modulation (PCM) between the bluetooth Integrated Circuit and the audio encoder and the digital signal processor.
In step S20, the intensity difference between the signal intensity of the currently detected ambient sound signal and the signal intensity of the last detected ambient sound signal is acquired.
Specifically, the currently detected ambient sound signal and the last detected ambient sound signal are ambient sound signals at adjacent detection time points, and the intensity difference of the signal intensity of the ambient sound signals at the adjacent detection time points is determined. The difference value obtained by subtracting the currently detected ambient sound signal from the last detected ambient sound signal is the intensity difference. The intensity difference may be an absolute value. Or when the signal intensity of the currently detected environmental sound signal is greater than the last detected environmental sound signal, the intensity difference is a negative value, and when the signal intensity of the currently detected environmental sound signal is less than the last detected environmental sound signal, the intensity difference is a positive value.
And step S30, when the intensity difference is larger than a preset threshold value, carrying out noise reduction operation on the earphone according to the environment sound signal.
Specifically, when the intensity difference is an absolute value, when the intensity difference is greater than a preset threshold value, the signal intensity of the environment sound signal is greatly changed, and the environment sound signal can be divided into two cases, wherein one case is that the currently detected environment sound signal is smaller than the last detected environment sound signal, and the earphone is covered by a hand in a noisy environment. Exemplarily, comparing the currently detected signal strength with the last detected signal strength; and when the intensity difference is larger than a preset threshold value, carrying out noise reduction operation on the earphone according to the environmental sound signal. The other situation is that the currently detected environment sound signal is larger than the last detected environment sound signal, which indicates that the external environment becomes noisier, and when the intensity difference is larger than the preset threshold value, the noise reduction operation is performed on the earphone according to the environment sound signal.
When the intensity value is not an absolute value, when the intensity difference is greater than a preset threshold value, the intensity value is a positive value, the signal intensity of the currently detected environment sound signal is smaller than the last detected environment sound signal, and when the intensity difference is greater than the preset threshold value, noise reduction operation is performed on the earphone according to the environment sound signal.
In the technical scheme of this embodiment, an ambient sound signal of an ambient microphone is acquired at regular time, an intensity difference between a currently detected signal intensity and a last detected signal intensity is calculated, and when the intensity difference is greater than a preset threshold value, a noise reduction operation is performed on the headset according to the ambient sound signal. The judgment of the environmental microphone on the sound signal is used for reducing the noise of the earphone, and compared with the condition that whether the noise of the earphone is reduced or not is judged by using a sensor, the cost of the earphone is reduced.
Referring to fig. 5, fig. 5 is a second embodiment of the earphone control method according to the present invention, and based on the first embodiment, before the step S10, the method further includes:
step S40, acquiring the sound state of the current environment of the earphone;
and step S50, when the sound state is a noisy state, executing the step of regularly acquiring the environmental sound signal detected by the environmental microphone.
Specifically, the environmental sound signals detected by the environmental microphone are acquired at regular time, and the sound state of the current environment is determined according to the signal intensity of the environmental sound signals. And if the signal intensity of the environment sound signal is less than or equal to the preset intensity, determining that the sound state is a quiet state. After the sound state is determined to be the noisy state, the signal strength of the ambient sound signal of the microphone is acquired at regular time.
In the technical scheme of this embodiment, whether the environment is in noisy environment has been confirmed according to sound state, if, then regularly acquires the environment sound signal of environment microphone, has avoided under the environment that need not fall the noise promptly in the noisy environment of non-, and the earphone falls the circumstances of making an uproar according to environment sound signal, has improved the earphone and has fallen the accuracy of making an uproar according to environment sound signal.
Referring to fig. 6, fig. 6 is a third embodiment of the earphone control method according to the present invention, and based on the first or second embodiment, the step S30 includes:
step S31, when the intensity difference is larger than a preset threshold value, acquiring a proximity signal detected by a proximity sensor in the earphone;
and step S32, when the approach signal meets the approach condition, carrying out noise reduction operation on the earphone according to the environment sound signal.
Specifically, when the intensity difference is greater than a preset threshold, a proximity signal detected by a proximity sensor in the headset is acquired. The proximity sensor can be a light sensor, a proximity signal of the light sensor is an optical signal, and when the intensity of the optical signal is smaller than a preset threshold value, the proximity signal is determined to meet a proximity condition. The proximity sensor may be a touch sensor, a proximity signal of the touch sensor is a physical touch or a pressure value applied on the earphone, and when the physical touch exists or the pressure value on the earphone is greater than a preset threshold, it is determined that the proximity signal satisfies a proximity condition. The proximity sensor can also be a radar sensor, the proximity signal of the radar sensor is a distance, and when the distance is smaller than a preset threshold value, the proximity signal is determined to meet the proximity condition. And when the approach signal meets the preset condition, carrying out noise reduction operation on the earphone according to the environment sound signal.
In the technical scheme of this embodiment, when the intensity difference is greater than the preset threshold, the approach signal detected by the approach sensor in the earphone is acquired for further judgment of the hand covering action of the user, and when the approach signal meets the approach condition, the noise of the earphone is reduced. The detection of the proximity sensor is increased, and the noise reduction accuracy of the earphone according to the environmental sound signal is improved.
Referring to fig. 7, fig. 7 is a fourth embodiment of the headphone control method according to the present invention, and based on any one of the first or third embodiments, after step S10, the method further includes:
step S60, detecting residual noise in the ear canal microphone;
step S70, when the signal strength of the currently detected ambient sound signal is less than the signal strength of the last detected ambient sound signal and the signal strength of the currently detected ambient sound signal is greater than the signal strength of the residual noise, performing the step of acquiring the strength difference between the signal strength of the currently detected ambient sound signal and the signal strength of the last detected ambient sound signal.
In particular, as shown in fig. 3, an ear canal microphone may be provided at an ear plug, i.e. c, of the earphone for sound signal detection of the ear canal of the earphone. After the ear canal microphone is worn, sound signals in the ear canal microphone are obtained, the sound signals may include audio signals played by the earphone, and the audio signals played by the earphone need to be removed from the sound signals, so that residual noise in the detection environment of the ear canal microphone is obtained. When the signal intensity of the currently detected environmental sound signal is smaller than the signal intensity of the last detected environmental sound signal and the signal intensity of the currently detected environmental sound signal is greater than the signal intensity of the residual noise, it indicates that the current environment is still a noisy environment, and the user has worn the earphone, and calculates the intensity difference between the currently detected signal intensity and the last detected signal intensity.
In the technical scheme of this embodiment, the detection of the residual noise in the ear microphone is added, and if the signal intensity of the currently detected ambient sound signal is equal to the signal intensity of the residual noise, it indicates that the user does not wear the earphone, and at this time, the earphone does not need to be controlled to perform noise reduction. If the signal intensity of the currently detected environmental sound signal is smaller than the signal intensity of the residual noise, the user is indicated to wear the earphone, and whether the noise reduction operation is performed on the earphone is determined according to the signal intensity of the environmental sound signal, so that the noise reduction accuracy of the earphone is improved.
Referring to fig. 8, fig. 8 is a fifth embodiment of the headphone control method according to the present invention, where in the step S20 includes:
step S21, obtaining the difference value between the signal intensity of the high-frequency sound signal in the currently detected environment sound signal and the signal intensity of the high-frequency sound signal in the last detected environment sound signal;
the step S30 includes:
and step S33, carrying out noise reduction operation on the earphone according to the high-frequency sound signal in the currently detected environment sound signal.
Specifically, as shown in fig. 9, the d line represents the signal intensity of the ambient sound signal after the user covers his hand, and the h line represents the signal intensity of the ambient sound signal before the user covers his hand. It can be seen that the signal intensity of the high-frequency sound signal after the hand covering action is large in change, the environment sound signal is larger than the high-frequency sound signal with the preset frequency, and the high-frequency sound signal is more obvious in change when the user takes the hand covering action. Illustratively, the preset frequency may be 1500 hz. Then, by detecting a high-frequency sound signal of the environmental sound signal, which is greater than the preset frequency, a difference between the signal intensity of the currently detected high-frequency sound signal and the signal intensity of the last detected high-frequency sound signal is calculated. When the difference value is larger than a preset threshold value, carrying out noise reduction operation on the earphone according to the high-frequency sound signal; and when the difference is smaller than or equal to the preset threshold, continuously acquiring the signal intensity of the next high-frequency sound signal, and calculating the difference between the signal intensity of the next high-frequency sound signal and the signal intensity of the currently detected high-frequency sound signal.
In the technical scheme of this embodiment, filter the signal frequency in the environment sound signal, detect the high frequency sound signal that is greater than preset frequency, because the signal strength that high frequency sound signal takes place for low frequency sound signal after the action of hand cover changes greatly, consequently detect high frequency sound signal and can determine more accurately whether there is the action of hand cover, improved the accuracy that earphone made an uproar.
The present invention also provides an earphone control device, which includes a memory, a processor, and an earphone control program stored in the memory and executable on the processor, and when executed by the processor, the earphone control program implements the steps of the earphone control method according to the above embodiment.
The present invention also provides a headset comprising a memory, a processor and a headset control program stored in the memory and executable on the processor, the headset control program, when executed by the processor, implementing the steps of the headset control method as described in the above embodiments.
The present invention also provides a computer-readable storage medium storing a headphone control program that, when executed by a processor, implements the steps of the headphone control method according to the above embodiments.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. An earphone control method, characterized in that the earphone control method comprises:
acquiring an environmental sound signal detected by an environmental microphone at fixed time;
detecting residual noise in the ear canal microphone;
when the signal intensity of the currently detected environmental sound signal is smaller than the signal intensity of the last detected environmental sound signal and the signal intensity of the currently detected environmental sound signal is greater than the signal intensity of the residual noise, acquiring the intensity difference between the signal intensity of the currently detected environmental sound signal and the signal intensity of the last detected environmental sound signal;
and when the intensity difference is larger than a preset threshold value, carrying out noise reduction operation on the earphone according to the environment sound signal.
2. The headphone control method as recited in claim 1, wherein the headphone control method further comprises:
acquiring the sound state of the current environment of the earphone;
and when the sound state is a noisy state, executing the step of regularly acquiring the environmental sound signals detected by the environmental microphone.
3. The headphone control method according to claim 2, wherein the step of acquiring the sound state of the environment in which the headphone is currently located includes:
acquiring an environment sound signal detected by the environment microphone at regular time, and determining the sound state of the current environment according to the signal intensity of the environment sound signal;
and if the signal intensity of the environment sound signal is less than or equal to the preset intensity, the sound state is judged to be a quiet state.
4. The headphone control method as defined in claim 1, wherein the step of periodically acquiring the ambient sound signal of the ambient microphone is followed by further comprising:
comparing the currently detected signal intensity with the last detected signal intensity;
when the current detected signal strength is less than the last detected signal strength, the step of obtaining the strength difference between the signal strength of the current detected environmental sound signal and the signal strength of the last detected environmental sound signal is executed.
5. The headphone control method according to claim 1, wherein the step of performing a noise reduction operation on the headphone according to the ambient sound signal when the intensity difference is greater than a preset threshold value comprises:
when the intensity difference is larger than a preset threshold value, acquiring a proximity signal detected by a proximity sensor in the earphone;
and when the approach signal meets the approach condition, carrying out noise reduction operation on the earphone according to the environment sound signal.
6. The headphone control method according to claim 1, wherein the step of acquiring the intensity difference between the signal intensity of the currently detected ambient sound signal and the signal intensity of the last detected ambient sound signal further comprises:
acquiring a difference value between the signal intensity of a high-frequency sound signal in the currently detected environmental sound signal and the signal intensity of a high-frequency sound signal in the last detected environmental sound signal;
the step of performing noise reduction operation on the earphone according to the ambient sound signal comprises:
and carrying out noise reduction operation on the earphone according to the currently detected high-frequency sound signal in the environment sound signal.
7. An earphone control device, characterized in that the earphone control device comprises a memory, a processor and an earphone control program stored in the memory and executable on the processor, the earphone control program, when executed by the processor, implementing the steps of the earphone control method according to any one of claims 1-6.
8. A headset, characterized in that the headset comprises a memory, a processor and a headset control program stored in the memory and executable on the processor, which headset control program, when executed by the processor, carries out the individual steps of the headset control method according to any of claims 1-6.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a headphone control program, which when executed by a processor implements the steps of the headphone control method according to any one of claims 1 to 6.
CN202110323070.0A 2021-03-25 2021-03-25 Earphone control method, earphone control device, earphone and computer readable storage medium Active CN112804612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110323070.0A CN112804612B (en) 2021-03-25 2021-03-25 Earphone control method, earphone control device, earphone and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110323070.0A CN112804612B (en) 2021-03-25 2021-03-25 Earphone control method, earphone control device, earphone and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112804612A CN112804612A (en) 2021-05-14
CN112804612B true CN112804612B (en) 2022-06-21

Family

ID=75815762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110323070.0A Active CN112804612B (en) 2021-03-25 2021-03-25 Earphone control method, earphone control device, earphone and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112804612B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766411A (en) * 2021-09-28 2021-12-07 安徽华米信息科技有限公司 Earphone state detection method, earphone and storage medium
CN116266893A (en) * 2021-12-16 2023-06-20 华为技术有限公司 Earphone control method, related system and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107371079A (en) * 2017-04-17 2017-11-21 恒玄科技(上海)有限公司 The diamylose gram noise reduction system and noise-reduction method of a kind of earphone

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140314242A1 (en) * 2013-04-19 2014-10-23 Plantronics, Inc. Ambient Sound Enablement for Headsets
CN105979415B (en) * 2016-05-30 2019-04-12 歌尔股份有限公司 A kind of noise-reduction method, device and the noise cancelling headphone of the gain of automatic adjusument noise reduction
CN108847208B (en) * 2018-05-04 2020-11-27 歌尔科技有限公司 Noise reduction processing method and device and earphone
CN108900951A (en) * 2018-06-13 2018-11-27 歌尔股份有限公司 Volume adjusting method, earphone and computer readable storage medium
CN108540893A (en) * 2018-06-22 2018-09-14 会听声学科技(北京)有限公司 Impulse noise suppression method, system and earphone
CN109327757B (en) * 2018-09-30 2020-10-02 歌尔科技有限公司 Dual-microphone noise reduction earphone and sound processing method and device thereof
CN109714663B (en) * 2018-12-21 2020-05-22 歌尔科技有限公司 Earphone control method, earphone and storage medium
CN109756809A (en) * 2019-01-11 2019-05-14 深圳市迷购网络科技有限公司 Control method, health-care earphone and the computer readable storage medium of health-care earphone

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107371079A (en) * 2017-04-17 2017-11-21 恒玄科技(上海)有限公司 The diamylose gram noise reduction system and noise-reduction method of a kind of earphone

Also Published As

Publication number Publication date
CN112804612A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN112804612B (en) Earphone control method, earphone control device, earphone and computer readable storage medium
CN110677768A (en) Wireless earphone control method and device, wireless earphone and storage medium
CN111698601B (en) Bluetooth headset, and key sensitivity adjustment method, device and readable storage medium thereof
CN109257674B (en) Wearing condition detection method and device of wireless earphone and wireless earphone
CN112911487B (en) In-ear detection method for wireless headset, wireless headset and storage medium
CN109348334B (en) Wireless earphone and environment monitoring method and device thereof
US20160080854A1 (en) Mobile terminal earphone line control circuit and line control method
CN106161726A (en) A kind of voice wakes up system and voice awakening method and mobile terminal up
CN110896511A (en) Earphone control method and device, storage medium and computer equipment
EP3627854B1 (en) Method for operating a hearing system and hearing system comprising two hearing devices
CN113920975B (en) Noise reduction parameter setting method and device, earphone equipment and storage medium
JP4031787B2 (en) Hearing assistance device and method for automatic switching to telephone operation
CN108955758B (en) Wearable device wearing detection method and related product
CN107343095B (en) Call volume control method and device, storage medium and terminal
CN110265007B (en) Control method and control device of voice assistant system and Bluetooth headset
CN114567849B (en) Detection method and device, wireless earphone and storage medium
WO2021043414A1 (en) Microphone blocking detection control
KR20200097590A (en) Electronic device and method for detecting block of microphone
CN111757211B (en) Noise reduction method, terminal device and storage medium
KR102223653B1 (en) Apparatus and method for processing voice signal and terminal
CN113115151B (en) Control method and device of wireless earphone, equipment and storage medium
CN114501292A (en) Earphone wearing detection method and device, earphone equipment and storage medium
CN110784797A (en) Wireless earphone control method and device, wireless earphone and storage medium
CN110012386B (en) Volume adjusting method of terminal and terminal
CN109963235B (en) Sound signal processing method and mobile terminal

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