CN107819931A - A kind of audio frequency playing method and mobile terminal based on wireless headset - Google Patents

A kind of audio frequency playing method and mobile terminal based on wireless headset Download PDF

Info

Publication number
CN107819931A
CN107819931A CN201710927256.0A CN201710927256A CN107819931A CN 107819931 A CN107819931 A CN 107819931A CN 201710927256 A CN201710927256 A CN 201710927256A CN 107819931 A CN107819931 A CN 107819931A
Authority
CN
China
Prior art keywords
wireless headset
audio
digital signals
button
audio digital
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
CN201710927256.0A
Other languages
Chinese (zh)
Inventor
陈海新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710927256.0A priority Critical patent/CN107819931A/en
Publication of CN107819931A publication Critical patent/CN107819931A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/02Casings; Cabinets ; Supports therefor; Mountings therein
    • H04R1/028Casings; Cabinets ; Supports therefor; Mountings therein associated with devices performing functions other than acoustics, e.g. electric candles
    • 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/1025Accumulators or arrangements for charging

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiments of the invention provide a kind of audio frequency playing method and mobile terminal based on wireless headset, wherein, methods described includes:Judge whether the wireless headset meets preparatory condition;If satisfied, then operation of the detection in the signal output apparatus;Judge whether the operation is the first assigned operation;If so, audio digital signals are then sent to the wireless headset using the signal output apparatus;The wireless headset sends the audio digital signals to the charging equipment;The charging equipment is based on the audio-frequence player device and converts the audio digital signals and play.The situation that wireless headset can not use in charging process is avoided, service efficiency of the wireless headset in charging process is improved, also improves Consumer's Experience.

Description

A kind of audio frequency playing method and mobile terminal based on wireless headset
Technical field
The present invention relates to communication technical field, more particularly to a kind of audio frequency playing method based on wireless headset and a kind of shifting Dynamic terminal.
Background technology
With the development of mobile communication technology, mobile terminal has become a part indispensable in people's life, when Before, wireless communication module, such as bluetooth module, infrared module etc. are all loaded with most of mobile terminal devices, this gives people Life bring more convenient places.Correspondingly, the wireless communication earphone of bluetooth module or infrared module is carried undoubtedly It is by one of peripheral product of people's favor.The appearance of wireless communication earphone, people are allowed to break away from the constraint of wired earphone.
But in the prior art, user can not use wireless headset, this is during being charged to wireless headset Because present wireless headset can not be handled the data signal received when insertion charging equipment is charged, from And make it that operation of the wireless headset to user during charging brings limitation, causes poor user experience.
The content of the invention
The embodiment of the present invention provides a kind of audio frequency playing method and mobile terminal based on wireless headset, to solve wireless Earphone is under some situations, how to realize the problem of audio plays.
First aspect, there is provided a kind of method that audio based on wireless headset plays, methods described are applied to mobile whole End, methods described include:
Judge whether the wireless headset meets preparatory condition;
If satisfied, then operation of the detection in the signal output apparatus;
Judge whether the operation is the first assigned operation;
If so, audio digital signals are then sent to the wireless headset using the signal output apparatus;The wireless ear Machine sends the audio digital signals to the charging equipment;The charging equipment is based on audio-frequence player device conversion institute State audio digital signals and play.
Preferably, judge that the step of whether wireless headset meets preparatory condition includes:
Obtain the status information of the wireless headset;
If the status information is in charged state, judge that the wireless headset meets preparatory condition.
Preferably, the charging equipment converts the audio digital signals based on the audio-frequence player device and plays After step, in addition to:
Detect the operation in the signal output apparatus;
Judge whether the operation is the second assigned operation;
If so, then the signal output apparatus stops sending audio digital signals to the wireless headset.
Preferably, the wireless headset has COBBAIF, sends the audio digital signals in the wireless headset The step of charging equipment, in addition to:
Call instruction is sent to the wireless headset, it is described to order for indicating that the wireless headset calls the audio Interface is so that the audio digital signals are sent to the charging equipment.
Preferably, first assigned operation includes:The button commenced play out is pressed, presses the button of incoming call answering, or Person, press the button that audio digital signals are played by the audio-frequence player device.
Preferably, second assigned operation includes:The button that pause plays is pressed, the button of hanging up calling is pressed, presses Lower Jing Yin button of eliminating the noise, presses and closes the button that audio-frequence player device plays audio digital signals.
Second aspect, there is provided a kind of mobile terminal, it is characterised in that the mobile terminal has wireless headset, described Wireless headset has the charging equipment and signal output apparatus interconnected, and the charging equipment is provided with audio-frequence player device, The mobile terminal includes:
Preparatory condition judge module, for judging whether the wireless headset meets preparatory condition;If satisfied, then call One operation detection module;
First operation detection module, for detecting the operation in the signal output apparatus;
First assigned operation judge module, for judging whether the operation is the first assigned operation;If so, then call sound Frequency word signal transmitting module;
First audio digital signals sending module, for sending sound to the wireless headset using the signal output apparatus Frequency data signal;The wireless headset sends the audio digital signals to the charging equipment;The charging equipment is based on The audio-frequence player device converts the audio digital signals and played.
Preferably, the mobile terminal includes being used to judge whether the wireless headset meets the preparatory condition of preparatory condition Judge module, the preparatory condition judge module include:
State information acquisition submodule, for obtaining the status information of the wireless headset;If the status information is place In charged state, then preparatory condition decision sub-module is called;
Preparatory condition decision sub-module, for judging that the wireless headset meets preparatory condition.
Preferably, in addition to:
Second operation detection module, for detecting the operation in the signal output apparatus;
Second assigned operation judge module, for judging whether the operation is the second assigned operation;Stop if so, then calling Only audio digital signals sending module;
Stop digital audio signal transmitting module, it is defeated to the wireless headset transmission signal output apparatus for stopping The audio digital signals gone out.
Preferably, the wireless headset has COBBAIF, in addition to:
COBBAIF calling module, it is described to order for indicating institute for call instruction to be sent to the wireless headset Stating wireless headset calls the COBBAIF to send the audio digital signals to the charging equipment.
Preferably, first assigned operation includes:The button commenced play out is pressed, presses the button of incoming call answering, or Person, press the button that audio digital signals are played by the audio-frequence player device.
Preferably, second assigned operation includes:The button that pause plays is pressed, the button of hanging up calling is pressed, presses Lower Jing Yin button of eliminating the noise, presses and closes the button that audio-frequence player device plays audio digital signals.
So, in actual applications with the embodiment of the present invention, it can be determined that whether wireless headset meets preparatory condition, When detecting that wireless headset meets preparatory condition, such as when wireless headset is in charging process, detection user sets in signal output Standby upper operation, by judging whether the operation of the user is the first assigned operation, decide whether to send signal to wireless headset The audio digital signals of output equipment output, after wireless headset is receiving audio digital signals, audio digital signals are turned Charging equipment is sent to, the audio digital signals received are played audio by the charging equipment based on its audio-frequence player device installed Data signal, this just causes wireless headset in charging process, can play the audio digital signals being connected to, avoids wireless ear The situation that machine can not use in charging process, service efficiency of the wireless headset in charging process is improved, also improves use Experience at family.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart of the audio frequency playing method based on wireless headset of first embodiment of the invention;
Fig. 2 is the flow chart of the audio frequency playing method based on wireless headset of second embodiment of the invention;
Fig. 3 is the structured flowchart of the mobile terminal of third embodiment of the invention;
Fig. 4 is the block diagram of the mobile terminal of another embodiment of the present invention;
Fig. 5 is the structural representation of the mobile terminal of another embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
First embodiment
Reference picture 1, the flow chart of the audio frequency playing method based on wireless headset of one embodiment of the invention is shown, had Body may include steps of:
Step 101, judge whether the wireless headset meets preparatory condition;
In actual applications, the embodiment of the present invention can apply in wireless headset, wherein, wireless headset can include indigo plant Tooth wireless headset, Infrared wireless earphone, 2.4G wireless headsets etc..
In embodiments of the present invention, it can judge whether wireless headset meets preparatory condition in the following way:Obtain nothing The status information of line earphone;If status information is in charged state, judge that the wireless headset meets preparatory condition.
In actual applications, when wireless headset is connected with signal output apparatus, signal output apparatus can pass through bluetooth Adapter BluetoothAdapter obtains the status information of wireless headset, judges currently to set with signal output according to status information Whether the wireless headset of standby connection is in charged state.
If satisfied, then perform step 102.
Step 102, the operation in the signal output apparatus is detected;
In the specific implementation, the embodiment of the present invention can obtain user in signal output in the system in signal output apparatus Operation in equipment.
For example, under android system, Activity (one of four big component of android system) is the root of all programs This, the flow of all programs is all operated among Activity, wherein just including Application Program Interface API (Application Program Interface, application programming interface), system obtains the API information in Activity, you can judges user Whether the operation on signal output apparatus is the first assigned operation.
Step 103, judge whether the operation is the first assigned operation;If so, then carry out step 104;
In a preferred embodiment of the invention, the first assigned operation can include:The button commenced play out is pressed, is pressed The button of lower incoming call answering, or, press the button that audio digital signals are played by audio-frequence player device.
Certainly, above-mentioned first assigned operation can be merely possible to example, be not construed as limiting the present invention.
Step 104, audio digital signals are sent to the wireless headset using the signal output apparatus;The wireless ear Machine sends the audio digital signals to the charging equipment;The charging equipment is based on audio-frequence player device conversion institute State audio digital signals and play.
In actual applications, the embodiment of the present invention can during wireless headset is charged in charging equipment, Using wireless headset as data relay station.Specifically, when signal output apparatus sends audio digital signals to wireless headset When, wireless headset can send audio digital signals to charging equipment, and then charging equipment can be based on audio-frequence player device Conversion audio digital signals simultaneously play.
In embodiments of the present invention, the audio of signal output apparatus output can be sent to wireless headset in the following way Data signal:After wireless headset sends audio digital signals to charging equipment, call instruction is sent to wireless headset, should Order for indicating that wireless headset calls the COBBAIF to send the audio digital signals to the charging equipment.
In the specific implementation, the embodiment of the present invention can change using by TRS (Tip Ring Sleeve, inserting pen type) interface The contact mini TRS Jacks interfaces for entering generation are receiving signal output apparatus output as COBBAIF, wireless headset Audio digital signals after, audio digital signals can be sent to charging by contact mini TRS Jacks interfaces and set It is standby.
In the specific implementation, the contact mini TRS Jacks interfaces in the embodiment of the present invention are embedded in wireless headset bottom Portion, contact mini TRS Jacks interfaces specifically, are by hot junction channel interface, cold end channel interface and ground interface composition TRS Jacks interface volumes are reduced, can be only equipped with the channel interface part of each contact mini TRS Jacks interfaces One channel interface of hot junction sound channel or cold end sound channel, for transmitting the audio digital signals of the affiliated sound channel of wireless headset, ground interface For shielding extraneous signal interference.
For example, when current wireless headset is left and right acoustic channels earphone, left and right acoustic channels wireless headset bottom is inlaid with contact respectively Formula mini TRS Jacks interfaces, L channel earphone is using hot junction channel interface transmission left audio data signal, using ground Interface is as ground connection end shield extraneous signal interference;Right-channel ear is using cold end channel interface transmission right audio channel numeral letter Number, using ground interface as ground connection end shield extraneous signal interference.
Certainly, above-mentioned example example for reference only, those skilled in the art can also be by other means to wireless ears Machine sends the audio digital signals of signal output apparatus output, and this present invention is not restricted.
The embodiment of the present invention is used in actual applications, it can be determined that whether wireless headset meets preparatory condition, is detecting When meeting preparatory condition to wireless headset, such as when wireless headset is in charging process, user is on signal output apparatus for detection Operation, by judging whether the operation of the user is the first assigned operation, decide whether to wireless headset send signal output The audio digital signals of equipment output, after wireless headset is receiving audio digital signals, audio digital signals are forwarded to The audio digital signals received are played digital audio by charging equipment, the charging equipment based on its audio-frequence player device installed Signal, this just causes wireless headset in charging process, can play the audio digital signals being connected to, avoids wireless headset and exist Situation about can not be used in charging process, service efficiency of the wireless headset in charging process is improved, also improves user's body Test.
Second embodiment
Reference picture 2, the flow chart of the audio frequency playing method based on wireless headset of one embodiment of the invention is shown, had Body may include steps of:
Step 201, judge whether the wireless headset meets preparatory condition;
Step 202, when the wireless headset meets preparatory condition, the operation in the signal output apparatus is detected;
Step 203, judge whether the operation is the first assigned operation;If so, then carry out step 203;
Step 204, the audio digital signals of the signal output apparatus output are sent to the wireless headset, it is described wireless Earphone is used to send the audio digital signals to the charging equipment, also, receives the sound in the charging equipment During frequency data signal, the charging equipment is used to play the audio digital signals based on the audio-frequence player device;
Because the embodiment of the step 201- steps 204 in second method embodiment essentially corresponds to foregoing The embodiment of one embodiment of the method, therefore not detailed part in description of the present embodiment for step 201- steps 204, can Referring to the related description in foregoing first method embodiment, just not repeat herein.
Step 205, the operation in the signal output apparatus is detected;
When in the specific implementation, the embodiment of the present invention plays audio digital signals in audio-frequence player device, it can continue Operation of the user on signal output apparatus is obtained in the system of signal output apparatus.
Step 206, judge whether the operation is the second assigned operation;If so, then carry out step 207;
In the specific implementation, the embodiment of the present invention can be set in android system when user plays in use in audio During for listening song or carry out voice call, system continues to obtain the API information in Activity, you can judges user in signal output Whether the operation in equipment is the second assigned operation.
In a preferred embodiment of the invention, the second assigned operation can include:The button that pause plays is pressed, is pressed The button of lower hanging up calling, press the Jing Yin button of eliminating the noise, press close audio-frequence player device play audio digital signals by Button.
Certainly, above-mentioned first assigned operation can be merely possible to example, be not construed as limiting the present invention.
Step 207, the signal output apparatus stops sending audio digital signals to the wireless headset.
In actual applications, the embodiment of the present invention can stop when system detectio is to the second assigned operation to wireless headset Send the audio digital signals of signal output apparatus output.
For example, during user listens song using charging equipment sound intermediate frequency playback equipment, system of users operation is examined Survey, when detecting the second assigned operation, stop signal output equipment sends the sound on currently playing song to wireless headset Frequency data signal.
In an advantageous embodiment, when the audio-frequence player device of charging equipment plays audio digital signals, Ke Yiji It is continuous that user is detected in the operation of signal output apparatus, by judging whether operation is the second assigned operation, is decided whether Stop sending the audio digital signals of signal output apparatus output to wireless headset, this just causes the audio of charging equipment plays to set For when playing audio digital signals, user can be sent out by the second assigned operation stop signal output equipment to wireless headset The audio digital signals on currently playing song are sent, so as to further improve use effect of the wireless headset in charging process Rate.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group Close, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to According to the embodiment of the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented Necessary to example.
3rd embodiment
Reference picture 3, the structured flowchart of the mobile terminal of one embodiment of the invention is shown, the mobile terminal 300 is specific Following module can be included:
Preparatory condition judge module 301, for judging whether the wireless headset meets preparatory condition;If satisfied, then adjust With the first operation detection module;
First operation detection module 302, for detecting the operation in the signal output apparatus;
First assigned operation judge module 303, for judging whether the operation is the first assigned operation;If so, then adjust With audio digital signals sending module;
First audio digital signals sending module 304, for being sent out using the signal output apparatus to the wireless headset Send audio digital signals;The wireless headset sends the audio digital signals to the charging equipment;The charging equipment The audio digital signals are converted based on the audio-frequence player device and played.
In a preferred embodiment of the invention, the mobile terminal 300 can also include described wireless for judging Whether earphone meets the preparatory condition judge module of preparatory condition, and the preparatory condition judge module includes:
State information acquisition submodule, for obtaining the status information of the wireless headset;If the status information is place In charged state, then preparatory condition decision sub-module is called;
Preparatory condition decision sub-module, for judging that the wireless headset meets preparatory condition.
In a preferred embodiment of the invention, the mobile terminal 300 can also include following module:
Second operation detection module, for detecting the operation in the signal output apparatus;
Second assigned operation judge module, for judging whether the operation is the second assigned operation;Stop if so, then calling Only audio digital signals sending module;
Stop digital audio signal transmitting module, it is defeated to the wireless headset transmission signal output apparatus for stopping The audio digital signals gone out.
In a preferred embodiment of the invention, the mobile terminal 300 also includes:
COBBAIF calling module, it is described to order for indicating institute for call instruction to be sent to the wireless headset Stating wireless headset calls the COBBAIF to send the audio digital signals to the charging equipment.
In a preferred embodiment of the invention, first assigned operation includes:The button commenced play out is pressed, is pressed The button of lower incoming call answering, or, press the button that audio digital signals are played by the audio-frequence player device.
In a preferred embodiment of the invention, second assigned operation includes:The button that pause plays is pressed, is pressed The button of lower hanging up calling, press the Jing Yin button of eliminating the noise, press close audio-frequence player device play audio digital signals by Button.
For mobile terminal embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, The relevent part can refer to the partial explaination of embodiments of method.
The embodiment of the present invention is used in actual applications, it can be determined that whether wireless headset meets preparatory condition, is detecting When meeting preparatory condition to wireless headset, such as when wireless headset is in charging process, user is on signal output apparatus for detection Operation, by judging whether the operation of the user is the first assigned operation, decide whether to wireless headset send signal output The audio digital signals of equipment output, after wireless headset is receiving audio digital signals, audio digital signals are forwarded to The audio digital signals received are played digital audio by charging equipment, the charging equipment based on its audio-frequence player device installed Signal, this just causes wireless headset in charging process, can play the audio digital signals being connected to, avoids wireless headset and exist Situation about can not be used in charging process, service efficiency of the wireless headset in charging process is improved, also improves user's body Test.
Fourth embodiment
Fig. 4 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 400 shown in Fig. 4 includes:At least One processor 401, memory 402, at least one network interface 404 and other users interface 403.In mobile terminal 400 Each component is coupled by bus system 405.It is understood that bus system 405 is used to realize the company between these components Connect letter.Bus system 405 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But It is for the sake of clear explanation, various buses is all designated as bus system 405 in Fig. 4.
Wherein, user interface 403 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 402 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) dodge Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside slow at a high speed Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 402 of the system and method for description of the embodiment of the present invention is intended to include but unlimited In these memories with any other suitable type.
In some embodiments, memory 402 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 4021 and application program 4022.
Wherein, operating system 4021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 4022, include various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 4022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 402, specifically, can be application The program stored in program 4022 or instruction, processor 401 are used to judge whether the wireless headset meets preparatory condition;It is if full Foot, then operation of the detection in the signal output apparatus;Judge whether the operation is the first assigned operation;If so, then use The signal output apparatus sends audio digital signals to the wireless headset;The wireless headset is by the audio digital signals Send to the charging equipment;The charging equipment is based on the audio-frequence player device and converts the audio digital signals and broadcast Put.
The method that the embodiments of the present invention disclose can apply in processor 401, or be realized by processor 401. Processor 401 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 401 or the instruction of software form.Above-mentioned processing Device 401 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), application specific integrated circuit (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other PLDs, discrete gate or transistor logic Device, discrete hardware components.It can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform completion, or use decoding processor In hardware and software module combination perform completion.Software module can be located at random access memory, and flash memory, read-only storage can In the ripe storage medium in this area such as program read-only memory or electrically erasable programmable memory, register.The storage Medium is located at memory 402, and processor 401 reads the information in memory 402, and the step of the above method is completed with reference to its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware, Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for performing herein described function In member or its combination.
For software realize, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come Realize the technology described in the embodiment of the present invention.Software code is storable in memory and passes through computing device.Memory can To realize within a processor or outside processor.
Alternatively, processor 401 is additionally operable to:Obtain the status information of the wireless headset.
Alternatively, processor 401 is additionally operable to:If the status information is in charged state, the wireless ear is judged Machine meets preparatory condition.
Alternatively, processor 401 is additionally operable to:Detect the operation in the signal output apparatus.
Alternatively, processor 401 is additionally operable to:Judge whether the operation is the second assigned operation.
Alternatively, processor 401 is additionally operable to:If so, then the signal output apparatus stops sending to the wireless headset Audio digital signals.
Alternatively, processor 401 is additionally operable to:Call instruction is sent to the wireless headset, it is described to order for indicating The wireless headset calls the COBBAIF to send the audio digital signals to the charging equipment.
Mobile terminal 400 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.
For the embodiment of mobile terminal 400, because it is substantially similar to embodiment of the method, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
So, in actual applications with the embodiment of the present invention, it can be determined that whether wireless headset meets preparatory condition, When detecting that wireless headset meets preparatory condition, such as when wireless headset is in charging process, detection user sets in signal output Standby upper operation, by judging whether the operation of the user is the first assigned operation, decide whether to send signal to wireless headset The audio digital signals of output equipment output, after wireless headset is receiving audio digital signals, audio digital signals are turned Charging equipment is sent to, the audio digital signals received are played audio by the charging equipment based on its audio-frequence player device installed Data signal, this just causes wireless headset in charging process, can play the audio digital signals being connected to, avoids wireless ear The situation that machine can not use in charging process, service efficiency of the wireless headset in charging process is improved, also improves use Experience at family.
5th embodiment
Fig. 5 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 5 500 can be mobile phone, tablet personal computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer Deng.
Mobile terminal 500 in Fig. 5 includes radio frequency (RadioFrequency, RF) circuit 510, memory 520, input list Member 530, display unit 540, processor 560, voicefrequency circuit 570, WiFi (WirelessFidelity) module 580 and power supply 590。
Wherein, input block 530 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal The signal input that 500 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 530 can With including contact panel 531.Contact panel 531, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses the operations of any suitable object or annex on contact panel 531 such as finger, stylus), and according to advance The formula of setting drives corresponding attachment means.Optionally, contact panel 531 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give the processor 560 again, and the order sent of reception processing device 560 and can be performed.Furthermore, it is possible to using resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 531.Except contact panel 531, input block 530 can also include other input equipments 532, and other input equipments 532 can include but is not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 540 can be used for display by the information of user's input or be supplied to information and the movement of user The various menu interfaces of terminal 500.Display unit 540 may include display panel 541, optionally, can use LCD or organic hairs The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 541.
It should be noted that contact panel 531 can cover display panel 541, touch display screen is formed, when the touch display screen is examined After measuring the touch operation on or near it, processor 560 is sent to determine the type of touch event, is followed by subsequent processing device 560 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 560 is the control centre of mobile terminal 500, utilizes various interfaces and connection whole mobile phone Various pieces, by running or performing the software program and/or module that are stored in first memory 521, and call storage Data in second memory 522, the various functions and processing data of mobile terminal 500 are performed, so as to mobile terminal 500 Carry out integral monitoring.Optionally, processor 560 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 521 in software program and/or module and/ Or the data in the second memory 522, processor 560 are used to judge whether the wireless headset meets preparatory condition;It is if full Foot, then operation of the detection in the signal output apparatus;Judge whether the operation is the first assigned operation;If so, then use The signal output apparatus sends audio digital signals to the wireless headset;The wireless headset is by the audio digital signals Send to the charging equipment;The charging equipment is based on the audio-frequence player device and converts the audio digital signals and broadcast Put.
Alternatively, processor 560 is additionally operable to:Obtain the status information of the wireless headset.
Alternatively, processor 560 is additionally operable to:If the status information is in charged state, the wireless ear is judged Machine meets preparatory condition.
Alternatively, processor 560 is additionally operable to:Detect the operation in the signal output apparatus.
Alternatively, processor 560 is additionally operable to:Judge whether the operation is the second assigned operation.
Alternatively, processor 560 is additionally operable to:If so, then the signal output apparatus stops sending to the wireless headset Audio digital signals.
Alternatively, processor 560 is additionally operable to:Call instruction is sent to the wireless headset, it is described to order for indicating The wireless headset calls the COBBAIF to send the audio digital signals to the charging equipment.
For the embodiment of mobile terminal 500, because it is substantially similar to embodiment of the method, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
It can be seen that in actual applications with the embodiment of the present invention, it can be determined that whether wireless headset meets preparatory condition, When detecting that wireless headset meets preparatory condition, such as when wireless headset is in charging process, detection user sets in signal output Standby upper operation, by judging whether the operation of the user is the first assigned operation, decide whether to send signal to wireless headset The audio digital signals of output equipment output, after wireless headset is receiving audio digital signals, audio digital signals are turned Charging equipment is sent to, the audio digital signals received are played audio by the charging equipment based on its audio-frequence player device installed Data signal, this just causes wireless headset in charging process, can play the audio digital signals being connected to, avoids wireless ear The situation that machine can not use in charging process, service efficiency of the wireless headset in charging process is improved, also improves use Experience at family.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each The unit and algorithm steps of example, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (12)

1. a kind of audio frequency playing method based on wireless headset, it is characterised in that the wireless headset has what is interconnected to fill Electric equipment and signal output apparatus, the charging equipment are provided with audio-frequence player device, and methods described includes:
Judge whether the wireless headset meets preparatory condition;
If satisfied, then operation of the detection in the signal output apparatus;
Judge whether the operation is the first assigned operation;
If so, audio digital signals are then sent to the wireless headset using the signal output apparatus;The wireless headset will The audio digital signals are sent to the charging equipment;The charging equipment is based on the audio-frequence player device and converts the sound Frequency data signal simultaneously plays.
2. according to the method for claim 1, it is characterised in that judge whether the wireless headset meets the step of preparatory condition Suddenly include:
Obtain the status information of the wireless headset;
If the status information is in charged state, judge that the wireless headset meets preparatory condition.
3. according to the method for claim 1, it is characterised in that turned in the charging equipment based on the audio-frequence player device After the step of changing the audio digital signals and playing, in addition to:
Detect the operation in the signal output apparatus;
Judge whether the operation is the second assigned operation;
If so, then the signal output apparatus stops sending audio digital signals to the wireless headset.
4. according to the method for claim 1, it is characterised in that the wireless headset has COBBAIF, described wireless Earphone sends the audio digital signals the step of charging equipment, in addition to:
Call instruction is sent to the wireless headset, it is described to order for indicating that the wireless headset calls the COBBAIF So that the audio digital signals are sent to the charging equipment.
5. according to the method for claim 1, it is characterised in that first assigned operation includes:Press what is commenced play out Button, the button of incoming call answering is pressed, or, press the button that audio digital signals are played by the audio-frequence player device.
6. according to the method for claim 3, it is characterised in that second assigned operation includes:Press what pause played Button, the button of hanging up calling is pressed, press Jing Yin button of eliminating the noise, pressed and close audio-frequence player device broadcasting digital audio letter Number button.
7. a kind of mobile terminal, it is characterised in that the mobile terminal has wireless headset, and the wireless headset, which has, to be mutually connected The charging equipment and signal output apparatus connect, the charging equipment are provided with audio-frequence player device, and the mobile terminal includes:
Preparatory condition judge module, for judging whether the wireless headset meets preparatory condition;If satisfied, then call the first behaviour Make detection module;
First operation detection module, for detecting the operation in the signal output apparatus;
First assigned operation judge module, for judging whether the operation is the first assigned operation;If so, then call audio number Word signal transmitting module;
First audio digital signals sending module, for sending audio number to the wireless headset using the signal output apparatus Word signal;The wireless headset sends the audio digital signals to the charging equipment;The charging equipment is based on described Audio-frequence player device converts the audio digital signals and played.
8. mobile terminal according to claim 7, it is characterised in that the mobile terminal includes described wireless for judging Whether earphone meets the preparatory condition judge module of preparatory condition, and the preparatory condition judge module includes:
State information acquisition submodule, for obtaining the status information of the wireless headset;If the status information is in filling Electricity condition, then call preparatory condition decision sub-module;
Preparatory condition decision sub-module, for judging that the wireless headset meets preparatory condition.
9. mobile terminal according to claim 7, it is characterised in that also include:
Second operation detection module, for detecting the operation in the signal output apparatus;
Second assigned operation judge module, for judging whether the operation is the second assigned operation;If so, then call stop tone Frequency word signal transmitting module;
Stop digital audio signal transmitting module, for stopping sending the signal output apparatus output to the wireless headset Audio digital signals.
10. mobile terminal according to claim 7, it is characterised in that the wireless headset has COBBAIF, also wraps Include:
COBBAIF calling module, it is described to order for indicating the nothing for call instruction to be sent to the wireless headset Line earphone calls the COBBAIF to send the audio digital signals to the charging equipment.
11. mobile terminal according to claim 7, it is characterised in that first assigned operation includes:Press and start to broadcast The button put, press the button of incoming call answering, or, press by the audio-frequence player device play audio digital signals by Button.
12. mobile terminal according to claim 9, it is characterised in that second assigned operation includes:Pause is pressed to broadcast The button put, the button of hanging up calling is pressed, press Jing Yin button of eliminating the noise, pressed and close audio-frequence player device broadcasting audio number The button of word signal.
CN201710927256.0A 2017-10-09 2017-10-09 A kind of audio frequency playing method and mobile terminal based on wireless headset Pending CN107819931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710927256.0A CN107819931A (en) 2017-10-09 2017-10-09 A kind of audio frequency playing method and mobile terminal based on wireless headset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710927256.0A CN107819931A (en) 2017-10-09 2017-10-09 A kind of audio frequency playing method and mobile terminal based on wireless headset

Publications (1)

Publication Number Publication Date
CN107819931A true CN107819931A (en) 2018-03-20

Family

ID=61607793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710927256.0A Pending CN107819931A (en) 2017-10-09 2017-10-09 A kind of audio frequency playing method and mobile terminal based on wireless headset

Country Status (1)

Country Link
CN (1) CN107819931A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109788114A (en) * 2019-03-12 2019-05-21 维沃移动通信有限公司 A kind of call handling method and terminal
CN110418229A (en) * 2018-04-28 2019-11-05 惠州迪芬尼声学科技股份有限公司 Wireless headset cradle
CN111225312A (en) * 2020-03-06 2020-06-02 珠海格力电器股份有限公司 Method and device for realizing call connection and wireless earphone device
CN114979869A (en) * 2021-02-22 2022-08-30 北京轩辕联科技有限公司 Earphone state determination method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2688004Y (en) * 2004-02-02 2005-03-23 中华长江股份有限公司 Multi-mode electric-energy supply device for wireless earphone
CN202998389U (en) * 2013-01-14 2013-06-12 时文忠 Sound playing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2688004Y (en) * 2004-02-02 2005-03-23 中华长江股份有限公司 Multi-mode electric-energy supply device for wireless earphone
CN202998389U (en) * 2013-01-14 2013-06-12 时文忠 Sound playing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418229A (en) * 2018-04-28 2019-11-05 惠州迪芬尼声学科技股份有限公司 Wireless headset cradle
CN109788114A (en) * 2019-03-12 2019-05-21 维沃移动通信有限公司 A kind of call handling method and terminal
CN111225312A (en) * 2020-03-06 2020-06-02 珠海格力电器股份有限公司 Method and device for realizing call connection and wireless earphone device
CN111225312B (en) * 2020-03-06 2023-02-17 珠海格力电器股份有限公司 Method and device for realizing call connection and wireless earphone device
CN114979869A (en) * 2021-02-22 2022-08-30 北京轩辕联科技有限公司 Earphone state determination method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102629163B (en) Method for controlling operation of touch panel and portable terminal supporting the same
CN107819931A (en) A kind of audio frequency playing method and mobile terminal based on wireless headset
CN107743279B (en) A kind of earphone noise-reduction method, earphone and mobile terminal
CN107277249A (en) It is a kind of to reduce the method and mobile terminal of interference of call signal
CN106161804A (en) A kind of audio play control method and mobile terminal
CN106358127A (en) Left and right sound channel switching method and mobile terminal
CN106341535A (en) Audio playing control method and mobile terminal
CN107819922B (en) A kind of relaying method of adjustment, wireless headset and the mobile terminal of wireless headset
CN106303789A (en) A kind of way of recording, earphone and mobile terminal
CN106685801A (en) Control method of notification messages and mobile terminal
CN105916074A (en) Play control method for multimedia and terminal
CN106255000A (en) A kind of audio signal sample method and mobile terminal
CN105812976B (en) Earphone, method for adjusting the position of microphone on earphone, and a terminal
CN107071174A (en) A kind of method of speech processing and mobile terminal
CN106371749A (en) Method and device for terminal control
CN104966520B (en) Control method for playing back, intelligent terminal and vehicle device play system
CN106802766A (en) The control method and mobile terminal of a kind of mobile terminal
CN107145331A (en) A kind of charging and the method and terminal of voice data processing
CN104301824B (en) Line traffic control equipment, controller, method and device
CN106375576A (en) Audio access control method and mobile terminal
CN103488421A (en) Method and device for processing call record and mobile terminal
CN107708093B (en) A kind of method and mobile terminal for establishing relaying data network using wireless headset
CN107801113A (en) A kind of method, wireless headset and mobile terminal for controlling wireless headset sound channel
CN107734589A (en) A kind of data transmission method and mobile terminal based on wireless headset
CN106303841A (en) The changing method of a kind of audio frequency broadcast mode and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180320

RJ01 Rejection of invention patent application after publication