CN105744424A - Earphone mode switching method, terminal and earphone - Google Patents

Earphone mode switching method, terminal and earphone Download PDF

Info

Publication number
CN105744424A
CN105744424A CN201610285503.7A CN201610285503A CN105744424A CN 105744424 A CN105744424 A CN 105744424A CN 201610285503 A CN201610285503 A CN 201610285503A CN 105744424 A CN105744424 A CN 105744424A
Authority
CN
China
Prior art keywords
earphone
mode
terminal
switching command
duty
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
CN201610285503.7A
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd, LeTV Holding Beijing Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201610285503.7A priority Critical patent/CN105744424A/en
Publication of CN105744424A publication Critical patent/CN105744424A/en
Priority to PCT/CN2016/099904 priority patent/WO2017185602A1/en
Pending legal-status Critical Current

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
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to the field of mobile communication, and in particular relates to an earphone mode switching method, a terminal and an earphone. The method comprises the steps that the terminal acquires the working condition of an audio processing unit of a terminal and the working mode of an earphone connected with the terminal, wherein the working condition of the audio processing unit comprises a call working condition and a non-call working condition, and the working mode of the earphone comprises a digital audio mode and an analog audio mode; and when determining that the working condition of the audio processing unit is not corresponding to the working mode of the earphone, the terminal sends a switching command to the earphone, thus the earphone switches the working mode of the earphone according to the switching command, wherein the call working condition of the audio processing unit is corresponding to the analog audio mode of the earphone, and the non-call working condition of the audio processing unit is corresponding to the digital audio mode of the earphone. According to the method provided by the embodiment of the invention, the problem that in the prior art, the digital earphone cannot make a call or poor in call effect caused by that the sound quality of the traditional earphone is seriously damaged is solved.

Description

A kind of headset mode changing method, terminal and earphone
Technical field
The present invention relates to the communications field, particularly relate to a kind of headset mode changing method, terminal and earphone.
Background technology
Along with the development of electronics technology, mobile phone is constantly innovated always, from the mobile terminal of initial only call function integrated various function by now.All the time, the data transmission interface of mobile phone, charging inlet are constantly becoming, but the earphone interface on mobile phone continues to use 3.5mm standard till now always.The earphone of conventional earphone converts digital audio and video signals to simulated audio signal, by 3.5mm interface, analogue signal is transmitted.Conventional earphone is, in mobile phone, digital signal is carried out digital to analog conversion, can produce unnecessary signal disturbing, and in transmitting procedure, the loss of analogue signal is serious, it is easy to cause tonequality impaired.
Digital earphone is exactly the earphone adopting digital signal interface to design, and is similar to the design of current modal carry-on earplug and earphone, simply not in use by 3.5mm interface, but uses the data line interface interface as earphone of mobile phone.The built-in DAC of digital earphone (digital analog converter, Digitaltoanalogconverter) and amplifilter, mobile phone or other carry-on equipment provide only digital signal and power supply, earphone directly decode and amplify signal.
Compared to conventional earphone, digital earphone has a lot of advantages, the decodings such as analog amplify circuit and amplifier section are all placed in the middle of earphone, pure digi-tal signal can be supplied directly to earphone by earphone interface, this will effectively reduce audio frequency decay in the transmission, keeps digital signal to contribute to reducing cross-talk, reduces distortion and make an uproar in the end, overall tonequality can also be optimized by earphone, it is possible to brings better sense of hearing for user.
But in mobile communication, digital signal band occupancy is wider and technology requirement is complicated, and the support that digital signal is conversed by current cell phone platform is perfect not, and therefore currently used digital earphone cannot be carried out call, or communication effect is not good.
Summary of the invention
The embodiment of the present invention provides a kind of headset mode changing method, terminal and earphone, impaired seriously in order to solve the tonequality of conventional earphone in prior art, the problem that digital earphone cannot be carried out conversing or communication effect is not good.
The embodiment of the present invention provides a kind of headset mode changing method, including:
The duty of audio treatment unit that terminal obtains described terminal and the mode of operation of earphone being connected with described terminal, the duty of described audio treatment unit includes call duty and non-call duty, and the mode of operation of described earphone includes digital audio mode and analogue audio frequency pattern;
Described terminal does not send switching command to time corresponding to described earphone in the duty determining described audio treatment unit with the mode of operation of described earphone, so that described earphone switches the mode of operation of described earphone according to described switching command;
Wherein, the call duty of described audio treatment unit is corresponding with the analogue audio frequency pattern of described earphone, and the non-call duty of described audio treatment unit is corresponding with the digital audio mode of described earphone.
Optionally, before the duty of audio treatment unit that described terminal obtains described terminal and the mode of operation of earphone that is connected with described terminal, also include:
Described terminal determines that the duty of described audio treatment unit changes, or
Described terminal monitoring is connected to described earphone with the foundation of described terminal.
Optionally, described terminal determines that the duty of described audio treatment unit changes, including:
The described terminal being connected with described earphone is setting up call connection;
The duty of audio treatment unit that described terminal obtains described terminal and the mode of operation of earphone being connected with described terminal, including:
Described terminal, when setting up call and connecting, obtains the mode of operation of described earphone;
Described terminal does not send switching command to time corresponding to described earphone in the duty determining described audio treatment unit with the mode of operation of described earphone, including:
Described terminal, when the mode of operation of described earphone is digital audio mode, sends the first switching command to described earphone, and described first switching command is used for indicating described earphone that mode of operation switches to analogue audio frequency pattern.
Optionally, described terminal determines that the duty of described audio treatment unit changes, including:
The described terminal being connected with described earphone terminates call;
The duty of audio treatment unit that described terminal obtains described terminal and the mode of operation of earphone being connected with described terminal, including:
Described terminal, when terminating call, obtains the mode of operation of described earphone;
Described terminal determine described audio treatment unit duty and the mode of operation of described earphone do not send switching command to time corresponding to described earphone, including:
Described terminal, when the mode of operation of described earphone is analogue audio frequency pattern, sends the second switching command to described earphone, and described second switching command is used for indicating described earphone that mode of operation is switched to digital audio mode.
Optionally, described terminal monitoring is connected to described earphone with the foundation of described terminal, including:
Described terminal monitors to set up with described earphone in communication process and is connected;
The duty of audio treatment unit that described terminal obtains described terminal and the mode of operation of earphone being connected with described terminal, including:
Described terminal, after being connected with the foundation of described earphone, obtains the mode of operation of described earphone;
Described terminal determine described audio treatment unit duty and the mode of operation of described earphone do not send switching command to time corresponding to described earphone, including:
Described terminal, when the mode of operation of described earphone is digital audio mode, sends the 3rd switching command to described earphone, and described 3rd switching command is used for indicating described earphone that mode of operation switches to analogue audio frequency pattern.
A kind of headset mode changing method, including:
Earphone receives the switching command that the terminal being connected with described earphone sends, described switching command is described terminal in the mode of operation of duty and the described earphone of the audio treatment unit determining described terminal not to time corresponding, the duty of described audio treatment unit includes call duty and non-call duty, and the mode of operation of described earphone includes digital audio mode and analogue audio frequency pattern;
Described earphone switches the mode of operation of described earphone according to described switching command;
Wherein, the call duty of described audio treatment unit is corresponding with the analogue audio frequency pattern of described earphone, and the non-call duty of described audio treatment unit is corresponding with the digital audio mode of described earphone.
Optionally, described earphone receives the switching command that the terminal being connected with described earphone sends, including:
Described earphone receives the first switching command that described terminal sends, and described first switching command is described terminal when setting up call and connecting, and the mode of operation obtaining described earphone is send after digital audio mode;
Described earphone switches the mode of operation of described earphone according to described switching command, including:
The mode of operation of described earphone, according to described first switching command, is switched to analogue audio frequency pattern by described earphone.
Optionally, described earphone receives the switching command that the terminal being connected with described earphone sends, including:
Described earphone receives the second switching command that described terminal sends, and described second switching command is described terminal when terminating call, and the mode of operation obtaining described earphone is send after analogue audio frequency pattern;
Described earphone switches the mode of operation of described earphone according to described switching command, including:
The mode of operation of described earphone, according to described second switching command, is switched to digital audio mode by described earphone.
Optionally, described earphone receives the switching command that the terminal being connected with described earphone sends, including:
Described earphone receive described terminal send the 3rd switching command, described 3rd switching command be described terminal monitor in communication process with described earphone set up is connected, and the mode of operation obtaining described earphone be after digital audio mode transmission;
Described earphone switches the mode of operation of described earphone according to described switching command, including:
The mode of operation of described earphone, according to described 3rd switching command, is switched to analogue audio frequency pattern by described earphone.
A kind of terminal, including:
Acquisition module, for the duty obtaining the audio treatment unit of terminal and the mode of operation of earphone being connected with described terminal, the duty of described audio treatment unit includes call duty and non-call duty, and the mode of operation of described earphone includes digital audio mode and analogue audio frequency pattern;
Judge module, for judging that whether the duty of described audio treatment unit is corresponding with the mode of operation of described earphone;
Sending module, for not sending switching command to time corresponding to described earphone in the duty determining described audio treatment unit with the mode of operation of described earphone, so that described earphone switches the mode of operation of described earphone according to described switching command;
Wherein, the call duty of described audio treatment unit is corresponding with the analogue audio frequency pattern of described earphone, and the non-call duty of described audio treatment unit is corresponding with the digital audio mode of described earphone.
Optionally, also include determining module, be used for:
Determine that the duty of described audio treatment unit changes, or
Monitor described earphone to be connected with the foundation of described terminal.
Optionally, described determine module, specifically for determining that the described terminal being connected with described earphone connects setting up call;
Described acquisition module, specifically for when setting up call and connecting, obtaining the mode of operation of described earphone;
Described sending module, specifically for when the mode of operation of described earphone is digital audio mode, sending the first switching command to described earphone, described first switching command is used for indicating described earphone that mode of operation switches to analogue audio frequency pattern.
Optionally, described determine module, specifically for determining that the described terminal being connected with described earphone terminates call;
Described acquisition module, specifically for when terminating call, obtaining the mode of operation of described earphone;
Described sending module, specifically for when the mode of operation of described earphone is analogue audio frequency pattern, sending the second switching command to described earphone, described second switching command is used for indicating described earphone that mode of operation is switched to digital audio mode.
Optionally, described determine module, be connected specifically for monitoring to set up with described earphone in communication process;
Described acquisition module, specifically for, after being connected with the foundation of described earphone, obtaining the mode of operation of described earphone;
Described sending module, specifically for when the mode of operation of described earphone is digital audio mode, sending the 3rd switching command to described earphone, described 3rd switching command is used for indicating described earphone that mode of operation switches to analogue audio frequency pattern.
A kind of earphone, including:
Receiver module, for receiving the switching command that the terminal being connected with described earphone sends, described switching command is described terminal in the mode of operation of duty and the described earphone of the audio treatment unit determining described terminal not to time corresponding, the duty of described audio treatment unit includes call duty and non-call duty, and the mode of operation of described earphone includes digital audio mode and analogue audio frequency pattern;
Handover module, for switching the mode of operation of described earphone according to described switching command;
Wherein, the call duty of described audio treatment unit is corresponding with the analogue audio frequency pattern of described earphone, and the non-call duty of described audio treatment unit is corresponding with the digital audio mode of described earphone.
Optionally, described receiver module, specifically for receiving the first switching command that described terminal sends, described first switching command is described terminal when setting up call and connecting, and the mode of operation obtaining described earphone is send after digital audio mode;
Described handover module, specifically for according to described first switching command, switching to analogue audio frequency pattern by the mode of operation of described earphone.
Optionally, described receiver module, specifically for receiving the second switching command that described terminal sends, described second switching command is described terminal when terminating call, and the mode of operation obtaining described earphone is send after analogue audio frequency pattern;
Described handover module, specifically for according to described second switching command, switching to digital audio mode by the mode of operation of described earphone.
Optionally, described receiver module, specifically for receive described terminal send the 3rd switching command, described 3rd switching command be described terminal monitor in communication process with described earphone set up is connected, and the mode of operation obtaining described earphone be after digital audio mode transmission;
Described handover module, specifically for according to described 3rd switching command, switching to analogue audio frequency pattern by the mode of operation of described earphone.
In the embodiment of the present invention, the duty of the audio treatment unit of terminal includes call duty and non-call duty, and the earphone being connected with terminal supports digital audio mode and analogue audio frequency pattern.Wherein, digital audio mode is corresponding to the non-call duty of audio treatment unit, and analogue audio frequency pattern is corresponding to the call duty of audio treatment unit.Namely, when terminal is in audition pleasure, sees the non-call duties such as video, the mode of operation of earphone should be digital audio mode, this ensure that the quality of sound;When terminal is in call duty, easily realizing due to analogue signal and existing communications platform supports analogue communication, therefore the mode of operation of earphone is required to be analogue audio frequency pattern.The mode of operation of duty with earphone in order to realize terminal is corresponding, terminal obtains the duty of terminal and the mode of operation of earphone being connected with terminal, and the duty with earphone of determining terminal mode of operation not to the time in of corresponding switching command is sent, so that earphone switches the mode of operation of earphone according to this switching command to earphone.So, namely the earphone in the embodiment of the present invention possesses the advantage of conventional earphone, has the advantage with digital earphone.When the audio treatment unit of terminal is in call, the mode of operation of earphone is analogue audio frequency pattern, it is ensured that the speech quality of user;When audio treatment unit is in non-call duty, the mode of operation of earphone is digital audio mode, reduces cross-talk, and making an uproar in the distortion and the end that reduce sound, brings better tonequality for user.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the waveform diagram of analogue signal;
Fig. 2 is the waveform diagram of digital signal;
The flow chart of the method for the headset mode switching that Fig. 3 provides for the specific embodiment of the invention;
Fig. 4 is the flow chart of the method for a kind of headset mode switching in the specific embodiment of the invention;
Fig. 5 is the flow chart of the method for another kind of headset mode switching in the specific embodiment of the invention;
Fig. 6 is the structural representation of a kind of terminal in the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of earphone in the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Terminal in the embodiment of the present invention can be the electric terminal that mobile phone, intelligent watch, panel computer, notebook computer or desktop computer etc. can transmit audio signal, and the embodiment of the present invention is without limitation, is only introduced for mobile phone.
In order to be better understood upon the earphone mode of operation in the embodiment of the present invention, first introduce digital signal and analogue signal.
Both signals broadly fall into the signal of telecommunication, it is simply that the electric current being continually changing, and are transmitted the signal of information by the change of electric current or magnitude of voltage.Analogue signal, its waveform is as it is shown in figure 1, be the signal accurately being replicated original information waveform by the change of electric current, such as audio signal, it is simply that audio loudness becomes big, and just strain is big mutually for voltage, frequency upgrading, and change in voltage frequency is just corresponding to be promoted.
Analogue signal is because being the accurate simulation to original signal, so there being many advantages, such as easily generate and understand, record accurate etc., but shortcoming is exactly signal itself is continuous print, irregular and excessively complicated, in the face of interference is very fragile, and not easily storage and reading in binary computer device.In order to solve these problems, digital signal is just born with regard to this.
The waveform of digital signal is as shown in Figure 2, it is achieved in that the mode utilizing differential, by continuous signal being carried out the sampling of certain frequency, the value sampled is represented again with limited coding rule, volume is 0 and 1 binary code constituted, and the clock current of the square wave current and record figure place that then pass through record numerical value transmits in circuit.Owing to this signal uses discrete binary coding, composition rule is simple, so being prone to storage be not easy to be interfered, but also because its coded system is limited, describe accurate not for irregular information, so only by the mode of similar screen resolution, adjusting degree of accuracy as desired, the media file that the various quality height that is also the formation of seeing now that is different.It is to say, digital signal compare analogue signal more can be anti-interference, be suitable for transmission and storage, but not easily weave into and understand.
The signal of telecommunication is the electric current of change, acoustical signal is then the vibration of object, is therebetween converted by magnetic, particularly as being that electric current can form magnetic field, the electric current of change will form the magnetic field of change, and the magnetic bodies in such magnetic field will because of the change movement under force in magnetic field.In other words, it is simply that be present in the magnet in the magnetic field that the signal of telecommunication is formed and object rigidly connected with it can be driven to follow signal of telecommunication vibration, naturally just can sounding.
Here it is the operation principle of earphone and speaker, can also be apparent from from this principle, it is desirable to drive earphone sound equipment, must flow through analogue signal, because digital signal is to be made up of the binary coding artificially formulated, but not the signal that nature exists originally, loudspeaker does not recognize them.Therefore, the audio file stored in mobile phone is played back, it is necessary to convert digital signals into analogue signal.
The earphone of traditional 3.5mm interface, it is that the digital audio and video signals of flash memory is processed by mobile phone, as carried out form conversion, adding Doby audio etc., then pass through DAC chip independent in mobile phone or Codec (coder, COder-DECoder) integral chip converts digital audio and video signals to simulated audio signal.Because the simulated audio signal of conversion process is more weak, so being amplified by simulated audio signal by amplifilter, the signal after amplifying being passed to earphone, by earphone sounding, at this moment user just can hear sound.Therefore, the interface effect of conventional earphone is exactly transmission of analogue signal.
Owing to digital audio and video signals being converted to simulated audio signal in mobile phone, easily by other signal disturbing, and simulated audio signal needs the transmission signal of decay is amplified in transmitting procedure, the noise that signal is inevitably superimposed with in transmitting procedure is also amplified simultaneously.Along with the increase of transmission range, noise storage gets more and more, to cause transmission quality severe exacerbation.
Compared with conventional earphone, the interface of digital earphone adopts digital signal interface.Digital earphone carries DAC and amplifilter, and mobile phone only does digital audio and video signals output and power supply, earphone directly decode and amplify signal.Pure digi-tal signal is transferred directly to earphone by the interface of digital earphone, then by earphone, digital audio and video signals is converted to simulated audio signal and is amplified, being namely transmitted by digital signal.In the transmitting procedure of digital signal, owing to the amplitude of digital signal is limited centrifugal pump (generally taking two amplitudes), although being also affected by the interference of noise in transmitting procedure, but when signal-to-noise ratio degradation to a certain extent time, judgement regeneration method can be adopted in appropriately distance, regeneration does not have the digital audio and video signals the same with original sender of noise jamming, so the high-quality transmission of distance can be realized, contributing to reducing cross-talk, makes an uproar in the distortion and the end that reduce digital audio and video signals.
Therefore digital earphone is particularly suited for listening music, seeing the states such as video, can guarantee that the tonequality of sound and audio.But in mobile phone communication state, the communication effect of digital earphone is bad, even cannot be carried out call.This is owing to the band occupancy of digital audio and video signals is wider, transmits a railway digital audio signal and need to account for the bandwidth of 2064kHz, and an analog way only takes up 4kHz bandwidth, and namely a railway digital audio signal account for several analog way.And the technology of digital communication requires complexity, especially simultaneous techniques precision prescribed is significantly high, therefore existing communications platform, and the call for digital signal is supported not, it is impossible to be digitized communication.
Earphone in the embodiment of the present invention is shown in the digitized earphone of TYPE-C type interface, use digitized decoding completely and amplifier, being a digital audio mode and the earphone of analogue audio frequency mode mixture use, earphone interface self supports analogue audio frequency output and DAB output.
Wherein, namely analogue audio frequency pattern is similar in prior art the earphone of 3.5mm interface, is convert digital audio and video signals to simulated audio signal in mobile phone.On the other hand, namely digital audio mode is similar in prior art the earphone of digital signal interface.It is to say, when TYPE-C type interface serves as audio output function, it is possible to the directly analogue signal after output amplification;Meanwhile, having put DAC and amplifilter in earphone, TYPE-C type interface can receive the digital audio and video signals that mobile phone transmits, and at earphone, digital audio and video signals is converted to analogue signal.
In the embodiment of the present invention, it is provided that the method for a kind of headset mode switching, terminal and earphone.Wherein earphone is TYPE-C type earphone.This earphone is provided with the hardware and corresponding software of supporting analogue audio frequency pattern, and supports the hardware of digital audio mode and corresponding software.Under talking state, digital audio and video signals is converted to simulated audio signal by mobile phone, and after being amplified, send earphone by amplifilter to, earphone is now analogue audio frequency pattern, the hardware corresponding to digital audio mode is closed in earphone by software, and open the hardware corresponding to analogue audio frequency pattern, its TYPE-C type interface effect now is exactly transmission of analogue signal.Under non-talking state, mobile phone does not do digital-to-analogue conversion, and digital audio and video signals is directly sent to earphone, and earphone is now digital audio mode, in its TYPE-C type interface, the hardware such as built-in DAC and amplifilter is opened, and the digital audio and video signals received is converted to simulated audio signal.
The method flow of the headset mode switching that the embodiment of the present invention provides is as it is shown on figure 3, method may include steps of:
The duty of audio treatment unit that S101, terminal obtain described terminal and the mode of operation of earphone being connected with described terminal.
Wherein, the duty of described audio treatment unit includes call duty and non-call duty, and the mode of operation of described earphone includes digital audio mode and analogue audio frequency pattern.
S102, described terminal do not send switching command to time corresponding to described earphone in the duty determining described audio treatment unit with the mode of operation of described earphone.
Wherein, the call duty of audio treatment unit is corresponding with the analogue audio frequency pattern of earphone, and the non-call duty of audio treatment unit is corresponding with the digital audio mode of earphone.
In step S102, earphone can switch the mode of operation of earphone according to switching command.Specifically, analogue audio frequency pattern is switched to by digital audio mode including by the mode of operation of earphone, here the software in earphone chips can be passed through, closing DAC and amplifilter etc. in earphone, corresponding to the function of digital earphone device, makes digital audio and video signals transfer simulated audio signal in mobile phone to.Accordingly, also include by analogue audio frequency pattern, the mode of operation of earphone is switched to digital audio mode, namely also by the software in earphone chips, open the function of the device such as DAC and amplifilter in earphone, earphone directly receives the digital audio and video signals that mobile phone transmits, and transfers digital audio and video signals to simulated audio signal in earphone.
In the embodiment of the present invention, the duty of the audio treatment unit of terminal includes call duty and non-call duty, and the earphone being connected with terminal supports digital audio mode and analogue audio frequency pattern.Wherein, digital audio mode is corresponding to the non-call duty of audio treatment unit, and analogue audio frequency pattern is corresponding to the call duty of audio treatment unit.Namely, when terminal is in audition pleasure, sees the non-call duties such as video, the mode of operation of earphone should be digital audio mode, this ensure that the quality of sound;When terminal is in call duty, easily realizing due to analogue signal and existing communications platform supports analogue communication, therefore the mode of operation of earphone is required to be analogue audio frequency pattern.The mode of operation of duty with earphone in order to realize terminal is corresponding, terminal obtains the duty of terminal and the mode of operation of earphone being connected with terminal, and the duty with earphone of determining terminal mode of operation not to the time in of corresponding switching command is sent, so that earphone switches the mode of operation of earphone according to this switching command to earphone.So, namely the earphone in the embodiment of the present invention possesses the advantage of conventional earphone, has the advantage with digital earphone.When the audio treatment unit of terminal is in call, the mode of operation of earphone is analogue audio frequency pattern, it is ensured that the speech quality of user;When audio treatment unit is in non-call duty, the mode of operation of earphone is digital audio mode, reduces cross-talk, and making an uproar in the distortion and the end that reduce sound, brings better tonequality for user.
Before above-mentioned steps S101, also include: described terminal determines that the duty of described audio treatment unit changes, or described terminal monitoring is connected with the foundation of described terminal to described earphone.
The duty of audio treatment unit here changes and includes audio treatment unit and transferred to call duty by non-call duty, and is transferred to non-call duty by call duty.Specifically, mobile phone is in non-talking state, and in order to ensure that user obtains the tonequality of sound, earphone is traditionally arranged to be digital audio mode.After mobile phone transfers talking state to, in order to ensure normal speech quality, the mode of operation of earphone need to be switched to analogue audio frequency pattern.And after mobile phone communication terminates, need again the mode of operation of earphone is switched back into digital audio mode.
If additionally, mobile phone is in communication process, monitors to establish with earphone and be connected, also need the mode of operation of earphone to switch to analogue audio frequency pattern.Mobile phone is divided into outer mode playback and headset mode, and when earphone interface inserts mobile phone, on chip for cell phone, the voltage of respective chip, electric current produce change, as become high level from low level.Now, it is notified that the software in mobile phone, the hardware inserted is identified.
In the embodiment of the present invention, it is possible to carry out earphone identification by the ID of TYPE-C type earphone.The earphone ID of acquisition is contrasted with the ID list of the TYPE-C type earphone of storage in chip, however, it is determined that the earphone of insertion is TYPE-C type earphone, then send switching command to earphone.
In the embodiment of the present invention, the switching of the mode of operation of earphone mainly there are three kinds of situations, individually below these three situation are respectively described.
Situation one,
Described terminal determines that the duty of described audio treatment unit changes, including: the described terminal being connected with described earphone is setting up call connection;
The duty of audio treatment unit that described terminal obtains described terminal and the mode of operation of earphone being connected with described terminal, including:
Described terminal, when setting up call and connecting, obtains the mode of operation of described earphone;
Described terminal does not send switching command to time corresponding to described earphone in the duty determining described audio treatment unit with the mode of operation of described earphone, including:
Described terminal, when the mode of operation of described earphone is digital audio mode, sends the first switching command to described earphone, and described first switching command is used for indicating described earphone that mode of operation switches to analogue audio frequency pattern.
Specifically, mobile phone was originally in non-talking state, it is possible to the music in mobile phone play by the TYPE-C earphone being coupled, and now earphone is in digital audio mode, or mobile phone is in holding state, TYPE-C earphone is also at digital audio mode due to the setting of acquiescence.This mobile phone sends call connection request to other terminal, or after this mobile phone receives the call connection request that other terminal sends, the mode of operation obtaining earphone is digital audio mode.Owing to the mode of operation of earphone is not corresponding with the call duty of mobile phone sound intermediate frequency processing unit, therefore mobile phone sends the first switching command to earphone.The mode of operation of earphone, according to this first switching command, is switched to analogue audio frequency pattern by earphone.
Situation two,
Described terminal determines that the duty of described audio treatment unit changes, including:
The described terminal being connected with described earphone terminates call;
The duty of audio treatment unit that described terminal obtains described terminal and the mode of operation of earphone being connected with described terminal, including:
Described terminal, when terminating call, obtains the mode of operation of described earphone;
Described terminal determine described audio treatment unit duty and the mode of operation of described earphone do not send switching command to time corresponding to described earphone, including:
Described terminal, when the mode of operation of described earphone is analogue audio frequency pattern, sends the second switching command to described earphone, and described second switching command is used for indicating described earphone that mode of operation is switched to digital audio mode.
Situation two is corresponding with situation one, and specifically, the earphone being on the mobile phone in talking state is in analogue audio frequency pattern.This mobile phone is when terminating call, and the mode of operation getting earphone is analogue audio frequency pattern.Owing to the mode of operation of earphone and the non-call duty of mobile phone sound intermediate frequency processing unit are not corresponding, therefore mobile phone sends the second switching command to earphone.The mode of operation of earphone, according to this second switching command, is switched to digital audio mode by earphone.
Situation three,
Described terminal monitoring is connected to described earphone with the foundation of described terminal, including:
Described terminal monitors to set up with described earphone in communication process and is connected;
The duty of audio treatment unit that described terminal obtains described terminal and the mode of operation of earphone being connected with described terminal, including:
Described terminal, after being connected with the foundation of described earphone, obtains the mode of operation of described earphone;
Described terminal determine described audio treatment unit duty and the mode of operation of described earphone do not send switching command to time corresponding to described earphone, including:
Described terminal, when the mode of operation of described earphone is digital audio mode, sends the 3rd switching command to described earphone, and described 3rd switching command is used for indicating described earphone that mode of operation switches to analogue audio frequency pattern.
Specifically, current phone is conversed with other terminal, and now mobile phone is not connected with earphone, for outer mode playback.After TYPE-C type earphone is inserted mobile phone, mobile phone monitors to establish with TYPE-C type earphone and is connected, then obtain the mode of operation of this TYPE-C type earphone from earphone.Owing to the mode of operation of earphone is generally defaulted as digital audio mode, therefore, mobile phone sends the 3rd switching command to earphone.The mode of operation of earphone, according to the 3rd switching command, is switched to analogue audio frequency pattern by earphone, facilitates user to converse.
Corresponding with the method for above-mentioned end side, the embodiment of the present invention provide headset mode changing method from earpiece side, including:
Earphone receives the switching command that the terminal being connected with described earphone sends, described switching command is described terminal in the mode of operation of duty and the described earphone of the audio treatment unit determining described terminal not to time corresponding, the duty of described audio treatment unit includes call duty and non-call duty, and the mode of operation of described earphone includes digital audio mode and analogue audio frequency pattern;
Described earphone switches the mode of operation of described earphone according to described switching command.
Wherein, the call duty of described audio treatment unit is corresponding with the analogue audio frequency pattern of described earphone, and the non-call duty of described audio treatment unit is corresponding with the digital audio mode of described earphone.
Optionally, described earphone receives the switching command that the terminal being connected with described earphone sends, including:
Described earphone receives the first switching command that described terminal sends, and described first switching command is described terminal when setting up call and connecting, and the mode of operation obtaining described earphone is send after digital audio mode;
Described earphone switches the mode of operation of described earphone according to described switching command, including:
The mode of operation of described earphone, according to described first switching command, is switched to analogue audio frequency pattern by described earphone.
Optionally, described earphone receives the switching command that the terminal being connected with described earphone sends, including:
Described earphone receives the second switching command that described terminal sends, and described second switching command is described terminal when terminating call, and the mode of operation obtaining described earphone is send after analogue audio frequency pattern;
Described earphone switches the mode of operation of described earphone according to described switching command, including:
The mode of operation of described earphone, according to described second switching command, is switched to digital audio mode by described earphone.
Optionally, described earphone receives the switching command that the terminal being connected with described earphone sends, including:
Described earphone receive described terminal send the 3rd switching command, described 3rd switching command be described terminal monitor in communication process with described earphone set up is connected, and the mode of operation obtaining described earphone be after digital audio mode transmission;
Described earphone switches the mode of operation of described earphone according to described switching command, including:
The mode of operation of described earphone, according to described 3rd switching command, is switched to analogue audio frequency pattern by described earphone.
In order to be more clearly understood that the present invention, with instantiation, above-mentioned flow process is described in detail below.Scene described in a kind of specific embodiment is be connected to earphone on mobile phone, and user listens the music of storage on mobile phone by earphone, and now the call request that other mobile phone is sent received by this mobile phone.Idiographic flow is as shown in Figure 4, it is possible to include following step:
S201, mobile phone receive call request.
S202, mobile phone obtain the earphone ID connected, and contrast this earphone No. ID with the ID list of the TYPE-C type earphone of storage on chip for cell phone, it is judged that whether this earphone is TYPE-C type earphone, if so, then perform step S203, otherwise perform step S206.
S203, mobile phone determine that the mode of operation of earphone is digital audio mode.
S204, mobile phone send the first switching command to earphone.
After S205, earphone receive the first switching command, mode of operation is switched to analogue audio frequency pattern.
The sound that other terminal transmits play by S206, earphone.So, user can converse with the user of other terminal.
S207, confirm phone end of conversation.
S208, mobile phone determine that the mode of operation of earphone is analogue audio frequency pattern.
S209, mobile phone send the second switching command to earphone.
Mode of operation is switched to digital audio mode after receiving the second switching command by S210, earphone.
Afterwards, user can continue to listen the music of storage on mobile phone.
Another kind of scene described in specific embodiment is be not connected with earphone on mobile phone, user is conversed by the user of the microphone carried on mobile phone and other terminal, now user wishes to be conversed by earphone, inserts an earphone on mobile phone in corresponding jack.Idiographic flow is as shown in Figure 5, it is possible to include following step:
S301, mobile phone by the change of voltage on chip determine with earphone set up be connected.
S302, mobile phone obtain the earphone ID connected, and contrast this earphone No. ID with the ID list of the TYPE-C type earphone of storage on chip for cell phone, it is judged that whether this earphone is TYPE-C type earphone, if so, then perform step S303, otherwise perform step S306.
S303, mobile phone determine that the mode of operation of earphone is digital audio mode.
S304, mobile phone send the 3rd switching command to earphone.
After S305, earphone receive the 3rd switching command, mode of operation is switched to analogue audio frequency pattern.
The sound that other terminal transmits play by S306, earphone.So, user can be conversed by the user of earphone Yu other terminal.
S307, confirm phone end of conversation.
S308, mobile phone determine that the mode of operation of earphone is analogue audio frequency pattern.
S309, mobile phone send the second switching command to earphone.
Mode of operation is switched to digital audio mode after receiving the second switching command by S310, earphone.
Based on identical technology design, the embodiment of the present invention also provides for a kind of terminal, as shown in Figure 6, and including:
Acquisition module 1, for the duty obtaining the audio treatment unit of terminal and the mode of operation of earphone being connected with described terminal, the duty of described audio treatment unit includes call duty and non-call duty, and the mode of operation of described earphone includes digital audio mode and analogue audio frequency pattern;
Judge module 2, for judging that whether the duty of described audio treatment unit is corresponding with the mode of operation of described earphone;
Sending module 3, for not sending switching command to time corresponding to described earphone in the duty determining described audio treatment unit with the mode of operation of described earphone, so that described earphone switches the mode of operation of described earphone according to described switching command;
Wherein, the call duty of described audio treatment unit is corresponding with the analogue audio frequency pattern of described earphone, and the non-call duty of described audio treatment unit is corresponding with the digital audio mode of described earphone.
In the embodiment of the present invention, the duty of the audio treatment unit of terminal includes call duty and non-call duty, and the earphone being connected with terminal supports digital audio mode and analogue audio frequency pattern,.Wherein, digital audio mode is corresponding to the non-call duty of audio treatment unit, and analogue audio frequency pattern is corresponding to the call duty of audio treatment unit.Namely, when terminal is in audition pleasure, sees the non-call duties such as video, the mode of operation of earphone should be digital audio mode, this ensure that the quality of sound;When terminal is in call duty, easily realizing due to analogue signal and existing communications platform supports analogue communication, therefore the mode of operation of earphone is required to be analogue audio frequency pattern.The mode of operation of duty with earphone in order to realize terminal is corresponding, duty that acquisition module 1 obtains terminal and the mode of operation of earphone being connected with terminal, and judge module 2 determine the mode of operation of the duty of terminal and earphone not to time corresponding sending module 3 sends switching command to earphone, so that earphone switches the mode of operation of earphone according to this switching command.So, namely the earphone in the embodiment of the present invention possesses the advantage of conventional earphone, has the advantage with digital earphone.When the audio treatment unit of terminal is in call, the mode of operation of earphone is analogue audio frequency pattern, it is ensured that the speech quality of user;When audio treatment unit is in non-call duty, the mode of operation of earphone is digital audio mode, reduces cross-talk, and making an uproar in the distortion and the end that reduce sound, brings better tonequality for user.
Optionally, also include determining module 4, be used for:
Determine that the duty of described audio treatment unit changes, or
Monitor described earphone to be connected with the foundation of described terminal.
Here determine that module 4 is determined that the duty of audio treatment unit changes and included audio treatment unit and transferred to call duty by non-call duty, and transferred to non-call duty by call duty.Specifically, mobile phone is in non-talking state, and in order to ensure that user obtains the tonequality of sound, earphone is traditionally arranged to be digital audio mode.After determining that module 4 determines that mobile phone transfers talking state to, in order to ensure normal speech quality, the mode of operation of earphone need to be switched to analogue audio frequency pattern.And after mobile phone communication terminates, need again the mode of operation of earphone is switched back into digital audio mode.
If additionally, mobile phone is in communication process, it is determined that module 4 monitors to establish with earphone and is connected, also need the mode of operation of earphone to switch to analogue audio frequency pattern.Mobile phone is divided into outer mode playback and headset mode, and when earphone interface inserts mobile phone, on chip for cell phone, the voltage of respective chip, electric current produce change, as become high level from low level.Now, it is determined that the hardware inserted can be identified by module 4.
In the embodiment of the present invention, it is determined that module 4 can carry out earphone identification by the ID of TYPE-C type earphone.The ID list of the TYPE-C type earphone stored up with mobile phone EMS memory by the earphone ID of acquisition contrasts, however, it is determined that the earphone of insertion is TYPE-C type earphone, then send switching command to earphone.
Optionally, it is determined that module 4, specifically for determining that the described terminal being connected with described earphone is setting up call connection.
Acquisition module 1, specifically for when setting up call and connecting, obtaining the mode of operation of described earphone;
Sending module 3, specifically for when the mode of operation of described earphone is digital audio mode, sending the first switching command to described earphone, described first switching command is used for indicating described earphone that mode of operation switches to analogue audio frequency pattern.
Specifically, mobile phone was originally in non-talking state, it is possible to the music in mobile phone play by the TYPE-C earphone being coupled, and now earphone is in digital audio mode, or mobile phone is in holding state, TYPE-C earphone is also at digital audio mode due to the setting of acquiescence.Determine that module 4 determines that this mobile phone sends call connection request to other terminal, or after this mobile phone receives the call connection request that other terminal sends, it is digital audio mode that acquisition module 1 obtains the mode of operation of earphone.Owing to the mode of operation of earphone is not corresponding with the call duty of mobile phone sound intermediate frequency processing unit, therefore sending module 3 sends the first switching command to earphone.The mode of operation of earphone, according to this first switching command, is switched to analogue audio frequency pattern by earphone.
Optionally, it is determined that module 4, specifically for determining that the described terminal being connected with described earphone terminates call;
Acquisition module 1, specifically for when terminating call, obtaining the mode of operation of described earphone;
Sending module 3, specifically for when the mode of operation of described earphone is analogue audio frequency pattern, sending the second switching command to described earphone, described second switching command is used for indicating described earphone that mode of operation is switched to digital audio mode.
Specifically, the earphone being on the mobile phone in talking state is in analogue audio frequency pattern.Determining that module 4 determines that this mobile phone terminates call, it is analogue audio frequency pattern that acquisition module 1 gets the mode of operation of earphone.Owing to the mode of operation of earphone and the non-call duty of mobile phone sound intermediate frequency processing unit are not corresponding, therefore sending module 3 sends the second switching command to earphone.The mode of operation of earphone, according to this second switching command, is switched to digital audio mode by earphone.
Optionally, it is determined that module 4, it is connected specifically for monitoring to set up with described earphone in communication process;
Acquisition module 1, specifically for, after being connected with the foundation of described earphone, obtaining the mode of operation of described earphone;
Sending module 3, specifically for when the mode of operation of described earphone is digital audio mode, sending the 3rd switching command to described earphone, described 3rd switching command is used for indicating described earphone that mode of operation switches to analogue audio frequency pattern.
Specifically, current phone is conversed with other terminal, and now mobile phone is not connected with earphone, for outer mode playback.After TYPE-C type earphone is inserted mobile phone, it is determined that module 4 monitors to establish with TYPE-C type earphone and is connected, then acquisition module 1 obtains the mode of operation of this TYPE-C type earphone from earphone.Owing to the mode of operation of earphone is generally defaulted as digital audio mode, therefore, sending module 3 sends the 3rd switching command to earphone.The mode of operation of earphone, according to the 3rd switching command, is switched to analogue audio frequency pattern by earphone, facilitates user to converse.
The embodiment of the present invention also provides for a kind of earphone, as it is shown in fig. 7, comprises:
Receiver module 5, for receiving the switching command that the terminal being connected with described earphone sends, described switching command is described terminal in the mode of operation of duty and the described earphone of the audio treatment unit determining described terminal not to time corresponding, the duty of described audio treatment unit includes call duty and non-call duty, and the mode of operation of described earphone includes digital audio mode and analogue audio frequency pattern;
Handover module 6, for switching the mode of operation of described earphone according to described switching command;
Wherein, the call duty of described audio treatment unit is corresponding with the analogue audio frequency pattern of described earphone, and the non-call duty of described audio treatment unit is corresponding with the digital audio mode of described earphone.
The mode of operation of the switching command switching earphone that handover module 6 can receive according to receiver module 5, specifically, analogue audio frequency pattern is switched to by digital audio mode including by the mode of operation of earphone, closing DAC and amplifilter etc. in earphone by handover module 6, corresponding to the function of digital earphone device, makes digital audio and video signals transfer simulated audio signal in mobile phone to.Accordingly, also include by analogue audio frequency pattern, the mode of operation of earphone is switched to digital audio mode, namely by handover module 6, open the function of the device such as DAC and amplifilter in earphone, earphone directly receives the digital audio and video signals that mobile phone transmits, and transfers digital audio and video signals to simulated audio signal in earphone.
Optionally, receiver module 5, specifically for receiving the first switching command that described terminal sends, described first switching command is described terminal when setting up call and connecting, and the mode of operation obtaining described earphone is send after digital audio mode;
Handover module 6, specifically for according to described first switching command, switching to analogue audio frequency pattern by the mode of operation of described earphone.
Optionally, receiver module 5, specifically for receiving the second switching command that described terminal sends, described second switching command is described terminal when terminating call, and the mode of operation obtaining described earphone is send after analogue audio frequency pattern;
Handover module 6, specifically for according to described second switching command, switching to digital audio mode by the mode of operation of described earphone.
Optionally, receiver module 5, specifically for receive described terminal send the 3rd switching command, described 3rd switching command be described terminal monitor in communication process with described earphone set up is connected, and the mode of operation obtaining described earphone be after digital audio mode transmission;
Handover module 6, specifically for according to described 3rd switching command, switching to analogue audio frequency pattern by the mode of operation of described earphone.
Terminal embodiment described above is merely schematic, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.Those of ordinary skill in the art, when not paying performing creative labour, are namely appreciated that and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to each embodiment and realize, naturally it is also possible to pass through hardware.Based on such understanding, the part that prior art is contributed by technique scheme substantially in other words can embody with the form of software product, this computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a terminal (can be personal computer, server, or the network terminal etc.) perform the method described in some part of each embodiment or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature is carried out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (18)

1. a headset mode changing method, it is characterised in that including:
The duty of audio treatment unit that terminal obtains described terminal and the mode of operation of earphone being connected with described terminal, the duty of described audio treatment unit includes call duty and non-call duty, and the mode of operation of described earphone includes digital audio mode and analogue audio frequency pattern;
Described terminal does not send switching command to time corresponding to described earphone in the duty determining described audio treatment unit with the mode of operation of described earphone, so that described earphone switches the mode of operation of described earphone according to described switching command;
Wherein, the call duty of described audio treatment unit is corresponding with the analogue audio frequency pattern of described earphone, and the non-call duty of described audio treatment unit is corresponding with the digital audio mode of described earphone.
2. the method for claim 1, it is characterised in that before the duty of audio treatment unit that described terminal obtains described terminal and the mode of operation of earphone that is connected with described terminal, also include:
Described terminal determines that the duty of described audio treatment unit changes, or
Described terminal monitoring is connected to described earphone with the foundation of described terminal.
3. method as claimed in claim 2, it is characterised in that
Described terminal determines that the duty of described audio treatment unit changes, including:
The described terminal being connected with described earphone is setting up call connection;
The duty of audio treatment unit that described terminal obtains described terminal and the mode of operation of earphone being connected with described terminal, including:
Described terminal, when setting up call and connecting, obtains the mode of operation of described earphone;
Described terminal does not send switching command to time corresponding to described earphone in the duty determining described audio treatment unit with the mode of operation of described earphone, including:
Described terminal, when the mode of operation of described earphone is digital audio mode, sends the first switching command to described earphone, and described first switching command is used for indicating described earphone that mode of operation switches to analogue audio frequency pattern.
4. method as claimed in claim 2, it is characterised in that
Described terminal determines that the duty of described audio treatment unit changes, including:
The described terminal being connected with described earphone terminates call;
The duty of audio treatment unit that described terminal obtains described terminal and the mode of operation of earphone being connected with described terminal, including:
Described terminal, when terminating call, obtains the mode of operation of described earphone;
Described terminal determine described audio treatment unit duty and the mode of operation of described earphone do not send switching command to time corresponding to described earphone, including:
Described terminal, when the mode of operation of described earphone is analogue audio frequency pattern, sends the second switching command to described earphone, and described second switching command is used for indicating described earphone that mode of operation is switched to digital audio mode.
5. method as claimed in claim 2, it is characterised in that
Described terminal monitoring is connected to described earphone with the foundation of described terminal, including:
Described terminal monitors to set up with described earphone in communication process and is connected;
The duty of audio treatment unit that described terminal obtains described terminal and the mode of operation of earphone being connected with described terminal, including:
Described terminal, after being connected with the foundation of described earphone, obtains the mode of operation of described earphone;
Described terminal determine described audio treatment unit duty and the mode of operation of described earphone do not send switching command to time corresponding to described earphone, including:
Described terminal, when the mode of operation of described earphone is digital audio mode, sends the 3rd switching command to described earphone, and described 3rd switching command is used for indicating described earphone that mode of operation switches to analogue audio frequency pattern.
6. a headset mode changing method, it is characterised in that including:
Earphone receives the switching command that the terminal being connected with described earphone sends, described switching command is described terminal in the mode of operation of duty and the described earphone of the audio treatment unit determining described terminal not to time corresponding, the duty of described audio treatment unit includes call duty and non-call duty, and the mode of operation of described earphone includes digital audio mode and analogue audio frequency pattern;
Described earphone switches the mode of operation of described earphone according to described switching command;
Wherein, the call duty of described audio treatment unit is corresponding with the analogue audio frequency pattern of described earphone, and the non-call duty of described audio treatment unit is corresponding with the digital audio mode of described earphone.
7. method as claimed in claim 6, it is characterised in that described earphone receives the switching command that the terminal being connected with described earphone sends, including:
Described earphone receives the first switching command that described terminal sends, and described first switching command is described terminal when setting up call and connecting, and the mode of operation obtaining described earphone is send after digital audio mode;
Described earphone switches the mode of operation of described earphone according to described switching command, including:
The mode of operation of described earphone, according to described first switching command, is switched to analogue audio frequency pattern by described earphone.
8. method as claimed in claim 6, it is characterised in that described earphone receives the switching command that the terminal being connected with described earphone sends, including:
Described earphone receives the second switching command that described terminal sends, and described second switching command is described terminal when terminating call, and the mode of operation obtaining described earphone is send after analogue audio frequency pattern;
Described earphone switches the mode of operation of described earphone according to described switching command, including:
The mode of operation of described earphone, according to described second switching command, is switched to digital audio mode by described earphone.
9. method as claimed in claim 6, it is characterised in that described earphone receives the switching command that the terminal being connected with described earphone sends, including:
Described earphone receive described terminal send the 3rd switching command, described 3rd switching command be described terminal monitor in communication process with described earphone set up is connected, and the mode of operation obtaining described earphone be after digital audio mode transmission;
Described earphone switches the mode of operation of described earphone according to described switching command, including:
The mode of operation of described earphone, according to described 3rd switching command, is switched to analogue audio frequency pattern by described earphone.
10. a terminal, it is characterised in that including:
Acquisition module, for the duty obtaining the audio treatment unit of terminal and the mode of operation of earphone being connected with described terminal, the duty of described audio treatment unit includes call duty and non-call duty, and the mode of operation of described earphone includes digital audio mode and analogue audio frequency pattern;
Judge module, for judging that whether the duty of described audio treatment unit is corresponding with the mode of operation of described earphone;
Sending module, for not sending switching command to time corresponding to described earphone in the duty determining described audio treatment unit with the mode of operation of described earphone, so that described earphone switches the mode of operation of described earphone according to described switching command;
Wherein, the call duty of described audio treatment unit is corresponding with the analogue audio frequency pattern of described earphone, and the non-call duty of described audio treatment unit is corresponding with the digital audio mode of described earphone.
11. terminal as claimed in claim 10, it is characterised in that also include determining module, be used for:
Determine that the duty of described audio treatment unit changes, or
Monitor described earphone to be connected with the foundation of described terminal.
12. terminal as claimed in claim 11, it is characterised in that
Described determine module, specifically for determining that the described terminal being connected with described earphone connects setting up call;
Described acquisition module, specifically for when setting up call and connecting, obtaining the mode of operation of described earphone;
Described sending module, specifically for when the mode of operation of described earphone is digital audio mode, sending the first switching command to described earphone, described first switching command is used for indicating described earphone that mode of operation switches to analogue audio frequency pattern.
13. terminal as claimed in claim 11, it is characterised in that
Described determine module, specifically for determining that the described terminal being connected with described earphone terminates call;
Described acquisition module, specifically for when terminating call, obtaining the mode of operation of described earphone;
Described sending module, specifically for when the mode of operation of described earphone is analogue audio frequency pattern, sending the second switching command to described earphone, described second switching command is used for indicating described earphone that mode of operation is switched to digital audio mode.
14. terminal as claimed in claim 11, it is characterised in that
Described determine module, be connected specifically for monitoring to set up with described earphone in communication process;
Described acquisition module, specifically for, after being connected with the foundation of described earphone, obtaining the mode of operation of described earphone;
Described sending module, specifically for when the mode of operation of described earphone is digital audio mode, sending the 3rd switching command to described earphone, described 3rd switching command is used for indicating described earphone that mode of operation switches to analogue audio frequency pattern.
15. an earphone, it is characterised in that including:
Receiver module, for receiving the switching command that the terminal being connected with described earphone sends, described switching command is described terminal in the mode of operation of duty and the described earphone of the audio treatment unit determining described terminal not to time corresponding, the duty of described audio treatment unit includes call duty and non-call duty, and the mode of operation of described earphone includes digital audio mode and analogue audio frequency pattern;
Handover module, for switching the mode of operation of described earphone according to described switching command;
Wherein, the call duty of described audio treatment unit is corresponding with the analogue audio frequency pattern of described earphone, and the non-call duty of described audio treatment unit is corresponding with the digital audio mode of described earphone.
16. earphone as claimed in claim 15, it is characterised in that
Described receiver module, specifically for receiving the first switching command that described terminal sends, described first switching command is described terminal when setting up call and connecting, and the mode of operation obtaining described earphone is send after digital audio mode;
Described handover module, specifically for according to described first switching command, switching to analogue audio frequency pattern by the mode of operation of described earphone.
17. earphone as claimed in claim 15, it is characterised in that
Described receiver module, specifically for receiving the second switching command that described terminal sends, described second switching command is described terminal when terminating call, and the mode of operation obtaining described earphone is send after analogue audio frequency pattern;
Described handover module, specifically for according to described second switching command, switching to digital audio mode by the mode of operation of described earphone.
18. earphone as claimed in claim 15, it is characterised in that
Described receiver module, specifically for receiving the 3rd switching command that described terminal sends, described 3rd switching command be described terminal monitor in communication process with described earphone set up is connected, and the mode of operation obtaining described earphone be after digital audio mode transmission;
Described handover module, specifically for according to described 3rd switching command, switching to analogue audio frequency pattern by the mode of operation of described earphone.
CN201610285503.7A 2016-04-29 2016-04-29 Earphone mode switching method, terminal and earphone Pending CN105744424A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610285503.7A CN105744424A (en) 2016-04-29 2016-04-29 Earphone mode switching method, terminal and earphone
PCT/CN2016/099904 WO2017185602A1 (en) 2016-04-29 2016-09-23 Earphone mode switching method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610285503.7A CN105744424A (en) 2016-04-29 2016-04-29 Earphone mode switching method, terminal and earphone

Publications (1)

Publication Number Publication Date
CN105744424A true CN105744424A (en) 2016-07-06

Family

ID=56287937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610285503.7A Pending CN105744424A (en) 2016-04-29 2016-04-29 Earphone mode switching method, terminal and earphone

Country Status (2)

Country Link
CN (1) CN105744424A (en)
WO (1) WO2017185602A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185602A1 (en) * 2016-04-29 2017-11-02 乐视控股(北京)有限公司 Earphone mode switching method and electronic device
CN107645690A (en) * 2016-07-20 2018-01-30 中兴通讯股份有限公司 Audio switching method and device, Type C interface processing method and processing devices
CN111050240A (en) * 2018-10-15 2020-04-21 珠海格力电器股份有限公司 Earphone mode switching method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100594152B1 (en) * 2004-12-28 2006-06-28 삼성전자주식회사 Earphone jack deleting power-noise and the method
KR20070012097A (en) * 2005-07-22 2007-01-25 엘지전자 주식회사 Speaker path self-test method in stereo speaker system phone and the system thereof
US20140029770A1 (en) * 2012-07-25 2014-01-30 Conexant Systems, Inc. Hybrid analog/digital headset
CN204350079U (en) * 2015-01-20 2015-05-20 上海复旦通讯股份有限公司 A kind of GSM-R hand-held station with audio frequency processing capacity

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6862636B2 (en) * 2001-11-16 2005-03-01 Gateway, Inc. Multi-mode speaker operating from either digital or analog sources
CN204014027U (en) * 2014-07-30 2014-12-10 深圳市澳宏电子有限公司 A kind of digital audio decoding general headrest with USB interface
CN105933824A (en) * 2016-04-20 2016-09-07 乐视控股(北京)有限公司 Audio switching method and device of terminal
CN105744424A (en) * 2016-04-29 2016-07-06 乐视控股(北京)有限公司 Earphone mode switching method, terminal and earphone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100594152B1 (en) * 2004-12-28 2006-06-28 삼성전자주식회사 Earphone jack deleting power-noise and the method
KR20070012097A (en) * 2005-07-22 2007-01-25 엘지전자 주식회사 Speaker path self-test method in stereo speaker system phone and the system thereof
US20140029770A1 (en) * 2012-07-25 2014-01-30 Conexant Systems, Inc. Hybrid analog/digital headset
CN204350079U (en) * 2015-01-20 2015-05-20 上海复旦通讯股份有限公司 A kind of GSM-R hand-held station with audio frequency processing capacity

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185602A1 (en) * 2016-04-29 2017-11-02 乐视控股(北京)有限公司 Earphone mode switching method and electronic device
CN107645690A (en) * 2016-07-20 2018-01-30 中兴通讯股份有限公司 Audio switching method and device, Type C interface processing method and processing devices
CN111050240A (en) * 2018-10-15 2020-04-21 珠海格力电器股份有限公司 Earphone mode switching method and device

Also Published As

Publication number Publication date
WO2017185602A1 (en) 2017-11-02

Similar Documents

Publication Publication Date Title
EP2392150B1 (en) Audio coding selection based on device operating condition
CN100531242C (en) Sound reproduction device and method in portable electronic equipment
US20080031470A1 (en) Remote speaker controller with microphone
CN101515957A (en) System and method for realizing microphone function by using mobile phone
CN101449320A (en) Reduction of noise by the mobile communications devices in the state of non-calling
CN102143421A (en) Terminal and method for processing audio of terminal
CN109996161A (en) A kind of mobile terminal and its control method of speaking, the device with store function
CN105744424A (en) Earphone mode switching method, terminal and earphone
CN106849976A (en) Echo cancel method and communication terminal during a kind of hand-free call
CN104469587A (en) Earphones
CN108076416B (en) Control method and device of USBTypeC earphone and terminal
CN107645689A (en) Eliminate the method, apparatus and phonetic codec chip of acoustic crosstalk
US20050202783A1 (en) Control module co-constructed with car audio apparatus
CN101510904A (en) Mobile phone loudspeaker and implementing method thereof
CN113196800A (en) Hybrid microphone for wireless headset
CN100559805C (en) Mobile terminals and the message output method that is used for this terminal
CN111083250A (en) Mobile terminal and noise reduction method thereof
CN207053751U (en) Single loudspeaker handoff calls circuit, loudspeaker and voiceband facility
EP2767098B1 (en) Source dependent wireless earpiece equalizing
KR100387962B1 (en) Method for playing mp3 music in mobile station
CN112153519A (en) Bluetooth earphone
KR100693589B1 (en) Wireless telecommunication terminal and method for double play musics
CN217902424U (en) Translation equipment applied to listening-to-translation type scene
CN100377922C (en) Control module possible to be configured in acoustics used in vehicle
CN214315582U (en) Head earphone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160706