CN102325283B - Earphone, user equipment and audio data output method - Google Patents

Earphone, user equipment and audio data output method Download PDF

Info

Publication number
CN102325283B
CN102325283B CN201110212008.0A CN201110212008A CN102325283B CN 102325283 B CN102325283 B CN 102325283B CN 201110212008 A CN201110212008 A CN 201110212008A CN 102325283 B CN102325283 B CN 102325283B
Authority
CN
China
Prior art keywords
earphone
audio data
loud speaker
user equipment
current voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110212008.0A
Other languages
Chinese (zh)
Other versions
CN102325283A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110212008.0A priority Critical patent/CN102325283B/en
Publication of CN102325283A publication Critical patent/CN102325283A/en
Application granted granted Critical
Publication of CN102325283B publication Critical patent/CN102325283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses a kind of earphone, user equipment and audio data output methods.Wherein, which includes:Loud speaker and A/D samplers, wherein A/D samplers are used to carry out the current voltage that sampling obtains loud speaker by the present impedance to loud speaker, and current voltage is fed back to the master controller for the user equipment being connect with earphone.By the invention it is possible to realize the free switching for realizing sound channel in different user use environment.

Description

Earphone, user equipment and audio data output method
Technical field
The present invention relates to the communications fields, in particular to a kind of earphone, user equipment and audio data output method.
Background technology
Currently, the application of personal portable (for example, multimedia hub, smart mobile phone etc.) is more and more extensive, using During these equipment, wired earphone becomes essential attachment.For example, as shown in Figure 1, for audio data by having Line earphone plays, and generates audio data by master controller (audio data sources) first and by the work(for being sent to earphone of audio data Rate amplifier after power amplifier amplifies audio data, re-sends to the loud speaker of earphone, to convert electrical signals to sound Signal so that human ear is heard.
But during the use of wired earphone, there are some inconveniences, for example, user in session when, Wired earphone is inserted on portable equipment, and the receiver of earphone is also placed in ear, but when cell phone incoming call, sound still can be from The loud speaker of mobile phone exports, and can influence the process of meeting in this way;For another example, user inserted earphone and listened to music originally, but if handle Mobile phone has been put on table, it is desirable to could be realized with loud speaker when listening to music, must just extract earphone.
It the problem of for free switching use pattern is unable to when using wired earphone in the related technology, not yet proposes at present Effective solution scheme.
Invention content
The main purpose of the present invention is to provide a kind of earphone, user equipment and audio data output methods, at least to solve The certainly above problem.
According to an aspect of the invention, there is provided a kind of earphone, including:Loud speaker and A/D samplers, wherein A/D Sampler is used to carry out the current voltage that sampling obtains loud speaker by the present impedance to loud speaker, and current voltage is fed back to The master controller for the user equipment being connect with earphone.
Preferably, which further includes:Power amplifier, for being amplified to the audio data from master controller, And amplified audio data is sent to loud speaker.
Preferably, it is 1 that the number of loud speaker, which is the number of 1, A/D samplers,.
Preferably, it is 2 that the number of loud speaker, which is the number of 2, A/D samplers,.
According to another aspect of the present invention, a kind of user equipment is provided, including:Master controller, main loudspeaker and power Profit requires any one of 1 to 4 earphone, wherein the current electricity of the loud speaker for the earphone that master controller is used to be fed back according to earphone Pressure determines and exports the audio data of user equipment through earphone or main loudspeaker.
Preferably, master controller includes:Receiving module, the current voltage for receiving earphone feedback;Computing module is used for Calculate the voltage difference of the rated voltage of current voltage and earphone;Comparison module, for comparing voltage difference and threshold value, such as Fruit voltage difference is more than threshold value, then triggers handover module and audio data is sent to earphone, otherwise, then trigger handover module by sound Frequency evidence is sent to main loudspeaker;Handover module, for audio data to be sent to earphone or main loudspeaker.
According to another aspect of the present invention, a kind of audio data output method is provided, above-mentioned user equipment is applied to, Including:The current voltage of the loud speaker of test earphone;According to the rated voltage of current voltage and the loud speaker of earphone, determination will be used The audio data of family equipment is exported through the main loudspeaker of earphone or user equipment.
Preferably, it according to the rated voltage of current voltage and the loud speaker of earphone, determines the audio data of user equipment Include through the output of the main loudspeaker of earphone or user equipment:Calculate the voltage difference of the rated voltage of current voltage and earphone;It will Voltage difference is compared with threshold value, if voltage difference is more than threshold value, audio data is exported through earphone, otherwise, by audio Data are exported through main loudspeaker.
Preferably, the current voltage of the loud speaker of test earphone includes:By the A/D samplers that are arranged in earphone to ear The present impedance of the loud speaker of machine is sampled, and the current voltage of the loud speaker of earphone is obtained.
Through the invention, the change of the speaker resistor using A/D samplers are arranged in conventional earphone and then according to earphone Change and judge whether the loud speaker of earphone is located at the mode in the ear of people, solving in the prior art cannot be to the defeated of audio data Go out the problem of channel cannot switch, and then has achieved the effect that avoid complicated handover operation, improved user experience.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the system structure diagram exported through earphone according to the audio data of the relevant technologies;
Fig. 2 is the structural schematic diagram of earphone according to the ... of the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of user equipment according to the ... of the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of user equipment according to the preferred embodiment of the invention;
Fig. 5 is the flow chart of audio data output method according to the ... of the embodiment of the present invention.
Specific implementation mode
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
Fig. 2 is the structural schematic diagram of earphone according to the ... of the embodiment of the present invention, as shown in Fig. 2, the earphone includes mainly:It raises one's voice Device 22 and A/D samplers 24, wherein A/D samplers 24 are used to carry out sampling acquisition by the present impedance to loud speaker 22 The current voltage of loud speaker 22, the master controller 1 that current voltage is fed back to the user equipment being connect with earphone (please also refer to Fig. 3).
In a preferred embodiment of the embodiment of the present invention, which can also include:Power amplifier 26, is used for Audio data from master controller 1 is amplified, and amplified audio data is sent to loud speaker 22.
In embodiments of the present invention, it is preferable that the number of loud speaker 22 can be 1, accordingly, of A/D samplers 24 Number is also required to be 1;Certainly, in most cases, the number of the loud speaker 22 of earphone is 2, accordingly, of A/D samplers 24 Number samples the present impedance of each loud speaker 22 respectively to need 2.
Resonance is will produce when being placed in an enclosure space generally, due to the loud speaker of earphone, leads to the impedance of loud speaker Become larger, and then its operating voltage is made to be more than the operating voltage at non-close space, that is to say, that when earphone is put into ear It waits, ear just constitutes an enclosure space relative to earphone, at this point, the operating voltage of earphone is more than earphone not in ear Operating voltage.Master controller 1 is according to the current voltage of loud speaker 22, it can be determined that and whether earphone is currently put into ear, from And it can determine and the audio data of user equipment is exported via earphone or is exported via main loudspeaker (i.e. outside speaker).
Fig. 3 is the structural schematic diagram of user equipment according to the ... of the embodiment of the present invention, as shown in figure 3, the user equipment is main Including:Master controller 1, main loudspeaker 3 and above-mentioned earphone, wherein the earphone that master controller 1 is used to be fed back according to earphone The current voltage of loud speaker 22, determination export the audio data of user equipment through earphone or main loudspeaker 3.
In a preferred embodiment of the embodiment of the present invention, as shown in figure 4, master controller 1 includes:Receiving module 12, the current voltage for receiving earphone feedback;Computing module 14, the electricity of the rated voltage for calculating current voltage and earphone Pressure difference;Comparison module 16, if voltage difference is more than threshold value, triggers switching for comparing voltage difference and threshold value Audio data is sent to earphone by module 18, otherwise, then triggers handover module 18 and audio data is sent to main loudspeaker 3;It cuts Block 18 is changed the mold, for audio data to be sent to earphone or main loudspeaker 3.
For example, when audio data is generated by master controller 1, after then being amplified by power amplifier 26, into earphone Loud speaker 22 (can be left speaker and right loud speaker), the impedance of loud speaker at this time becomes larger, and leads to the change of its operating voltage Change, obtains current voltage by two A/D samplers 24, master controller 1 judges earphone according to the sampled value of A/D samplers 24 Whether in ear (enclosure space), as long as there is the voltage change of a loud speaker in A/D samplers 24 larger, then illustrate ear Machine is in ear, then sound continues through earphone output, and otherwise main control 1 switches sound passage to main loudspeaker 3.
Fig. 5 is the flow chart of audio data output method according to the ... of the embodiment of the present invention, and this method can be by above-mentioned User equipment or earphone are realized.As shown in figure 5, this method mainly includes the following steps that (step S502- step S504):
Step S502, the current voltage of the loud speaker of test earphone;
It in embodiments of the present invention, can be by the A/D samplers that are arranged in earphone to the current of the loud speaker of earphone Impedance is sampled, and the current voltage of the loud speaker of earphone is obtained.
Step S504 is determined according to the rated voltage of current voltage and the loud speaker of earphone by the audio number of user equipment According to the main loudspeaker output through earphone or user equipment.
In embodiments of the present invention, the voltage difference of the rated voltage of current voltage and earphone can be calculated first, then will Voltage difference is compared with threshold value, if voltage difference is more than threshold value, audio data is exported through earphone, otherwise, by audio Data are exported through main loudspeaker.
Certainly, it is also not necessarily limited to this, the sum of rated voltage and above-mentioned threshold value can also be used as to fiducial value, it is upper by what is detected It states current voltage to be directly compared with the fiducial value, so that it is determined that the equipment of output audio data.
Using the user equipment of above-mentioned earphone including the earphone and applied to the earphone, the audio number of the user equipment According to output method, whether can be located in the ear of people according to the loud speaker of the variation judgement earphone of the speaker resistor of earphone Mode solves the problems, such as in the prior art cannot to switch the output channel of audio data, realizes sound channel Intelligence switching.
It can be seen from the above description that the present invention realizes following technique effect:Take full advantage of modularization knot Structure, using the intrinsic electrical characteristic of loud speaker, to realize the application scenarios of automatic test earphone, to carry out voice-frequency channel Switching, greatly improves the convenience that earphone uses, and then has reached and avoided complicated handover operation, improved user experience Effect.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be with different from shown in sequence execution herein The step of going out or describing, either they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (7)

1. a kind of earphone, which is characterized in that including:Loud speaker and A/D samplers, wherein
The A/D samplers are used to carry out the current electricity that sampling obtains the loud speaker by the present impedance to the loud speaker Pressure, the current voltage is fed back to the master controller for the user equipment being connect with the earphone, wherein the master controller according to It is determined main loudspeaker of the audio data of the user equipment through the earphone or the user equipment according to the current voltage Output;
Wherein, the master controller determined the audio data of the user equipment through the earphone according to the current voltage or The main loudspeaker output, including:Calculate the voltage difference of the rated voltage of current voltage and earphone, then by voltage difference and threshold Value compares, if voltage difference is more than threshold value, audio data is exported through earphone, and otherwise, audio data is raised one's voice through master Device exports.
2. earphone according to claim 1, which is characterized in that the earphone further includes:Power amplifier, for coming from The audio data of the master controller is amplified, and the amplified audio data is sent to the loud speaker.
3. earphone according to claim 1, which is characterized in that the number of the loud speaker is 1, the A/D samplers Number is 1.
4. earphone according to claim 1, which is characterized in that the number of the loud speaker is 2, the A/D samplers Number is 2.
5. a kind of user equipment, which is characterized in that including:Master controller, main loudspeaker and any one of claims 1 to 4 The earphone, wherein
The current voltage of the loud speaker for the earphone that the master controller is used to be fed back according to the earphone is determined the use The audio data of family equipment is exported through the earphone or the main loudspeaker;
The master controller includes:Receiving module, the current voltage for receiving the earphone feedback;Computing module is used In the voltage difference for calculating the current voltage and the rated voltage of the earphone;Comparison module is used for the voltage difference It is compared with threshold value, if the voltage difference is more than the threshold value, triggers handover module and be sent to the audio data Otherwise the earphone then triggers the handover module and the audio data is sent to the main loudspeaker;The switching mould Block, for the audio data to be sent to the earphone or the main loudspeaker.
6. a kind of audio data output method is applied to the user equipment described in claim 5, which is characterized in that including:
The current voltage of the loud speaker of test earphone;
According to the rated voltage of the current voltage and the loud speaker of the earphone, determine the audio data of the user equipment It is exported through the main loudspeaker of the earphone or the user equipment;
According to the rated voltage of the current voltage and the loud speaker of the earphone, determine the audio data of the user equipment Include through the output of the main loudspeaker of the earphone or the user equipment:Calculate the specified electricity of the current voltage and the earphone The voltage difference of pressure;The voltage difference is compared with threshold value, it, will be described if the voltage difference is more than the threshold value Audio data is exported through the earphone, and otherwise, the audio data is exported through the main loudspeaker.
7. according to the method described in claim 6, it is characterized in that, the current voltage of the loud speaker of test earphone includes:Pass through The A/D samplers being arranged in the earphone sample the present impedance of the loud speaker of the earphone, obtain the earphone Loud speaker the current voltage.
CN201110212008.0A 2011-07-27 2011-07-27 Earphone, user equipment and audio data output method Active CN102325283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110212008.0A CN102325283B (en) 2011-07-27 2011-07-27 Earphone, user equipment and audio data output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110212008.0A CN102325283B (en) 2011-07-27 2011-07-27 Earphone, user equipment and audio data output method

Publications (2)

Publication Number Publication Date
CN102325283A CN102325283A (en) 2012-01-18
CN102325283B true CN102325283B (en) 2018-10-16

Family

ID=45452944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110212008.0A Active CN102325283B (en) 2011-07-27 2011-07-27 Earphone, user equipment and audio data output method

Country Status (1)

Country Link
CN (1) CN102325283B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103813228A (en) * 2012-11-06 2014-05-21 浪潮乐金数字移动通信有限公司 Earphones and activation method thereof
CN107135440B (en) * 2017-06-16 2023-09-15 歌尔科技有限公司 Earphone with function of putting outward
CN108988808A (en) * 2018-07-13 2018-12-11 深圳市东微智能科技股份有限公司 The adjusting method of audio-frequency power amplifier, audio devices and audio-frequency power amplifier

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3037200B2 (en) * 1997-05-23 2000-04-24 埼玉日本電気株式会社 Mobile phone apparatus and method for controlling incoming call response
US20040017921A1 (en) * 2002-07-26 2004-01-29 Mantovani Jose Ricardo Baddini Electrical impedance based audio compensation in audio devices and methods therefor
CN1939087B (en) * 2004-04-05 2011-08-03 皇家飞利浦电子股份有限公司 Audio entertainment system, device, method, and computer program
US20070297634A1 (en) * 2006-06-27 2007-12-27 Sony Ericsson Mobile Communications Ab Earphone system with usage detection
EP1887687A1 (en) * 2006-08-01 2008-02-13 Vestel Elektronik Sanayi ve Ticaret A.S. Compensating device and method for acoustical systems
CN101232743A (en) * 2007-01-24 2008-07-30 鸿富锦精密工业(深圳)有限公司 Audio playing device and used earphone, automatic control method
JP4780185B2 (en) * 2008-12-04 2011-09-28 ソニー株式会社 Music reproduction system and information processing method
CN101951534A (en) * 2010-07-09 2011-01-19 深圳桑菲消费通信有限公司 Method for additionally arranging sensor on earphone to adjust state of mobile terminal

Also Published As

Publication number Publication date
CN102325283A (en) 2012-01-18

Similar Documents

Publication Publication Date Title
CN104521247B (en) Bluetooth headset hearing aid and anti-noise method and apparatus
KR101954550B1 (en) Volume adjustment method, system and equipment, and computer storage medium
CN104185132B (en) Channel configuration method, intelligent terminal and corresponding system
US9564148B2 (en) Isolation and modification of audio streams of a mixed signal in a wireless communication device
CN204616044U (en) Based on the music share system of Bluetooth technology
CN104066031B (en) The application method of sound chamber, the device including sound chamber, mobile terminal and sound chamber
CN104717594B (en) Hearing assistance system, sound booster handset and its hearing-aid method
CN103260105A (en) Method and device for supplying power for ANC earphone by utilization of power source of electronic equipment
CN105679356B (en) The way of recording, device and terminal
CN104951273B (en) A kind of information processing method, electronic equipment and system
CN105677290B (en) The control method and client of speech application
CN106341546B (en) A kind of playback method of audio, device and mobile terminal
CN106302997A (en) A kind of output control method, electronic equipment and system
CN101945146B (en) Terminal and audio signal output method
CN106878915B (en) Control method, device and the playback equipment and mobile terminal of playback equipment
CN102325283B (en) Earphone, user equipment and audio data output method
CN111629304A (en) Loudspeaker control method and device and electronic equipment
CN105744609B (en) Improve the method and device of mobile terminal power consumption
CN106293599A (en) A kind of output control method, electronic equipment and output system
CN110381215B (en) Audio distribution method and device, storage medium and computer equipment
CN104581515B (en) A kind of audio playing apparatus, method and mobile terminal
CN102355518A (en) Mobile phone and audio processing method thereof
CN104079420B (en) A kind of information processing method and electronic equipment
CN103297896A (en) Audio output method and electronic equipment
CN108063998B (en) Earphone and terminal with microphone Heng Tong function

Legal Events

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