CN108271094A - The processing method and mobile terminal of a kind of access device - Google Patents
The processing method and mobile terminal of a kind of access device Download PDFInfo
- Publication number
- CN108271094A CN108271094A CN201611265815.8A CN201611265815A CN108271094A CN 108271094 A CN108271094 A CN 108271094A CN 201611265815 A CN201611265815 A CN 201611265815A CN 108271094 A CN108271094 A CN 108271094A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- access device
- pins
- type
- interfaces
- 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
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R29/00—Coupling parts for selective co-operation with a counterpart in different ways to establish different circuits, e.g. for voltage selection, for series-parallel selection, programmable connectors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
An embodiment of the present invention provides the processing method and mobile terminal of a kind of access device, the mobile terminal is connect by Type C interface with adapter, the method includes:Determine the access device by adapter access mobile terminal;When access device is earphone, by the TX/RX pins of Type C interface and earphone into row data communication;When access device is storage device, by the D+/D pins of Type C interface and storage device into row data communication;When access device is charger, it is charged by the CC1/CC2 pins of Type C interface, Vbus pins for mobile terminal, using the embodiment of the present invention, solving mobile terminal can not be realized while be listened to music using a Type C interface, transmitted data and charging and can not handle multiple equipment access, and then the problem of mobile terminal is towards ultrathin and integrated development trend can not be met, it realizes mobile terminal and connects multiple equipment simultaneously using a Type C interface, meet the ultrathin of mobile terminal and integrated.
Description
Technical field
The present invention relates to field of communication technology, more particularly, to the processing method and mobile terminal of a kind of access device.
Background technology
With the development of electronic technology and the communication technology, mobile terminal can listen to music, takes pictures, store data, have OTG
(On-The-Go) mobile terminal of function can also be with storage device into row data communication.
Corresponding to specific function, setting is needed in mobile terminal for accessing connecing for the peripheral hardware for needing to carry out data interaction
Mouthful, such as accessing interface, the USB (Universal for accessing storage device that earphone peripheral hardware carries out audio transmission
Serial Bus, universal serial bus) interface, charging interface etc. for charger access.Therefore, mobile terminal has multiple
Interface, to meet the access requirement of different peripheral hardwares.Type-C interfaces can carry out audio transmission, storage data transmission and fill
Electricity can cancel dedicated 3.5mm audio interface and charging interface, and Type-C interface volume smallers, be connect using Type-C
Mouth can meet mobile terminal towards ultrathin and integrated development trend.
But in the prior art, the mobile terminal with OTG can not be realized while be listened using a Type-C interface
Music, transmission data and charging and multiple equipment access can not be handled, so can not meet mobile terminal towards ultrathin and
Integrated development trend.
Invention content
The embodiment of the present invention proposes the processing method and mobile terminal of a kind of access device, to solve mobile terminal use
One Type-C interface can not be realized while be listened to music, transmit data and charging and can not handle multiple equipment access, and then
The problem of mobile terminal is towards ultrathin and integrated development trend can not be met.
In a first aspect, an embodiment of the present invention provides a kind of processing method of access device, connect applied to Type-C
The mobile terminal of mouth, the mobile terminal are connect by the Type-C interfaces with adapter, the method includes:
Determine the access device by adapter access mobile terminal;
When it is earphone to determine the access device, by the TX/RX pins of the Type-C interfaces and the earphone into
Row data communication;
When it is storage device to determine the access device, deposited by the D+/D- pins of the Type-C interfaces with described
Equipment is stored up into row data communication;
When it is charger to determine the access device, pass through the CC1/CC2 pins of the Type-C interfaces, Vbus pins
It charges for the mobile terminal.
Second aspect provides a kind of mobile terminal, and the mobile terminal includes Type-C interfaces, and the mobile terminal leads to
It crosses the Type-C interfaces to connect with adapter, the mobile terminal further includes:
Access device determining module, for determining to access the access device of mobile terminal by the adapter;
First data communication module, for when it is earphone to determine the access device, passing through the Type-C interfaces
TX/RX pins and the earphone are into row data communication;
Second data communication module, for when it is storage device to determine the access device, being connect by the Type-C
Mouthful D+/D- pins and the storage device into row data communication;
Charging module, for when it is charger to determine the access device, passing through the CC1/CC2 of the Type-C interfaces
Pin, Vbus pins charge for the mobile terminal.
In embodiments of the present invention, mobile terminal is connect by Type-C interfaces with adapter, determines to pass through switching
Adapter accesses the access device of mobile terminal;When it is earphone to determine access device, pass through the TX/RX pins of Type-C interfaces
With earphone into row data communication;When access device is storage device, pass through the D+/D- pins and storage device of Type-C interfaces
Into row data communication;It is movement by the CC1/CC2 pins of Type-C interfaces, Vbus pins when access device is charger
Terminal charge using the embodiment of the present invention, can realize that earphone, storage device and charger access mobile terminal simultaneously, use
The pin and earphone of corresponding Type-C interfaces, storage device charge into row data communication and for mobile terminal, solve shifting
Dynamic terminal can not be realized while be listened to music using a Type-C interface, transmit data and charging and can not handle multiple equipment
Access, and then the problem of mobile terminal is towards ultrathin and integrated development trend can not be met, realizing mobile terminal makes
Multiple equipment is connected simultaneously with a Type-C interface, meets the ultrathin of mobile terminal and integrated.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of step flow chart of the processing method of access device of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of the processing method of access device of the embodiment of the present invention two;
Fig. 3 is the mobile terminal of the embodiment of the present invention and earphone, storage device, the connection diagram of charger;
Fig. 4 is a kind of one of structure diagram of mobile terminal of the embodiment of the present invention three;
Fig. 4 a are the two of the structure diagram of a kind of mobile terminal of the embodiment of the present invention three;
Fig. 4 b are the three of the structure diagram of a kind of mobile terminal of the embodiment of the present invention three;
Fig. 4 c are the four of the structure diagram of a kind of mobile terminal of the embodiment of the present invention three;
Fig. 5 is a kind of structure diagram of mobile terminal of the embodiment of the present invention four;
Fig. 6 is a kind of structure diagram of mobile terminal of the embodiment of the present invention five.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is a kind of step flow chart of the processing method of access device of the embodiment of the present invention one.
With reference to shown in Fig. 1, the processing method of a kind of access device of the embodiment of the present invention, applied to Type-C interfaces
Mobile terminal, mobile terminal connect by Type-C interfaces with adapter, and this method includes:
Step 101, the access device by adapter access mobile terminal is determined.
In the embodiment of the present invention, the Type-C interfaces of mobile terminal are connected with adapter, and adapter can be set
It is equipped with earphone sub-interface, storage device sub-interface and charger sub-interface, earphone sub-interface, storage device sub-interface and charger
Either CC2 pins connect the CC pins of sub-interface therefore mobile terminal can be by CC1 or CC2 with the CC1 of Type-C interfaces
Pin is detected access, distinguishes positive and negative, distinguishes principal and subordinate, is configured other patterns, in the embodiment of the present invention, can pass through CC1/
CC2 pins determine to access the access device of mobile terminal by the sub-interface of adapter, e.g. earphone, storage device,
One or more in charger.
Step 102, when it is earphone to determine the access device, TX/RX pins and institute by the Type-C interfaces
Earphone is stated into row data communication.
Type-C interfaces have multigroup pin, including TX, RX, CC1, CC2, D+, D-, SBU1, SBU2 etc., wherein CC1 and
CC2 pins are two key pins, available for realizing detection access, distinguish positive and negative, distinguish principal and subordinate, other patterns are configured.
In the embodiment of the present invention, adapter can include earphone sub-interface, wherein, the signal wire of earphone sub-interface and
The TX/RX pins of adapter are connected, mobile when earphone accesses mobile terminal by the earphone sub-interface of adapter
Audio data is transmitted to earphone by the I2S audio-frequency modules of terminal by the TX/RX pins of Type-C interfaces, realizes mobile terminal
It communicates with the data of earphone.
Step 103, when it is storage device to determine the access device, pass through the D+/D- pins of the Type-C interfaces
With the storage device into row data communication.
In the embodiment of the present invention, adapter can include storage device sub-interface, wherein, storage device sub-interface
Signal pins can be connected with the D+/D- pins of adapter, when storage device that storage device passes through adapter
When interface accesses mobile terminal, communication data is transmitted to by the USB module of mobile terminal by the D+/D- pins of Type-C interfaces
Storage device realizes the data communication of mobile terminal and storage device.
Step 104, when determine the access device be charger when, by the CC1/CC2 pins of the Type-C interfaces,
Vbus pins charge for the mobile terminal.
In the embodiment of the present invention, adapter can include charger sub-interface, wherein, charger sub-interface draws
Foot, such as Vbus, CC pin can be connected with Vbus, CC1 or CC2 pin of adapter respectively, can inside mobile terminal
By second switch, the CC1/CC2 pins of the Type-C interfaces of mobile terminal, Vbus pins are connected to filling for mobile terminal
The charging input end of electric manager when charger accesses mobile terminal by the charger sub-interface of adapter, will fill
CC1/CC2 pins, the Vbus pins for the Type-C interfaces that the output current of Vbus, CC pin of electric appliance passes through mobile terminal are connected
To the charging input end of charging manager, to realize the CC1/CC2 pins by Type-C interfaces, Vbus pins to mobile whole
End charging.
It should be noted that CC1/CC2 pins only do not need to detection input or complete related protocol communication after,
It has just used and has charged to mobile terminal.
In embodiments of the present invention, mobile terminal is connect by Type-C interfaces with adapter, determines to pass through switching
Adapter accesses the access device of mobile terminal;When it is earphone to determine access device, pass through the TX/RX pins of Type-C interfaces
With earphone into row data communication;When access device is storage device, pass through the D+/D- pins and storage device of Type-C interfaces
Into row data communication;It is movement by the CC1/CC2 pins of Type-C interfaces, Vbus pins when access device is charger
Terminal charge using the embodiment of the present invention, can realize that earphone, storage device and charger access mobile terminal simultaneously, use
The pin and earphone of corresponding Type-C interfaces, storage device charge into row data communication and for mobile terminal, solve shifting
Dynamic terminal can not be realized while be listened to music using a Type-C interface, transmit data and charging and can not handle multiple equipment
Access, and then the problem of mobile terminal is towards ultrathin and integrated development trend can not be met, realizing mobile terminal makes
Multiple equipment is connected simultaneously with a Type-C interface, meets the ultrathin of mobile terminal and integrated.
Embodiment two
Fig. 2 is a kind of step flow chart of the processing method of access device of the embodiment of the present invention two.
With reference to shown in Fig. 2, the processing method of a kind of access device of the embodiment of the present invention, applied to Type-C interfaces
Mobile terminal, mobile terminal connect by Type-C interfaces with adapter, and this method includes:
Step 201, the voltage value of the CC1 CC2 pins of the mobile terminal Type-C interfaces is detected.
In the embodiment of the present invention, adapter can be set, which can be with mobile terminal
Type-C interfaces are connected, and the other end is provided with three sub-interfaces, thus can detect the Type-C interfaces of mobile terminal CC1 or
The voltage value of person's CC2 pins, to determine the access device of the sub-interface of adapter.
Step 202, the access device of the access mobile terminal is determined according to the voltage value.
In the connection of Type-C, detect whether that equipment accesses Type-C interfaces by CC pins, passed through CC pins
Voltage value difference is to determine the type of access device, and in embodiments of the present invention, adapter can be there are three sub-interface, can
To be earphone sub-interface, storage device sub-interface, charger sub-interface, therefore, voltage when can different equipment be accessed
Value is stored in the terminal, when detecting corresponding voltage value, it is possible to determine the access device of sub-interface, specifically,
The access device for determining the access mobile terminal according to the voltage value can include following sub-step:
Sub-step 2021, when the voltage value is the first preset value, it is earphone to determine the access device;
Sub-step 2022, when the voltage value is the second preset value, it is storage device to determine the access device;
Sub-step 2023, when the voltage value is third preset value, it is charger to determine the access device;
Sub-step 2024, when the voltage value is four preset value, it is earphone and charger to determine the access device;
Sub-step 2025 when the voltage value is five preset value, determines the access device as storage device and fills
Electric appliance;
Sub-step 2026 when the voltage value is six preset value, determines the access device for earphone, storage device
And charger.
By storing the preset value of voltage in the terminal, when detecting corresponding preset value, it may be determined that switching is suitable
The corresponding access state of orchestration.
It should be noted that when there are two or during the access of more than two equipment, can be adapter access movement
After terminal, first detecting that a sub-interface has equipment access, voltage value variation detects that another sub-interface has equipment access,
Or two or more sub-interface elder generation access devices, then adapter access mobile terminal again.
The embodiment of the present invention is to determine access device by the voltage value of CC1 CC2 pins, naturally it is also possible to be passed through
The impedance of CC1 CC2 pins determines access device, and the embodiment of the present invention is without limitation.
In embodiments of the present invention, mobile terminal can set second switch, when determining that charger accesses mobile terminal,
The CC1/CC2 pins of Type-C interfaces are connected by second switch;Pass through the CC1/CC2 pins of Type-C interfaces, Vbus pins
It charges for mobile terminal.
Step 203, when it is earphone to determine the access device, TX/RX pins and institute by the Type-C interfaces
Earphone is stated into row data communication.
In embodiments of the present invention, when it is earphone to determine the access device, pass through the TX/RX of the Type-C interfaces
Pin can include following sub-step with the earphone into row data communication:
Sub-step 2031 determines that the adapter is that front connects by the CC1/CC2 pins of the Type-C interfaces
Enter or reverse side accesses;
When the adapter is reverse side access, the TX/RX is adjusted by the first switch for sub-step 2032
The connection of pin and the output port of the audio output module.
In the embodiment of the present invention, mobile terminal is provided with audio output module, such as can be I2S audio-frequency modules, I2S sounds
Frequency module includes BCLK (bit clock) interface, WS (frame clock) interface, DATA (data) interface, MCLK (system clock) interface.
The TX/RX pins of Type-C interfaces include positive TX1+, TX1-, RX2+, RX2-;TX2+, TX2-, RX1+, RX1- of reverse side;
It could be provided as detecting when CC1 pins connect adapter to be positive, then acquiescence can pass through TX1+ pins connection BCLK
Interface, TX1- pins connection WS interfaces, RX2+ pins connection DATA interfaces, RX2- pins connection MCLK interfaces, when detecting CC2
Pin is reverse side when connecting adapter, then BCLK interfaces, TX2- pins connection WS interfaces can be connected by TX2+ pins,
RX1+ pins connect DATA interfaces, and RX1- pins connection MCLK interfaces can specifically be carried out above-mentioned by setting first switch
The adjustment of pin.
Earphone can be provided with decoding chip, and the corresponding pin of decoding chip is connected with TX/RX pins, when I2S audio moulds
When block exports audio data to decoding chip by TX/RX pins, it is same that decoding chip carries out bit clock, frame clock and system clock
Step, decodes the signal of the left and right acoustic channels in audio data, is transmitted to earphone and plays out.It certain above-mentioned TX/RX pins and connects
Correspondence between mouthful can be mutually adjusted, and the embodiment of the present invention is not restricted this.
Step 204, when it is storage device to determine the access device, pass through the D+/D- pins of the Type-C interfaces
With the storage device into row data communication.
Step 204 is referred to corresponding step in embodiment one, is repeated to avoid, details are not described herein.
Step 205, when determine the access device be charger when, by the CC1/CC2 pins of the Type-C interfaces,
Vbus pins charge for the mobile terminal.
It is described when it is charger to determine the access device in the embodiment of the present invention, pass through the Type-C interfaces
CC1/CC2 pins, Vbus pins can include following sub-step for mobile terminal charging:
When detecting that charger accesses mobile terminal, the Type- is connected by the second switch for sub-step 2051
The CC1/CC2 pins of C interface;
Sub-step 2052 is filled by the CC1/CC2 pins and Vbus pins of the Type-C interfaces for the mobile terminal
Electricity.
In practical applications, second switch can be set, and second switch can connect the CC1/CC2 pins of Type-C interfaces
The USB module of mobile terminal or the power supervisor of mobile terminal are connected to, insertion detection, positive and negative detection etc. is carried out, works as inspection
After the completion of survey, CC1/CC2 pins can be connected to power supervisor by second switch, be charged together with Vbus to mobile terminal.
It should be noted that CC1/CC2 pins only do not need to detection input or complete related protocol communication after,
It has just used and has charged to mobile terminal.
In embodiments of the present invention, when determining that access device is earphone and charger or access device is storage device
And charger or access device are earphone, storage device and during charger, are further included:
Step 206, it when determining that the access device does not include charger, powers to the earphone and/or storage device.
In embodiments of the present invention, when there is no charger access, then need from mobile terminal by Vbus pins to depositing
Store up equipment and/or earphone power supply;Alternatively, since mobile terminal charging end or other reasons are disconnected charger and mobile terminal
Connection, then need to switch to from mobile terminal and be powered by Vbus pins to storage device and/or earphone.
Step 207, when determining that the access device includes charger, stop to the earphone and/or storage device confession
Electricity;Wherein, the charger is used to power to the earphone and/or storage device by the power supply circuit.
Power supply circuit can be provided in adapter, which can both charge to mobile terminal, can also
Earphone sub-interface and the power supply of storage device sub-interface to adapter.
In embodiments of the present invention, when charger and storage device or earphone access mobile terminal simultaneously, due to filling
Have the voltage output of 5V on the Vbus pins of electric appliance sub-interface, therefore, can directly by charger by Vbus pins access
Power supply circuit is powered to storage device and/or earphone.
In order to which the embodiment of the present invention is better described, the embodiment of the present invention is illustrated below in conjunction with attached drawing.
As shown in figure 3, it communicates and charges with earphone, storage device and charger data for mobile terminal of the embodiment of the present invention
Schematic diagram, including:
Type-C interfaces, for being connected with adapter one end, the adapter other end is connected by earphone sub-interface
Lug machine, storage device is connected by storage device sub-interface, and charger is connected by charger sub-interface.
Audio output module is connect by first switch with the TX/RX pins of Type-C interfaces, for exporting audio data.
The D+/D- output ports of USB module are connect with the D+/D- pins of Type-C interfaces, for completing USB2.0 data
Communication;The CC ports of USB module are connect by second switch with the CC1/CC2 pins of Type-C interfaces, for completing CC detections.
The current input terminal of power supervisor passes through second switch and the Vbus pins of Type-C interfaces, CC1/CC2 pins
It is connected, is charged or passed through using the Vbus pins and CC1/CC2 pins of Type-C interfaces for passing through second switch
Vbus pins are powered to storage device and/earphone.
When USB module detects the voltage change of CC1 pins or CC2 pins by CC, determine to turn by voltage value
The sub-interface access state of adapter is connect, when detecting earphone access, audio output module adjusts Type- by first switch
The connection of the TX/RX pins of C interface and the output port of audio output module, and then with earphone into row data communication;Work as detection
When being accessed to storage device, USB is by the D+/D- pins of Type-C interfaces and storage device into row data communication;When detecting
When charger accesses, the CC1/CC2 pins of Type-C interfaces and Vbus pins are connected to the electricity of power supervisor by second switch
Input terminal is flowed, is charged by the CC1/CC2 pins and Vbus pins of Type-C interfaces to mobile terminal.
Above-mentioned example is solved mobile terminal and can not achieve while listen to music using a Type-C interface, transmits data
And charging, and then the problem of mobile terminal is towards ultrathin and integrated development trend can not be met, realize mobile terminal
Ultrathin and integrated.
In embodiments of the present invention, mobile terminal is connect by Type-C interfaces with adapter, determines to pass through switching
Adapter accesses the access device of mobile terminal;When it is earphone to determine access device, pass through the TX/RX pins of Type-C interfaces
With earphone into row data communication;When access device is storage device, pass through the D+/D- pins and storage device of Type-C interfaces
Into row data communication;It is movement by the CC1/CC2 pins of Type-C interfaces, Vbus pins when access device is charger
Terminal charge using the embodiment of the present invention, can realize that earphone, storage device and charger access mobile terminal simultaneously, use
The pin and earphone of corresponding Type-C interfaces, storage device charge into row data communication and for mobile terminal, solve shifting
Dynamic terminal can not be realized while be listened to music using a Type-C interface, transmit data and charging and can not handle multiple equipment
Access, and then the problem of mobile terminal is towards ultrathin and integrated development trend can not be met, realizing mobile terminal makes
Multiple equipment is connected simultaneously with a Type-C interface, meets the ultrathin of mobile terminal and integrated.
Embodiment three
Fig. 4 is a kind of structure diagram of mobile terminal of the embodiment of the present invention three.
With reference to shown in Fig. 4, a kind of mobile terminal 300 provided in an embodiment of the present invention includes:
Access device determining module 301, for determining to access the access device of mobile terminal by the adapter;
First data communication module 302, for when it is earphone to determine the access device, passing through the Type-C interfaces
TX/RX pins and the earphone into row data communication;
Second data communication module 303, for when it is storage device to determine the access device, passing through the Type-C
The D+/D- pins of interface and the storage device are into row data communication;
Charging module 304, for when it is charger to determine the access device, passing through the CC1/ of the Type-C interfaces
CC2 pins, Vbus pins charge for the mobile terminal.
With reference to shown in Fig. 4 a, in the mobile terminal 300 of the embodiment of the present invention, further include:
Power supply module 305, for when detecting that the access device does not include charger, to the earphone and/or depositing
Store up equipment power supply.
Stop power supply module 306, for when detecting that the access device includes charger, stopping to the earphone
And/or storage device power supply;Wherein, the charger is used for through the power supply circuit to the earphone and/or storage device
Power supply.
With reference to shown in Fig. 4 b, in the mobile terminal 300 of the embodiment of the present invention, access device determining module 301 includes:
Voltage value detection sub-module 3011, for detecting CC1 the CC2 pins of the mobile terminal Type-C interfaces
Voltage value;
Access device determination sub-module 3012, for determining connecing for the access mobile terminal according to the voltage value
Enter equipment.
First data communication module 302 includes:
Positive and negative detection sub-module 3021, for determining the switching by the CC1/CC2 pins of the Type-C interfaces
Adapter is that front access or reverse side access the mobile terminal;
Connection adjustment submodule 3022, for when the adapter is that reverse side accesses the mobile terminal, passing through
The first switch adjusts the connection of the TX/RX pins and the output port of the audio output module.
Charging module 304 includes:
Submodule 3041 is switched, for when detecting that charger accesses mobile terminal, being connected by the second switch
The CC1/CC2 pins of the Type-C interfaces;
Charge submodule 3042, for being the movement by the CC1/CC2 pins of the Type-C interfaces, Vbus pins
Terminal charge.
As illustrated in fig. 4 c, access device determination sub-module 3012 includes:
First determination unit 30121, for when the voltage value is the first preset value, it to be ear to determine the access device
Machine;
Second determination unit 30122, for when the voltage value is the second preset value, determining the access device to deposit
Store up equipment;
Third determination unit 30123, for when the voltage value is third preset value, determining the access device to fill
Electric appliance;
4th determination unit 30124, for when the voltage value is four preset value, it to be ear to determine the access device
Machine and charger;
5th determination unit 30125, for when the voltage value is five preset value, determining the access device to deposit
Store up equipment and charger;
6th determination unit 30126, for when the voltage value is six preset value, it to be ear to determine the access device
Machine, storage device and charger.
Mobile terminal can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2, to avoid weight
Multiple, which is not described herein again.
In embodiments of the present invention, mobile terminal is connect by Type-C interfaces with adapter, determines to pass through switching
Adapter accesses the access device of mobile terminal;When it is earphone to determine access device, pass through the TX/RX pins of Type-C interfaces
With earphone into row data communication;When access device is storage device, pass through the D+/D- pins and storage device of Type-C interfaces
Into row data communication;It is movement by the CC1/CC2 pins of Type-C interfaces, Vbus pins when access device is charger
Terminal charge using the embodiment of the present invention, can realize that earphone, storage device and charger access mobile terminal simultaneously, use
The pin and earphone of corresponding Type-C interfaces, storage device charge into row data communication and for mobile terminal, solve shifting
Dynamic terminal can not be realized while be listened to music using a Type-C interface, transmit data and charging and can not handle multiple equipment
Access, and then the problem of mobile terminal is towards ultrathin and integrated development trend can not be met, realizing mobile terminal makes
Multiple equipment is connected simultaneously with a Type-C interface, meets the ultrathin of mobile terminal and integrated.
Example IV
Fig. 5 be the embodiment of the present invention four provide a kind of mobile terminal structure diagram, mobile terminal 1000 shown in fig. 5
Including:At least one processor 1001, memory 1002, at least one network interface 1004, switch module 1006 and user
Interface 1003.Various components in mobile terminal 1000 are coupled by bus system 1005.It is understood that bus system
1005 are used to implement the connection communication between these components.Bus system 1005 further includes power supply in addition to including data/address bus
Bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus in Figure 5
System 1005.
Wherein, user interface 1003 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 1002 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device 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), erasable programmable are only
Read memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms can be used, 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), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous
Connect dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 1002 be intended to include but
It is not limited to the memory of these and any other suitable type.
In some embodiments, memory 1002 stores following element, executable modules or data structures or
Their subset of person or their superset:Operating system 10021 and application program 10022.
Wherein, operating system 10021 comprising 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 10022 includes various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., are used to implement various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 10022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 1002, specifically, can be application
The program stored in program 10022 or instruction, processor 1001 access mobile terminal for determining to pass through the adapter
Access device;When it is earphone to determine the access device, pass through TX/RX pins and the earphone of the Type-C interfaces
Into row data communication;When it is storage device to determine the access device, D+/D- pins and institute by the Type-C interfaces
Storage device is stated into row data communication;When it is charger to determine the access device, pass through the CC1/ of the Type-C interfaces
CC2 pins, Vbus pins charge for the mobile terminal.
The method that the embodiments of the present invention disclose can be applied in processor 1001 or by processor 1001 in fact
It is existing.Processor 1001 may be a kind of IC chip, have the processing capacity of signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1001 or software form.Above-mentioned
Processor 1001 can be general processor, digital signal processor (Digital Signal Processor, DSP), special
Integrated circuit (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 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 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 1002, processor 1001 reads the information in memory 1002, the above method is completed with reference to its hardware.
Switch module 1006 includes first switch and second switch, and first switch is used to adjust the Type-C interfaces
The connection of TX/RX pins and audio output module, second switch are used for when charger accesses mobile terminal, will be described in connection
The CC1/CC2 pins of Type-C interfaces are connected to the power supervisor of mobile terminal.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware,
Microcode or combination is realized.For hardware realization, processing unit can be realized in one or more application-specific integrated circuits
(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 place
Reason device, controller, microcontroller, microprocessor, for performing in other electronic unit or combinations of herein described function.
For software implementations, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come
Realize the technology described in the embodiment of the present invention.Software code is storable in memory and is performed by processor.Memory can
With portion realizes in the processor or outside the processor.
Preferably, processor 1001 is additionally operable to:Detect CC1 the CC2 pins of the mobile terminal Type-C interfaces
Voltage value;The access device of the access mobile terminal is determined according to the voltage value.
Preferably, processor 1001 is additionally operable to:When the voltage value is the first preset value, determine that the access device is
Earphone;When the voltage value is the second preset value, it is storage device to determine the access device;When the voltage value is third
During preset value, it is charger to determine the access device;When the voltage value is four preset value, the access device is determined
For earphone and charger;When the voltage value is five preset value, it is storage device and charger to determine the access device;
When the voltage value is six preset value, it is earphone, storage device and charger to determine the access device.
Preferably, processor 1001 is additionally operable to:Positive and negative detection sub-module, for passing through the CC1/ of the Type-C interfaces
CC2 pins determine that the adapter is that front access or reverse side access the mobile terminal;Connection adjustment submodule, is used
In when the adapter is reverse side access mobile terminal, the TX/RX pins and institute are adjusted by the first switch
State the connection of the output port of audio output module.
Preferably, processor 1001 is additionally operable to:When determining that the access device does not include charger, to the earphone
And/or storage device power supply.
Preferably, processor 1001 is additionally operable to:When determining that the access device includes charger, stop to the earphone
And/or storage device power supply;Wherein, the charger is used for through the power supply circuit to the earphone and/or storage device
Power supply.
Preferably, processor 1001 is additionally operable to, when detecting that charger accesses mobile terminal, pass through the second switch
Connect the CC1/CC2 pins of the Type-C interfaces;It is institute by the CC1/CC2 pins of the Type-C interfaces, Vbus pins
State mobile terminal charging.
Mobile terminal 1000 can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2, to keep away
Exempt to repeat, which is not described herein again.
The mobile terminal 1000 of the embodiment of the present invention is connect by Type-C interfaces with adapter, is determined by turning
Connect the access device of adapter access mobile terminal;When it is earphone to determine access device, drawn by the TX/RX of Type-C interfaces
Foot and earphone are into row data communication;When access device is storage device, set by D+/D- pins and the storage of Type-C interfaces
It is standby into row data communication;When access device is charger, by the CC1/CC2 pins of Type-C interfaces, Vbus pins to move
Dynamic terminal charge, using the embodiment of the present invention, can realize that earphone, storage device and charger access mobile terminal simultaneously, adopt
It is charged, solved into row data communication and for mobile terminal with the pin and earphone of corresponding Type-C interfaces, storage device
Mobile terminal can not be realized while be listened to music using a Type-C interface, transmit data and charging and can not handle multiple set
Standby access, and then the problem of mobile terminal is towards ultrathin and integrated development trend can not be met, realize mobile terminal
Multiple equipment is connected simultaneously using a Type-C interface, meets the ultrathin of mobile terminal and integrated.
Embodiment five
Fig. 6 is a kind of structure diagram for mobile terminal that the embodiment of the present invention five provides.Specifically, the movement in Fig. 6
Terminal 1100 can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle
Carry computer etc..
Mobile terminal 1100 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 1101, memory 1102, defeated
Enter unit 1103, display unit 1104, switch module 1105, processor 1106, voicefrequency circuit 1107, WiFi (Wireless
Fidelity) module 1108 and power supply 1109.
Wherein, input unit 1103 can be used for receiving number input by user or character information and generate with movement eventually
The signal that the user setting and function control at end 1100 are related inputs.Specifically, in the embodiment of the present invention, the input unit
1103 can include touch panel 11031.It is on it or neighbouring to collect user for touch panel 11031, also referred to as touch screen
Touch operation (for example user uses the operations of any suitable object or attachment on touch panel 11031 such as finger, stylus),
And corresponding attachment device is driven according to preset formula.Optionally, touch panel 11031 may include touch detecting apparatus
With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect what touch operation was brought
Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted
Into contact coordinate, then the processor 1106 is given, and the order that processor 1106 is sent can be received and performed.It in addition, can
To realize touch panel 11031 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface
Plate 11031, input unit 1103 can also include other input equipments 11032, other input equipments 11032 can be included but not
The one kind being limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc.
It is or a variety of.
Wherein, display unit 1104 can be used for display by information input by user or be supplied to information and the movement of user
The various menu interfaces of terminal 1100.Display unit 1104 may include display panel 11041, optionally, LCD may be used or have
Display panel 11041 is configured in the forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED).
It should be noted that touch panel 11031 can cover display panel 11041, touch display screen is formed, when the touch is shown
Screen, which detects, on it or after neighbouring touch operation, sends processor 1106 to determine the type of touch event, then locates
Reason device 1106 provides 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 controls.The Application Program Interface viewing area
Or the empty interface not comprising any content.The common control viewing area is used to show 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 1106 is the control centre of mobile terminal 1100, utilizes various interfaces and connection whole mobile phone
Various pieces, by run or perform the software program being stored in first memory 11021 and/or module and call
The data being stored in second memory 11022 perform the various functions of mobile terminal 1100 and processing data, so as to movement
Terminal 1100 carries out integral monitoring.Optionally, processor 1106 may include one or more processing units.
Switch module 1105 includes first switch and second switch, and first switch is used to adjust the Type-C interfaces
TX/RX pins are connected with audio output module, and second switch is used for when charger accesses mobile terminal, will be described in connection
The CC1/CC2 pins of Type-C interfaces are connected to the charging module of mobile terminal.
In embodiments of the present invention, the software program and/or module in the first memory 11021 are stored by calling
And/or the data in the second memory 11022, processor 1106 are mobile eventually by adapter access for determining
The access device at end;When it is earphone to determine the access device, pass through TX/RX pins and the ear of the Type-C interfaces
Machine is into row data communication;When it is storage device to determine the access device, by the D+/D- pins of the Type-C interfaces with
The storage device is into row data communication;When it is charger to determine the access device, pass through the Type-C interfaces
CC1/CC2 pins, Vbus pins charge for the mobile terminal.
Preferably, processor 1106 is additionally operable to:Detect CC1 the CC2 pins of the mobile terminal Type-C interfaces
Voltage value;The access device of the access mobile terminal is determined according to the voltage value.
Preferably, processor 1106 is additionally operable to:When the voltage value is the first preset value, determine that the access device is
Earphone;When the voltage value is the second preset value, it is storage device to determine the access device;When the voltage value is third
During preset value, it is charger to determine the access device;When the voltage value is four preset value, the access device is determined
For earphone and charger;When the voltage value is five preset value, it is storage device and charger to determine the access device;
When the voltage value is six preset value, it is earphone, storage device and charger to determine the access device.
Preferably, processor 1106 is additionally operable to:Positive and negative detection sub-module, for passing through the CC1/ of the Type-C interfaces
CC2 pins determine that the adapter is front access or reverse side access;Connection adjustment submodule, for working as the switching
When adapter is reverse side access, the TX/RX pins and the output of the audio output module are adjusted by the first switch
The connection of port.
Preferably, processor 1106 is additionally operable to:When determining that the access device does not include charger, to the earphone
And/or storage device power supply.
Preferably, processor 1106 is additionally operable to:When determining that the access device includes charger, stop to the earphone
And/or storage device power supply;Wherein, the charger is used for through the power supply circuit to the earphone and/or storage device
Power supply.
Preferably, processor 1106 is additionally operable to, when detecting that charger accesses mobile terminal, pass through the second switch
Connect the CC1/CC2 pins of the Type-C interfaces;It is institute by the CC1/CC2 pins of the Type-C interfaces, Vbus pins
State mobile terminal charging.
Mobile terminal 1100 can realize each process that mobile terminal is realized in previous embodiment, be repeated to avoid, this
In repeat no more.
The mobile terminal 1100 of the embodiment of the present invention is connect by Type-C interfaces with adapter, is determined by turning
Connect the access device of adapter access mobile terminal;When it is earphone to determine access device, drawn by the TX/RX of Type-C interfaces
Foot and earphone are into row data communication;When access device is storage device, set by D+/D- pins and the storage of Type-C interfaces
It is standby into row data communication;When access device is charger, by the CC1/CC2 pins of Type-C interfaces, Vbus pins to move
Dynamic terminal charge, using the embodiment of the present invention, can realize that earphone, storage device and charger access mobile terminal simultaneously, adopt
It is charged, solved into row data communication and for mobile terminal with the pin and earphone of corresponding Type-C interfaces, storage device
Mobile terminal can not be realized while be listened to music using a Type-C interface, transmit data and charging and can not handle multiple set
Standby access, and then the problem of mobile terminal is towards ultrathin and integrated development trend can not be met, realize mobile terminal
Multiple equipment is connected simultaneously using a Type-C interface, meets the ultrathin of mobile terminal and integrated.
Those of ordinary skill in the art may realize that the embodiment with reference to disclosed in the embodiment of the present invention describes each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Profession
Technical staff can realize described function to each specific application using distinct methods, but this realization should not
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit can refer to the corresponding process in preceding 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 division of logic function, can there is an other dividing mode in actual implementation, for example, multiple units or component can combine or
Person is desirably integrated into another system or some features can be ignored or does not perform.Another point, shown or discussed is mutual
Between coupling or direct-coupling or call connection can be by some interfaces, the INDIRECT COUPLING or call of device or unit connect
It connects, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent product sale or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially in other words
The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be
People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention.
And aforementioned storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can to store program code
Medium.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, 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 (14)
- A kind of 1. processing method of access device, applied to the mobile terminal with Type-C interfaces, which is characterized in that the shifting Dynamic terminal is connect by the Type-C interfaces with adapter, the method includes:Determine the access device by adapter access mobile terminal;When it is earphone to determine the access device, by the TX/RX pins of the Type-C interfaces and the earphone into line number According to communication;When it is storage device to determine the access device, set by the D+/D- pins and the storage of the Type-C interfaces It is standby into row data communication;It is institute by the CC1/CC2 pins of the Type-C interfaces, Vbus pins when it is charger to determine the access device State mobile terminal charging.
- 2. according to the method described in claim 1, it is characterized in that, described determine through adapter access movement eventually The step of access device at end, includes:Detect the voltage value of the CC1 CC2 pins of the mobile terminal Type-C interfaces;The access device of the access mobile terminal is determined according to the voltage value.
- 3. method according to claim 1 or 2, which is characterized in that described to determine the access institute according to the voltage value The step of access device for stating mobile terminal, includes:When the voltage value is the first preset value, it is earphone to determine the access device;When the voltage value is the second preset value, it is storage device to determine the access device;When the voltage value is third preset value, it is charger to determine the access device;When the voltage value is four preset value, it is earphone and charger to determine the access device;When the voltage value is five preset value, it is storage device and charger to determine the access device;When the voltage value is six preset value, it is earphone, storage device and charger to determine the access device.
- 4. according to the method described in claim 1, it is characterized in that, the mobile terminal is provided with first switch and audio is defeated Go out module, when it is earphone to determine the access device, carried out by the TX/RX pins and the earphone of the Type-C interfaces The step of data communicate includes:Determine that the adapter is that front access or reverse side access institute by the CC1/CC2 pins of the Type-C interfaces State mobile terminal;When the adapter is reverse side access mobile terminal, by the first switch adjust the TX/RX pins with The connection of the output port of the audio output module.
- 5. it according to the method described in claim 1, it is characterized in that, further includes:When determining that the access device does not include charger, power to the earphone and/or storage device.
- 6. the method according to claim 1 or 4, which is characterized in that the adapter is provided with power supply circuit, described Method further includes:When determining that the access device includes charger, stop to the earphone and/or storage device power supply;Wherein, it is described Charger is used to power to the earphone and/or storage device by the power supply circuit.
- 7. according to the method described in claim 1, it is characterized in that, the mobile terminal further includes second switch, when detecting It is described whole for the movement by CC1/CC2 pins, the Vbus pins of the Type-C interfaces when charger accesses mobile terminal The step of end charging, includes:When detecting that charger accesses mobile terminal, the CC1/CC2 of the Type-C interfaces is connected by the second switch Pin;It is charged by the CC1/CC2 pins and Vbus pins of the Type-C interfaces for the mobile terminal.
- 8. a kind of mobile terminal, the mobile terminal includes Type-C interfaces, which is characterized in that the mobile terminal passes through described Type-C interfaces are connect with adapter, and the mobile terminal further includes:Access device determining module, for determining to access the access device of mobile terminal by the adapter;First data communication module, for when it is earphone to determine the access device, passing through the TX/RX of the Type-C interfaces Pin and the earphone are into row data communication;Second data communication module, for when it is storage device to determine the access device, passing through the D of the Type-C interfaces +/D- pins and the storage device are into row data communication;Charging module, for when it is charger to determine the access device, being drawn by the CC1/CC2 of the Type-C interfaces Foot, Vbus pins charge for the mobile terminal.
- 9. mobile terminal according to claim 8, which is characterized in that the access device determining module includes:Voltage value detection sub-module, for detecting the voltage value of the CC1 CC2 pins of the mobile terminal Type-C interfaces;Access device determination sub-module, for determining the access device of the access mobile terminal according to the voltage value.
- 10. mobile terminal according to claim 8 or claim 9, which is characterized in that the access device determination sub-module includes:First determination unit, for when the voltage value is the first preset value, it to be earphone to determine the access device;Second determination unit, for when the voltage value is the second preset value, it to be storage device to determine the access device;Third determination unit, for when the voltage value is third preset value, it to be charger to determine the access device;4th determination unit, for when the voltage value is four preset value, it to be earphone and charging to determine the access device Device;5th determination unit, for when the voltage value is five preset value, determine the access device for storage device and Charger;6th determination unit, for when the voltage value is six preset value, determining that the access device is set for earphone, storage Standby and charger.
- 11. mobile terminal according to claim 8, which is characterized in that the mobile terminal be provided with first switch and Audio output module, first data communication module include:Positive and negative detection sub-module, the CC1/CC2 pins for passing through the Type-C interfaces determine that the adapter is Front access or reverse side access the mobile terminal;Connection adjustment submodule, for when the adapter is that reverse side accesses the mobile terminal, passing through described first Switch adjusts the connection of the TX/RX pins and the output port of the audio output module.
- 12. mobile terminal according to claim 8, which is characterized in that the mobile terminal further includes:Power supply module, for when detecting that the access device does not include charger, being supplied to the earphone and/or storage device Electricity.
- 13. the mobile terminal according to claim 8 or 11, which is characterized in that the mobile terminal further includes:Stop power supply module, for when detecting that the access device includes charger, stopping to the earphone and/or storage Equipment is powered;Wherein, the charger is used to power to the earphone and/or storage device by the power supply circuit.
- 14. mobile terminal according to claim 8, which is characterized in that the charging module includes:Submodule is switched, for when detecting that charger accesses mobile terminal, the Type- to be connected by the second switch The CC1/CC2 pins of C interface;Charge submodule, is filled for passing through the CC1/CC2 pins of the Type-C interfaces and Vbus pins for the mobile terminal Electricity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611265815.8A CN108271094B (en) | 2016-12-30 | 2016-12-30 | Processing method of access equipment and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611265815.8A CN108271094B (en) | 2016-12-30 | 2016-12-30 | Processing method of access equipment and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108271094A true CN108271094A (en) | 2018-07-10 |
CN108271094B CN108271094B (en) | 2021-06-11 |
Family
ID=62770296
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611265815.8A Active CN108271094B (en) | 2016-12-30 | 2016-12-30 | Processing method of access equipment and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108271094B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112449270A (en) * | 2020-11-24 | 2021-03-05 | Oppo广东移动通信有限公司 | Audio output method, data cable, terminal and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040059860A1 (en) * | 2002-09-19 | 2004-03-25 | Wen-Tsung Liu | Double-interface adaptor for memory cards |
CN2882032Y (en) * | 2006-02-14 | 2007-03-21 | 翼庆企业股份有限公司 | USB concentrator |
CN101548449A (en) * | 2006-12-08 | 2009-09-30 | 日本电气株式会社 | Electronic apparatus, charger, charging system and charging method |
CN101674366A (en) * | 2009-09-19 | 2010-03-17 | 惠州Tcl移动通信有限公司 | Mobile terminal USB, or charger inserting identification method and identification device thereof |
CN103444258A (en) * | 2011-03-21 | 2013-12-11 | 三星电子株式会社 | Mobile terminal and interface method thereof |
CN104023294A (en) * | 2014-05-30 | 2014-09-03 | 广东欧珀移动通信有限公司 | Interface multiplexing apparatus in terminal, and adaptor panel |
CN104837091A (en) * | 2014-02-07 | 2015-08-12 | 诺基亚公司 | Charging and audio usage |
CN104881391A (en) * | 2015-06-10 | 2015-09-02 | 赛尔康技术(深圳)有限公司 | Identification circuit for USB Type-C interface |
CN205376973U (en) * | 2016-01-05 | 2016-07-06 | 东莞市江涵电子有限公司 | Multifunctional adapter |
CN205644533U (en) * | 2016-04-11 | 2016-10-12 | 惠州市德泓科技有限公司 | Multi - function expansion device of USBType -c interface |
CN205680090U (en) * | 2015-11-12 | 2016-11-09 | 深圳市睿佳利电子科技有限公司 | A kind of USB interface hub |
CN106253011A (en) * | 2016-08-30 | 2016-12-21 | 硅谷数模半导体(北京)有限公司 | The conversion equipment of data-interface |
-
2016
- 2016-12-30 CN CN201611265815.8A patent/CN108271094B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040059860A1 (en) * | 2002-09-19 | 2004-03-25 | Wen-Tsung Liu | Double-interface adaptor for memory cards |
CN2882032Y (en) * | 2006-02-14 | 2007-03-21 | 翼庆企业股份有限公司 | USB concentrator |
CN101548449A (en) * | 2006-12-08 | 2009-09-30 | 日本电气株式会社 | Electronic apparatus, charger, charging system and charging method |
CN101674366A (en) * | 2009-09-19 | 2010-03-17 | 惠州Tcl移动通信有限公司 | Mobile terminal USB, or charger inserting identification method and identification device thereof |
CN103444258A (en) * | 2011-03-21 | 2013-12-11 | 三星电子株式会社 | Mobile terminal and interface method thereof |
CN104837091A (en) * | 2014-02-07 | 2015-08-12 | 诺基亚公司 | Charging and audio usage |
CN104023294A (en) * | 2014-05-30 | 2014-09-03 | 广东欧珀移动通信有限公司 | Interface multiplexing apparatus in terminal, and adaptor panel |
CN104881391A (en) * | 2015-06-10 | 2015-09-02 | 赛尔康技术(深圳)有限公司 | Identification circuit for USB Type-C interface |
CN205680090U (en) * | 2015-11-12 | 2016-11-09 | 深圳市睿佳利电子科技有限公司 | A kind of USB interface hub |
CN205376973U (en) * | 2016-01-05 | 2016-07-06 | 东莞市江涵电子有限公司 | Multifunctional adapter |
CN205644533U (en) * | 2016-04-11 | 2016-10-12 | 惠州市德泓科技有限公司 | Multi - function expansion device of USBType -c interface |
CN106253011A (en) * | 2016-08-30 | 2016-12-21 | 硅谷数模半导体(北京)有限公司 | The conversion equipment of data-interface |
Non-Patent Citations (2)
Title |
---|
瑞德: ""USB 3.1技术分析"", 《个人电脑》 * |
莱迪思半导体公司: ""USB Type-C解析"", 《今日电子》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112449270A (en) * | 2020-11-24 | 2021-03-05 | Oppo广东移动通信有限公司 | Audio output method, data cable, terminal and storage medium |
CN112449270B (en) * | 2020-11-24 | 2023-10-03 | Oppo广东移动通信有限公司 | Audio output method, data cable, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108271094B (en) | 2021-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108271093A (en) | The processing method and mobile terminal of a kind of access device | |
CN106685007B (en) | A kind of power-supplying circuit of peripheral equipment, method of supplying power to and mobile terminal | |
CN108268397A (en) | The processing method and mobile terminal of a kind of access device | |
CN108268395A (en) | A kind of method and mobile terminal of data communication | |
CN107257406B (en) | A kind of method and terminal to charge and audio data is handled | |
CN107145331A (en) | A kind of charging and the method and terminal of voice data processing | |
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 | |
CN108271092A (en) | The processing method and mobile terminal of a kind of access device | |
CN108271094A (en) | The processing method and mobile terminal of a kind of access device | |
CN108270253A (en) | A kind of charging method and mobile terminal | |
CN107465234A (en) | A kind of charge control method, mobile terminal and adapter | |
CN107291415A (en) | A kind of charging and the method and terminal of voice data processing | |
CN108268407A (en) | The processing method and mobile terminal of a kind of access device | |
CN108268411A (en) | The method and mobile terminal of a kind of data transmission | |
CN108268399A (en) | A kind of method and mobile terminal of data communication | |
CN108347070A (en) | A kind of method and mobile terminal, charging equipment of charging | |
CN108233468A (en) | A kind of charging method and mobile terminal | |
CN108268394A (en) | The processing method and mobile terminal of a kind of access device | |
CN108268415A (en) | A kind of method and mobile terminal of data communication | |
CN108988404A (en) | A kind of method and mobile terminal of mobile terminal charging | |
CN108268410B (en) | A kind of method and mobile terminal of data communication | |
CN107493558B (en) | A kind of voice signal control method and mobile terminal | |
CN108270255B (en) | A kind of charging method and mobile terminal | |
CN107277667B (en) | A kind of audio frequency signal output and terminal of terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |