CN108268395A - A kind of method and mobile terminal of data communication - Google Patents

A kind of method and mobile terminal of data communication Download PDF

Info

Publication number
CN108268395A
CN108268395A CN201611265675.4A CN201611265675A CN108268395A CN 108268395 A CN108268395 A CN 108268395A CN 201611265675 A CN201611265675 A CN 201611265675A CN 108268395 A CN108268395 A CN 108268395A
Authority
CN
China
Prior art keywords
type
interfaces
audio frequency
storage device
frequency apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611265675.4A
Other languages
Chinese (zh)
Inventor
陈阳阳
刘彦彬
朱先平
杨鹏博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201611265675.4A priority Critical patent/CN108268395A/en
Publication of CN108268395A publication Critical patent/CN108268395A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)

Abstract

A kind of method and mobile terminal to communicate an embodiment of the present invention provides data, the method includes:When the Type C interface access device, the voltage value of the CC1 and/or CC2 pins of the Type C interface is detected;The access device is identified according to the voltage value;When the access device is storage device and/or audio frequency apparatus, using SBU1, SBU2 pin and the audio frequency apparatus of the Type C interface into row data communication, and/or using the Type C interface TX+/TX, RX+/RX pin and the storage device into row data communication.When the embodiment of the present invention can solve mobile terminal and be listened to music by Type C interface, it is impossible to the problem of being carried out at the same time data transmission.

Description

A kind of method and mobile terminal of data communication
Technical field
The present invention relates to field of communication technology, more particularly, to the method and mobile terminal of a kind of communication of data.
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.
At present, in the terminal, it is common to use the 3.5mm earphone interfaces of mobile terminal setting listen to music, and are connect using USB Mouthful, such as Micro USB and Type-C carry out mobile terminal and the data of external storage equipment communicate.Although Type-C interfaces are determined The function of justice audio analog signals transmission, is listened to music by the earphone with type-C interfaces, can cancel mobile terminal 3.5mm earphone interfaces, but another major function of Type-C interfaces is data transmission, when user carries out data transmission It waits, it is impossible to be listened to music by Type-C interfaces using earphone, therefore, mobile terminal is listened to music by Type-C interfaces at present When, it is impossible to it is carried out at the same time data transmission.
Invention content
The embodiment of the present invention proposes a kind of method and mobile terminal of data communication, is passed through with solving mobile terminal When Type-C interfaces listen to music, it is impossible to the problem of being carried out at the same time data transmission.
In a first aspect, an embodiment of the present invention provides a kind of method of data communication, applied to Type-C interfaces Mobile terminal, the method includes:
When the Type-C interfaces access device, the voltage of the CC1 and/or CC2 pins of the Type-C interfaces is detected Value;
The access device is identified according to the voltage value;
When the access device is storage device and/or audio frequency apparatus, using SBU1, SBU2 of the Type-C interfaces Pin and the audio frequency apparatus into row data communication and/or, using TX+/TX-, RX+/RX- pin of the Type-C interfaces With the storage device into row data communication.
Second aspect, an embodiment of the present invention provides a kind of mobile terminal, the mobile terminal has Type-C interfaces, packet It includes:
Voltage value detection module, for when the Type-C interfaces access device, detecting the CC1 of the Type-C interfaces And/or the voltage value of CC2 pins;
Identification module, for identifying the access device according to the voltage value;
Data communication module, for when the access device be storage device and/or audio frequency apparatus when, using described SBU1, SBU2 pins of Type-C interfaces and the audio frequency apparatus into row data communication and/or, using the Type-C interfaces TX+/TX-, RX+/RX- pin and the storage device into row data communication.
In embodiments of the present invention, when the Type-C interface access devices of mobile terminal, the CC1 of Type-C interfaces is detected And/or the voltage value of CC2 pins;Access device is identified according to voltage value;When access device is storage device and/or audio frequency apparatus When, using SBU1, SBU2 pin and audio frequency apparatus of Type-C interfaces into row data communication and/or, using Type-C interfaces TX+/TX-, RX+/RX- pin and storage device, can be according to Type-C interfaces using the embodiment of the present invention into row data communication CC1 and/or CC2 pins voltage value identification access device be audio frequency apparatus either storage device or what is accessed simultaneously be Audio frequency apparatus and storage device are respectively adopted the pins of corresponding Type-C interfaces with access device into row data communication, solve When mobile terminal is listened to music by Type-C interfaces, it is impossible to the problem of being carried out at the same time data transmission, realize by it is mobile eventually The Type-C interfaces at end are simultaneously with audio frequency apparatus and storage device into row data communication.
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 method for data communication of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of the method for data communication of the embodiment of the present invention two;
Fig. 3 is a kind of mobile terminal of the embodiment of the present invention and audio frequency apparatus, the schematic diagram of storage device data communication;
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. 4 d are the five of the structure diagram of a kind of mobile terminal of the embodiment of the present invention three;
Fig. 4 e are the six 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 method for data communication of the embodiment of the present invention one.
With reference to shown in Fig. 1, the method for a kind of data communication of the embodiment of the present invention, applied to the shifting with Type-C interfaces Dynamic terminal, this method include:
Step 101, when the Type-C interfaces access device, the CC1 and/or CC2 that detect the Type-C interfaces draw The voltage value of foot.
In the embodiment of the present invention, Type-C interfaces have multigroup pin, including D+, D-, CC1, CC2, TX, RX, SBU1, SBU2 etc., wherein CC1 and CC2 are two key pins, available for realizing detection access, distinguish positive and negative, distinguish principal and subordinate, configuration Other patterns.
Therefore, can equipment access have been detected whether by the CC1 of Type-C interfaces, CC2 pins, it is of course also possible to logical It crosses other manner and has detected whether equipment access, such as infrared induction, electromagnetic induction etc., the embodiment of the present invention does not limit this System.
The embodiment of the present invention can set adapter, which can be with the Type-C of mobile terminal Interface is connected, and there are two interfaces for other end setting, can connect audio frequency apparatus and storage device respectively, therefore, detects Type-C The voltage value of the CC1 and/or CC2 pins of interface can be the voltage of the CC feet of two interfaces of detection adapter respectively Value, the i.e. voltage value of CC1 pins or CC2 pins, naturally it is also possible to it is that the CC pins of two interfaces of adapter are connected, Then CC1 with the CC2 pins of Type-C interfaces are also connected, and detect the voltage value after CC1 with CC2 pins are connected, and the present invention is implemented Example is to separate also to be connected to not be limited to CC1 and CC2 pins.
Step 102, the access device is identified according to the voltage value.
In practical applications, audio frequency apparatus and storage device access mobile terminal by adapter, can be audios Equipment first accesses mobile terminal, and subsequent storage device accesses mobile terminal again;Alternatively, can be that storage device first accesses movement eventually End, subsequent audio frequency apparatus access mobile terminal again;It can also be audio frequency apparatus and after storage device all accesses adapter, lead to Cross adapter and access mobile terminal simultaneously, therefore, when audio frequency apparatus or storage device can be inserted into, CC1 and/or The voltage value of CC2 pins is preset in the terminal, when detecting corresponding voltage value, can identify access device.
Step 103, when the access device is storage device and/or audio frequency apparatus, using the Type-C interfaces SBU1, SBU2 pin and the audio frequency apparatus into row data communication and/or, using TX+/TX-, RX of the Type-C interfaces +/RX- pins and the storage device are into row data communication.
In the embodiment of the present invention, when it is audio frequency apparatus to detect access device, using SBU1, SBU2 of Type-C interfaces Pin is established with audio frequency apparatus and is connected, into row data communication;When access device is storage device, using the TX of Type-C interfaces +/TX-, RX+/RX- pins and storage device, which are established, to be connected, into row data communication;When access device is set for storage device and audio When standby, connection is established using SBU1, SBU2 pin and audio frequency apparatus of Type-C interfaces, into row data communication and, use TX+/TX-, RX+/RX- pin and storage device of Type-C interfaces establish connection, into row data communication.
In embodiments of the present invention, when the Type-C interface access devices of mobile terminal, the CC1 of Type-C interfaces is detected And/or the voltage value of CC2 pins;Access device is identified according to voltage value;When access device is storage device and/or audio frequency apparatus When, using SBU1, SBU2 pin and audio frequency apparatus of Type-C interfaces into row data communication and/or, using Type-C interfaces TX+/TX-, RX+/RX- pin and storage device, can be according to Type-C interfaces using the embodiment of the present invention into row data communication CC1 and/or CC2 pins voltage value identification access device be audio frequency apparatus either storage device or what is accessed simultaneously be Audio frequency apparatus and storage device are respectively adopted the pins of corresponding Type-C interfaces with access device into row data communication, solve When mobile terminal is listened to music by Type-C interfaces, it is impossible to the problem of being carried out at the same time data transmission, realize by it is mobile eventually The Type-C interfaces at end are simultaneously with audio frequency apparatus and storage device into row data communication.
Embodiment two
Fig. 2 is a kind of step flow chart of the method for data communication of the embodiment of the present invention two.
With reference to shown in Fig. 2, the method for a kind of data communication of the embodiment of the present invention, applied to the shifting with Type-C interfaces Dynamic terminal, this method include:
Step 201, when the Type-C interfaces access device, the CC1 and/or CC2 that detect the Type-C interfaces draw The voltage value of foot.
In the embodiment of the present invention, adapter can be set, which can be with mobile terminal Type-C interfaces are connected, and there are two interfaces for other end setting, can connect audio frequency apparatus and storage device respectively, can detect shifting The voltage value of the CC1 and/or CC2 pins of the Type-C interfaces of dynamic terminal, to identify that access device is audio frequency apparatus or storage Equipment is specifically referred to Fig. 3.
In practical applications, CC1, CC2 pin of the Type-C interfaces of mobile terminal can connect one with CC1 pins and turn An interface of adapter is connect, CC2 pins connect another interface, naturally it is also possible to CC1 with CC2 pins be connected, switching is suitable Two interfaces of orchestration are connected with CC1 the and CC2 pins after being connected.Therefore, can detect respectively CC1, CC2 pin voltage or CC1, CC2 pin be connected after voltage value.
Step 202, the access device is identified according to the voltage value.
In practical applications, audio frequency apparatus or storage device or audio frequency apparatus and storage device can be connect simultaneously When entering the TYPE-C interfaces of mobile terminal, the voltage value of CC1 and CC2 pins is preset in the terminal, is obtained according to detection Voltage value can identify access device compared with preset value.Specifically, situations below can be included:
When voltage value is the first preset value, it is audio frequency apparatus to determine access device;When voltage value is the second preset value, It is storage device to determine access device;When voltage value is third preset value, determine that access device is set for audio frequency apparatus and storage It is standby.
It should be noted that when voltage value is third preset value, it is audio frequency apparatus and storage device to determine access device It can be audio frequency apparatus and after storage device all accesses adapter, mobile terminal be accessed by adapter simultaneously, also Can detect voltage value as the first preset value, determine access device after audio frequency apparatus, to detect that voltage value variation is the During three preset values, determine to have accessed storage device;Or voltage value is detected as the second preset value, determine access device for storage After equipment, when detecting voltage value variation as third preset value, determine to have accessed audio frequency apparatus.
The embodiment of the present invention is to determine access device by the voltage value of CC1 and/or CC2 pins, naturally it is also possible to be passed through The impedance of CC1 and/or CC2 pins determines access device, and the embodiment of the present invention is without limitation.
Step 203, it powers for the audio frequency apparatus;SBU1, SBU2 of the Type-C interfaces are drawn by the switch Foot is connected to the processing function component of the mobile terminal so that one or more processing function components of the mobile terminal lead to SBU1, SBU2 pins of the Type-C interfaces and the audio frequency apparatus are crossed into row data communication.
In the embodiment of the present invention, the audio frequency apparatus of access can be earphone or other playback equipments, such as can be ear Machine amplifier etc..When the access device be audio frequency apparatus when, using the Type-C interfaces SBU1, SBU2 pin with it is described Audio frequency apparatus can include following sub-step into row data communication:
When accessing audio frequency apparatus, mobile terminal opens OTG patterns, by the Vbus of Type-C interfaces to audio frequency apparatus DAC (Digital to Analog Converter, digital analog converter), AMP (Amplifier, amplifier) provide electricity Source.
In one preferred embodiment of the invention, the mobile terminal includes switch, then the step 203, i.e., described The processing function component of mobile terminal can use SBU1, SBU2 pin of the Type-C interfaces and the audio frequency apparatus to carry out The step of data communicate can include:
When the microphone of the audio frequency apparatus has input signal, the switch is controlled to connect the Type-C interfaces SBU1 and/or SBU2 pins and processor so that the processor uses SBU1 the and/or SBU2 pins of the Type-C interfaces Receive the input signal of the microphone;
When the audio output module of the mobile terminal has output signal, the switch is controlled to connect the Type-C and is connect SBU1, SBU2 pin and audio output module of mouth so that the audio output module uses the SBU1 of the Type-C interfaces And/or output signal to audio frequency apparatus described in the transmission of SBU2 pins.
It, can be in SBU1, SBU2 pin of Type-C interfaces and the audio output mould of mobile terminal in the embodiment of the present invention Switch is set between block, when detecting audio frequency apparatus access, the sound of control switch connection SBU1, SBU2 pin and mobile terminal The output terminal of frequency output module carrys out exports audio signal, after audio frequency apparatus receives audio signal, carries out the decoding of audio signal, puts Greatly, then its ear speaker device is transferred to play music.
In the embodiment of the present invention, audio frequency apparatus is also provided with microphone, can be connect by the Type-C of mobile terminal SBU1 the and/or SBU2 pins of mouth are connect with microphone output terminal, and the output signal of microphone is transmitted to the sound of mobile terminal Frequency processor, such as can be the microphone of earphone, it can will be passed through by switching switch when answering or making a phone call User's communication data are input to mobile terminal by SBU1 and/or SBU2 pins, and airtime communication is carried out while realizing data transmission.
When access device is audio frequency apparatus, electricity can be provided for audio frequency apparatus by the Vbus pins of Type-C interfaces Into row data communication, realization is listened to music by Type-C interfaces, can cancelled for source and SBU1, SBU2 pin and audio frequency apparatus 3.5mm earphone interfaces, the structure of condensed mobile terminal.
Step 204, it powers for the storage device;Using the Type-C interfaces TX+/TX-, RX+/RX- pin with Storage device carries out communication handshake;After communication handshake success, using TX+/TX-, RX+/RX- pin of the Type-C interfaces With the storage device into row data communication.
In the embodiment of the present invention, the storage device of access can be the storage devices such as USB flash disk, mobile hard disk.When access stores During equipment, mobile terminal opens OTG patterns, and power supply is provided to storage device, and pass through Type- by the Vbus of Type-C interfaces TX+/TX-, RX+/RX- pin and storage device of C interface carry out the communication handshake such as initializing, and after shaking hands successfully, pass through Type- TX+/TX-, RX+/RX- pin and storage device of C interface are into row data communication, such as read the data of storage device or deposit Data are stored up to storage device.
In embodiments of the present invention, the equipment of access can also be that audio frequency apparatus and storage device all access mobile terminal, It is described when the access device be storage device and audio frequency apparatus when, can be respectively adopted the Type-C interfaces SBU1, SBU2 pins and the audio frequency apparatus into row data communication and, TX+/TX-, RX+/RX- using the Type-C interfaces draw Foot and the storage device are into row data communication.
In practical application, it can be audio frequency apparatus and after storage device all accesses adapter, pass through adapter Mobile terminal is accessed simultaneously, can also be detection access device after audio frequency apparatus, to detect and having accessed storage device;Or inspection Access device is surveyed as after storage device, detection has accessed audio frequency apparatus.Therefore, the Type-C interfaces of mobile terminal can be passed through Pin provides power supply to audio frequency apparatus and storage device, is then led to by TX+/TX-, RX+/RX- pin and storage device Letter is shaken hands;After communication handshake success, data are carried out using TX+/TX-, RX+/RX- pin and storage device of Type-C interfaces Communication and, using SBU1, SBU2 pin and audio frequency apparatus of Type-C interfaces into row data communication.
In the embodiment of the present invention, when detecting audio frequency apparatus, set using SBU1, SBU2 pin and audio of Type-C interfaces It is standby into row data communication;When detecting storage device, using TX+/TX-, RX+/RX- pin and storage device of Type-C interfaces Into row data communication, by Type-C interfaces can simultaneously with to audio frequency apparatus and storage device into row data communication.
In embodiments of the present invention, when the Type-C interface access devices of mobile terminal, the CC1 of Type-C interfaces is detected And/or the voltage value of CC2 pins;Access device is identified according to voltage value;When access device is storage device and/or audio frequency apparatus When, using SBU1, SBU2 pin and audio frequency apparatus of Type-C interfaces into row data communication and/or, using Type-C interfaces TX+/TX-, RX+/RX- pin and storage device, can be according to Type-C interfaces using the embodiment of the present invention into row data communication CC1 and/or CC2 pins voltage value identification access device be audio frequency apparatus either storage device or what is accessed simultaneously be Audio frequency apparatus and storage device are respectively adopted the pins of corresponding Type-C interfaces with access device into row data communication, solve When mobile terminal is listened to music by Type-C interfaces, it is impossible to the problem of being carried out at the same time data transmission, realize by it is mobile eventually The Type-C interfaces at end are simultaneously with audio frequency apparatus and storage device into row data communication.
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 400 provided in an embodiment of the present invention includes:
Voltage value detection module 401, for when the Type-C interfaces access device, detecting the Type-C interfaces The voltage value of CC1 and/or CC2 pins;
Identification module 402, for identifying the access device according to the voltage value;
Data communication module 403, for when the access device be storage device and/or audio frequency apparatus when, using described SBU1, SBU2 pins of Type-C interfaces and the audio frequency apparatus into row data communication and/or, using the Type-C interfaces TX+/TX-, RX+/RX- pin and the storage device into row data communication.
With reference to shown in Fig. 4 a, in the mobile terminal 400 of the embodiment of the present invention, the mobile terminal include switch and one or Multiple processing function components, further include:
SBU1, SBU2 pin of the Type-C interfaces are connected to by pin handover module 404 for passing through the switch The processing function component of the mobile terminal;
With reference to shown in Fig. 4 b, in the mobile terminal 400 of the embodiment of the present invention, the identification module 402 includes:
First identification submodule 4021, for when the voltage value is the first preset value, determining that the access device is Audio frequency apparatus;
Second identification submodule 4022, for when the voltage value is the second preset value, determining that the access device is Storage device;
Third identifies submodule 4023, for when the voltage value is third preset value, determining that the access device is Audio frequency apparatus and storage device.
With reference to shown in Fig. 4 b, in the mobile terminal 400 of the embodiment of the present invention, the data communication module 403 includes:
First power supply submodule 4031, for powering for the audio frequency apparatus;
First data traffic module 4032 draws SBU1, SBU2 of the Type-C interfaces for passing through the switch Foot is connected to the processing function component of the mobile terminal so that one or more processing function components of the mobile terminal lead to SBU1, SBU2 pins of the Type-C interfaces and the audio frequency apparatus are crossed into row data communication.
With reference to shown in Fig. 4 c, in the mobile terminal 400 of the embodiment of the present invention, data communication module 403 includes:
Second power supply submodule 4033, for powering for the storage device;
First communication handshake submodule 4034, for using the Type-C interfaces TX+/TX-, RX+/RX- pin with Storage device carries out communication handshake;
Second data traffic module 4035, for work as communication handshake success after, using the Type-C interfaces TX+/ TX-, RX+/RX- pin and the storage device are into row data communication.
With reference to shown in Fig. 4 d, in the mobile terminal 400 of the embodiment of the present invention, data communication module 403 includes:
Third power supply submodule 4036, for powering for the audio frequency apparatus and storage device;
Second communication handshake submodule 4037, for using the Type-C interfaces TX+/TX-, RX+/RX- pin with Storage device carries out communication handshake;
Third data traffic module 4038, for work as communication handshake success after, using the Type-C interfaces TX+/ TX-, RX+/RX- pin and the storage device into row data communication and, using SBU1, SBU2 of the Type-C interfaces Pin and the audio frequency apparatus are into row data communication.
With reference to shown in Fig. 4 e, in the mobile terminal 400 of the embodiment of the present invention, the first data traffic module 4032 is wrapped It includes:
Signal input unit 40321, for when the microphone of the audio frequency apparatus has input signal, controlling the switch Connect SBU1 the and/or SBU2 pins and processor of the Type-C interfaces so that the processor is connect using the Type-C SBU1 the and/or SBU2 pins of mouth receive the input signal of the microphone;
Signal output unit 40322, for when the audio output module of the mobile terminal has output signal, controlling institute State SBU1, SBU2 pin and audio output module that switch connects the Type-C interfaces so that the audio output module is adopted Audio frequency apparatus is outputed signal to described in SBU1 the and/or SBU2 pins of the Type-C interfaces are sent.
Mobile terminal can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 3, to avoid weight Multiple, which is not described herein again.
In embodiments of the present invention, when the Type-C interface access devices of mobile terminal, the CC1 of Type-C interfaces is detected And/or the voltage value of CC2 pins;Access device is identified according to voltage value;When access device is storage device and/or audio frequency apparatus When, using SBU1, SBU2 pin and audio frequency apparatus of Type-C interfaces into row data communication and/or, using Type-C interfaces TX+/TX-, RX+/RX- pin and storage device, can be according to Type-C interfaces using the embodiment of the present invention into row data communication CC1 and/or CC2 pins voltage value identification access device be audio frequency apparatus either storage device or what is accessed simultaneously be Audio frequency apparatus and storage device are respectively adopted the pins of corresponding Type-C interfaces with access device into row data communication, solve When mobile terminal is listened to music by Type-C interfaces, it is impossible to the problem of being carried out at the same time data transmission, realize by it is mobile eventually The Type-C interfaces at end are simultaneously with audio frequency apparatus and storage device into row data communication.
Example IV
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 700 shown in fig. 5 includes:At least One processor 701, memory 702, at least one network interface 704 and other users interface 703.In mobile terminal 700 Various components are coupled by bus system 705.It is understood that bus system 705 is used to implement the company between these components Connect letter.Bus system 705 further includes power bus, controlling bus and status signal bus in addition in addition to including data/address bus.But It is for the sake of clear explanation, various buses is all designated as bus system 705 in Figure 5.
Wherein, user interface 703 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 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), be used as external slow at a high speed It deposits.By exemplary but be not restricted explanation, the RAM of many forms can be used, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 702 of the system and method for description of the embodiment of the present invention is intended to include but unlimited In the memory of these and any other suitable type.
In some embodiments, memory 702 stores following element, executable modules or data structures or Their subset of person or their superset:Operating system 7021 and application program 7022.
Wherein, operating system 7021 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 7022 includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., are used to implement various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 7022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 702, specifically, can be application The program stored in program 7022 or instruction, processor 701 is used for when the Type-C interfaces access device, described in detection The voltage value of the CC1 and/or CC2 pins of Type-C interfaces;The access device is identified according to the voltage value;When the access When equipment is storage device and/or audio frequency apparatus, using SBU1, SBU2 pin and the audio frequency apparatus of the Type-C interfaces And/or, carried out using TX+/TX-, RX+/RX- pin and the storage device of the Type-C interfaces into row data communication Data communicate.
The method that the embodiments of the present invention disclose can be applied to realize in processor 701 or by processor 701. Processor 701 may be a kind of IC chip, have the processing capacity of signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing Device 701 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), application-specific integrated circuit (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform completion or use decoding processor In hardware and software module combination perform completion.Software module can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 702, and processor 701 reads the information in memory 702, and the step of the above method is completed with reference to its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware, Microcode or combination is realized.For hardware realization, processing unit can be realized in one or more application-specific integrated circuits (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for performing function of the present invention In first or combination.
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.
Optionally, processor 701 is additionally operable to, and when the voltage value is the first preset value, determines that the access device is Audio frequency apparatus;When the voltage value is the second preset value, it is storage device to determine the access device;When the voltage value is During third preset value, it is audio frequency apparatus and storage device to determine the access device.
Optionally, processor 701 is additionally operable to, and is powered for the audio frequency apparatus;The Type-C is connect by the switch SBU1, SBU2 pin of mouth are connected to the processing function component of the mobile terminal so that one or more of the mobile terminal A processing function component is by SBU1, SBU2 pins of the Type-C interfaces and the audio frequency apparatus into row data communication.
Optionally, processor 701 is additionally operable to, and is powered for the storage device;Using the Type-C interfaces TX+/ TX-, RX+/RX- pin and storage device carry out communication handshake;After communication handshake success, using the TX of the Type-C interfaces +/TX-, RX+/RX- pins and the storage device are into row data communication.
Optionally, processor 701 is additionally operable to, and is that the audio frequency apparatus and storage device are powered;It is connect using the Type-C TX+/TX-, RX+/RX- pin and storage device of mouth carry out communication handshake;After communication handshake success, using the Type-C TX+/TX-, RX+/RX- pin of interface and the storage device into row data communication and, using the Type-C interfaces SBU1, SBU2 pin and the audio frequency apparatus are into row data communication.
Optionally, processor 701 is additionally operable to, and when the microphone of the audio frequency apparatus has input signal, is opened described in control Connection connects SBU1 the and/or SBU2 pins and processor of the Type-C interfaces so that the processor uses the Type-C SBU1 the and/or SBU2 pins of interface receive the input signal of the microphone;When the audio output module of the mobile terminal When having output signal, the switch is controlled to connect SBU1, SBU2 pin and audio output module of the Type-C interfaces so that The audio output module using SBU1 the and/or SBU2 pins of the Type-C interfaces send described in output signal to audio and set It is standby.
For 700 embodiment of mobile terminal, since it is basicly similar to embodiment of the method, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
In embodiments of the present invention, when the Type-C interface access devices of mobile terminal, the CC1 of Type-C interfaces is detected And/or the voltage value of CC2 pins;Access device is identified according to voltage value;When access device is storage device and/or audio frequency apparatus When, using SBU1, SBU2 pin and audio frequency apparatus of Type-C interfaces into row data communication and/or, using Type-C interfaces TX+/TX-, RX+/RX- pin and storage device, can be according to Type-C interfaces using the embodiment of the present invention into row data communication CC1 and/or CC2 pins voltage value identification access device be audio frequency apparatus either storage device or what is accessed simultaneously be Audio frequency apparatus and storage device are respectively adopted the pins of corresponding Type-C interfaces with access device into row data communication, solve When mobile terminal is listened to music by Type-C interfaces, it is impossible to the problem of being carried out at the same time data transmission, realize by it is mobile eventually The Type-C interfaces at end are simultaneously with audio frequency apparatus and storage device into row data communication.
Embodiment five
Fig. 6 is the structure diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 6 800 can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer Deng.
Mobile terminal 800 in Fig. 6 includes radio frequency (RadioFrequency, RF) circuit 810, memory 820, input list Member 830, display unit 840, processor 860, voicefrequency circuit 870, WiFi (WirelessFidelity) module 880 and power supply 890。
Wherein, input unit 830 can be used for receiving number input by user or character information and generation and mobile terminal The related signal input of 800 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 831.Touch panel 831, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses the operations of any suitable object or attachment on touch panel 831 such as finger, stylus), and according to advance The formula of setting drives corresponding attachment device.Optionally, touch panel 831 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, The processor 860 is given again, and can be received the order that processor 860 is sent and be performed.Furthermore, it is possible to using resistance-type, The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 831.In addition to touch panel 831, input unit 830 can also include other input equipments 832, other input equipments 832 can include but is not limited to physical keyboard, function key It is one or more in (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc..
Wherein, display unit 840 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 800.Display unit 840 may include display panel 841, optionally, LCD or organic hairs may be used Display panel 841 is configured in the forms such as optical diode (OrganicLight-EmittingDiode, OLED).
It should be noted that touch panel 831 can cover display panel 841, touch display screen is formed, when the touch display screen is examined It measures and on it or after neighbouring touch operation, sends processor 860 to determine the type of touch event, be followed by subsequent processing device 860 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop 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 860 is the control centre of mobile terminal 800, utilizes various interfaces and connection whole mobile phone Various pieces are stored by running or performing the software program being stored in first memory 821 and/or module and call Data in second memory 822 perform the various functions of mobile terminal 800 and processing data, so as to mobile terminal 800 Carry out integral monitoring.Optionally, processor 860 may include one or more processing units.
In embodiments of the present invention, by calling store the first memory 821 in software program and/or module and/ Or the data in the second memory 822, processor 860 is used for when the Type-C interfaces access device, described in detection The voltage value of the CC1 and/or CC2 pins of Type-C interfaces;The access device is identified according to the voltage value;When the access When equipment is storage device and/or audio frequency apparatus, using SBU1, SBU2 pin and the audio frequency apparatus of the Type-C interfaces And/or, carried out using TX+/TX-, RX+/RX- pin and the storage device of the Type-C interfaces into row data communication Data communicate.
Optionally, the processor 860 is additionally operable to, and when the voltage value is the first preset value, determines that the access is set Standby is audio frequency apparatus;When the voltage value is the second preset value, it is storage device to determine the access device;When the voltage When being worth for third preset value, it is audio frequency apparatus and storage device to determine the access device.
Optionally, the processor 860 is additionally operable to, and is powered for the audio frequency apparatus;It is switched by described by the Type- SBU1, SBU2 pin of C interface are connected to the processing function component of the mobile terminal so that one of the mobile terminal or Multiple processing function components are by SBU1, SBU2 pins of the Type-C interfaces and the audio frequency apparatus into row data communication.
Optionally, the processor 860 is additionally operable to, and is powered for the storage device;Using the TX of the Type-C interfaces +/TX-, RX+/RX- pins and storage device carry out communication handshake;After communication handshake success, using the Type-C interfaces TX+/TX-, RX+/RX- pin and the storage device are into row data communication.
Optionally, the processor 860 is additionally operable to, and is that the audio frequency apparatus and storage device are powered;Using the Type- TX+/TX-, RX+/RX- pin and storage device of C interface carry out communication handshake;After communication handshake success, using described TX+/TX-, RX+/RX- pins of Type-C interfaces and the storage device into row data communication and, using the Type-C SBU1, SBU2 pin of interface and the audio frequency apparatus are into row data communication.
Optionally, the processor 860 is additionally operable to, and when the microphone of the audio frequency apparatus has input signal, controls institute State SBU1 and/or SBU2 pins and processor that switch connects the Type-C interfaces so that described in the processor uses SBU1 the and/or SBU2 pins of Type-C interfaces receive the input signal of the microphone;When the audio of the mobile terminal is defeated When going out module has output signal, the switch is controlled to connect SBU1, SBU2 pin and audio output mould of the Type-C interfaces Block so that the audio output module sends the output signal using SBU1 the and/or SBU2 pins of the Type-C interfaces To audio frequency apparatus
For 800 embodiment of mobile terminal, since it is basicly similar to embodiment of the method, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
In embodiments of the present invention, when the Type-C interface access devices of mobile terminal, the CC1 of Type-C interfaces is detected And/or the voltage value of CC2 pins;Access device is identified according to voltage value;When access device is storage device and/or audio frequency apparatus When, using SBU1, SBU2 pin and audio frequency apparatus of Type-C interfaces into row data communication and/or, using Type-C interfaces TX+/TX-, RX+/RX- pin and storage device, can be according to Type-C interfaces using the embodiment of the present invention into row data communication CC1 and/or CC2 pins voltage value identification access device be audio frequency apparatus either storage device or what is accessed simultaneously be Audio frequency apparatus and storage device are respectively adopted the pins of corresponding Type-C interfaces with access device into row data communication, solve When mobile terminal is listened to music by Type-C interfaces, it is impossible to the problem of being carried out at the same time data transmission, realize by it is mobile eventually The Type-C interfaces at end are simultaneously with audio frequency apparatus and storage device into row data communication.
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 by the present invention, 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, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit 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 (12)

1. a kind of method of data communication, applied to the mobile terminal with Type-C interfaces, which is characterized in that the method packet It includes:
When the Type-C interfaces access device, the voltage value of the CC1 and/or CC2 pins of the Type-C interfaces is detected;
The access device is identified according to the voltage value;
When the access device is storage device and/or audio frequency apparatus, using SBU1, SBU2 pin of the Type-C interfaces With the audio frequency apparatus into row data communication and/or, TX+/TX-, RX+/RX- pin and institute using the Type-C interfaces Storage device is stated into row data communication.
2. according to the method described in claim 1, it is characterized in that, described identify the access device according to the voltage value Step includes:
When the voltage value is the first preset value, it is audio frequency apparatus 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 audio frequency apparatus and storage device to determine the access device.
3. according to the method described in claim 1, it is characterized in that, when the access device be audio frequency apparatus when, the movement Terminal includes switch and one or more processing function components, SBU1, SBU2 pin using the Type-C interfaces with The audio frequency apparatus included into the step of row data communication:
It powers for the audio frequency apparatus;
SBU1, SBU2 pin of the Type-C interfaces are connected to the processing function group of the mobile terminal by the switch Part so that SBU1, SBU2 pin that one or more processing function components of the mobile terminal pass through the Type-C interfaces With the audio frequency apparatus into row data communication.
4. according to the method described in claim 1, it is characterized in that, when the access device be storage device when, the use TX+/TX-, RX+/RX- pin of the Type-C interfaces and the storage device included into the step of row data communication:
It powers for the storage device;
Communication handshake is carried out using TX+/TX-, RX+/RX- pin and storage device of the Type-C interfaces;
After communication handshake success, using the Type-C interfaces TX+/TX-, RX+/RX- pin and the storage device into Row data communication.
5. according to the method described in claim 1, it is characterized in that, when the access device is audio frequency apparatus and storage device When, SBU1, SBU2 pin using the Type-C interfaces and the audio frequency apparatus into row data communication and/or, use TX+/TX-, RX+/RX- pin of the Type-C interfaces and the storage device included into the step of row data communication:
It powers for the audio frequency apparatus and storage device;
Communication handshake is carried out using TX+/TX-, RX+/RX- pin and storage device of the Type-C interfaces;
After communication handshake success, using the Type-C interfaces TX+/TX-, RX+/RX- pin and the storage device into Row data communication and, using SBU1, SBU2 pin and the audio frequency apparatus of the Type-C interfaces into row data communication.
6. according to the method described in claim 3, it is characterized in that, described switched by described by the Type-C interfaces SBU1, SBU2 pin are connected to the processing function component of the mobile terminal so that at the one or more of the mobile terminal Reason functional unit is wrapped by SBU1, SBU2 pins of the Type-C interfaces and the audio frequency apparatus into the step of row data communication It includes:
When the microphone of the audio frequency apparatus has input signal, the switch is controlled to connect the SBU1 of the Type-C interfaces And/or SBU2 pins and processor so that the processor is received using SBU1 the and/or SBU2 pins of the Type-C interfaces The input signal of the microphone;
When the audio output module of the mobile terminal has output signal, the switch is controlled to connect the Type-C interfaces SBU1, SBU2 pin and audio output module so that the audio output module using the Type-C interfaces SBU1 and/or SBU2 pins output signal to audio frequency apparatus described in sending.
7. a kind of mobile terminal, the mobile terminal has Type-C interfaces, which is characterized in that including:
Voltage value detection module, for when the Type-C interfaces access device, detect the CC1 of the Type-C interfaces and/ Or the voltage value of CC2 pins;
Identification module, for identifying the access device according to the voltage value;
Data communication module, for when the access device is storage device and/or audio frequency apparatus, being connect using the Type-C Mouthful SBU1, SBU2 pin and the audio frequency apparatus into row data communication and/or, using the Type-C interfaces TX+/ TX-, RX+/RX- pin and the storage device are into row data communication.
8. mobile terminal according to claim 7, which is characterized in that the identification module includes:
First identification submodule, for when the voltage value is the first preset value, it to be audio frequency apparatus to determine the access device;
Second identification submodule, for when the voltage value is the second preset value, it to be storage device to determine the access device;
Third identifies submodule, for when the voltage value is third preset value, it to be audio frequency apparatus to determine the access device And storage device.
9. mobile terminal according to claim 7, which is characterized in that the mobile terminal includes switch and one or more Processing function component, the data communication module include:
First power supply submodule, for powering for the audio frequency apparatus;
SBU1, SBU2 pin of the Type-C interfaces are connected to by the first data traffic module for passing through the switch The processing function component of the mobile terminal so that one or more processing function components of the mobile terminal pass through described SBU1, SBU2 pins of Type-C interfaces and the audio frequency apparatus are into row data communication.
10. mobile terminal according to claim 7, which is characterized in that the data communication module includes:
Second power supply submodule, for powering for the storage device;
First communication handshake submodule, for using TX+/TX-, RX+/RX- pin and storage device of the Type-C interfaces Carry out communication handshake;
Second data traffic module, for work as communication handshake success after, using the Type-C interfaces TX+/TX-, RX+/ RX- pins and the storage device are into row data communication.
11. mobile terminal according to claim 7, which is characterized in that the data communication module includes:
Third power supply submodule, for powering for the audio frequency apparatus and storage device;
Second communication handshake submodule, for using TX+/TX-, RX+/RX- pin and storage device of the Type-C interfaces Carry out communication handshake;
Third data traffic module, for work as communication handshake success after, using the Type-C interfaces TX+/TX-, RX+/ RX- pins and the storage device into row data communication and, SBU1, SBU2 pin and institute using the Type-C interfaces Audio frequency apparatus is stated into row data communication.
12. mobile terminal according to claim 9, which is characterized in that the first data traffic module includes:
Signal input unit, for when the microphone of the audio frequency apparatus has input signal, controlling described in the switch connection SBU1 the and/or SBU2 pins and processor of Type-C interfaces so that the processor uses the SBU1 of the Type-C interfaces And/or SBU2 pins receive the input signal of the microphone;
Signal output unit, for the switch when the audio output module of the mobile terminal has output signal, to be controlled to connect Connect SBU1, SBU2 pin and audio output module of the Type-C interfaces so that described in the audio output module uses SBU1 the and/or SBU2 pins of Type-C interfaces output signal to audio frequency apparatus described in sending.
CN201611265675.4A 2016-12-30 2016-12-30 A kind of method and mobile terminal of data communication Pending CN108268395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611265675.4A CN108268395A (en) 2016-12-30 2016-12-30 A kind of method and mobile terminal of data communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611265675.4A CN108268395A (en) 2016-12-30 2016-12-30 A kind of method and mobile terminal of data communication

Publications (1)

Publication Number Publication Date
CN108268395A true CN108268395A (en) 2018-07-10

Family

ID=62770318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611265675.4A Pending CN108268395A (en) 2016-12-30 2016-12-30 A kind of method and mobile terminal of data communication

Country Status (1)

Country Link
CN (1) CN108268395A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020187024A1 (en) * 2019-03-15 2020-09-24 维沃移动通信有限公司 Audio circuit, related device and control method
CN112068886A (en) * 2019-06-10 2020-12-11 中兴通讯股份有限公司 Method and device for acquiring application program
CN112511186A (en) * 2019-09-16 2021-03-16 北京小米移动软件有限公司 Mobile terminal
US11372789B2 (en) 2019-03-26 2022-06-28 Samsung Electronics Co., Ltd. Method for connecting external audio device and electronic device thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120404A (en) * 2015-07-31 2015-12-02 华为技术有限公司 Audio equipment, terminal equipment and electronic equipment
CN105703185A (en) * 2016-02-18 2016-06-22 北京小米移动软件有限公司 Signal transmission method, signal transmission device and adapter connecting head
CN105933824A (en) * 2016-04-20 2016-09-07 乐视控股(北京)有限公司 Audio switching method and device of terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120404A (en) * 2015-07-31 2015-12-02 华为技术有限公司 Audio equipment, terminal equipment and electronic equipment
CN105703185A (en) * 2016-02-18 2016-06-22 北京小米移动软件有限公司 Signal transmission method, signal transmission device and adapter connecting head
CN105933824A (en) * 2016-04-20 2016-09-07 乐视控股(北京)有限公司 Audio switching method and device of terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020187024A1 (en) * 2019-03-15 2020-09-24 维沃移动通信有限公司 Audio circuit, related device and control method
US11372789B2 (en) 2019-03-26 2022-06-28 Samsung Electronics Co., Ltd. Method for connecting external audio device and electronic device thereof
CN112068886A (en) * 2019-06-10 2020-12-11 中兴通讯股份有限公司 Method and device for acquiring application program
WO2020248666A1 (en) * 2019-06-10 2020-12-17 中兴通讯股份有限公司 Method for acquiring application, apparatus, and computer-readable storage medium
US11915009B2 (en) 2019-06-10 2024-02-27 Zte Corporation Method for acquiring application, apparatus, and computer-readable storage medium
CN112511186A (en) * 2019-09-16 2021-03-16 北京小米移动软件有限公司 Mobile terminal

Similar Documents

Publication Publication Date Title
CN106504777B (en) A kind of processing method and mobile terminal of recording data
CN105359086A (en) Method for controlling chat window and electronic device implementing the same
CN108268395A (en) A kind of method and mobile terminal of data communication
CN106648857B (en) A kind of open method and mobile terminal of the OTG function of mobile terminal
CN106980445A (en) Manipulate the awaking method and device, electronic equipment of menu
CN106371749A (en) Method and device for terminal control
CN106161804A (en) A kind of audio play control method and mobile terminal
CN106101409A (en) A kind of mobile terminal and control method
CN108271093B (en) Processing method of access equipment and mobile terminal
CN105518634A (en) Method, apparatus, and recording medium for interworking with external terminal
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
CN106293184A (en) Can the terminal of side touch-control and touch control method thereof
CN108268399A (en) A kind of method and mobile terminal of data communication
CN107291415A (en) A kind of charging and the method and terminal of voice data processing
CN108268415A (en) A kind of method and mobile terminal of data communication
CN108268397B (en) Processing method of access equipment and mobile terminal
CN108270253A (en) A kind of charging method and mobile terminal
CN108268396B (en) Processing method of access equipment and mobile terminal
CN108271092B (en) Processing method of access equipment and mobile terminal
CN108268393A (en) The processing method and mobile terminal of a kind of access device
CN106850994A (en) The control method and mobile terminal of a kind of mobile terminal sound output
CN108268407B (en) Processing method of access equipment and mobile terminal
CN107809514B (en) A kind of exchange method based on wireless headset, wireless headset and mobile terminal
CN107493558B (en) A kind of voice signal control method and mobile terminal

Legal Events

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

Application publication date: 20180710

RJ01 Rejection of invention patent application after publication