CN110677768A - Wireless earphone control method and device, wireless earphone and storage medium - Google Patents

Wireless earphone control method and device, wireless earphone and storage medium Download PDF

Info

Publication number
CN110677768A
CN110677768A CN201911055265.0A CN201911055265A CN110677768A CN 110677768 A CN110677768 A CN 110677768A CN 201911055265 A CN201911055265 A CN 201911055265A CN 110677768 A CN110677768 A CN 110677768A
Authority
CN
China
Prior art keywords
preset
detection signal
decibel value
wireless headset
ear
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.)
Pending
Application number
CN201911055265.0A
Other languages
Chinese (zh)
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 CN201911055265.0A priority Critical patent/CN110677768A/en
Publication of CN110677768A publication Critical patent/CN110677768A/en
Pending legal-status Critical Current

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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)

Abstract

The application discloses a wireless earphone control method, a device, a wireless earphone and a computer readable storage medium, wherein the method comprises the following steps: identifying whether the wireless headset is in a box state; if not, sending a detection signal of a preset frequency range through a loudspeaker; wherein the preset frequency range covers a resonance frequency of the ear canal; acquiring the detection signal through a target microphone under the condition of preset volume to obtain a decibel value corresponding to the resonance frequency of the detection signal; the target microphone is a microphone close to the loudspeaker in the communication microphone; and if the decibel value is larger than a preset value, judging that the wireless earphone is in an in-ear state. Therefore, the wireless earphone control method solves the problem that the wearing state is mistakenly identified due to the fact that the infrared sensor is shielded when the earphone is in the hand or on the desktop, and improves the accuracy of the in-ear detection of the wireless earphone.

Description

Wireless earphone control method and device, wireless earphone and storage medium
Technical Field
The present application relates to the field of wireless headset technologies, and in particular, to a wireless headset control method and apparatus, a wireless headset, and a computer-readable storage medium.
Background
With the popularization of wireless earphone technology, the proportion of the wireless earphone technology in the E-commerce market is greatly increased, and higher user satisfaction is obtained. Because the space of the wireless earphone is small, and a large-capacity battery is not configured in enough space, the endurance of the wireless earphone is a problem in the front of earphone design manufacturers. In order to prolong the endurance of the wireless earphone as much as possible, most earphones are added with a wearing detection function. When the earphone is detected to be taken down, the playing is automatically stopped so as to save the electric quantity.
In the correlation technique, wear the detection through adding an infrared sensor, however an infrared sensor's false detection probability is higher, and the wireless earphone makes the earphone detect for wearing the state that the infrared sensor is sheltered from very easily to the finger when playing in user's hand. In order to reduce the false detection rate, the infrared sensors are increased to two by some earphones. However, similar to an infrared sensor, the two infrared sensors are also shielded at the same time, which causes false detection, and the cost of the product is increased and the internal space of the wireless headset is occupied by the increased number of the infrared sensors.
Therefore, how to improve the accuracy of the in-ear detection of the wireless headset without increasing the product cost is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a wireless earphone control method and device, a wireless earphone and a computer readable storage medium, and the accuracy of wireless earphone in-ear detection is improved on the premise of not increasing the product cost.
In order to achieve the above object, the present application provides a wireless headset control method, including:
identifying whether the wireless headset is in a box state; if not, sending a detection signal of a preset frequency range through a loudspeaker; wherein the preset frequency range covers a resonance frequency of the ear canal;
acquiring the detection signal through a target microphone under the condition of preset volume to obtain a decibel value corresponding to the resonance frequency of the detection signal; the target microphone is a microphone close to the loudspeaker in the communication microphone;
and if the decibel value is larger than a preset value, judging that the wireless earphone is in an in-ear state.
Wherein, still include:
and if the decibel value is smaller than or equal to a preset value, judging that the wireless earphone is in an out-of-ear state.
Wherein the identifying whether the wireless headset is in a box state comprises:
and identifying whether the wireless earphone is in a box state or not through a Hall sensor.
Before the detecting signal of the preset frequency range is sent through the loudspeaker, the method further comprises the following steps:
performing in-ear detection on the wireless earphone by using a sensor, and when the wireless earphone passes the in-ear detection, executing the step of sending a detection signal with a preset frequency range through a loudspeaker; wherein the sensor comprises any one of an infrared sensor, a proximity sensor, and a pressure sensor.
Wherein, the detecting signal is collected through a target microphone under the condition of the preset volume, so as to obtain the decibel value of the detecting signal corresponding to the resonance frequency, and the method comprises the following steps:
and acquiring a frequency response curve corresponding to the detection signal through a target microphone under the condition of preset volume, and determining a decibel value corresponding to the resonance frequency in the frequency response curve.
Wherein, still include:
transmitting the detection signal through the speaker under a first environmental condition and a second environmental condition, respectively; wherein the first environmental condition is that the wireless headset is in an in-ear state, and the second environmental condition is that the wireless headset is in an out-of-ear state;
acquiring a second frequency response curve, corresponding to the second environmental condition, of a first frequency response curve, corresponding to the detection signal under the first environmental condition, through a target microphone under a preset volume condition;
determining a first decibel value corresponding to the resonance frequency in the first frequency response curve, and determining a second decibel value corresponding to the resonance frequency in the second frequency response curve;
and determining the preset value according to the first decibel value and the second decibel value.
Wherein the determining the preset value according to the first decibel value and the second decibel value includes:
and determining the average value of the first decibel value and the second decibel value as the preset value.
To achieve the above object, the present application provides a wireless headset control device, comprising:
the identification module is used for identifying whether the wireless earphone is in a box state or not; if not, sending a detection signal of a preset frequency range through a loudspeaker; wherein the preset frequency range covers a resonance frequency of the ear canal;
the first acquisition module is used for acquiring the detection signal through a target microphone under the condition of preset volume to obtain a decibel value corresponding to the resonance frequency of the detection signal; the target microphone is a microphone close to the loudspeaker in the communication microphone;
and the first judging module is used for judging that the wireless earphone is in an in-ear state if the decibel value is greater than a preset value.
To achieve the above object, the present application provides a wireless headset, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the wireless headset control method as described above when executing the computer program.
To achieve the above object, the present application provides a computer-readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the wireless headset control method as described above.
According to the scheme, the wireless headset control method provided by the application comprises the following steps: identifying whether the wireless headset is in a box state; if not, sending a detection signal of a preset frequency range through a loudspeaker; wherein the preset frequency range covers a resonance frequency of the ear canal; acquiring the detection signal through a target microphone under the condition of preset volume to obtain a decibel value corresponding to the resonance frequency of the detection signal; the target microphone is a microphone close to the loudspeaker in the communication microphone; and if the decibel value is larger than a preset value, judging that the wireless earphone is in an in-ear state.
According to the wireless earphone control method, when the wireless earphone is arranged outside the earphone box, the detection signal with the preset frequency range is sent through the loudspeaker, and the detection signal is collected through the call microphone close to the loudspeaker under the condition of the preset volume. Because the wireless earphone sends resonance with the auditory canal under the preset frequency in the in-ear state and the coupling state of the earphone and the human ear, the corresponding decibel value of the acquired detection signal under the preset frequency is larger than the preset value. Therefore, the wireless earphone control method solves the problem that the wearing state is mistakenly identified due to the fact that the infrared sensor is shielded when the earphone is in the hand or on the desktop, and improves the accuracy of the in-ear detection of the wireless earphone. The application also discloses a wireless earphone control device, a wireless earphone and a computer readable storage medium, and the technical effects can be realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a flow chart illustrating a method of controlling a wireless headset according to an exemplary embodiment;
fig. 2 is a schematic structural diagram of a wireless headset;
fig. 3 is a flow chart illustrating another method of controlling a wireless headset according to an exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of determining a preset value in accordance with an exemplary embodiment;
FIG. 5 is a block diagram of a wireless headset control device according to an exemplary embodiment;
fig. 6 is a block diagram of a wireless headset according to an exemplary embodiment.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application discloses a wireless earphone control method, which improves the accuracy of wireless earphone in-ear detection on the premise of not increasing the product cost.
Referring to fig. 1, a flowchart of a wireless headset control method according to an exemplary embodiment is shown, as shown in fig. 1, including:
s101: identifying whether the wireless headset is in a box state; if not, sending a detection signal of a preset frequency range through a loudspeaker; wherein the preset frequency range covers a resonance frequency of the ear canal;
the execution main body of this embodiment may be a main control platform in the wireless headset, and in this step, it is identified whether the wireless headset is in a box state. Specifically, the detection may be performed by a hall sensor in the wireless headset, that is, this step may include detecting whether the wireless headset is in a box state by the hall sensor. Of course, the identification may also be performed by a pin in the wireless headset, and is not particularly limited herein.
When the wireless headset is in the box state, a detection signal of a preset frequency range is transmitted through the speaker, the preset frequency range covers the resonance frequency of the ear canal, for example, the resonance frequency of the ear canal is around 3kHz, and the preset frequency range may be 2k-4 kHz. It is understood that the length of the detection signal is not limited in this embodiment.
S102: acquiring the detection signal through a target microphone under the condition of preset volume to obtain a decibel value corresponding to the resonance frequency of the detection signal; the target microphone is a microphone close to the loudspeaker in the communication microphone;
in the hardware design of the wireless headset, the uplink noise reduction algorithm of the call microphone generally requires that the distance between the main microphone and the auxiliary microphone is about 20mm, and the too close distance affects the uplink noise reduction effect of the call, and the size of the wireless headset is small, so in general, the main microphone and the auxiliary microphone are located at two ends of the wireless headset, as shown in fig. 2, in fig. 1, the auxiliary microphone of the wireless headset, i.e., the target microphone in this step, is close to the speaker and is located at the upper end of the wireless headset relative to the main microphone.
In this step, a detection signal is collected by a call microphone, i.e., an auxiliary microphone, close to a speaker, and frequency response analysis is performed on the detection signal to obtain a frequency response curve corresponding to the detection signal, a decibel value corresponding to each frequency value within a preset frequency range is recorded in the frequency response curve, and a decibel value corresponding to a resonant frequency of an ear canal therein can be determined through the frequency response curve, so that in-ear detection is performed according to the decibel value in subsequent steps. Namely, the method comprises the following steps: and acquiring a frequency response curve corresponding to the detection signal through a target microphone under the condition of preset volume, and determining a decibel value corresponding to the resonance frequency in the frequency response curve. The preset volume condition is not limited here, and a default volume of 8 steps of the wireless headset may be adopted.
S103: and if the decibel value is larger than a preset value, judging that the wireless earphone is in an in-ear state.
S104: and if the decibel value is smaller than or equal to a preset value, judging that the wireless earphone is in an out-of-ear state.
Because the auxiliary microphone is closer to the loudspeaker, the detection signal sent by the loudspeaker can be received. Because the wireless earphone is in an in-ear state, and the earphone and the ear of a person are in a coupling state, the wireless earphone and the ear canal transmit resonance at a preset frequency, and signals near the resonance frequency are enhanced, so that signals about the resonance frequency, which are received by the auxiliary microphone and transmitted by the loudspeaker, are stronger than those about the resonance frequency in the out-of-ear state in the in-ear state. Therefore, when the wireless earphone is in an in-ear state, the corresponding decibel value of the acquired detection signal at the resonant frequency is greater than the preset value.
According to the wireless earphone control method provided by the embodiment of the application, when the wireless earphone is arranged outside the earphone box, the detection signal with the preset frequency range is sent through the loudspeaker, and the detection signal is collected through the call microphone close to the loudspeaker under the condition of the preset volume. Because the wireless earphone sends resonance with the auditory canal under the preset frequency in the in-ear state and the coupling state of the earphone and the human ear, the corresponding decibel value of the acquired detection signal under the preset frequency is larger than the preset value. Therefore, the wireless earphone control method provided by the embodiment of the application solves the problem that the wearing state is mistakenly identified due to the fact that the infrared sensor is shielded when the earphone is in a hand or on a desktop, and improves the accuracy of the wireless earphone in-ear detection.
The embodiment of the application discloses a wireless earphone control method, and compared with the previous embodiment, the embodiment further explains and optimizes the technical scheme. Specifically, the method comprises the following steps:
referring to fig. 3, a flowchart of another wireless headset control method according to an exemplary embodiment is shown, as shown in fig. 3, including:
s201: identifying whether the wireless headset is in a box state; if not, the step S202 is entered;
s202: the wireless earphone is subjected to in-ear detection by a sensor, and when the wireless earphone passes the in-ear detection, a detection signal in a preset frequency range is sent by a loudspeaker; wherein the sensor comprises any one of an infrared sensor, a proximity sensor, and a pressure sensor;
in this embodiment, when the headphone is not in the headphone case, first the first in-ear detection is performed by the sensor. If the sensor detects a signal, it indicates that the wireless headset passes the first in-ear detection, and the sensor sends a status signal to the main control platform, and the process goes to S203 for the second in-ear detection. If the sensor does not detect the signal, the wireless earphone is directly judged to be in the out-of-ear state, secondary in-ear detection is not needed, and the in-ear detection efficiency of the wireless earphone is improved. The sensor is not limited to a specific type, and may include an infrared sensor, a proximity sensor, a pressure sensor, and the like.
S203: acquiring a frequency response curve corresponding to the detection signal through a target microphone under the condition of preset volume, and determining a decibel value corresponding to the resonance frequency in the frequency response curve;
s204: and if the decibel value is larger than a preset value, judging that the wireless earphone is in an in-ear state.
S205: and if the decibel value is smaller than or equal to a preset value, judging that the wireless earphone is in an out-of-ear state.
Steps S203 to S205 are performed for the second time of in-ear detection, and the specific process has been described in detail in the previous embodiment, which is not described herein again.
Therefore, the auxiliary microphone is used for secondary confirmation on the basis of in-ear detection according to the infrared sensor, the problem that the wearing state of the earphone is mistakenly identified due to the fact that the infrared sensor is shielded in the hand or on the desktop is solved, and the accuracy of in-ear detection of the wireless earphone is improved. In addition, when the sensor does not detect the signal, the wireless earphone is directly judged to be in the state, the microphone is not needed for secondary confirmation, and the in-ear detection efficiency of the wireless earphone is improved.
As described in detail below, the process of determining the preset value in the above embodiment is as shown in fig. 4, and the present application further includes:
s301: transmitting the detection signal through the speaker under a first environmental condition and a second environmental condition, respectively; wherein the first environmental condition is that the wireless headset is in an in-ear state, and the second environmental condition is that the wireless headset is in an out-of-ear state;
in this embodiment, the speaker respectively transmits the detection signals of the preset frequency range in the in-ear state and the out-of-ear state of the wireless headset, and the out-of-ear state includes the wireless headset being in the hand or on the table.
S302: acquiring a second frequency response curve, corresponding to the second environmental condition, of a first frequency response curve, corresponding to the detection signal under the first environmental condition, through a target microphone under a preset volume condition;
s303: determining a first decibel value corresponding to the resonance frequency in the first frequency response curve, and determining a second decibel value corresponding to the resonance frequency in the second frequency response curve;
in specific implementation, the target microphone respectively acquires a first frequency response curve corresponding to an in-ear state and a second frequency response curve corresponding to an out-of-ear state under a preset volume condition. And determining a first decibel value corresponding to the resonance frequency in the first frequency response curve, and determining a second decibel value corresponding to the resonance frequency in the second frequency response curve.
It can be understood that, because the wireless earphone transmits resonance with the ear canal at a preset frequency in the in-ear state and the coupling state of the earphone and the human ear, signals near the resonance frequency are strengthened, and the signals about the resonance frequency, which are received by the auxiliary microphone and transmitted by the loudspeaker, are stronger than those in the out-of-ear state in the in-ear state, the first decibel value here is greater than the second decibel value.
S304: and determining the preset value according to the first decibel value and the second decibel value.
Because the difference of the resonance frequency of the signals received by the target microphone and collected by the loudspeaker is large under the in-ear and out-ear states of the wireless earphone, namely the difference between the first decibel value and the second decibel value is large, the preset value can be selected between the first decibel value and the second decibel value. Preferably, an average value of the first decibel value and the second decibel value may be determined as the preset value.
In the following, a wireless headset control device provided in an embodiment of the present application is introduced, and a wireless headset control device described below and a wireless headset control method described above may be referred to each other.
Referring to fig. 5, a block diagram of a wireless headset control device according to an exemplary embodiment is shown, as shown in fig. 5, including:
an identifying module 501, configured to identify whether the wireless headset is in a box state; if not, sending a detection signal of a preset frequency range through a loudspeaker; wherein the preset frequency range covers a resonance frequency of the ear canal;
a first collecting module 502, configured to collect the detection signal through a target microphone under a preset volume condition, so as to obtain a decibel value corresponding to the resonance frequency of the detection signal; the target microphone is a microphone close to the loudspeaker in the communication microphone;
a first determining module 503, configured to determine that the wireless headset is in an in-ear state if the decibel value is greater than a preset value.
The embodiment of the application provides a wireless earphone controlling means, when wireless earphone outside the earphone box, send the detected signal who predetermines the frequency range through the speaker, gather through the conversation microphone that is close to the speaker under the volume condition of predetermineeing. Because the wireless earphone sends resonance with the auditory canal under the preset frequency in the in-ear state and the coupling state of the earphone and the human ear, the corresponding decibel value of the acquired detection signal under the preset frequency is larger than the preset value. Therefore, the wireless earphone control device provided by the embodiment of the application solves the problem that the infrared sensor is shielded to cause the mistaken identification of the wearing state when the earphone is in the hand or on the desktop, and improves the accuracy of the wireless earphone in-ear detection.
On the basis of the above embodiment, as a preferred implementation, the method further includes:
and the second judging module is used for judging that the wireless earphone is in an out-of-ear state if the decibel value is less than or equal to a preset value.
On the basis of the above embodiment, as a preferred implementation manner, the identifying module 501 specifically identifies whether the wireless headset is in a box state through a hall sensor; and if not, sending a detection signal with a preset frequency range through the loudspeaker.
On the basis of the foregoing embodiment, as a preferred implementation, the identification module 501 includes:
the in-ear detection unit is used for detecting the in-ear of the wireless earphone by using a sensor, and when the wireless earphone passes the in-ear detection, the step of sending a detection signal with a preset frequency range through a loudspeaker is executed; wherein the sensor comprises any one of an infrared sensor, a proximity sensor, and a pressure sensor.
On the basis of the foregoing embodiment, as a preferred implementation manner, the first acquiring module 502 is specifically a module that acquires a frequency response curve corresponding to the detection signal through a target microphone under a preset volume condition, and determines a decibel value corresponding to the resonant frequency in the frequency response curve.
On the basis of the above embodiment, as a preferred implementation, the method further includes:
a sending module, configured to send the detection signal through the speaker under a first environmental condition and a second environmental condition, respectively; wherein the first environmental condition is that the wireless headset is in an in-ear state, and the second environmental condition is that the wireless headset is in an out-of-ear state;
the second acquisition module is used for acquiring a second frequency response curve, corresponding to the second environmental condition, of a first frequency response curve, corresponding to the detection signal under the first environmental condition, through a target microphone under a preset volume condition;
a first determining module, configured to determine a first decibel value corresponding to the resonant frequency in the first frequency response curve, and determine a second decibel value corresponding to the resonant frequency in the second frequency response curve;
and the second determining module is used for determining the preset value according to the first decibel value and the second decibel value.
On the basis of the foregoing embodiment, as a preferred implementation manner, the second determining module specifically determines an average value of the first decibel value and the second decibel value as the preset value.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present application also provides a wireless headset, and referring to fig. 6, a structure diagram of a wireless headset 600 provided in an embodiment of the present application, as shown in fig. 6, may include a processor 11 and a memory 12. The wireless headset 600 may also include one or more of a multimedia component 13, an input/output (I/O) interface 14, and a communication component 15.
The processor 11 is configured to control the overall operation of the wireless headset 600, so as to complete all or part of the steps in the wireless headset control method. The memory 12 is used to store various types of data to support operation of the wireless headset 600, such as instructions for any application or method operating on the wireless headset 600, as well as application-related data, such as contact data, transceived messages, pictures, audio, video, and so forth. The Memory 12 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia component 13 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 12 or transmitted via the communication component 15. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 14 provides an interface between the processor 11 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication assembly 15 is used for wired or wireless communication between the wireless headset 600 and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so that the corresponding communication component 15 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the wireless headset 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described wireless headset control method.
In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions which, when executed by a processor, implement the steps of the above-described wireless headset control method. For example, the computer readable storage medium may be the memory 12 described above including program instructions that are executable by the processor 11 of the wireless headset 600 to perform the wireless headset control method described above.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A wireless headset control method, comprising:
identifying whether the wireless headset is in a box state; if not, sending a detection signal of a preset frequency range through a loudspeaker; wherein the preset frequency range covers a resonance frequency of the ear canal;
acquiring the detection signal through a target microphone under the condition of preset volume to obtain a decibel value corresponding to the resonance frequency of the detection signal; the target microphone is a microphone close to the loudspeaker in the communication microphone;
and if the decibel value is larger than a preset value, judging that the wireless earphone is in an in-ear state.
2. The wireless headset control method of claim 1, further comprising:
and if the decibel value is smaller than or equal to a preset value, judging that the wireless earphone is in an out-of-ear state.
3. The wireless headset control method of claim 1, wherein the identifying whether the wireless headset is in a box state comprises:
and identifying whether the wireless earphone is in a box state or not through a Hall sensor.
4. The wireless headset control method of claim 1, wherein before the sending the detection signal of the preset frequency range through the speaker, the method further comprises:
performing in-ear detection on the wireless earphone by using a sensor, and when the wireless earphone passes the in-ear detection, executing the step of sending a detection signal with a preset frequency range through a loudspeaker; wherein the sensor comprises any one of an infrared sensor, a proximity sensor, and a pressure sensor.
5. The method as claimed in any one of claims 1 to 4, wherein the acquiring the detection signal by a target microphone under a preset volume condition to obtain a decibel value corresponding to the resonance frequency of the detection signal comprises:
and acquiring a frequency response curve corresponding to the detection signal through a target microphone under the condition of preset volume, and determining a decibel value corresponding to the resonance frequency in the frequency response curve.
6. The wireless headset control method of claim 5, further comprising:
transmitting the detection signal through the speaker under a first environmental condition and a second environmental condition, respectively; wherein the first environmental condition is that the wireless headset is in an in-ear state, and the second environmental condition is that the wireless headset is in an out-of-ear state;
acquiring a second frequency response curve, corresponding to the second environmental condition, of a first frequency response curve, corresponding to the detection signal under the first environmental condition, through a target microphone under a preset volume condition;
determining a first decibel value corresponding to the resonance frequency in the first frequency response curve, and determining a second decibel value corresponding to the resonance frequency in the second frequency response curve;
and determining the preset value according to the first decibel value and the second decibel value.
7. The method of claim 6, wherein the determining the preset value according to the first decibel value and the second decibel value comprises:
and determining the average value of the first decibel value and the second decibel value as the preset value.
8. A wireless headset control device, comprising:
the identification module is used for identifying whether the wireless earphone is in a box state or not; if not, sending a detection signal of a preset frequency range through a loudspeaker; wherein the preset frequency range covers a resonance frequency of the ear canal;
the first acquisition module is used for acquiring the detection signal through a target microphone under the condition of preset volume to obtain a decibel value corresponding to the resonance frequency of the detection signal; the target microphone is a microphone close to the loudspeaker in the communication microphone;
and the first judging module is used for judging that the wireless earphone is in an in-ear state if the decibel value is greater than a preset value.
9. A wireless headset, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the wireless headset control method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the wireless headset control method according to any one of claims 1 to 7.
CN201911055265.0A 2019-10-31 2019-10-31 Wireless earphone control method and device, wireless earphone and storage medium Pending CN110677768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911055265.0A CN110677768A (en) 2019-10-31 2019-10-31 Wireless earphone control method and device, wireless earphone and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911055265.0A CN110677768A (en) 2019-10-31 2019-10-31 Wireless earphone control method and device, wireless earphone and storage medium

Publications (1)

Publication Number Publication Date
CN110677768A true CN110677768A (en) 2020-01-10

Family

ID=69085459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911055265.0A Pending CN110677768A (en) 2019-10-31 2019-10-31 Wireless earphone control method and device, wireless earphone and storage medium

Country Status (1)

Country Link
CN (1) CN110677768A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343534A (en) * 2020-03-02 2020-06-26 昆山众赢昌盛贸易有限公司 Wireless earphone in-ear detection method and wireless earphone
CN111698596A (en) * 2020-05-29 2020-09-22 青岛歌尔智能传感器有限公司 Earphone in-out box detection method, earphone box and readable storage medium
CN111866644A (en) * 2020-07-14 2020-10-30 歌尔科技有限公司 Bluetooth headset, detection method and device of Bluetooth headset and storage medium
CN112272346A (en) * 2020-11-27 2021-01-26 歌尔科技有限公司 In-ear detection method, earphone and computer readable storage medium
CN112492443A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Earphone control method, device, equipment and storage medium
CN112689232A (en) * 2020-12-22 2021-04-20 南京紫牛软件科技有限公司 Method and device for determining working state of earphone
CN112866892A (en) * 2020-12-23 2021-05-28 广东思派康电子科技有限公司 Device and method for using wearing detection
CN112887891A (en) * 2021-01-11 2021-06-01 维沃移动通信有限公司 Use state detection method and device and electronic equipment
CN112911487A (en) * 2021-02-09 2021-06-04 恒玄科技(上海)股份有限公司 In-ear detection method for wireless headset, wireless headset and storage medium
CN112911486A (en) * 2021-02-09 2021-06-04 恒玄科技(上海)股份有限公司 Wireless earphone, method for detecting in-ear state of wireless earphone and storage medium
CN113747299A (en) * 2021-08-24 2021-12-03 深圳市豪恩声学股份有限公司 Earphone and operation control method and system thereof
WO2022233308A1 (en) * 2021-05-07 2022-11-10 华为技术有限公司 Wearing detection method, wearable device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016155528A1 (en) * 2015-03-27 2016-10-06 华为技术有限公司 Method for detecting headset status, and terminal
CN109076279A (en) * 2018-07-17 2018-12-21 万魔声学科技有限公司 The method and system of the pleasant detection of earphone, earphone
CN109257674A (en) * 2018-09-28 2019-01-22 歌尔科技有限公司 A kind of wear condition detection method, device and the wireless headset of wireless headset
US20190273982A1 (en) * 2016-05-27 2019-09-05 Bugatone Ltd. Identifying an acoustic signal for a user based on a feature of an aural signal
CN110278509A (en) * 2019-07-26 2019-09-24 歌尔股份有限公司 A kind of wireless headset control method, device and wireless headset and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016155528A1 (en) * 2015-03-27 2016-10-06 华为技术有限公司 Method for detecting headset status, and terminal
US20190273982A1 (en) * 2016-05-27 2019-09-05 Bugatone Ltd. Identifying an acoustic signal for a user based on a feature of an aural signal
CN109076279A (en) * 2018-07-17 2018-12-21 万魔声学科技有限公司 The method and system of the pleasant detection of earphone, earphone
CN109257674A (en) * 2018-09-28 2019-01-22 歌尔科技有限公司 A kind of wear condition detection method, device and the wireless headset of wireless headset
CN110278509A (en) * 2019-07-26 2019-09-24 歌尔股份有限公司 A kind of wireless headset control method, device and wireless headset and storage medium

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343534A (en) * 2020-03-02 2020-06-26 昆山众赢昌盛贸易有限公司 Wireless earphone in-ear detection method and wireless earphone
CN111698596A (en) * 2020-05-29 2020-09-22 青岛歌尔智能传感器有限公司 Earphone in-out box detection method, earphone box and readable storage medium
CN111866644B (en) * 2020-07-14 2022-02-22 歌尔科技有限公司 Bluetooth headset, detection method and device of Bluetooth headset and storage medium
CN111866644A (en) * 2020-07-14 2020-10-30 歌尔科技有限公司 Bluetooth headset, detection method and device of Bluetooth headset and storage medium
CN112272346A (en) * 2020-11-27 2021-01-26 歌尔科技有限公司 In-ear detection method, earphone and computer readable storage medium
CN112492443A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Earphone control method, device, equipment and storage medium
CN112689232B (en) * 2020-12-22 2022-09-23 江苏紫米电子技术有限公司 Method and device for determining working state of earphone
CN112689232A (en) * 2020-12-22 2021-04-20 南京紫牛软件科技有限公司 Method and device for determining working state of earphone
CN112866892A (en) * 2020-12-23 2021-05-28 广东思派康电子科技有限公司 Device and method for using wearing detection
CN112887891A (en) * 2021-01-11 2021-06-01 维沃移动通信有限公司 Use state detection method and device and electronic equipment
CN112887891B (en) * 2021-01-11 2022-12-30 维沃移动通信有限公司 Use state detection method and device and electronic equipment
CN112911487A (en) * 2021-02-09 2021-06-04 恒玄科技(上海)股份有限公司 In-ear detection method for wireless headset, wireless headset and storage medium
CN112911486A (en) * 2021-02-09 2021-06-04 恒玄科技(上海)股份有限公司 Wireless earphone, method for detecting in-ear state of wireless earphone and storage medium
CN112911486B (en) * 2021-02-09 2023-08-25 恒玄科技(上海)股份有限公司 Wireless earphone, detection method of in-ear state of wireless earphone and storage medium
WO2022233308A1 (en) * 2021-05-07 2022-11-10 华为技术有限公司 Wearing detection method, wearable device and storage medium
CN113747299A (en) * 2021-08-24 2021-12-03 深圳市豪恩声学股份有限公司 Earphone and operation control method and system thereof
CN113747299B (en) * 2021-08-24 2024-05-14 深圳市豪恩声学股份有限公司 Earphone and operation control method and system thereof

Similar Documents

Publication Publication Date Title
CN110677768A (en) Wireless earphone control method and device, wireless earphone and storage medium
CN110139262B (en) Bluetooth communication control method and related product
WO2021016899A1 (en) Wireless earphone control method and apparatus, wireless earphone, and storage medium
CN105451111A (en) Earphone play control method and apparatus and terminal
CN108540900B (en) Volume adjusting method and related product
CN109982228B (en) Microphone fault detection method and mobile terminal
CN108763901B (en) Ear print information acquisition method and device, terminal, earphone and readable storage medium
CN109151211B (en) Voice processing method and device and electronic equipment
CN111491249B (en) Method and device for detecting in-ear state of earphone, earphone and storage medium
US10635388B2 (en) Sound effect processing method and mobile terminal
CN109151789B (en) Translation method, device and system and Bluetooth headset
US10582290B2 (en) Earpiece with tap functionality
WO2020019858A1 (en) Microphone hole clogging detection method and related products
CN110290441B (en) Wireless earphone control method and device, wireless earphone and storage medium
US11166113B2 (en) Method for operating a hearing system and hearing system comprising two hearing devices
US20150010177A1 (en) Hearing aid and method for controlling hearing aid
CN106888327B (en) Voice playing method and device
CN108848267B (en) Audio playing method and mobile terminal
CN111131951A (en) Wireless earphone positioning method, wireless earphone, electronic equipment and storage medium
CN112258809B (en) Loss detection method and device of wireless earphone and earphone
CN112013949A (en) Earphone wearing state determining method and device and earphone
CN109413556B (en) Equipment positioning method and device, earphone device and electronic equipment
CN107135305B (en) Message reminding method, device and terminal
CN110784797A (en) Wireless earphone control method and device, wireless earphone and storage medium
KR101475354B1 (en) Portable terminal having pressure sensor and method for measuring pressure thereof

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200110