CN110505547A - A kind of earphone wearing state detection method and earphone - Google Patents

A kind of earphone wearing state detection method and earphone Download PDF

Info

Publication number
CN110505547A
CN110505547A CN201810474154.2A CN201810474154A CN110505547A CN 110505547 A CN110505547 A CN 110505547A CN 201810474154 A CN201810474154 A CN 201810474154A CN 110505547 A CN110505547 A CN 110505547A
Authority
CN
China
Prior art keywords
earphone
pressure level
sound pressure
audio
audio signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810474154.2A
Other languages
Chinese (zh)
Other versions
CN110505547B (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.)
Shenzhen Rayleigh Acoustic Technology Ltd By Share Ltd
Original Assignee
Shenzhen Rayleigh Acoustic Technology Ltd By Share 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 Shenzhen Rayleigh Acoustic Technology Ltd By Share Ltd filed Critical Shenzhen Rayleigh Acoustic Technology Ltd By Share Ltd
Priority to CN201810474154.2A priority Critical patent/CN110505547B/en
Publication of CN110505547A publication Critical patent/CN110505547A/en
Application granted granted Critical
Publication of CN110505547B publication Critical patent/CN110505547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Headphones And Earphones (AREA)

Abstract

The present invention is suitable for ear phone technology field, provide a kind of earphone wearing state detection method and earphone, the earphone includes audio output device and audio input device, when the earphone wearing state detection method includes: that user wears the earphone, the first audio signal that the audio output device exports a fixed frequency is controlled;It controls the audio input device and receives the second audio signal;According to first audio signal and second audio signal, corresponding first sound pressure level of the first audio signal and corresponding second sound pressure level of second audio signal are obtained;Compare second sound pressure level reference sound intensity corresponding with first sound pressure level and arbitrarily downgrade and whether matches;The mismatch if second sound pressure level reference sound intensity corresponding with first sound pressure level is arbitrarily downgraded issues standby signal, to prompt the user not wear the earphone in place.The embodiment of the present invention can remind user to adjust the wearing position of earphone in time, improve auditory effect and audio experience.

Description

A kind of earphone wearing state detection method and earphone
Technical field
The invention belongs to ear phone technology field more particularly to a kind of earphone wearing state detection method and earphones.
Background technique
With the continuous development of ear phone technology and the continuous promotion of people's level of consumption, various types earphone emerges one after another, Demand of the people to earphone is also more and more diversified.Good earphone can eliminate interchannel noise, true to restore information source sound quality, for Bring good audio experience in family.After user wears earphone, if earphone is not worn in place, auditory effect decline will lead to, sternly The audio experience of user is reduced again.
Summary of the invention
In view of this, the embodiment of the invention provides earphone wearing state detection method and earphone, to solve the prior art Not the problem of middle earphone is not worn in place, be will lead to auditory effect decline, is seriously reduced the audio experience of user.
The first aspect of the embodiment of the present invention provides a kind of earphone wearing state detection method, and the earphone includes that audio is defeated Device and audio input device out, the earphone wearing state detection method include:
When user wears the earphone, the first audio letter that the audio output device exports a fixed frequency is controlled Number;
It controls the audio input device and receives the second audio signal;
According to first audio signal and second audio signal, first audio signal corresponding first is obtained Sound pressure level and corresponding second sound pressure level of second audio signal;
Compare second sound pressure level reference sound intensity corresponding with first sound pressure level and arbitrarily downgrade and whether matches;
The mismatch if second sound pressure level reference sound intensity corresponding with first sound pressure level is arbitrarily downgraded issues standby signal, To prompt the user not wear the earphone in place.
The second aspect of the embodiment of the present invention provides a kind of earphone wearing state detection system, and the earphone includes audio Output device and audio input device, the earphone wearing state detection system include:
Audio output control module when wearing the earphone for user, controls the audio output device and exports one First audio signal of fixed frequency;
Audio input control module receives the second audio signal for controlling the audio input device;
Sound pressure level data acquisition module, for obtaining institute according to first audio signal and second audio signal State corresponding first sound pressure level of the first audio signal and corresponding second sound pressure level of second audio signal;
Comparison module, for second sound pressure level reference sound intensity corresponding with first sound pressure level arbitrarily downgrade whether Match;
Cue module, if arbitrarily downgrading mismatch for second sound pressure level reference sound intensity corresponding with first sound pressure level, Standby signal is issued, to prompt the user not wear the earphone in place.
The third aspect of the embodiment of the present invention provides a kind of earphone comprising audio output device, audio input device with And the processor being connect with the audio output device and the audio input device, the processor is for executing above-mentioned ear Machine wearing state detection method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage medium Matter is stored with computer program, and the computer program realizes above-mentioned earphone wearing state detection method when being executed by processor The step of.
5th aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in institute The computer program that can be run in memory and on the processor is stated, the processor executes real when the computer program The step of existing above method.
The first audio that the embodiment of the present invention passes through output fixed frequency in the ear when user wears earphone to user Signal simultaneously receives the audio signal in user's ear, is believed according to the first audio signal of fixed frequency and the second audio received Number, obtain corresponding first sound pressure level of the first audio signal and corresponding second sound pressure level of second audio signal, and the Two sound pressure levels reference sound intensity corresponding with first sound pressure level issues standby signal when arbitrarily downgrading and mismatching, to prompt user not by ear Machine wears the wearing position that user can be reminded to adjust earphone in time in place, improves auditory effect and audio experience.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the flow diagram for the earphone wearing state detection method that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of earphone wearing state detection method provided by Embodiment 2 of the present invention;
Fig. 3 is the structural schematic diagram for the earphone wearing state detection system that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for the earphone that the embodiment of the present invention four provides;
Fig. 5 is the schematic diagram for the terminal device that the embodiment of the present invention five provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
Description and claims of this specification and term " includes " and their any deformations in above-mentioned attached drawing, meaning Figure, which is to cover, non-exclusive includes.Such as process, method or system comprising a series of steps or units, product or equipment do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include the other step or units intrinsic for these process, methods, product or equipment.In addition, term " first ", " second " and " third " etc. is for distinguishing different objects, not for description particular order.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
The present embodiment provides a kind of earphone wearing state detection methods, applied to the ear with data processing and control function Machine or arbitrarily with earphone interface, pluggable earphone and with data processing and control function terminal device, for example, hand Machine, tablet computer, personal digital assistant, PC (Personal Computer, personal computer) user terminal, radio, speaker Deng.
Earphone described in the present embodiment includes audio output device and audio input device.
In a particular application, audio output device can be the loudspeaker or loudspeaker being set in the earplug or earmuff of earphone , audio input device can be the microphone being set in same earplug or earmuff with audio output device.
In one embodiment, the earphone further includes processor, the processor and the audio output device and institute The connection of audio input device is stated, the processor is for executing the earphone wearing state detection method.
In a particular application, alleged processor can be central processing unit (Central Processing Unit, CPU), it can also be other general processors, digital signal processor (Digital Signal Processor, DSP), dedicated Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor are patrolled Collect device, discrete hardware components etc..General processor can be microprocessor or the processor be also possible to it is any conventional Processor etc..
As shown in Figure 1, earphone wearing state detection method provided by the present embodiment includes:
Step S101 when user wears the earphone, controls the audio output device exports a fixed frequency the One audio signal.
In the present embodiment, user, which wears the earphone and specifically refers to user, is set to its ear for the earplug of earphone or earmuff Piece, rather than it is worn on other limbs of user's body.
In a particular application, the first audio signal of fixed frequency can be arbitrary meaning, without meaning, single syllable or The duration of the audio signal of multisyllable, the audio signal can be set according to actual needs.In one embodiment, In order to improve the accuracy of testing result, the duration for setting the first audio signal of fixed frequency is greater than 1S and including at least Two syllables.
In one embodiment, before step S101, comprising:
Control the earphone booting.
In a particular application, earphone booting, ear can be specifically triggered by being set to push button or the switch of earphone Machine can also power on booting automatically after being plugged into the terminal device of receiver J-Horner.
In one embodiment, earphone can carry rechargeable battery, and earphone is plugged into after terminal device, pass through terminal Equipment is that the battery of earphone charges, and earphone directly can also be earphone power supply by terminal device without battery.
In one embodiment, optional frequency of the fixed frequency between 20Hz~800Hz.
Step S102 controls the audio input device and receives the second audio signal.
In the present embodiment, the second audio signal specifically refers to: audio output device output the first audio signal with After being propagated in air in the ear at family, the audio signal that is received by audio input device.
Step S103 obtains first audio signal according to first audio signal and second audio signal Corresponding first sound pressure level and corresponding second sound pressure level of second audio signal.
In one embodiment, step S103 includes:
According to first audio signal, the intensity of sound of first audio signal is obtained;
According to the intensity of sound of first audio signal, the acoustic pressure of first audio signal is obtained;
According to the acoustic pressure of first audio signal, the sound pressure level of first audio signal is obtained;
According to second audio signal, the intensity of sound of second audio signal is obtained;
According to the intensity of sound of second audio signal, the acoustic pressure of second audio signal is obtained;
According to the acoustic pressure of second audio signal, the sound pressure level of second audio signal is obtained.
In a particular application, acoustic pressure (p) square=intensity of sound (I) × Media density (ρ) × velocity of sound (C);
Wherein, the unit of intensity of sound is W/m2, and Media density unit is kg/m3, and the unit of the velocity of sound is m/s.
In the present embodiment, the propagation medium of sound is air, and the velocity of sound refers to the speed that sound is propagated in air.
In a particular application, sound pressure level (SPL)=20LOG (10) [p (e)/p (ref)];
Wherein, p (e) is the acoustic pressure of audio signal, and p (ref) is aerial reference sound pressure.
Step S104, whether second sound pressure level reference sound intensity corresponding with first sound pressure level is arbitrarily downgraded matches.
In the present embodiment, reference sound intensity arbitrarily downgrade refer to user by earphone wear in place when, the audio output device of earphone is defeated After there is one out the audio signal of the fixed frequency of certain sound pressure level to propagate in the air of the ear of user, by audio The corresponding sound pressure level of audio signal that input device receives.
In a particular application, can be in advance when user to wear earphone in place, the audio output device for controlling earphone is defeated The audio signal of different sound pressure levels out, and the audio input device for controlling earphone receives audio signal and obtains audio input device The sound pressure level of received audio signal, so that the audio signal for obtaining the different sound pressure levels exported from audio output device is corresponding Different reference sound intensities are arbitrarily downgraded.
In one embodiment, include: before step S104
Pre-establish first sound pressure level and reference sound intensity arbitrarily downgrade between corresponding relationship;
According to the corresponding relationship, searches reference sound intensity corresponding with first sound pressure level and arbitrarily downgrade.
In one embodiment, step S104 includes:
Whether compare difference that second sound pressure level reference sound intensity corresponding with first sound pressure level is arbitrarily downgraded default poor It is worth in range;
If the difference within the scope of preset difference value, determines second sound pressure level base corresponding with first sound pressure level Quasi- sound pressure level matching, the user wear the earphone in place;
If the difference not within the scope of preset difference value, determines that second sound pressure level is corresponding with first sound pressure level Reference sound intensity is arbitrarily downgraded mismatch.
In a particular application, preset difference value range can be configured according to actual needs, for example, can be by preset difference value Range is set as -5DB~5DB, that is, think the second sound pressure level and reference sound intensity arbitrarily downgrade between difference within the scope of ± 5DB, all think The two be it is matched, determine user by earphone wear in place.
In a particular application, in order to guarantee accuracy that reference sound intensity is arbitrarily downgraded, when user can be worn earphone in place The second acquired sound pressure level saves as reference acoustic pressure grade data, or the reference acoustic pressure grade data saved are updated to user The second acquired sound pressure level when earphone being worn in place.
Step S105 issues standby signal, if the sound pressure level data and reference acoustic pressure grade data mismatch to prompt User is stated not wear the earphone in place.
In one embodiment, the standby signal includes at least one of audio signal, optical signal or vibration signal.
In a particular application, it signal can be will be prompted to according to actual needs is set as any type of play prompt facility Signal, which can be issued by earphone, can also be issued by the terminal device of earphone institute grafting, when standby signal packet When including optical signal or vibration signal and being issued by earphone, earphone further includes corresponding luminescent device or vibrating motor.
In a particular application, in order to improve detection efficiency, first audio an of fixed frequency can be only exported for the first time Whether signal is arbitrarily downgraded with to compare the second sound pressure level reference sound intensity corresponding with the first sound pressure level and is matched, if mismatching, artificial user Earphone is not worn in place, and issues standby signal;If matching, can normal output audio signal.
Embodiment two
As shown in Fig. 2, in the present embodiment, the earphone wearing state detection method in embodiment one further include:
Step S106, the matching if second sound pressure level reference sound intensity corresponding with first sound pressure level is arbitrarily downgraded control institute The first audio signal that audio output device is sequentially output multiple and different fixed frequencies is stated, and enters step S102.
In a particular application, in order to improve the accuracy of testing result, the first of a fixed frequency point is exported in first time After audio signal, the matching if the second sound pressure level reference sound intensity corresponding with the first sound pressure level is arbitrarily downgraded can also further successively The first audio signal of multiple and different fixed frequencies is exported, further to detect the second sound pressure level base corresponding with the first sound pressure level Whether quasi- sound pressure level matches, if being sequentially output after the first audio signal of multiple and different fixed frequencies, the second sound pressure level and the The corresponding reference sound intensity of one sound pressure level, which is arbitrarily downgraded, to be matched, then it is assumed that user wears earphone in place;Otherwise it is assumed that user is not by ear Machine is worn in place.
In one embodiment, the earphone wearing state detection method in embodiment one or embodiment two further include:
At interval of preset time period, return step S101.
In a particular application, the primary earphone wearing state detection method can be executed at interval of preset time period, with Whether tracing detection user wears earphone in place, and when user does not wear earphone in place, issues standby signal in time, mention High auditory effect and user experience.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Embodiment three
The present embodiment provides a kind of earphone wearing state detection systems, for executing the ear in embodiment one or embodiment two Machine wearing state detection method, the system can be the earphone with data processing and control function or arbitrarily have ear Software program system in machine interface, pluggable earphone and terminal device with data processing and control function.The present embodiment The earphone is earphone described in embodiment one.
As shown in figure 3, earphone wearing state detection system 100 provided in this embodiment includes:
Audio output control module 101 when wearing the earphone for user, controls the audio output device output one First audio signal of a fixed frequency;
Audio input control module 102 receives the second audio signal for controlling the audio input device;
Sound pressure level data acquisition module 103, for obtaining according to first audio signal and second audio signal Corresponding first sound pressure level of first audio signal and corresponding second sound pressure level of second audio signal;
Comparison module 104, arbitrarily downgrading for second sound pressure level reference sound intensity corresponding with first sound pressure level is No matching;
Cue module 105, if not arbitrarily downgrading not for second sound pressure level reference sound intensity corresponding with first sound pressure level Match, issue standby signal, to prompt the user not wear the earphone in place.
In one embodiment, the audio output control module is also used to:
The matching if second sound pressure level reference sound intensity corresponding with first sound pressure level is arbitrarily downgraded, controls the audio output Device is sequentially output the first audio signal of multiple and different fixed frequencies, and returns to audio input control module.
In one embodiment, the earphone wearing state detection system further include:
Starting module, for controlling the earphone booting.
In a particular application, the starting module specifically can be the push button or switch for being set to earphone.
Example IV
As shown in figure 4, earphone 200 is earphone described in embodiment one, this reality the present embodiment provides a kind of earphone 200 It applies in example, illustratively showing earphone 200 includes audio output device 201, audio input device 202 and and audio output device The processor 203 that part 201 and audio input device 202 connect, processor 203 is for executing described in embodiment one or embodiment two Earphone wearing state detection method.
In Fig. 4, solid line with the arrow indicates wired connection, and dotted line with the arrow indicates that wireless signal transmission, arrow direction indicate Signal transmission direction.
In a particular application, when earphone includes push button, rechargeable battery or switch, touch-control included by earphone is pressed Button, rechargeable battery or switch are connect with processor.
Embodiment five
The present embodiment provides a kind of terminal devices 300 comprising: it processor 301, memory 302 and is stored in described In memory 302 and the computer program 303 that can run on the processor 301, such as earphone wearing state detect program. The processor 301 is realized when executing the computer program 303 in above-mentioned each earphone wearing state detection method embodiment The step of, such as step S101 to S105 shown in FIG. 1.Alternatively, when the processor 301 executes the computer program 303 Realize the function of each module in above-mentioned each Installation practice, such as the function of module 101 to 105 shown in Fig. 3.
Illustratively, the computer program 303 can be divided into one or more modules, one or more of Module is stored in the memory 302, and is executed by the processor 301, to complete the present invention.It is one or more of Module can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer Implementation procedure of the program 303 in the terminal device 300.For example, can be divided into audio defeated for the computer program 303 Control module out, audio input control module, sound pressure level data acquisition module, comparison module, cue module, each specific function of module It can be as follows:
Audio output control module when wearing the earphone for user, controls the audio output device and exports one First audio signal of fixed frequency;
Audio input control module receives the second audio signal for controlling the audio input device;
Sound pressure level data acquisition module, for obtaining institute according to first audio signal and second audio signal State corresponding first sound pressure level of the first audio signal and corresponding second sound pressure level of second audio signal;
Comparison module, for second sound pressure level reference sound intensity corresponding with first sound pressure level arbitrarily downgrade whether Match;
Cue module, if arbitrarily downgrading mismatch for second sound pressure level reference sound intensity corresponding with first sound pressure level, Standby signal is issued, to prompt the user not wear the earphone in place.
The terminal device 300 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The terminal device may include, but be not limited only to, processor 301, memory 302.It will be understood by those skilled in the art that Figure 30 0 be only terminal device 300 example, do not constitute the restriction to terminal device 300, may include than illustrate it is more or Less component perhaps combines certain components or different components, such as the terminal device can also include input and output Equipment, network access equipment, bus etc..
Alleged processor 301 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 302 can be the internal storage unit of the terminal device 300, such as terminal device 300 is hard Disk or memory.The memory 302 is also possible to the External memory equipment of the terminal device 300, such as the terminal device The plug-in type hard disk being equipped on 300, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 302 can also both include the terminal The internal storage unit of equipment 300 also includes External memory equipment.The memory 302 for store the computer program with And other programs and data needed for the terminal device.The memory 302 can be also used for temporarily storing exported or The data that person will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment side All or part of the process in method can also instruct relevant hardware to complete, the computer by computer program Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each The step of a embodiment of the method.Wherein, the computer program includes computer program code, the computer program code It can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can With include: can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer The content that readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as In certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and telecommunications letter Number.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of earphone wearing state detection method, which is characterized in that the earphone includes audio output device and audio input Device, the earphone wearing state detection method include:
When user wears the earphone, the first audio signal that the audio output device exports a fixed frequency is controlled;
It controls the audio input device and receives the second audio signal;
According to first audio signal and second audio signal, corresponding first acoustic pressure of first audio signal is obtained Grade the second sound pressure level corresponding with second audio signal;
Compare second sound pressure level reference sound intensity corresponding with first sound pressure level and arbitrarily downgrade and whether matches;
The mismatch if second sound pressure level reference sound intensity corresponding with first sound pressure level is arbitrarily downgraded issues standby signal, to mention Show that the user does not wear the earphone in place.
2. earphone wearing state detection method as described in claim 1, which is characterized in that earphone wearing state detection side Method further include:
The matching if second sound pressure level reference sound intensity corresponding with first sound pressure level is arbitrarily downgraded, controls the audio output device It is sequentially output the first audio signal of multiple and different fixed frequencies, and enters and controls the second audio of the audio input device reception The step of signal.
3. earphone wearing state detection method as described in claim 1, which is characterized in that second sound pressure level and institute It states the corresponding reference sound intensity of the first sound pressure level and arbitrarily downgrades and whether match, comprising:
Whether compare difference that second sound pressure level reference sound intensity corresponding with first sound pressure level is arbitrarily downgraded in preset difference value model In enclosing;
If the difference within the scope of preset difference value, determines second sound pressure level reference sound intensity corresponding with first sound pressure level It arbitrarily downgrades matching, the user wears the earphone in place;
If the difference not within the scope of preset difference value, determines second sound pressure level benchmark corresponding with first sound pressure level Sound pressure level mismatches.
4. earphone wearing state detection method as described in claim 1, which is characterized in that the standby signal includes audio letter Number, at least one of optical signal or vibration signal.
5. earphone wearing state detection method as described in claim 1, which is characterized in that it is defeated to control the audio output device Out before the first audio signal of a fixed frequency, comprising:
Control the earphone booting.
6. such as earphone wearing state detection method described in any one of claim 1 to 5, which is characterized in that the fixed frequency Optional frequency between 20Hz~800Hz.
7. such as earphone wearing state detection method described in any one of claim 1 to 5, which is characterized in that the earphone also wraps Processor is included, the processor is connect with the audio output device and the audio input device, and the processor is for holding The row earphone wearing state detection method.
8. a kind of earphone wearing state detection system, which is characterized in that the earphone includes audio output device and audio input Device, the earphone wearing state detection system include:
Audio output control module when wearing the earphone for user, controls the audio output device and exports a fixation First audio signal of frequency;
Audio input control module receives the second audio signal for controlling the audio input device;
Sound pressure level data acquisition module, for according to first audio signal and second audio signal, obtaining described the Corresponding first sound pressure level of one audio signal and corresponding second sound pressure level of second audio signal;
Whether comparison module is arbitrarily downgraded for second sound pressure level reference sound intensity corresponding with first sound pressure level and is matched;
Cue module issues if arbitrarily downgrading mismatch for second sound pressure level reference sound intensity corresponding with first sound pressure level Standby signal, to prompt the user not wear the earphone in place.
9. a kind of earphone, which is characterized in that including audio output device, audio input device and with the audio output device The processor connected with the audio input device, the processor require 1 to 7 described in any item earphones for perform claim Wearing state detection method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization claim 1 to 7 described in any item earphone wearing states detection side when the computer program is executed by processor The step of method.
CN201810474154.2A 2018-05-17 2018-05-17 Earphone wearing state detection method and earphone Active CN110505547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810474154.2A CN110505547B (en) 2018-05-17 2018-05-17 Earphone wearing state detection method and earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810474154.2A CN110505547B (en) 2018-05-17 2018-05-17 Earphone wearing state detection method and earphone

Publications (2)

Publication Number Publication Date
CN110505547A true CN110505547A (en) 2019-11-26
CN110505547B CN110505547B (en) 2021-03-19

Family

ID=68585085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810474154.2A Active CN110505547B (en) 2018-05-17 2018-05-17 Earphone wearing state detection method and earphone

Country Status (1)

Country Link
CN (1) CN110505547B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988692A (en) * 2020-08-07 2020-11-24 歌尔科技有限公司 Earphone wearing state detection method and device, earphone and storage medium
CN113473280A (en) * 2021-05-17 2021-10-01 安克创新科技股份有限公司 Earphone and wearing state detection method thereof
CN113475094A (en) * 2020-01-29 2021-10-01 谷歌有限责任公司 Different head detection in headphones
WO2022143268A1 (en) * 2020-12-30 2022-07-07 华为技术有限公司 Position recognition method and earphone device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101410900A (en) * 2006-03-24 2009-04-15 皇家飞利浦电子股份有限公司 Device for and method of processing data for a wearable apparatus
CN103581796A (en) * 2012-08-02 2014-02-12 索尼公司 Headphone device, wearing state detection device, and wearing state detection method
CN104507030A (en) * 2014-12-16 2015-04-08 芜湖乐锐思信息咨询有限公司 Voice recognition control method for intelligent wearing equipment
US20170125037A1 (en) * 2015-11-02 2017-05-04 Samsung Electronics Co., Ltd. Electronic device and method for recognizing speech
CN106982403A (en) * 2017-05-25 2017-07-25 深圳市金立通信设备有限公司 Detection method and terminal that a kind of earphone is worn
CN107920298A (en) * 2018-01-03 2018-04-17 京东方科技集团股份有限公司 A kind of earphone, headset control method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101410900A (en) * 2006-03-24 2009-04-15 皇家飞利浦电子股份有限公司 Device for and method of processing data for a wearable apparatus
CN103581796A (en) * 2012-08-02 2014-02-12 索尼公司 Headphone device, wearing state detection device, and wearing state detection method
CN104507030A (en) * 2014-12-16 2015-04-08 芜湖乐锐思信息咨询有限公司 Voice recognition control method for intelligent wearing equipment
US20170125037A1 (en) * 2015-11-02 2017-05-04 Samsung Electronics Co., Ltd. Electronic device and method for recognizing speech
CN106982403A (en) * 2017-05-25 2017-07-25 深圳市金立通信设备有限公司 Detection method and terminal that a kind of earphone is worn
CN107920298A (en) * 2018-01-03 2018-04-17 京东方科技集团股份有限公司 A kind of earphone, headset control method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113475094A (en) * 2020-01-29 2021-10-01 谷歌有限责任公司 Different head detection in headphones
CN113475094B (en) * 2020-01-29 2024-04-19 谷歌有限责任公司 Different head detection in headphones
CN111988692A (en) * 2020-08-07 2020-11-24 歌尔科技有限公司 Earphone wearing state detection method and device, earphone and storage medium
WO2022027899A1 (en) * 2020-08-07 2022-02-10 歌尔股份有限公司 Headphone wearing state detection method, device, headphone, and storage medium
CN111988692B (en) * 2020-08-07 2022-11-15 歌尔科技有限公司 Earphone wearing state detection method and device, earphone and storage medium
WO2022143268A1 (en) * 2020-12-30 2022-07-07 华为技术有限公司 Position recognition method and earphone device
CN113473280A (en) * 2021-05-17 2021-10-01 安克创新科技股份有限公司 Earphone and wearing state detection method thereof
CN113473280B (en) * 2021-05-17 2022-11-29 安克创新科技股份有限公司 Earphone and wearing state detection method thereof

Also Published As

Publication number Publication date
CN110505547B (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN110505547A (en) A kind of earphone wearing state detection method and earphone
CN106255003B (en) Audio processor in the operation control method and terminal device of earphone noise reduction
US9356658B2 (en) Method and apparatus for controlling and powering an electronic accessory from a mobile digital device
EP1908327B1 (en) Electronic interfacing with a head-mounted device
US20160183001A1 (en) Sharing custom audio profile instructions
CN108810693A (en) Apparatus control method and Related product
CN104951273B (en) A kind of information processing method, electronic equipment and system
CN107205187B (en) A kind of method, apparatus and terminal device based on earphone control music
CN106604167B (en) A kind of method and mobile terminal of adjust automatically earphone left and right acoustic channels output volume
CN108521521A (en) volume adjusting method, mobile terminal and computer readable storage medium
CN104159173A (en) Earphone, earphone application method, earphone control method and device as well as mobile terminal
CN105245993A (en) Automatic earphone volume adjusting method and system, and smart earphone
CN108966067A (en) Control method for playing back and Related product
CN207321485U (en) Bone conduction wireless earphone
CN105120063A (en) Volume prompting method of input voice and electronic device
CN108737923A (en) Volume adjusting method and related product
CN106878915B (en) Control method, device and the playback equipment and mobile terminal of playback equipment
CN107105344A (en) A kind of based reminding method, device and terminal
CN204795532U (en) Earphone of making an uproar falls in initiative
CN109121059A (en) Loudspeaker plug-hole detection method and Related product
CN113096677B (en) Intelligent noise reduction method and related equipment
CN108289232A (en) A kind of control method of playback equipment, terminal device and storage medium
CN109391869A (en) A kind of earphone and ear canal judge cut-in method
CN205491035U (en) Intelligent home earphone
CN109240642A (en) A kind of method for regulation of sound volume of terminal device, device and terminal device

Legal Events

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