CN107257406A - A kind of charging and the method and terminal of voice data processing - Google Patents
A kind of charging and the method and terminal of voice data processing Download PDFInfo
- Publication number
- CN107257406A CN107257406A CN201710400175.5A CN201710400175A CN107257406A CN 107257406 A CN107257406 A CN 107257406A CN 201710400175 A CN201710400175 A CN 201710400175A CN 107257406 A CN107257406 A CN 107257406A
- Authority
- CN
- China
- Prior art keywords
- equipment
- pin
- terminal
- charging
- voice data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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
Abstract
The invention provides the method and terminal of a kind of charging and voice data processing, wherein, methods described includes:The type for the external equipment being connected by the first pin of two-sided inserting interface in terminal, detection by interconnecting device with terminal;When detecting the type of external equipment for audio external play equipment, by the second pin of two-sided inserting interface, voice data is transmitted to audio external play equipment, and monitor on the interconnecting device whether have charging equipment insertion by the first pin;When having charging equipment insertion on interconnecting device is monitored, suspend the transmission of voice data, authentication is carried out to charging equipment using second pin;In authentication by rear, by the 3rd pin of two-sided inserting interface, the battery of terminal is charged using charging equipment, and continues through second pin, to the voice data of audio external play equipment transmission of analogue signal form.This programme can solve the problem that existing mobile terminal, it is impossible to while carrying out the problem of charging and earphone listen song.
Description
Technical field
The present invention relates to communication technical field, the method and terminal of a kind of charging and voice data processing are particularly related to.
Background technology
Two-sided inserting Type-C interfaces define the function of audio audio analog signal transmissions, are passed by type-C interfaces
Defeated audio signal, can so cancel the 3.5mm earphone interfaces above mobile phone.The multiplexing of this interface ensure that the whole of structure
Body and failure probability is reduced to a certain extent, therefore, Type-C interfaces substitution 3.5mm earphone interfaces turn into a kind of trend.
But, because another major function of Type-C interfaces is charging, when user is charged, it is impossible to
Earphone is carried out by Type-C interfaces and listens song.Therefore, Type-C interfaces are supported and cancel the terminal of 3.5mm earphone interfaces, it is impossible to
Enough charging and earphones of carrying out simultaneously listen song.
The content of the invention
It is an object of the invention to provide the method and terminal of a kind of charging and voice data processing, solve in the prior art
Support Type-C interfaces and cancel the mobile terminal of 3.5mm earphone interfaces, it is impossible to while carrying out charging and earphone listens asking for song
Topic.
In order to solve the above-mentioned technical problem, a kind of method that the embodiment of the present invention provides charging and voice data processing, should
For terminal, methods described includes:
By the first pin of two-sided inserting interface in the terminal, what detection was connected by interconnecting device with the terminal
The type of external equipment;
When detecting the type of the external equipment for audio external play equipment, pass through the second of the two-sided inserting interface
Pin, voice data is transmitted to the audio external play equipment, and by first pin monitor on the interconnecting device whether
There is charging equipment insertion;
When having charging equipment insertion on the interconnecting device is monitored, suspend the transmission of the voice data, utilize institute
State second pin and authentication is carried out to the charging equipment;
In authentication by rear, by the 3rd pin of the two-sided inserting interface, using the charging equipment to institute
The battery for stating terminal is charged, and continues through the second pin, to the audio external play equipment transmission of analogue signal shape
The voice data of formula.
The embodiment of the present invention additionally provides a kind of terminal, and 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 when detecting the type of the external equipment for audio external play equipment, by described
The second pin of two-sided inserting interface, transmits voice data, and monitor by first pin to the audio external play equipment
Whether charging equipment insertion is had on the interconnecting device;
Second processing module, during for having charging equipment insertion on the interconnecting device is monitored, suspends the audio
The transmission of data, authentication is carried out using the second pin to the charging equipment;
3rd processing module, for, by rear, by the 3rd pin of the two-sided inserting interface, being utilized in authentication
The charging equipment charges to the battery of the terminal, and continues through the second pin, is set to the audio external play
The voice data of standby transmission of analogue signal form.
The embodiment of the present invention additionally provides a kind of terminal, including:Memory, processor and store on a memory and can be
The computer program run on processor, realizes above-mentioned charging and audio number during computer program described in the computing device
According to the step in the method for processing.
The embodiment of the present invention additionally provides a kind of computer program, it is characterised in that computer journey described in computing device
The method that above-mentioned charging and voice data processing are realized during sequence.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, it is characterised in that including instruction, when described
When instruction is run on computers so that the method for the above-mentioned charging of computer execution and voice data processing.
The above-mentioned technical proposal of the present invention has the beneficial effect that:
In such scheme, the method for the charging and voice data processing is drawn by first of two-sided inserting interface in terminal
Pin, the type for the external equipment that detection is connected by interconnecting device with terminal;The type of external equipment is being detected for outside audio
When putting equipment, by the second pin of two-sided inserting interface, voice 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 having charging equipment insertion on interconnecting device is monitored, suspend audio
The transmission of data, authentication is carried out using second pin to charging equipment;In authentication by rear, connect by two-sided inserting
3rd pin of mouth, is charged using charging equipment to the battery of terminal, and continues through the second pin, to outside audio
Put the voice data of equipment transmission of analogue signal form;It can support while carrying out earphone listens song and charge function, good solution
Determined in the prior art support Type-C interfaces and cancel 3.5mm earphone interfaces mobile terminal, it is impossible to while being charged
The problem of song being listened with earphone.
Brief description of the drawings
The method flow schematic diagram of chargings and voice data processing of the Fig. 1 for the embodiment of the present invention;
The method of chargings and voice data processing of the Fig. 2 for the embodiment of the present invention realizes circuit diagram one;
The method of chargings and voice data processing of the Fig. 3 for 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.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool
Body embodiment is described in detail.
The present invention is directed to the mobile terminal supported Type-C interfaces in existing technology and cancel 3.5mm earphone interfaces, no
The problem of charging and earphone listen song can be carried out simultaneously there is provided a kind of method of charging and voice data processing, can be applied to end
End, as shown in figure 1, methods described includes:
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 inserting detection pin CC1/2.
Step 12:When detecting the type of the external equipment for audio external play equipment, connect by the two-sided inserting
The second pin of mouth, transmits voice data to the audio external play equipment, and monitors the switching by first pin setting
Whether there is charging equipment insertion for upper.
Audio external play equipment can be the equipment such as earphone or audio amplifier.
Step 13:When having charging equipment insertion on the interconnecting device is monitored, suspend the transmission of the voice data,
Authentication is carried out to the charging equipment using the second pin;
Step 14:In authentication by rear, by the 3rd pin of the two-sided inserting interface, set using the charging
The standby battery to the terminal charges, and continues through the second pin, transmits and simulates to the audio external play equipment
The voice data of signal form.
The charging and the method for voice data processing that the present embodiment is provided pass 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;The type of external equipment is being detected for sound
During frequency external speaker, by the second pin of two-sided inserting interface, voice data is transmitted to audio external play equipment, and pass through first
Whether there is charging equipment insertion on pin monitoring interconnecting device;When having charging equipment insertion on interconnecting device is monitored, pause
The transmission of voice data, authentication is carried out using second pin to charging equipment;In authentication by rear, by it is two-sided can
3rd pin of interface, is charged using charging equipment to the battery of terminal, and continues through the second pin, Xiang Yin
The voice data of frequency external speaker transmission of analogue signal form;It can support while carrying out earphone listens song and charge function, very well
Solve in the prior art support Type-C interfaces and cancel 3.5mm earphone interfaces mobile terminal, it is impossible to simultaneously carry out
The problem of charging and earphone listen song.
Further, it is described using the second pin to the charging equipment carry out authentication the step of after,
Methods described also includes:After authentication failure, do not perform and the battery of the terminal is filled using the charging equipment
The operation of electricity, continues through the second pin, to the voice data of the 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, correspondence
, after the step of detection passes through the type for the external equipment that interconnecting device is connected with the terminal, methods described is also
Including:When detecting the type of the external equipment for audio external play equipment and charging equipment, connect by the two-sided inserting
The second pin of mouth, authentication is carried out to the charging equipment;According to authentication result, by the second pin, it will treat defeated
The voice data of the analog signal form gone 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
The step of data are transferred to the audio external play equipment includes:The authentication result indicate authentication by when, pass through institute
The 3rd pin of two-sided inserting interface is stated, the battery of the terminal is charged using the charging equipment, and by described
Second pin, to the voice data of the audio external play equipment transmission of analogue signal form;Identity is indicated in the authentication result
During authentification failure, the operation charged using the charging equipment to the battery of the terminal is not performed, passes through described second
Pin, to the voice data of the 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, methods described also includes:Detecting
When the type for stating external equipment is charging equipment, by the second pin of the two-sided inserting interface, the charging equipment is entered
Row authentication;In authentication by rear, by the 3rd pin of the two-sided inserting interface, the charging equipment pair is utilized
The battery of the terminal is charged, 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 having the insertion of audio external play equipment on the interconnecting device is monitored, draw by described second
Pin, to the voice data of the 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 type for stating the connected external equipment of terminal, includes:Pass through 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 by switching
The charging equipment that two-sided inserting interface in equipment is connected with the terminal.
The method to the charging provided in an embodiment of the present invention and voice data processing is further described below.
For above-mentioned technical problem, the embodiment of the present invention proposes one kind by type-C interfaces to be charged and broadcast simultaneously
The scheme put the music on, while supporting earphone mic, earphone phone functions can be completed when charging.This programme uses mark
Accurate Type-C interfaces.
Realizing for scheme of the embodiment of the present invention can use circuit as shown in Figure 2, wherein, when only charging or only epenthesis frequency
When peripheral hardware (audio external play equipment) plays music, mobile phone is directly connected to;When charging+use audio peripheral hardware is needed,
Need to use adapter.
Switch Switch:D+/D- signal multiplexing Audio HPH-L/R function is completed in mobile phone terminal;
Controller Controller:The connected mode of switching D+/D- signals is controlled according to operative scenario;
High-speed physical serial bus USB-PHY;Detect that pin CC completes insertion detection;D+/D- completes charging in charging
Handshake function.
Audio codec Audio codec:Handle mic input signals;Export audio analog signals;
Converter Adapter:When needing side to charge, side is using the use of audio peripheral hardware, it is necessary to use converter;By one
Type-C plug insert terminal, and charging and audio signal are transferred into two socket receptacle respectively.
The scheme that the present embodiment is provided can be specific as follows:
A. default conditions, controller controlling switch switching is connected to the D+/D- that USB chargings are shaken hands.
B. when detecting pin CC1/2 signal detections to insertion audio peripheral hardware audio accessory, perform following
Operation:
A) controller controlling switch is switched to HPH_L/R;
B) when user plays music, by D+/D- exports audio signals to earphone;
C) when detecting CC1/2 state change, determine whether that charger is inserted by CC1/2 voltage status,
When being judged as charger insertion, music (because D+/D- multiplexing) is played in pause, and controller control D+/D- is connected to USB, and D+/
D- carries out charging and shaken hands, and shakes hands and successfully then proceeds by charging, while controller controlling switch is switched to HPH_L/R, beginning after
Continued broadcasting is put the music on.
C. when CC1/2 detection insertion charging equipments, charging is carried out by D+/D- and shaken hands, charging is configured after shaking hands successfully
Voltage x current is charged;CC1/2 voltage is monitored simultaneously, and earphone and charger are triggered while the door of insert state when detecting
In limited time, controller controlling switch switching HPH_L/R, audio signals pass through D+/D- audio peripheral hardwares when user plays music.
D. when CC1/2 is detected while when inserting charger and audio peripheral hardware, being held by D+/D- to carry out charging
Hand;Switch is switched to HPH_L/R and plays music 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 interfaces;Support
Play out music and charge function simultaneously;Earphone mic is supported, side charging can be carried out, while making a phone call.
The realization of scheme of the embodiment of the present invention can also use circuit as shown in Figure 3, the scheme shown in this scheme comparison Fig. 2
Difference be that (adapter has two to the earphone interface of adapter in the scheme shown in Fig. 2 using 3.5mm earphone interface
Type-C interfaces, and this scheme has a Type-C interface, also one regular headset interface), with preferable compatibility, this
Other particular contents of scheme 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 present invention additionally provides a kind of terminal, as shown in figure 4, the terminal
Including:
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 when detecting the type of the external equipment for audio external play equipment, passing through institute
The second pin of two-sided inserting interface is stated, voice data is transmitted to the audio external play equipment, and supervise by first pin
Whether survey has charging equipment insertion on the interconnecting device;
Second processing module 43, during for having charging equipment insertion on the interconnecting device is monitored, suspends the sound
The transmission of frequency evidence, authentication is carried out using the second pin to the charging equipment;
3rd processing module 44, for, by rear, passing through the 3rd pin of the two-sided inserting interface, profit in authentication
The battery of the terminal is charged with the charging equipment, and continues through the second pin, to the audio external play
The voice data of equipment transmission of analogue signal form.
The terminal that the present embodiment is provided is detected and set by switching by the first pin of two-sided inserting interface in terminal
The type of the standby external equipment being connected with terminal;When detecting the type of external equipment for audio external play equipment, by two-sided
The second pin of pluggable mouth, voice data is transmitted to audio external play equipment, and by being on the first pin monitoring interconnecting device
It is no to have charging equipment insertion;When having charging equipment insertion on interconnecting device is monitored, suspend the transmission of voice data, utilize the
Two pins carry out authentication to charging equipment;In authentication by rear, by the 3rd pin of two-sided inserting interface, utilize
Charging equipment charges to the battery of terminal, and continues through the second pin, to audio external play equipment transmission simulation letter
The voice data of number form;It can support to sing and charge function while carrying out earphone and listening, solve prop up in the prior art well
Hold Type-C interfaces and cancel the mobile terminal of 3.5mm earphone interfaces, it is impossible to while carrying out the problem of charging and earphone listen song.
Further, the terminal also includes:Fourth processing module, for utilizing the second pin to described described
Charging equipment is carried out after authentication, after authentication failure, is not performed using the charging equipment to the terminal
The operation that battery is charged, continues through the second pin, to the audio external play equipment transmission of analogue signal form
Voice data.
The type of the external equipment detected in the present embodiment can also be audio external play equipment and charging equipment, correspondence
, the terminal also includes:First authentication module, for it is described detection by interconnecting device be connected with the terminal it is external
After the type of equipment, when detecting the type of the external equipment for audio external play equipment and charging equipment, by described
The second pin of two-sided inserting interface, authentication is carried out to the charging equipment;5th processing module, for according to certification knot
Really, by the second pin, the voice data of analog signal form to be output is transferred to the audio external play equipment.
Specifically, the 5th processing module includes:First processing submodule, for indicating identity in the authentication result
Certification by when, by the 3rd pin of the two-sided inserting interface, the battery of the terminal is entered using the charging equipment
Row charging, and by the second pin, to the voice data of the audio external play equipment transmission of analogue signal form;At second
Submodule is managed, for when the authentication result indicates authentication failure, not performing using the charging equipment to the end
The operation that the battery at end is charged, by the second pin, to the audio external play equipment transmission of analogue signal form
Voice data.
The type of the external equipment detected in the present embodiment can also be charging equipment, corresponding, and the terminal is also wrapped
Include:6th processing module, after passing through the type for the external equipment that interconnecting device is connected with the terminal in the detection,
When detecting the type of the external equipment for charging equipment, by the second pin of the two-sided inserting interface, to described
Charging equipment carries out authentication;7th processing module, for, by rear, passing through the two-sided inserting interface in authentication
3rd pin, is charged using the charging equipment to the battery of the terminal, and pass through the two-sided inserting interface
Whether one pin is monitored the insertion of audio external play equipment on the interconnecting device;First transport module, for monitor it is described
When having the insertion of audio external play equipment on interconnecting device, by the second pin, to audio external play equipment transmission simulation letter
The voice data of number form.
Specifically, the first detection module includes:First detection sub-module, for passing through two-sided inserting in the terminal
First pin of interface, detects whether to set with the audio external play that the terminal is connected by the receiver J-Horner on interconnecting device
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 described of the method for above-mentioned charging and voice data processing realizes the implementation that embodiment is applied to the terminal
In example, identical technique effect can be also reached.
The embodiment of the present invention additionally provides a kind of terminal, 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 each component be coupled by bus system 505.It is understood that bus system 505 is used to realize between these components
Connection communication.Bus system 505 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal are total
Line.But for the sake of clear explanation, various buses are all designated as bus system 505 in Figure 5.
Wherein, user interface 503 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 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(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 be intended to including but not limited to these and it is any its
It is adapted to the memory of type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for
Realize various basic businesses and handle hardware based task.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 calling program or the instruction of the storage of memory 502, specifically, can be application
The program stored in program 5022 or instruction, processor 501 are used for:Draw by first of two-sided inserting interface in the terminal
Pin, the type for the external equipment that detection is connected by interconnecting device with the terminal;Detecting the type of the external equipment
During for audio external play equipment, by the second pin of the two-sided inserting interface, audio number is transmitted to the audio external play equipment
According to, and monitor on the interconnecting device whether have charging equipment insertion by first pin;Monitor it is described switching set
For when above having charging equipment insertion, suspend the transmission of the voice data, the charging equipment is entered using the second pin
Row authentication;In authentication by rear, by the 3rd pin of the two-sided inserting interface, the charging equipment pair is utilized
The battery of the terminal is charged, and continues through the second pin, to the audio external play equipment transmission of analogue signal
The voice data of form.
The method that the embodiments of the present invention are disclosed can apply in processor 501, or be realized by processor 501.
Processor 501 is probably a kind of IC chip, the disposal ability with signal.In implementation process, 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), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform 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 can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 502, processor 501 reads the information in memory 502, the step of completing the above method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application 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 performing herein described function or its combination.
Realize, can be realized by performing the module (such as process, function) of function described herein herein for software
Described technology.Software code is storable in memory and by computing device.Memory can within a processor or
Realized outside processor.
Alternatively, processor 501 is additionally operable to:Charging equipment progress identity is recognized using the second pin described
After the step of card, after authentication failure, do not perform and the battery of the terminal is charged using the charging equipment
Operation, the second pin is continued through, to the voice data of the audio external play equipment transmission of analogue signal form.
Alternatively, processor 501 is additionally operable to:The external equipment being connected in the detection by interconnecting device with the terminal
Type the step of after, detect the external equipment type be audio external play equipment and charging equipment when, pass through institute
The second pin of two-sided inserting interface is stated, authentication is carried out to the charging equipment;According to authentication result, pass through described second
Pin, the audio external play equipment is transferred to by the voice data of analog signal form to be output.
Alternatively, processor 501 specifically for:The authentication result indicate authentication by when, pass through described double
3rd pin of the pluggable mouth in face, is charged using the charging equipment to the battery of the terminal, and passes through described second
Pin, to the voice data of the audio external play equipment transmission of analogue signal form;Authentication is indicated in the authentication result
During failure, the operation charged using the charging equipment to the battery of the terminal is not performed, by the second pin,
To the voice data of the audio external play equipment transmission of analogue signal form.
Alternatively, processor 501 is additionally operable to:The external equipment being connected in the detection by interconnecting device with the terminal
Type the step of after, detect the external equipment type be charging equipment when, pass through the two-sided inserting interface
Second pin, to the charging equipment carry out authentication;In authentication by rear, pass through the two-sided inserting interface
3rd pin, is charged using the charging equipment to the battery of the terminal, and pass through the two-sided inserting interface
Whether one pin is monitored the insertion of audio external play equipment on the interconnecting device;Have on the interconnecting device is monitored outside audio
When putting equipment insertion, by the second pin, to the voice data of the audio external play equipment transmission of analogue signal form.
Alternatively, processor 501 specifically 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 by interconnecting device
On the charging equipment that is connected with the terminal of two-sided inserting interface.
Terminal 500 can realize each process that terminal is realized in previous embodiment, to avoid repeating, no longer go to live in the household of one's in-laws on getting married here
State.
To sum up, the terminal provided in an embodiment of the present invention passes through the first pin of two-sided inserting interface in terminal, detection
The type for the external equipment being connected by interconnecting device with terminal;The type of external equipment is being detected for audio external play equipment
When, by the second pin of two-sided inserting interface, voice 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 having charging equipment insertion on interconnecting device is monitored, pause voice data
Transmission, authentication is carried out using second pin to charging equipment;In authentication by rear, pass through the of two-sided inserting interface
Three pins, are charged using charging equipment to the battery of terminal, and continue through the second pin, to audio external play equipment
The voice data of transmission of analogue signal form;It can support to sing and charge function while carrying out earphone and listening, solve well existing
There is the mobile terminal supported Type-C interfaces in technology and cancel 3.5mm earphone interfaces, it is impossible to while being charged and earphone
The problem of listening song.
The embodiment of the present invention additionally provides a kind of terminal, specifically, as shown in fig. 6, the terminal 600 in the embodiment of the present invention
Can be mobile phone, tablet personal 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 block
630th, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) modules 680 and power supply
690。
Wherein, input block 630 can be used for the numeral or character information for receiving user's input, and produce and terminal 600
User set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 630 can be with
Including contact panel 631.Contact panel 631, also referred to as touch-screen, collect touch operation (ratio of the user on or near it
Such as user uses the operation of finger, any suitable object of stylus or annex on contact panel 631), and according to setting in advance
Fixed formula drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller two
Individual part.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, and signal is passed
Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then
Give the processor 660, and the order sent of reception processing device 660 and can be performed.Furthermore, it is possible to using resistance-type, electricity
The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630
Other input equipments 632 can also be included, 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, the one or more in action bars etc..
Wherein, display unit 640 can be used for the information and terminal for showing the information inputted by user or being supplied to 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 contact panel 631 can cover display panel 641, touch display screen is formed, when touch display screen inspection
Measure after the touch operation on or near it, processor 660 is sent to determine the type of touch event, with preprocessor
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 conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
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 660 is the control centre of terminal 600, utilizes each of various interfaces and connection whole mobile phone
Part, by operation or performs and is stored in software program and/or module in first memory 621, and calls and be stored in the
Data in two memories 622, perform the various functions and processing data of terminal 600, so as to carry out overall 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 is 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;The type of the external equipment is being detected for sound
During frequency external speaker, by the second pin of the two-sided inserting interface, voice data is transmitted to the audio external play equipment, and
Monitor on the interconnecting device whether have charging equipment insertion by first pin;Have on the interconnecting device is monitored
When charging equipment is inserted, suspend the transmission of the voice data, identity is carried out to the charging equipment using the second pin
Certification;In authentication by rear, by the 3rd pin of the two-sided inserting interface, using the charging equipment to the end
The battery at end is charged, and continues through the second pin, to the audio external play equipment transmission of analogue signal form
Voice data.
Alternatively, processor 660 is additionally operable to:Charging equipment progress identity is recognized using the second pin described
After the step of card, after authentication failure, do not perform and the battery of the terminal is charged using the charging equipment
Operation, the second pin is continued through, to the voice data of the audio external play equipment transmission of analogue signal form.
Alternatively, processor 660 is additionally operable to:The external equipment being connected in the detection by interconnecting device with the terminal
Type the step of after, detect the external equipment type be audio external play equipment and charging equipment when, pass through institute
The second pin of two-sided inserting interface is stated, authentication is carried out to the charging equipment;According to authentication result, pass through described second
Pin, the audio external play equipment is transferred to by the voice data of analog signal form to be output.
Alternatively, processor 660 specifically for:Specifically for:The authentication result indicate authentication by when, lead to
The 3rd pin of the two-sided inserting interface is crossed, the battery of the terminal is charged using the charging equipment, and passes through
The second pin, to the voice data of the audio external play equipment transmission of analogue signal form;Indicated in the authentication result
When authentication fails, the operation charged using the charging equipment to the battery of the terminal is not performed, by described
Second pin, to the voice data of the audio external play equipment transmission of analogue signal form.
Alternatively, processor 660 is additionally operable to:The external equipment being connected in the detection by interconnecting device with the terminal
Type the step of after, detect the external equipment type be charging equipment when, pass through the two-sided inserting interface
Second pin, to the charging equipment carry out authentication;In authentication by rear, pass through the two-sided inserting interface
3rd pin, is charged using the charging equipment to the battery of the terminal, and pass through the two-sided inserting interface
Whether one pin is monitored the insertion of audio external play equipment on the interconnecting device;Have on the interconnecting device is monitored outside audio
When putting equipment insertion, by the second pin, to the voice data of the audio external play equipment transmission of analogue signal form.
Alternatively, processor 660 specifically 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 by interconnecting device
On the charging equipment that is connected with the terminal of two-sided inserting interface.
It can be seen that, the terminal provided in an embodiment of the present invention passes through the first pin of two-sided inserting interface in terminal, detection
The type for the external equipment being connected by interconnecting device with terminal;The type of external equipment is being detected for audio external play equipment
When, by the second pin of two-sided inserting interface, voice 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 having charging equipment insertion on interconnecting device is monitored, pause voice data
Transmission, authentication is carried out using second pin to charging equipment;In authentication by rear, pass through the of two-sided inserting interface
Three pins, are charged using charging equipment to the battery of terminal, and continue through the second pin, to audio external play equipment
The voice data of transmission of analogue signal form;It can support to sing and charge function while carrying out earphone and listening, solve well existing
There is the mobile terminal supported Type-C interfaces in technology and cancel 3.5mm earphone interfaces, it is impossible to while being charged and earphone
The problem of listening song.
The embodiment of the present invention additionally provides a kind of terminal, it is characterised in that including:Memory, processor and it is stored in
Realized on reservoir and the computer program that can run on a processor, described in the computing device during computer program above-mentioned
Step in the method for charging and voice data processing.
The embodiment of the present invention additionally provides a kind of computer program, it is characterised in that computer journey described in computing device
The method that above-mentioned charging and voice data processing are realized during sequence.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, it is characterised in that including instruction, when described
When instruction is run on computers so that the method for the above-mentioned charging of computer execution and voice data processing.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation be all between difference with other embodiment, each embodiment identical similar part mutually referring to.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, 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, may be referred to the corresponding process in preceding method embodiment, 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 other dividing mode when actually realizing, such as 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 the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious 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 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 using 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.Understood based on such, technical scheme is substantially in other words
The part 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 to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
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.
It should also be noted that, herein, such as first and second or the like relational terms are used merely to one
Entity or operation make a distinction with another entity or operation, and not necessarily require or imply between these entities or operation
There is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to contain
Lid nonexcludability is included, so that process, method, article or terminal device including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or
The intrinsic key element of terminal device.In the absence of more restrictions, the key element limited by sentence "including a ...", and
It is not precluded within the process including the key element, method, article or terminal device and also there is other identical element.
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 (13)
1. a kind of charging and the method for voice data processing, applied to terminal, it is characterised in that methods described includes:
By the first pin of two-sided inserting interface in the terminal, detection by interconnecting device be connected with the terminal it is external
The type of equipment;
When detecting the type of the external equipment for audio external play equipment, draw by the second of the two-sided inserting interface
Pin, voice data is transmitted to the audio external play equipment, and by whether having on first pin monitoring interconnecting device
Charging equipment is inserted;
When having charging equipment insertion on the interconnecting device is monitored, suspend the transmission of the voice data, utilize described the
Two pins carry out authentication to the charging equipment;
In authentication by rear, by the 3rd pin of the two-sided inserting interface, using the charging equipment to the end
The battery at end is charged, and continues through the second pin, to the audio external play equipment transmission of analogue signal form
Voice data.
2. according to the method described in claim 1, it is characterised in that utilize the second pin to the charging equipment described
After the step of carrying out authentication, methods described also includes:
After authentication failure, the operation charged using the charging equipment to the battery of the terminal is not performed, after
Continue by the second pin, to the voice data of the audio external play equipment transmission of analogue signal form.
3. according to the method described in claim 1, it is characterised in that be connected in the detection by interconnecting device with the terminal
External equipment type the step of after, methods described also includes:
When detecting the type of the external equipment for audio external play equipment and charging equipment, pass through the two-sided inserting interface
Second pin, to the charging equipment carry out authentication;
According to authentication result, by the second pin, the voice data of analog signal form to be output is transferred to described
Audio external play equipment.
4. method according to claim 3, it is characterised in that described according to authentication result, will by the second pin
The step of voice data of analog signal form to be output is transferred to the audio external play equipment includes:
The authentication result indicate authentication by when, by the 3rd pin of the two-sided inserting interface, using described
Charging equipment is charged to the battery of the terminal, and by the second pin, mould is transmitted to the audio external play equipment
Intend the voice data of signal form;
When the authentication result indicates authentication failure, do not perform and the battery of the terminal is entered using the charging equipment
The operation of row charging, by the second pin, to the voice data of the audio external play equipment transmission of analogue signal form.
5. according to the method described in claim 1, it is characterised in that be connected in the detection by interconnecting device with the terminal
External equipment type the step of after, methods described also includes:
It is right by the second pin of the two-sided inserting interface when detecting the type of the external equipment for charging equipment
The charging equipment carries out authentication;
In authentication by rear, by the 3rd pin of the two-sided inserting interface, using the charging equipment to the end
The battery at end is charged, and monitors on the interconnecting device whether have audio by the first pin of the two-sided inserting interface
External speaker is inserted;
When having the insertion of audio external play equipment on the interconnecting device is monitored, by the second pin, to outside the audio
Put the voice data of equipment transmission of analogue signal form.
6. according to the method described in claim 1, it is characterised in that described to pass through first of two-sided inserting interface in the terminal
The step of pin, type for detecting the external equipment being connected by interconnecting device with the terminal, includes:
By the first pin of two-sided inserting interface in the terminal, detect whether by the 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, it is characterised 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 when detecting the type of the external equipment for audio external play equipment, by described two-sided
The second pin of pluggable mouth, voice data is transmitted to the audio external play equipment, and described by first pin monitoring
Whether charging equipment insertion is had on interconnecting device;
Second processing module, during for having charging equipment insertion on the interconnecting device is monitored, suspends the voice data
Transmission, using the second pin to the charging equipment carry out authentication;
3rd processing module, in authentication by rear, by the 3rd pin of the two-sided inserting interface, using described
Charging equipment charges to the battery of the terminal, and continues through the second pin, is passed to the audio external play equipment
The voice data of defeated analog signal form.
8. terminal according to claim 7, it is characterised in that the terminal also includes:
Fourth processing module, for it is described using the second pin to the charging equipment carry out authentication after,
After authentication failure, the operation charged using the charging equipment to the battery of the terminal is not performed, is continued through
The second pin, to the voice data of the audio external play equipment transmission of analogue signal form.
9. terminal according to claim 7, it is characterised in that the terminal also includes:
First authentication module, for the type of external equipment that is connected in the detection with the terminal by interconnecting device it
Afterwards, when detecting the type of the external equipment for audio external play equipment and charging equipment, the two-sided inserting interface is passed through
Second pin, to the charging equipment carry out authentication;
5th processing module, 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, it is characterised in that the 5th processing module includes:
First processing submodule, for the authentication result indicate authentication by when, pass through the two-sided inserting interface
The 3rd pin, the battery of the terminal is charged using the charging equipment, and by the second pin, to described
The voice data of audio external play equipment transmission of analogue signal form;
Second processing submodule, for when the authentication result indicates authentication failure, not performing and being set using the charging
The operation that the standby battery to the terminal is charged, by the second pin, transmits to the audio external play equipment and simulates
The voice data of signal form.
11. terminal according to claim 7, it is characterised in that the terminal also includes:
6th processing module, for the type of external equipment that is connected in the detection with the terminal by interconnecting device it
Afterwards, when detecting the type of the external equipment for charging equipment, by the second pin of the two-sided inserting interface, to institute
State charging equipment and carry out authentication;
7th processing module, in authentication by rear, by the 3rd 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 transport module, for having on the interconnecting device is monitored during the insertion of audio external play equipment, passes through described second
Pin, to the voice data of the audio external play equipment transmission of analogue signal form.
12. terminal according to claim 7, it is characterised in that the first detection module includes:
First detection sub-module, for the first pin by two-sided inserting interface in the terminal, has been detected whether by turning
Connect the audio external play equipment that the receiver J-Horner in equipment is connected with the terminal, and whether have can by two-sided on interconnecting device
The charging equipment that interface is connected with the terminal.
13. a kind of terminal, it is characterised in that including:Memory, processor and storing can be transported on a memory and on a processor
Capable computer program, realizes filling as described in any one of claim 1 to 6 during computer program described in the computing device
Step in electricity and the method for voice 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 true CN107257406A (en) | 2017-10-17 |
CN107257406B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108899723A (en) * | 2018-06-29 | 2018-11-27 | 厦门美图移动科技有限公司 | Adapter, electronic equipment and device identification method |
CN109189617A (en) * | 2018-07-27 | 2019-01-11 | 维沃移动通信有限公司 | A kind of universal serial bus c-type interface detection method and terminal |
WO2019109933A1 (en) * | 2017-12-05 | 2019-06-13 | 捷开通讯(深圳)有限公司 | Adapter device, multi-device detection system and detection method thereof |
Citations (6)
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 |
US20150293514A1 (en) * | 2014-04-09 | 2015-10-15 | Nokia Technologies Oy | Method and apparatus for determining direction of power delivery |
CN105120404A (en) * | 2015-07-31 | 2015-12-02 | 华为技术有限公司 | Audio equipment, terminal equipment and electronic equipment |
CN105848028A (en) * | 2016-03-21 | 2016-08-10 | 深圳市树源科技有限公司 | Earphone for charging audio device and method for charging audio device |
CN105868141A (en) * | 2016-04-18 | 2016-08-17 | 深圳市树源科技有限公司 | 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 (6)
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 |
US20150293514A1 (en) * | 2014-04-09 | 2015-10-15 | Nokia Technologies Oy | Method and apparatus for determining direction of power delivery |
CN105120404A (en) * | 2015-07-31 | 2015-12-02 | 华为技术有限公司 | Audio equipment, terminal equipment and electronic equipment |
CN105848028A (en) * | 2016-03-21 | 2016-08-10 | 深圳市树源科技有限公司 | Earphone for charging audio device and method for charging audio device |
CN105868141A (en) * | 2016-04-18 | 2016-08-17 | 深圳市树源科技有限公司 | Digital interface adapter |
CN106025742A (en) * | 2016-07-29 | 2016-10-12 | 深圳市和昶科技有限公司 | Adapter applied to Type-C interface intelligent terminal and adaption method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019109933A1 (en) * | 2017-12-05 | 2019-06-13 | 捷开通讯(深圳)有限公司 | Adapter device, multi-device detection system and detection method thereof |
US11316308B2 (en) | 2017-12-05 | 2022-04-26 | Jrd Communicaton (Shenzhen) Ltd. | Adapter, multi-device detection system and detection method thereof |
CN108899723A (en) * | 2018-06-29 | 2018-11-27 | 厦门美图移动科技有限公司 | Adapter, electronic equipment and device identification method |
CN109189617A (en) * | 2018-07-27 | 2019-01-11 | 维沃移动通信有限公司 | A kind of universal serial bus c-type interface detection method and terminal |
CN109189617B (en) * | 2018-07-27 | 2021-06-29 | 维沃移动通信有限公司 | Universal serial bus C-type interface detection method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107257406B (en) | 2019-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106791109A (en) | A kind of sound prompting method and mobile terminal | |
CN105916074A (en) | Play control method for multimedia and terminal | |
CN107145331A (en) | A kind of charging and the method and terminal of voice data processing | |
CN106303789A (en) | A kind of way of recording, earphone and mobile terminal | |
CN106782460A (en) | The method and apparatus for generating music score | |
CN107257406A (en) | A kind of charging and the method and terminal of voice data processing | |
CN106502906A (en) | A kind of method and apparatus of test application program | |
CN107423351A (en) | A kind of information processing method and electronic equipment | |
CN106101409A (en) | A kind of mobile terminal and control method | |
CN106648538B (en) | A kind of audio frequency playing method and mobile terminal of mobile terminal | |
CN107291415A (en) | A kind of charging and the method and terminal of voice data processing | |
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 | |
CN107241642A (en) | A kind of player method and terminal | |
CN107066231A (en) | A kind of acoustic information player method and mobile terminal | |
CN106792014A (en) | A kind of method of recommendation of audio, apparatus and system | |
CN108268397A (en) | The processing method and mobile terminal of a kind of access device | |
CN107801113A (en) | A kind of method, wireless headset and mobile terminal for controlling wireless headset sound channel | |
CN107171411A (en) | A kind of charging method, method of supplying power to, first terminal and second terminal | |
CN107819931A (en) | A kind of audio frequency playing method and mobile terminal based on wireless headset | |
CN106980535A (en) | The processing method and mobile terminal of a kind of event interrupt | |
CN106953986A (en) | A kind of call handover method and mobile terminal | |
CN108271092A (en) | The processing method and mobile terminal of a kind of access device | |
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 |
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 |