CN107257406B - A kind of method and terminal to charge and audio data is handled - Google Patents
A kind of method and terminal to charge and audio data is handled Download PDFInfo
- Publication number
- CN107257406B CN107257406B CN201710400175.5A CN201710400175A CN107257406B CN 107257406 B CN107257406 B CN 107257406B CN 201710400175 A CN201710400175 A CN 201710400175A CN 107257406 B CN107257406 B CN 107257406B
- Authority
- CN
- China
- Prior art keywords
- equipment
- pin
- terminal
- audio
- external
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
- H01M10/446—Initial charging measures
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
- H01M10/448—End of discharge regulating measures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides the methods and terminal of a kind of charging and audio data processing, wherein the described method includes: by the first pin of two-sided inserting interface in terminal, the type for the external equipment that detection is connected by interconnecting device with terminal;When the type for detecting external equipment is audio external play equipment, by the second pin of two-sided inserting interface, audio data is transmitted to audio external play equipment, and monitor on the interconnecting device whether have charging equipment insertion by the first pin;When there is charging equipment insertion on monitoring interconnecting device, suspend the transmission of audio data, authentication is carried out to charging equipment using second pin;It after authentication passes through, by the third pin of two-sided inserting interface, is charged using battery of the charging equipment to terminal, and continue through second pin, to the audio data of audio external play equipment transmission of analogue signal form.This programme is able to solve existing mobile terminal, can not carry out the problem of charging and earphone listen song simultaneously.
Description
Technical field
The present invention relates to fields of communication technology, particularly relate to a kind of method and terminal to charge and audio data is handled.
Background technique
Two-sided inserting Type-C interface defines the function of audio audio analog signal transmission, is passed by type-C interface
Transfer audio signal can cancel the 3.5mm earphone interface above mobile phone in this way.The multiplexing of this interface can guarantee the whole of structure
Body and failure probability is reduced to a certain extent, therefore, Type-C interface replaces 3.5mm earphone interface to become a kind of trend.
It, can not when user charges but since another major function of Type-C interface is charging
Earphone, which is carried out, by Type-C interface listens song.Therefore, it supports Type-C interface and cancels the terminal of 3.5mm earphone interface, it cannot
It reaches while carrying out charging and earphone and listen song.
Summary of the invention
The purpose of the present invention is to provide the methods and terminal of a kind of charging and audio data processing, solve in the prior art
It supports Type-C interface and cancels the mobile terminal of 3.5mm earphone interface, charging can not be carried out simultaneously and earphone listens asking for song
Topic.
In order to solve the above-mentioned technical problem, the embodiment of the present invention provides a kind of method to charge and audio data is handled, answers
For terminal, which comprises
It is connected by interconnecting device with the terminal by the first pin of two-sided inserting interface in the terminal, detection
The type of external equipment;
When the type for detecting the external equipment is audio external play equipment, pass through the second of the two-sided inserting interface
Pin, Xiang Suoshu audio external play equipment transmit audio data, and by first pin monitor on the interconnecting device whether
There is charging equipment insertion;
When there is charging equipment insertion on monitoring the interconnecting device, suspend the transmission of the audio data, utilizes institute
It states second pin and authentication is carried out to the charging equipment;
After authentication passes through, by the third pin of the two-sided inserting interface, using the charging equipment to institute
The battery for stating terminal charges, and continues through the second pin, Xiang Suoshu audio external play equipment transmission of analogue signal shape
The audio data of formula.
The embodiment of the invention also provides a kind of terminal, the terminal includes:
First detection module, for the first pin by two-sided inserting interface in the terminal, detection is set by switching
The type of the standby external equipment being connected with the terminal;
First processing module, for the type for detecting the external equipment be audio external play equipment when, by described
The second pin of two-sided inserting interface, Xiang Suoshu audio external play equipment transmits audio data, and is monitored by first pin
Whether charging equipment insertion is had on the interconnecting device;
Second processing module suspends the audio when for there is charging equipment insertion on monitoring the interconnecting device
The transmission of data carries out authentication to the charging equipment using the second pin;
Third processing module, for by the third pin of the two-sided inserting interface, utilizing after authentication passes through
The charging equipment charges to the battery of the terminal, and continues through the second pin, and Xiang Suoshu audio external play is set
The audio data of standby transmission of analogue signal form.
The embodiment of the invention also provides a kind of terminals, comprising: memory, processor and storage are on a memory and can be
The computer program run on processor, the processor realize above-mentioned charging and audio number when executing the computer program
According to the step in the method for processing.
The embodiment of the invention also provides a kind of computer programs, which is characterized in that processor executes the computer journey
The method of above-mentioned charging and audio data processing is realized when sequence.
The embodiment of the invention also provides a kind of computer readable storage mediums, which is characterized in that including instruction, when described
When instruction is run on computers, so that the method that computer executes above-mentioned charging and audio data processing.
The advantageous effects of the above technical solutions of the present invention are as follows:
In above scheme, the method for the charging and audio data processing is drawn by first of two-sided inserting interface in terminal
Foot, the type for the external equipment that detection is connected by interconnecting device with terminal;It is outside audio in the type for detecting external equipment
When putting equipment, by the second pin of two-sided inserting interface, audio data is transmitted to audio external play equipment, and pass through the first pin
Whether there is charging equipment insertion on monitoring interconnecting device;When there is charging equipment insertion on monitoring interconnecting device, suspend audio
The transmission of data carries out authentication to charging equipment using second pin;After authentication passes through, connect by two-sided inserting
The third pin of mouth, is charged, and continue through the second pin using battery of the charging equipment to terminal, to outside audio
Put the audio data of equipment transmission of analogue signal form;It can support that carrying out earphone simultaneously listens song and charge function, solve well
It has determined and has supported the mobile terminal of Type-C interface and cancellation 3.5mm earphone interface in the prior art, can not charge simultaneously
The problem of listening song with earphone.
Detailed description of the invention
Fig. 1 is the method flow schematic diagram of charging and the audio data processing of the embodiment of the present invention;
Fig. 2 is that the method for charging and the audio data processing of the embodiment of the present invention realizes circuit diagram one;
Fig. 3 is that the method for charging and the audio data processing of the embodiment of the present invention realizes circuit diagram two;
Fig. 4 is the terminal structure schematic diagram one of the embodiment of the present invention;
Fig. 5 is the terminal structure schematic diagram two of the embodiment of the present invention;
Fig. 6 is the terminal structure schematic diagram three of the embodiment of the present invention.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool
Body embodiment is described in detail.
The present invention in view of the prior art in support Type-C interface and cancel 3.5mm earphone interface mobile terminal, no
The problem of charging and earphone listen song can be carried out simultaneously, and a kind of method to charge and audio data is handled is provided, can be applied to end
End, as shown in Figure 1, which comprises
Step 11: by the first pin of two-sided inserting interface in the terminal, detection passes through interconnecting device and the end
The type of the connected external equipment in end.
It can specifically be detected, be not limited thereto by insertion detection pin CC1/2.
Step 12: when the type for detecting the external equipment is audio external play equipment, being connect by the two-sided inserting
The second pin of mouth, Xiang Suoshu audio external play equipment transmits audio data, and monitors the switching by first pin and set
Whether there is charging equipment insertion for upper.
Audio external play equipment can be the equipment such as earphone or speaker.
Step 13: when there is charging equipment insertion on monitoring the interconnecting device, suspend the transmission of the audio data,
Authentication is carried out to the charging equipment using the second pin;
Step 14: after authentication passes through, by the third pin of the two-sided inserting interface, being set using the charging
It is standby to charge to the battery of the terminal, and the second pin is continued through, the transmission simulation of Xiang Suoshu audio external play equipment
The audio data of signal form.
The method of the charging and audio data processing provided in this embodiment passes through the of two-sided inserting interface in terminal
One pin, the type for the external equipment that detection is connected by interconnecting device with terminal;It is sound in the type for detecting external equipment
When frequency external speaker, by the second pin of two-sided inserting interface, audio data is transmitted to audio external play equipment, and pass through first
Whether there is charging equipment insertion on pin monitoring interconnecting device;When there is charging equipment insertion on monitoring interconnecting device, pause
The transmission of audio data carries out authentication to charging equipment using second pin;After authentication passes through, by it is two-sided can
The third pin of interface is charged using battery of the charging equipment to terminal, and continues through the second pin, Xiang Yin
The audio data of frequency external speaker transmission of analogue signal form;It can support that carrying out earphone simultaneously listens song and charge function, very well
Solve in the prior art support Type-C interface and cancel 3.5mm earphone interface mobile terminal, can not carry out simultaneously
The problem of charging and earphone listen song.
Further, after described the step of carrying out authentication to the charging equipment using the second pin,
The method also includes: after authentication failure, does not execute and filled using battery of the charging equipment to the terminal
The operation of electricity, continues through the second pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form.
The type of the external equipment detected in the present embodiment can also be audio external play equipment and charging equipment, corresponding
, after the step of detection passes through the type for the external equipment that interconnecting device is connected with the terminal, the method is also
It include: to be connect when the type for detecting the external equipment is audio external play equipment and charging equipment by the two-sided inserting
The second pin of mouth carries out authentication to the charging equipment;It will be to defeated by the second pin according to authentication result
The audio data of analog signal form out is transferred to the audio external play equipment.
Specifically, it is described according to authentication result, by the second pin, by the audio of analog signal form to be output
Data be transferred to the step of audio external play equipment include: the authentication result instruction authentication pass through when, pass through institute
The third pin for stating two-sided inserting interface is charged using battery of the charging equipment to the terminal, and by described
Second pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form;Identity is indicated in the authentication result
When authentification failure, the operation charged using battery of the charging equipment to the terminal is not executed, passes through described second
Pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form.
The type of the external equipment detected in the present embodiment can also be charging equipment, corresponding, logical in the detection
After the step of crossing the type for the external equipment that interconnecting device is connected with the terminal, the method also includes: detecting
When the type for stating external equipment is charging equipment, by the second pin of the two-sided inserting interface, to the charging equipment into
Row authentication;After authentication passes through, by the third pin of the two-sided inserting interface, the charging equipment pair is utilized
The battery of the terminal charges, and by the first pin of the two-sided inserting interface monitor on the interconnecting device whether
There is the insertion of audio external play equipment;When there is the insertion of audio external play equipment on monitoring the interconnecting device, draw by described second
Foot, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form.
Specifically, first pin by two-sided inserting interface in the terminal, detection passes through interconnecting device and institute
The step of stating the type of the connected external equipment of terminal includes: by the first pin of two-sided inserting interface in the terminal, inspection
Whether whether surveying has the audio external play equipment being connected by the receiver J-Horner on interconnecting device with the terminal, and have and pass through switching
The charging equipment that two-sided inserting interface in equipment is connected with the terminal.
The method of the charging provided in an embodiment of the present invention and audio data processing is further described below.
In view of the above technical problems, the embodiment of the present invention propose it is a kind of by type-C interface come and meanwhile charged and broadcast
The scheme put the music on, while supporting earphone mic, earphone phone functions can be completed while charging.This programme uses mark
Quasi- Type-C interface.
Circuit as shown in Figure 2 can be used in the realization of the embodiment of the present invention, wherein when only charging or only epenthesis frequency
When peripheral hardware (audio external play equipment) plays music, it is directly connected to mobile phone;When needing charging+using audio peripheral hardware,
It needs to use adapter.
Switch Switch: the function of D+/D- signal multiplexing Audio HPH-L/R is completed in mobile phone terminal;
Controller Controller: the connection type according to operative scenario control switching D+/D- signal;
High-speed physical serial bus USB-PHY;It detects pin CC and completes insertion detection;D+/D- completes charging in charging
Handshake function.
Audio codec Audio codec: processing mic input signal;Export audio analog signals;
Converter Adapter: when needing side to charge, side uses the use of audio peripheral hardware, needs using converter;By one
Type-C plug is inserted into terminal, and charging and audio signal are transferred to two socket receptacle respectively.
Scheme provided in this embodiment can be specific as follows:
A. default conditions, the switching of controller control switch are connected to the D+/D- that USB charging is shaken hands.
B. it when detecting pin CC1/2 signal detection to when being inserted into audio peripheral hardware audio accessory, executes following
Operation:
A) controller control switch is switched to HPH_L/R;
B) when user plays music, by D+/D- output audio signal to earphone;
C) when detecting the state change of CC1/2, charger insertion is judged whether there is by the voltage status of CC1/2,
When being judged as charger insertion, pause is played music the multiplexing of D+/D- (because), and controller control D+/D- is connected to USB, and D+/
D- carries out charging and shakes hands, and shakes hands and successfully then starts to charge, while controller control switch is switched to HPH_L/R, beginning after
Continued broadcasting is put the music on.
C. when CC1/2 detects insertion charging equipment, charging is carried out by D+/D- and is shaken hands, configure charging after shaking hands successfully
Voltage and current charges;The voltage for monitoring CC1/2 simultaneously, when the door for detecting triggering earphone and charger while insert state
In limited time, controller control switch switches HPH_L/R, and audio signal passes through D+/D- audio peripheral hardware when user plays music.
D. when CC1/2 is detected while inserting charger and audio peripheral hardware, charging is carried out by D+/D- and is held
Hand;Switching plays music to HPH_L/R after the completion of charging is shaken hands.
From the foregoing, it will be observed that scheme provided in an embodiment of the present invention can support positive anti-plug;Replace 3.5mm earphone interface;It supports
Music and charge function are played out simultaneously;It supports earphone mic, side charging is able to carry out, while making a phone call.
Circuit as shown in Figure 3 also can be used in the realization of the embodiment of the present invention, this scheme comparison scheme shown in Fig. 2
The difference is that the earphone interface of adapter using 3.5mm earphone interface (in scheme shown in Fig. 2 there are two adapters
Type-C interface, and this scheme has a Type-C interface, there are one regular headset interfaces), there is preferable compatibility, this
Other particular contents of scheme can refer to the related content of scheme shown in above-mentioned Fig. 2.
In order to solve the above-mentioned technical problem, the embodiment of the invention also provides a kind of terminals, as shown in figure 4, the terminal
Include:
First detection module 41, for the first pin by two-sided inserting interface in the terminal, detection passes through switching
The type for the external equipment that equipment is connected with the terminal;
First processing module 42, for passing through institute when the type for detecting the external equipment is audio external play equipment
The second pin of two-sided inserting interface is stated, Xiang Suoshu audio external play equipment transmits audio data, and supervises by first pin
Whether survey has charging equipment insertion on the interconnecting device;
Second processing module 43 suspends the sound when for there is charging equipment insertion on monitoring the interconnecting device
The transmission of frequency evidence carries out authentication to the charging equipment using the second pin;
Third processing module 44, for passing through the third pin of the two-sided inserting interface, benefit after authentication passes through
It is charged with battery of the charging equipment to the terminal, and continues through the second pin, Xiang Suoshu audio external play
The audio data of equipment transmission of analogue signal form.
By the first pin of two-sided inserting interface in terminal, detection passes through to transfer to be set the terminal provided in this embodiment
The type of the standby external equipment being connected with terminal;When the type for detecting external equipment is audio external play equipment, by two-sided
The second pin of pluggable mouth transmits audio data to audio external play equipment, and by being on the first pin monitoring interconnecting device
It is no to have charging equipment insertion;When there is charging equipment insertion on monitoring interconnecting device, suspend the transmission of audio data, utilizes
Two pins carry out authentication to charging equipment;After authentication passes through, by the third pin of two-sided inserting interface, utilize
Charging equipment charges to the battery of terminal, and continues through the second pin, transmits simulation letter to audio external play equipment
The audio data of number form;It can support to carry out earphone simultaneously and listen song and charge function, very good solution is propped up in the prior art
It holds Type-C interface and cancels the mobile terminal of 3.5mm earphone interface, the problem of charging and earphone listen song can not be carried out simultaneously.
Further, the terminal further include: fourth processing module, for utilizing the second pin to described described
After charging equipment carries out authentication, after authentication failure, do not execute using the charging equipment to the terminal
The operation that battery charges continues through the second pin, Xiang Suoshu audio external play equipment transmission of analogue signal form
Audio data.
The type of the external equipment detected in the present embodiment can also be audio external play equipment and charging equipment, corresponding
, the terminal further include: the first authentication module, it is external for being connected with the terminal in the detection by interconnecting device
After the type of equipment, when the type for detecting the external equipment is audio external play equipment and charging equipment, by described
The second pin of two-sided inserting interface carries out authentication to the charging equipment;5th processing module, for being tied according to certification
The audio data of analog signal form to be output is transferred to the audio external play equipment by the second pin by fruit.
Specifically, the 5th processing module includes: the first processing submodule, for indicating identity in the authentication result
Certification is when passing through, by the third pin of the two-sided inserting interface, using the charging equipment to the battery of the terminal into
Row charging, and pass through the second pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form;At second
Submodule is managed, for not executing using the charging equipment to the end in authentication result instruction authentication failure
The operation that the battery at end charges, by the second pin, Xiang Suoshu audio external play equipment transmission of analogue signal form
Audio data.
The type of the external equipment detected in the present embodiment can also be charging equipment, corresponding, and the terminal is also wrapped
It includes: the 6th processing module, for after the type for the external equipment that the detection is connected by interconnecting device with the terminal,
When the type for detecting the external equipment is charging equipment, by the second pin of the two-sided inserting interface, to described
Charging equipment carries out authentication;7th processing module, for passing through the two-sided inserting interface after authentication passes through
Third pin is charged using battery of the charging equipment to the terminal, and pass through the two-sided inserting interface the
Whether one pin monitors the insertion of audio external play equipment on the interconnecting device;First transmission module, for monitor it is described
When having the insertion of audio external play equipment on interconnecting device, pass through the second pin, Xiang Suoshu audio external play equipment transmission simulation letter
The audio data of number form.
Specifically, the first detection module includes: the first detection sub-module, for passing through two-sided inserting in the terminal
First pin of interface detects whether that the audio external play being connected by the receiver J-Horner on interconnecting device with the terminal is set
It is standby, and whether have the charging equipment being connected by the two-sided inserting interface on interconnecting device with the terminal.
Wherein, the realization embodiment of the method for above-mentioned charging and audio data processing is suitable for the implementation of the terminal
In example, it can also reach identical technical effect.
The embodiment of the invention also provides a kind of terminals, as shown in figure 5, the terminal 500 includes:
At least one processor 501, memory 502, at least one network interface 504 and user interface 503.Terminal 500
In various components be coupled by bus system 505.It is understood that bus system 505 is for realizing between these components
Connection communication.Bus system 505 further includes that power bus, control bus and status signal are total in addition to including data/address bus
Line.But for the sake of clear explanation, various buses are all designated as bus system 505 in Fig. 5.
Wherein, user interface 503 may 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 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 502 of system and method described herein is intended to include but is not limited to these and arbitrarily its
It is suitble to the memory of type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 5022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program or instruction of calling memory 502 to store, specifically, can be application
The program or instruction stored in program 5022, processor 501 are used for: being drawn by first of two-sided inserting interface in the terminal
Foot, the type for the external equipment that detection is connected by interconnecting device with the terminal;In the type for detecting the external equipment
When for audio external play equipment, pass through the second pin of the two-sided inserting interface, Xiang Suoshu audio external play equipment transmits audio number
According to, and monitor on the interconnecting device whether have charging equipment insertion by first pin;Monitor it is described switching set
It is standby to suspend the transmission of the audio data when above having charging equipment insertion, using the second pin to the charging equipment into
Row authentication;After authentication passes through, by the third pin of the two-sided inserting interface, the charging equipment pair is utilized
The battery of the terminal charges, and continues through the second pin, Xiang Suoshu audio external play equipment transmission of analogue signal
The audio data of form.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501.
Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing
Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 502, processor 501 reads the information in memory 502, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Optionally, processor 501 is also used to: being recognized using the second pin charging equipment progress identity described
After the step of card, after authentication failure, does not execute and charged using battery of the charging equipment to the terminal
Operation, continue through the second pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form.
Optionally, processor 501 is also used to: in the external equipment that the detection is connected by interconnecting device with the terminal
Type the step of after, the type for detecting the external equipment be audio external play equipment and charging equipment when, pass through institute
The second pin for stating two-sided inserting interface carries out authentication to the charging equipment;According to authentication result, pass through described second
The audio data of analog signal form to be output is transferred to the audio external play equipment by pin.
Optionally, processor 501 is specifically used for: when authentication result instruction authentication passes through, by described double
The third pin of the pluggable mouth in face is charged using battery of the charging equipment to the terminal, and passes through described second
Pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form;Authentication is indicated in the authentication result
When failure, the operation charged using battery of the charging equipment to the terminal is not executed, by the second pin,
To the audio data of the audio external play equipment transmission of analogue signal form.
Optionally, processor 501 is also used to: in the external equipment that the detection is connected by interconnecting device with the terminal
Type the step of after, the type for detecting the external equipment be charging equipment when, pass through the two-sided inserting interface
Second pin, to the charging equipment carry out authentication;After authentication passes through, pass through the two-sided inserting interface
Third pin is charged using battery of the charging equipment to the terminal, and pass through the two-sided inserting interface the
Whether one pin monitors the insertion of audio external play equipment on the interconnecting device;Have outside audio on monitoring the interconnecting device
When putting equipment insertion, pass through the second pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form.
Optionally, processor 501 is specifically used for: by the first pin of two-sided inserting interface in the terminal, detection is
It is no to have the audio external play equipment being connected by the receiver J-Horner on interconnecting device with the terminal, and whether have and pass through interconnecting device
On the charging equipment that is connected with the terminal of two-sided inserting interface.
Terminal 500 can be realized each process that terminal is realized in previous embodiment, no longer superfluous here to avoid repeating
It states.
To sum up, first pin of the terminal provided in an embodiment of the present invention by two-sided inserting interface in terminal, detection
Pass through the type for the external equipment that interconnecting device is connected with terminal;It is audio external play equipment in the type for detecting external equipment
When, by the second pin of two-sided inserting interface, audio data is transmitted to audio external play equipment, and turn by the monitoring of the first pin
Whether connect has charging equipment insertion in equipment;When there is charging equipment insertion on monitoring interconnecting device, suspend audio data
Transmission carries out authentication to charging equipment using second pin;After authentication passes through, pass through the of two-sided inserting interface
Three pins are charged using battery of the charging equipment to terminal, and continue through the second pin, to audio external play equipment
The audio data of transmission of analogue signal form;It can support to carry out earphone simultaneously and listen song and charge function, very good solution is existing
There is the mobile terminal supported Type-C interface in technology and cancel 3.5mm earphone interface, charging and earphone can not be carried out simultaneously
The problem of listening song.
The embodiment of the invention also provides a kind of terminals, specifically, as shown in fig. 6, the terminal 600 in the embodiment of the present invention
It can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer
Deng.
Terminal 600 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input unit
630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) module 680 and power supply
690。
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generate and terminal 600
User setting and function control related signal input.Specifically, in the embodiment of the present invention, which can be with
Including touch panel 631.Touch panel 631, also referred to as touch screen collect the touch operation (ratio of user on it or nearby
Such as user uses the operation of finger, stylus any suitable object or attachment on touch panel 631), and according to setting in advance
Fixed formula drives corresponding attachment device.Optionally, touch panel 631 may include touch detecting apparatus and touch controller two
A part.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, signal is passed
Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then
The processor 660 is given, and order that processor 660 is sent can be received and executed.Furthermore, it is possible to using resistance-type, electricity
The multiple types such as appearance formula, infrared ray and surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit 630
Can also include other input equipments 632, other input equipments 632 can include but is not limited to physical keyboard, function key (such as
Volume control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 640 can be used for showing information input by user or be supplied to the information and terminal of user
600 various menu interfaces.Display unit 640 may include display panel 641, optionally, can use LCD or organic light emission two
The forms such as pole pipe (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device
660 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 common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common 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 elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 660 is the control centre of terminal 600, utilizes each of various interfaces and connection whole mobile phone
Part by running or execute the software program and/or module that are stored in first memory 621, and calls and is stored in the
Data in two memories 622 execute the various functions and processing data of terminal 600, to carry out whole prison to terminal 600
Control.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/
Or the data in the second memory 622, processor 660 are used for: by the first pin of two-sided inserting interface in the terminal,
The type for the external equipment that detection is connected by interconnecting device with the terminal;It is sound in the type for detecting the external equipment
When frequency external speaker, by the second pin of the two-sided inserting interface, Xiang Suoshu audio external play equipment transmits audio data, and
Monitor on the interconnecting device whether have charging equipment insertion by first pin;Have on monitoring the interconnecting device
When charging equipment is inserted into, suspend the transmission of the audio data, identity is carried out to the charging equipment using the second pin
Certification;After authentication passes through, by the third pin of the two-sided inserting interface, using the charging equipment to the end
The battery at end charges, and continues through the second pin, Xiang Suoshu audio external play equipment transmission of analogue signal form
Audio data.
Optionally, processor 660 is also used to: being recognized using the second pin charging equipment progress identity described
After the step of card, after authentication failure, does not execute and charged using battery of the charging equipment to the terminal
Operation, continue through the second pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form.
Optionally, processor 660 is also used to: in the external equipment that the detection is connected by interconnecting device with the terminal
Type the step of after, the type for detecting the external equipment be audio external play equipment and charging equipment when, pass through institute
The second pin for stating two-sided inserting interface carries out authentication to the charging equipment;According to authentication result, pass through described second
The audio data of analog signal form to be output is transferred to the audio external play equipment by pin.
Optionally, processor 660 is specifically used for: being specifically used for: when authentication result instruction authentication passes through, leading to
The third pin for crossing the two-sided inserting interface is charged using battery of the charging equipment to the terminal, and passed through
The second pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form;It is indicated in the authentication result
When authentication fails, the operation charged using battery of the charging equipment to the terminal is not executed, by described
Second pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form.
Optionally, processor 660 is also used to: in the external equipment that the detection is connected by interconnecting device with the terminal
Type the step of after, the type for detecting the external equipment be charging equipment when, pass through the two-sided inserting interface
Second pin, to the charging equipment carry out authentication;After authentication passes through, pass through the two-sided inserting interface
Third pin is charged using battery of the charging equipment to the terminal, and pass through the two-sided inserting interface the
Whether one pin monitors the insertion of audio external play equipment on the interconnecting device;Have outside audio on monitoring the interconnecting device
When putting equipment insertion, pass through the second pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form.
Optionally, processor 660 is specifically used for: by the first pin of two-sided inserting interface in the terminal, detection is
It is no to have the audio external play equipment being connected by the receiver J-Horner on interconnecting device with the terminal, and whether have and pass through interconnecting device
On the charging equipment that is connected with the terminal of two-sided inserting interface.
As it can be seen that first pin of the terminal provided in an embodiment of the present invention by two-sided inserting interface in terminal, detection
Pass through the type for the external equipment that interconnecting device is connected with terminal;It is audio external play equipment in the type for detecting external equipment
When, by the second pin of two-sided inserting interface, audio data is transmitted to audio external play equipment, and turn by the monitoring of the first pin
Whether connect has charging equipment insertion in equipment;When there is charging equipment insertion on monitoring interconnecting device, suspend audio data
Transmission carries out authentication to charging equipment using second pin;After authentication passes through, pass through the of two-sided inserting interface
Three pins are charged using battery of the charging equipment to terminal, and continue through the second pin, to audio external play equipment
The audio data of transmission of analogue signal form;It can support to carry out earphone simultaneously and listen song and charge function, very good solution is existing
There is the mobile terminal supported Type-C interface in technology and cancel 3.5mm earphone interface, charging and earphone can not be carried out simultaneously
The problem of listening song.
The embodiment of the invention also provides a kind of terminals characterized by comprising memory, processor and is stored in
On reservoir and the computer program that can run on a processor, the processor is realized above-mentioned when executing the computer program
Step in the method for charging and audio data processing.
The embodiment of the invention also provides a kind of computer programs, which is characterized in that processor executes the computer journey
The method of above-mentioned charging and audio data processing is realized when sequence.
The embodiment of the invention also provides a kind of computer readable storage mediums, which is characterized in that including instruction, when described
When instruction is run on computers, so that the method that computer executes above-mentioned charging and audio data processing.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
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, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or the terminal device that include a series of elements not only include that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of terminal device.In the absence of more restrictions, the element limited by sentence "including a ...", and
It is not precluded in the process, method including the element, article or terminal device that there is also other identical elements.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (13)
1. a kind of method of charging and audio data processing, is applied to terminal, which is characterized in that the described method includes:
By the first pin of two-sided inserting interface in the terminal, detection is connected by interconnecting device with the terminal external
The type of equipment;
When the type for detecting the external equipment is audio external play equipment, draw by the second of the two-sided inserting interface
Whether foot, Xiang Suoshu audio external play equipment transmit audio data, and by having on first pin monitoring interconnecting device
Charging equipment insertion;
When there is charging equipment insertion on monitoring the interconnecting device, suspend the transmission of the audio data, utilizes described
Two pins carry out authentication to the charging equipment;
After authentication passes through, by the third pin of the two-sided inserting interface, using the charging equipment to the end
The battery at end charges, and continues through the second pin, Xiang Suoshu audio external play equipment transmission of analogue signal form
Audio data.
2. the method according to claim 1, wherein utilizing the second pin to the charging equipment described
After the step of carrying out authentication, the method also includes:
After authentication failure, the operation charged using battery of the charging equipment to the terminal is not executed, after
It is continuous to pass through the second pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form.
3. the method according to claim 1, wherein being connected by interconnecting device with the terminal in the detection
External equipment type the step of after, the method also includes:
When the type for detecting the external equipment is audio external play equipment and charging equipment, pass through the two-sided inserting interface
Second pin, to the charging equipment carry out authentication;
The audio data of analog signal form to be output is transferred to described according to authentication result by the second pin
Audio external play equipment.
4. according to the method described in claim 3, it is characterized in that, described will by the second pin according to authentication result
The audio data of analog signal form to be output is transferred to the step of audio external play equipment and includes:
When authentication result instruction authentication passes through, by the third pin of the two-sided inserting interface, using described
Charging equipment charges to the battery of the terminal, and by the second pin, Xiang Suoshu audio external play equipment transmits mould
The audio data of quasi- signal form;
In authentication result instruction authentication failure, do not execute using the charging equipment to the battery of the terminal into
The operation of row charging, passes through the second pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form.
5. the method according to claim 1, wherein being connected by interconnecting device with the terminal in the detection
External equipment type the step of after, the method also includes:
It is right by the second pin of the two-sided inserting interface when the type for detecting the external equipment is charging equipment
The charging equipment carries out authentication;
After authentication passes through, by the third pin of the two-sided inserting interface, using the charging equipment to the end
The battery at end charges, and monitors on the interconnecting device whether have audio by the first pin of the two-sided inserting interface
External speaker insertion;
When there is the insertion of audio external play equipment on monitoring the interconnecting device, by the second pin, outside Xiang Suoshu audio
Put the audio data of equipment transmission of analogue signal form.
6. the method according to claim 1, wherein described pass through first of two-sided inserting interface in the terminal
Pin, detect be connected by interconnecting device with the terminal external equipment type the step of include:
By the first pin of two-sided inserting interface in the terminal, detect whether by receiver J-Horner on interconnecting device with
The connected audio external play equipment of the terminal, and whether have and be connected by the two-sided inserting interface on interconnecting device with the terminal
Charging equipment.
7. a kind of terminal, which is characterized in that the terminal includes:
First detection module, for the first pin by two-sided inserting interface in the terminal, detection by interconnecting device with
The type of the connected external equipment of the terminal;
First processing module, for the type for detecting the external equipment be audio external play equipment when, by described two-sided
The second pin of pluggable mouth, Xiang Suoshu audio external play equipment transmit audio data, and by described in first pin monitoring
Whether charging equipment insertion is had on interconnecting device;
Second processing module suspends the audio data when for there is charging equipment insertion on monitoring the interconnecting device
Transmission, using the second pin to the charging equipment carry out authentication;
Third processing module, for after authentication passes through, by the third pin of the two-sided inserting interface, using described
Charging equipment charges to the battery of the terminal, and continues through the second pin, and Xiang Suoshu audio external play equipment passes
The audio data of defeated analog signal form.
8. terminal according to claim 7, which is characterized in that the terminal further include:
Fourth processing module, for it is described using the second pin to the charging equipment progress authentication after,
After authentication failure, the operation charged using battery of the charging equipment to the terminal is not executed, is continued through
The second pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form.
9. terminal according to claim 7, which is characterized in that the terminal further include:
First authentication module, the type of the external equipment for being connected with the terminal in the detection by interconnecting device it
Afterwards, when the type for detecting the external equipment is audio external play equipment and charging equipment, pass through the two-sided inserting interface
Second pin, to the charging equipment carry out authentication;
5th processing module is used for according to authentication result, by the second pin, by the sound of analog signal form to be output
Frequency evidence is transferred to the audio external play equipment.
10. terminal according to claim 9, which is characterized in that the 5th processing module includes:
First processing submodule, for passing through the two-sided inserting interface when authentication result instruction authentication passes through
Third pin, charged using battery of the charging equipment to the terminal, and pass through the second pin, Xiang Suoshu
The audio data of audio external play equipment transmission of analogue signal form;
Second processing submodule, for not executing and being set using the charging in authentication result instruction authentication failure
The standby operation charged to the battery of the terminal passes through the second pin, the transmission simulation of Xiang Suoshu audio external play equipment
The audio data of signal form.
11. terminal according to claim 7, which is characterized in that the terminal further include:
6th processing module, the type of the external equipment for being connected with the terminal in the detection by interconnecting device it
Afterwards, when the type for detecting the external equipment is charging equipment, by the second pin of the two-sided inserting interface, to institute
It states charging equipment and carries out authentication;
7th processing module, for after authentication passes through, by the third pin of the two-sided inserting interface, using described
Charging equipment charges to the battery of the terminal, and monitors the switching by the first pin of the two-sided inserting interface
Whether audio external play equipment insertion is had in equipment;
First transmission module passes through described second when for there is the insertion of audio external play equipment on monitoring the interconnecting device
Pin, the audio data of Xiang Suoshu audio external play equipment transmission of analogue signal form.
12. terminal according to claim 7, which is characterized in that the first detection module includes:
First detection sub-module has been detected whether for the first pin by two-sided inserting interface in the terminal by turning
The audio external play equipment that the receiver J-Horner in equipment is connected with the terminal is connect, and whether having can by two-sided on interconnecting device
The charging equipment that interface is connected with the terminal.
13. a kind of terminal characterized by comprising memory, processor and storage can transport on a memory and on a processor
Capable computer program is realized when the processor executes the computer program and is filled as claimed in any one of claims 1 to 6
Step in electricity and the method for audio data processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710400175.5A CN107257406B (en) | 2017-05-31 | 2017-05-31 | A kind of method and terminal to charge and audio data is handled |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710400175.5A CN107257406B (en) | 2017-05-31 | 2017-05-31 | A kind of method and terminal to charge and audio data is handled |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107257406A CN107257406A (en) | 2017-10-17 |
CN107257406B true CN107257406B (en) | 2019-03-05 |
Family
ID=60028218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710400175.5A Active CN107257406B (en) | 2017-05-31 | 2017-05-31 | A kind of method and terminal to charge and audio data is handled |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107257406B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108054541B (en) | 2017-12-05 | 2020-09-29 | 捷开通讯(深圳)有限公司 | Switching device, multi-equipment detection system and detection method thereof |
CN108899723B (en) * | 2018-06-29 | 2019-11-05 | 厦门美图移动科技有限公司 | Adapter, electronic equipment and equipment identification method |
CN109189617B (en) * | 2018-07-27 | 2021-06-29 | 维沃移动通信有限公司 | Universal serial bus C-type interface detection method and terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202260056U (en) * | 2011-10-17 | 2012-05-30 | 中金金融认证中心有限公司 | Universal serial bus (USB) switching device connected with audio interface |
CN105120404A (en) * | 2015-07-31 | 2015-12-02 | 华为技术有限公司 | Audio equipment, terminal equipment and electronic equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6083878B2 (en) * | 2014-04-09 | 2017-02-22 | ノキア テクノロジーズ オーユー | Method and apparatus for determining the direction of power supply |
CN105848028B (en) * | 2016-03-21 | 2018-12-25 | 深圳市树源科技有限公司 | Earphone for charging for audio frequency apparatus and be audio frequency apparatus charging method |
CN105868141B (en) * | 2016-04-18 | 2019-09-27 | 深圳市树源科技有限公司 | Digital interface adapter |
CN106025742A (en) * | 2016-07-29 | 2016-10-12 | 深圳市和昶科技有限公司 | Adapter applied to Type-C interface intelligent terminal and adaption method |
-
2017
- 2017-05-31 CN CN201710400175.5A patent/CN107257406B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202260056U (en) * | 2011-10-17 | 2012-05-30 | 中金金融认证中心有限公司 | Universal serial bus (USB) switching device connected with audio interface |
CN105120404A (en) * | 2015-07-31 | 2015-12-02 | 华为技术有限公司 | Audio equipment, terminal equipment and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107257406A (en) | 2017-10-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105519085B (en) | Include the electronic installation of dismountable component | |
CN106844067B (en) | A kind of processing method and mobile terminal of content | |
CN107257406B (en) | A kind of method and terminal to charge and audio data is handled | |
CN105264507B (en) | The apparatus and method for identifying external equipment in a communications system | |
JP5987121B2 (en) | Battery, battery protection method, battery protection device, battery protection system, program, and recording medium therefor | |
CN107145331A (en) | A kind of charging and the method and terminal of voice data processing | |
CN105916074A (en) | Play control method for multimedia and terminal | |
CN106303789A (en) | A kind of way of recording, earphone and mobile terminal | |
CN106648538B (en) | A kind of audio frequency playing method and mobile terminal of mobile terminal | |
CN108268395A (en) | A kind of method and mobile terminal of data communication | |
CN108271093A (en) | The processing method and mobile terminal of a kind of access device | |
CN107291415A (en) | A kind of charging and the method and terminal of voice data processing | |
CN107819931A (en) | A kind of audio frequency playing method and mobile terminal based on wireless headset | |
CN110290283A (en) | Method and device for controlling vibration and folding screen equipment | |
CN108268397A (en) | The processing method and mobile terminal of a kind of access device | |
CN109271156A (en) | The bottom call method and Related product of gaming platform | |
CN108271092A (en) | The processing method and mobile terminal of a kind of access device | |
CN108270253A (en) | A kind of charging method and mobile terminal | |
CN108268396A (en) | The processing method and mobile terminal of a kind of access device | |
CN108268393A (en) | The processing method and mobile terminal of a kind of access device | |
CN105933024B (en) | A kind of Intelligent auxiliary equipment, mobile terminal and its control method | |
CN108268399A (en) | A kind of method and mobile terminal of data communication | |
CN108270255B (en) | A kind of charging method and mobile terminal | |
CN109271155A (en) | The capacity calling method and Related product of gaming platform | |
CN109491569A (en) | Method of controlling operation thereof and Related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |