CN107678991A - A kind of data processing method and terminal, computer-readable recording medium - Google Patents
A kind of data processing method and terminal, computer-readable recording medium Download PDFInfo
- Publication number
- CN107678991A CN107678991A CN201710924371.2A CN201710924371A CN107678991A CN 107678991 A CN107678991 A CN 107678991A CN 201710924371 A CN201710924371 A CN 201710924371A CN 107678991 A CN107678991 A CN 107678991A
- Authority
- CN
- China
- Prior art keywords
- pin
- group
- current voltage
- connector
- connection
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
- G06F13/4081—Live connection to bus, e.g. hot-plugging
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)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of data processing method, including:When detecting that generation detection instructs when being in connection status with connector, detect instruction and be used to indicate pair the first pin being connected with connector progress voltage detecting, first group of pin connection of the first pin and connector;Instructed according to detection, obtain the current voltage of the first pin;When the type and current voltage according to the first pin, when judging that current voltage is incorrect, switching command is generated;According to switching command, the connection with first group of pin in connector, conducting and the connection of second group of pin in connector are disconnected, second group of pin is the one group pin opposite with the pin interface type of first group of pin;The transmission of data is realized based on second group of pin.The embodiment of the present invention also provides a kind of terminal and computer-readable recording medium simultaneously, and the embodiment of the present invention can realize external equipment compatibility, improve practicality.
Description
Technical field
The present invention relates to the data processing technique in the communications field, more particularly to a kind of data processing method and terminal, meter
Calculation machine readable storage medium storing program for executing.
Background technology
In recent years, with many such as the rapid development of Internet technology and mobile communication network technology, mobile phone, tablet personal computer
The speed of the update of terminal is also increasingly faster, and the corollary equipment of corresponding terminal is also more and more.
Earphone is the important equipment that terminal exports voice data, provides the user the voice datas such as music, voice.
Current earphone includes Europe superscript and American Standard, and the mode of the Mike of connection and ground connection is different inside Europe superscript and the earphone of American Standard
, then the earphone interface for terminal is Type-C COM1s, and internal connection is certain in Type-C COM1s, then pin
The problem of incompatible just occurs when being attached to the earphone of different Europe superscript and American Standard.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention it is expected to provide a kind of data processing method and terminal, computer
Readable storage medium storing program for executing, the compatibility of external equipment can be realized, improves practicality.
The technical proposal of the invention is realized in this way:
The embodiments of the invention provide a kind of data processing method, applied in terminal, including:
When detect be in connection status with connector when, generation detection instruction, it is described detection instruction be used for indicate pair with
First pin of the connector connection carries out voltage detecting, and first group of pin of first pin and the connector connects
Connect;
Instructed according to detection, obtain the current voltage of first pin;
When the type according to the first pin and the current voltage, when judging that the current voltage is incorrect, generation is cut
Change instruction;
According to the switching command, the connection with first group of pin described in the connector, conducting and the company are disconnected
The connection of second group of pin in device is connect, second group of pin is opposite with the pin interface type of first group of pin one
Group pin;
The transmission of data is realized based on second group of pin.
Optionally, the type according to the first pin and the current voltage, judge that the current voltage is incorrect,
Including:
According to the type of first pin, judge whether the current voltage meets the type of first pin correspondingly
Predetermined voltage range;
If the current voltage does not meet the predetermined voltage range, judge that the current voltage is incorrect.
Optionally, the type according to first pin, judges whether the current voltage meets first pipe
After predetermined voltage range corresponding to the type of pin, methods described also includes:
If the current voltage meets the predetermined voltage range, judge that the current voltage is correct.
Optionally, if the current voltage meets the predetermined voltage range, the current voltage is being judged just
After really, methods described also includes:
The transmission of data is realized based on first group of pin.
Optionally, first group of pin is first the-the first ground pin of Mike's pin, and second group of pipe connects for second
Ground pin the-the second Mike pin, it is described according to the switching command, disconnect the company with first group of pin described in the connector
Connect, conducting and the connection of second group of pin in the connector, including:
According to the switching command, the connection with first the-the first ground pin of Mike's pin in the connector is disconnected, is led
The logical connection with second ground pin the-the second Mike pin in the connector.
The embodiments of the invention provide a kind of terminal, including:Processor, storage medium and communication bus, the storage
Medium passes through the communication bus and the processor connection communication;
The processor, for calling the data processing relative program of the first storage medium storage, and perform as follows
Step:When detect be in connection status with connector when, generation detection instruction, it is described detection instruction be used for indicate pair with it is described
First pin of connector connection carries out voltage detecting, and first pin is connected with first group of pin of the connector;Root
Instructed according to detection, obtain the current voltage of first pin;When the type according to the first pin and the current voltage, judge
Go out the current voltage it is incorrect when, generate switching command;According to the switching command, disconnect and described in the connector the
The connection of one group of pin, conducting and the connection of second group of pin in the connector, second group of pin are and described first
The one group of pin of the pin interface type of group pin conversely;The transmission of data is realized based on second group of pin.
Optionally, the processor, specifically for the type according to first pin, whether the current voltage is judged
Meet predetermined voltage range corresponding to the type of first pin;And if the current voltage does not meet the predeterminated voltage model
Enclose, then judge that the current voltage is incorrect.
Optionally, the processor, the type according to first pin is additionally operable to, judges that the current voltage is
After predetermined voltage range corresponding to the no type for meeting first pin, if the current voltage meets the predeterminated voltage
Scope, then judge that the current voltage is correct;The transmission of data is realized based on first group of pin.
Optionally, first group of pin is first the-the first ground pin of Mike's pin, and second group of pipe connects for second
Ground pin the-the second Mike pin,
The processor, specifically for according to the switching command, disconnecting and first Mike's pin-the in the connector
The connection of one ground pin, conducting and the connection of second ground pin the-the second Mike pin in the connector.
The embodiments of the invention provide a kind of computer-readable recording medium, it is arranged in terminal, it is described computer-readable
Storage medium is stored with one or more data processor, and one or more of programs can be by one or more
Manage device to perform, to realize described data processing method.
The embodiments of the invention provide a kind of data processing method and terminal, computer-readable recording medium, when detecting
When being in connection status with connector, generation detection instruction, detection instruction is used to indicate pair the first pin being connected with connector
Carry out voltage detecting, first group of pin connection of the first pin and connector;Instructed according to detection, obtain the current of the first pin
Voltage;When the type and current voltage according to the first pin, when judging that current voltage is incorrect, switching command is generated;According to
Switching command, the connection with first group of pin in connector is disconnected, the connection of second group of pin in conducting and connector, second group
Pin is the one group pin opposite with the pin interface type of first group of pin;The transmission of data is realized based on second group of pin.
Using above-mentioned technic relization scheme, because terminal is incorrect in the voltage for detecting the current pin being connected with connector, you can
When being that connection pin is reversed, the terminal can be by disconnecting the first group of pin currently connected, conducting and second group of pipe
The connection of pin, the interface type based on second group of pin and first group of pin on the contrary, so as to realize that the connection by terminal is set right, with
Just correct data transfer is carried out, therefore, realizes due to the compatibility of the opposite different external connection equipment of interface, improves practicality.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram of optional mobile terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart one of data processing method provided in an embodiment of the present invention;
Fig. 4 is exemplary Type-C pins schematic diagram one provided in an embodiment of the present invention;
Fig. 5 is exemplary Type-C pins schematic diagram two provided in an embodiment of the present invention;
Fig. 6 is a kind of flowchart 2 of data processing method provided in an embodiment of the present invention;
Fig. 7 is a kind of flow chart 3 of data processing method provided in an embodiment of the present invention;
Fig. 8 is the signal that a kind of exemplary earphone provided in an embodiment of the present invention connects terminal by earphone conversion head
Figure;
Fig. 9 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix
Ground uses.
Terminal in the embodiment of the present invention can be electronic equipment with shooting or shoot function etc., the embodiment of the present invention
It is not restricted.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move
Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware configuration signal for a kind of optional mobile terminal of each embodiment of the realization present invention
Figure, the mobile terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, Wi-Fi module 102, audio are defeated
Go out unit 103, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, connect
The parts such as mouth unit 108, memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that in Fig. 1
The mobile terminal structure shown does not form the restriction to mobile terminal, and mobile terminal can include more more or less than illustrating
Part, either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
Wi-Fi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch by Wi-Fi module 102
Email, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1
Wi-Fi module 102 is shown, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can basis
Need to omit in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or Wi-Fi module 102 it is receiving or
It is sound that the voice data that person stores in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit
103 can also provide performed to mobile terminal 100 the related audio output of specific function (for example, call signal reception sound,
Message sink sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can
Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage
Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers
Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc.
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Terminal in the embodiment of the present invention can be mobile terminal, then, it is exemplary, based on above-mentioned mobile terminal hardware
Structure and communications network system, each embodiment of the inventive method can be proposed.Following terminals can utilize mobile terminal
To replace.
Embodiment one
The embodiments of the invention provide a kind of data processing method, applied in terminal, as shown in figure 3, this method can be with
Including:
S101, when detect be in connection status with connector when, generation detection instruction, detection instruction be used for indicate pair with
First pin of connector connection carries out voltage detecting, first group of pin connection of the first pin and connector;
Terminal in the embodiment of the present invention has the function of being realized by external equipment, such as ear-phone function, and the present invention is in fact
Apply example and data processing method provided in an embodiment of the present invention is mainly embodied by the data processing between terminal and connector.
Here, in embodiments of the present invention, connector can be external equipment conversion head, and the external equipment conversion head is can
To carry out plugging connection with the interfaces for external devices set in terminal.Wherein, in embodiments of the present invention, set in terminal
Interfaces for external devices can be Type-C interfaces.External equipment conversion head is used to connect external equipment and terminal, realizes external work(
Energy.
So, external conversion head and terminal can carry out plug and realize connection, then when detect with connector
When connection status, terminal can generation detection instruction, go to detect external equipment conversion head and terminal by detecting instruction
Whether correct current connection is, because different external equipments external equipment conversion head by way of terminal is connected
It is probably different, it is therefore desirable to the correctness that detection currently connects.
It should be noted that in embodiments of the present invention, the current connection of terminal and connector is the first of terminal
Pin is connected with connector, and the first pin of specific terminal and first group of pin of connector connect.
In embodiments of the present invention, external equipment can be earphone, so, different earphones be connected in external equipment converter
The earpiece holes of terminal are connected to, realize the connection of different earphones and terminal.Here earphone is the ear of 3.5 millimeters of earphone interfaces
Machine.
In embodiments of the present invention, terminal can possess to be connected with external equipment for mobile phone, tablet personal computer etc. realizes function
Electronic equipment, the type of not limiting terminal of the embodiment of the present invention.
Terminal is also referred to as terminal device, is the equipment that network outermost is in computer network, is mainly used in user profile
Input and result output etc..In early stage computer system, because main frame is expensive, therefore a main frame
Multiple terminals can be typically configured, these terminals do not possess computing capability in itself, only undertake the work of information input and output, computing
Completed with processing by main frame.In the personal computer epoch, personal computer can run the program of referred to as terminal emulator
To imitate the work of a terminal.With the development of mobile network, mobile terminal (such as mobile phone, PAD) has obtained widely should
With.Now, terminal can not only undertake the work of input and output, while can also carry out certain computing and processing, realize that part is
System function.
Mobile terminal refers to the equipment that can be used on the move, broad sense say including mobile phone, notebook, tablet personal computer,
POS, or even including vehicle-mounted computer.But refer to mobile phone or the intelligent hand with a variety of application functions in most cases
Machine and tablet personal computer.As network and technology are towards the development in more and more broadband direction, Mobile Communication Industry will trend
The real mobile message epoch.On the other hand, with the rapid development of integrated circuit technique, the disposal ability of mobile terminal is
Have powerful disposal ability, mobile terminal is changed into an integrated data processing platform from simple call instrument.This
Also broader development space is added to mobile terminal.Mobile terminal is as simple communication equipment with Mobile Communication Development
The history of existing decades.Mobile intelligent terminal is almost changed into the crucial entrance of Internet service and main wound between a flash
New platform, new media, ecommerce and information service platform, Internet resources, mobile network resource and environmental interaction resource
Most important hinge, its operating system and processor chips are even as the strategy system of current whole information and communication technology (ICT) industry
High point.Mobile intelligent terminal can be referred to as intelligent terminal, and mobile intelligent terminal possesses access the Internet capability, generally carry each
Kind operating system, various functions can be customized according to user's request.In life common intelligent terminal include mobile intelligent terminal,
Vehicle intelligent terminal, intelligent television, wearable device etc..
S102, according to detection instruct, obtain the first pin current voltage;
After terminal generates detection instruction, the terminal is obtained and has been connected to external equipment conversion head, at this moment can
It is correct process to proceed by the such connection of detection, in the embodiment of the present invention, terminal is by detecting voltage
To realize the detection to annexation, therefore, the terminal is when detection instruction is received, it is possible to is referred to according to detection
Order, detection is gone to obtain the current voltage of the first pin.
Here, terminal can go the Type-C interfaces of terminal to go to being connected to external set after detection instruction is obtained
Voltage on first pin of standby converter is detected, that is, gets current voltage.
It should be noted that being illustrated by taking earphone as an example, microphone interface and ground interface on earphone interface be present, because
This, includes Mike's pin and ground pin when earphone converter is connected with terminal, on earphone converter, the present invention is implemented
Two groups of Mikes and ground pin, i.e. first group of pin and second are provided with earphone converter (external equipment converter) in example
Group pin, wherein, first group of pin includes:First Mike's pin and the first ground pin.So, in terminal with first group of pipe
First pin of pin connection can also include the second pin for being connected with first Mike's pin, and with the first ground pin connection
Three-prong.
In the embodiment of the present invention, the current voltage that terminal obtains the first pin can be that terminal obtains the current of the second pin
Voltage, or terminal obtains the current voltage of three-prong, and the embodiment of the present invention is not restricted.
It should be noted that the current voltage of the first pin of terminal acquisition can only obtain the second pipe in the embodiment of the present invention
The voltage of a pin in pin and three-prong, the electricity of each pin in the second pin and three-prong can also be obtained
Pressure, the embodiment of the present invention are not restricted.
S103, when the type and current voltage according to the first pin, when judging that current voltage is incorrect, generation switching refers to
Order;
Terminal instructs according to detection, and after the current voltage for obtaining the first pin, the terminal can is according to acquisition
Current voltage carries out follow-up connection judgment process.Specifically, terminal can be obtained first in the first pin in current voltage pair
The type for the pin answered, the judgement of type and being attached property of current voltage based on the first pin.
Here, because the first pin can include the second pin and three-prong, therefore, the type of the first pin can wrap
The type of the second pin and the type of three-prong are included, one is Mike's class in the type of the second pin and the type of three-prong
Type, one is earthing type, and specifically which is Mike's type, and which is that earthing type has been set in terminal, this
Sample, terminal can judge whether correct current voltage is based on Mike's characteristic different with the voltage of ground connection.Work as terminal
According to the type and current voltage of the first pin, when judging that current voltage is incorrect, the connection characterized now is probably Mike
Reversed situation is, it is necessary to be corrected with ground connection, and then, the terminal just generates switching command, and the purpose of the switching command is will
The connection of Mike and ground connection switch over.
Specifically, terminal can judge whether current voltage meets the type of the first pin according to the type of the first pin
Corresponding predetermined voltage range;If current voltage does not meet predetermined voltage range, judge that current voltage is incorrect.
It should be noted that terminal is that the pin for the current voltage being detected in the first pin is realized into sentencing for this step
It is disconnected, that is to say, that when current voltage is what the second pin that terminal is detected in the first pin obtained, then, the first pin type
It is exactly the type of above-mentioned second pin, when current voltage obtains for the second pin in terminal the first pin of detection and three-prong
, then the first pin type is exactly the type of above-mentioned second pin and the type of three-prong.
Exemplary, when current voltage is the voltage of the second pin, terminal obtains the type of second pin, then,
The terminal obtains predetermined voltage range corresponding with the second pin type, the so terminal just according to the type of the second pin
Judgement connection can be being realized by judging whether current voltage meets predetermined voltage range corresponding to the type of the second pin just
True property.Wherein, if current voltage does not meet predetermined voltage range, judge that current voltage is incorrect.If current voltage accords with
Predetermined voltage range is closed, then judges that current voltage is correct.
It is exemplary, when current voltage for the second pin voltage and three-prong voltage when, terminal obtain this second
The type of pin and the type of three-prong, then, the terminal obtain according to the type of the second pin and the type of three-prong
Predetermined voltage range corresponding with the second pin type and predetermined voltage range corresponding with the three-prong type, so should
Terminal can is by judging whether current voltage meets predeterminated voltage corresponding to the type of the second pin corresponding to the second pin
Scope realizes the correctness for judging connection, and by judging whether current voltage meets three-prong corresponding to three-prong
Predetermined voltage range corresponding to type realizes the correctness for judging connection.Wherein, if current voltage does not meet predetermined voltage range,
Then judge that current voltage is incorrect.If current voltage meets predetermined voltage range, judge that current voltage is correct.
It should be noted that in embodiments of the present invention, the predetermined voltage range of Mike's type can be 0.1V-5V, i.e.,
With the presence of voltage, specific predetermined voltage range can determine according to virtual voltage situation, and the voltage range of earthing type is 0, i.e.,
No-voltage.
It is exemplary, when the type of the second pin is earthing type, when the type of three-prong is Mike's type, and terminal
The current voltage of the second pin obtained is 0.5V, and the current voltage of the three-prong got is 0V, then illustrates the second pipe
The current voltage of pin and three-prong does not comply with predetermined voltage range, and therefore, terminal judges that current voltage is correct, that is, judges
Go out Mike and ground connection may be reversed.Then terminal proceeds by correction.
S104, according to switching command, disconnect the connection with first group of pin in connector, conducting with second group in connector
The connection of pin, second group of pin are the one group pin opposite with the pin interface type of first group of pin;
When the type and current voltage according to the first pin, when judging that current voltage is incorrect, terminal generation switching refers to
After order, the terminal can disconnect the company with first group of pin in connector (i.e. external equipment converter) according to switching command
Connect, conducting and the connection of second group of pin in connector, second group of pin are opposite with the pin interface type of first group of pin
One group of pin.
It should be noted that in embodiments of the present invention, because external equipment converter can include two groups of pins, and
The interface type of two groups of pins is opposite, i.e., when first group of pin is first Mike's the-the first ground pin of pin, second group of pipe
For second ground pin the-the second Mike pin, that is to say, that the interface on the correspondence position of first group of pin and second group of pin
Type is opposite.
In embodiments of the present invention, the opposite meaning of interface type is that Mike with being grounded is opposite interface type.
Here, terminal disconnects the connection with first group of pin in connector, that is, disconnects the second pin company according to switching command
First ground pin of first Mike's pin and the three-prong connection connect, the second pin of conducting and second group of pin in connector
The second ground pin connection, and in conducting three-prong and connector second Mike's pin of second group of pin company
Connect.I.e. terminal is realized according to switching command, is disconnected the connection with first the-the first ground pin of Mike's pin in connector, is led
The logical connection with second ground pin the-the second Mike pin in connector.
It should be noted that in embodiments of the present invention, connector is first group of pin and of external equipment converter
The connections of two groups of pins is external to set as shown in figure 4, the interface of external equipment converter to be connected with terminal is also Type-C interfaces
D+, D- pin in Type-C pins in standby converter is defined as microphone signal passage and ground signalling passage, i.e. Mike
Pin and ground pin, the SUB1 in Type-C pins and SUB2 can be respectively defined as to the left and right acoustic channels of output signal output
The pin of signal, so, realize that terminal exports audio signal into the earphone that can receive audio signal;Because Type-C draws
D+, D- pin is often arranged in two row's pins in pin, and the position correspondence of D+, D- pin of two rows is on the contrary, thus
Realize the scheme that first group of pin and second group of pin are realized using D+, D- pin.
Exemplary, as shown in figure 5, using D1+, D1- pin as first group of pin, D2+, D2- pin are as second
Group pin, has been achieved in that first group of pin purpose opposite with the interface type of second group of pin.
S105, the transmission for realizing based on second group of pin data.
Terminal disconnects the connection with first group of pin in connector, conducting and in connector second according to switching command
After the connection of group pin, terminal and connector be the Mike that external equipment converter is connected and be grounded be exactly it is correct,
External equipment being connected to by external equipment converter and terminal can be thus realized, carries out transmitting for data.
Exemplary, illustrated by taking earphone converter as an example.When user wants to play music, earphone is passed through into ear
Machine conversion head is connected to terminal, the music wanted by terminal plays, and voice data, should by second group of pin output valve earphone
Earphone playing audio-fequency data, realize the broadcasting of music.
It is understood that because terminal is incorrect in the voltage for detecting the current pin being connected with connector, you can
When being that connection pin is reversed, the terminal can be by disconnecting the first group of pin currently connected, conducting and second group of pipe
The connection of pin, the interface type based on second group of pin and first group of pin on the contrary, so as to realize that the connection by terminal is set right, with
Just correct data transfer is carried out, therefore, realizes due to the compatibility of the opposite different external connection equipment of interface, improves practicality.
Embodiment two
The embodiments of the invention provide a kind of data processing method, applied in terminal, as shown in fig. 6, this method can be with
Including:
S201, when detect be in connection status with connector when, generation detection instruction, detection instruction be used for indicate pair with
First pin of connector connection carries out voltage detecting, first group of pin connection of the first pin and connector;
" when detecting that generation detects instruction when being in connection status with connector, instruction is detected in the embodiment of the present invention
For indicating that pair the first pin being connected with connector carries out first group of pin company of voltage detecting, the first pin and connector
Connect " process it is consistent with the process of the S101 in embodiment one, here is omitted.
S202, according to detection instruct, obtain the first pin current voltage;
The process and embodiment one of " being instructed according to detection, obtain the current voltage of the first pin " in the embodiment of the present invention
In S102 process it is consistent, here is omitted.
S203, the type according to the first pin, judge current voltage whether to meet corresponding to the type of the first pin and preset
Voltage range;
If S204, current voltage do not meet predetermined voltage range, judge that current voltage is incorrect.
" according to the type of the first pin, judge whether current voltage meets the class of the first pin in the embodiment of the present invention
Predetermined voltage range corresponding to type;According to the type of the first pin, judge whether current voltage meets the type pair of the first pin
The process of the predetermined voltage range answered " is consistent with the process of the S103 in embodiment one, and here is omitted.
S205, when judging that current voltage is incorrect, according to switching command, disconnect and first group of pin in connector
Connection, conducting and the connection of second group of pin in connector, second group of pin are the pin interface type phase with first group of pin
One group of anti-pin;
In the embodiment of the present invention " when judging that current voltage is incorrect, according to switching command, disconnect with connector
The connection of first group of pin, conducting and the connection of second group of pin in connector, second group of pin are the pipe with first group of pin
The process of one group of opposite pin of pin interface type " is consistent with the process of the S104 in embodiment one, and here is omitted.
S206, the transmission for realizing based on second group of pin data.
In the process and embodiment one of " transmission that data are realized based on second group of pin " in the embodiment of the present invention
S105 process is consistent, and here is omitted.
Further, as shown in fig. 7, after S203, a kind of data processing method provided in an embodiment of the present invention can be with
Including:S207-S208.It is as follows:
If S207, current voltage meet predetermined voltage range, judge that current voltage is correct.
S208, when judging that current voltage is correct, the transmission of data is realized based on first group of pin.
Whether terminal is judged current voltage to meet corresponding to the type of the first pin and preset in the type according to the first pin
After voltage range, if current voltage does not meet predetermined voltage range, judge that current voltage is incorrect, characterize now terminal
The first pin and the Mike in external equipment converter and ground connection be it is correct, such words external equipment can passes through
This external equipment converter realizes transmitting for data.That is, when judging that current voltage is correct, terminal can be with base
The transmission of data is realized in first group of pin.
Exemplary, as shown in figure 8, being illustrated by taking earphone converter 3 as an example.When user wants to play music,
Earphone 2 is connected to terminal 1 by earphone conversion head 3, desired music is played by terminal 1, voice data passes through first group
Pin output valve earphone, the earphone playing audio-fequency data, realizes the broadcasting of music.
It is understood that because terminal is incorrect in the voltage for detecting the current pin being connected with connector, you can
When being that connection pin is reversed, the terminal can be by disconnecting the first group of pin currently connected, conducting and second group of pipe
The connection of pin, the interface type based on second group of pin and first group of pin on the contrary, so as to realize that the connection by terminal is set right, with
Just correct data transfer is carried out, therefore, realizes due to the compatibility of the opposite different external connection equipment of interface, improves practicality.
Embodiment three
Under same inventive concept based on embodiment one and embodiment two, as shown in figure 9, the embodiments of the invention provide one
Kind terminal, the terminal can include:Processor 10, storage medium 11 and communication bus 12, the storage medium 11 pass through institute
State communication bus 12 and the connection communication of processor 10;
The processor 10, for calling the data processing relative program of the first storage medium storage, and perform such as
Lower step:When detecting that generation detects instruction when being in connection status with connector, the detection instruction is used for instruction pair and institute
The first pin for stating connector connection carries out voltage detecting, and first pin is connected with first group of pin of the connector;
Instructed according to detection, obtain the current voltage of first pin;When the type according to the first pin and the current voltage, sentence
Break the current voltage it is incorrect when, generate switching command;According to the switching command, disconnect with described in the connector
The connection of first group of pin, conducting and the connection of second group of pin in the connector, second group of pin are and described the
One group of opposite pin of the pin interface type of one group of pin;The transmission of data is realized based on second group of pin.
Optionally, the processor 10, specifically for the type according to first pin, judge that the current voltage is
Predetermined voltage range corresponding to the no type for meeting first pin;And if the current voltage does not meet the predeterminated voltage
Scope, then judge that the current voltage is incorrect.
Optionally, the processor 10, the type according to first pin is additionally operable to, judges the current voltage
After whether meeting predetermined voltage range corresponding to the type of first pin, if the current voltage meets the default electricity
Scope is pressed, then judges that the current voltage is correct;The transmission of data is realized based on first group of pin.
Optionally, first group of pin is first the-the first ground pin of Mike's pin, and second group of pipe connects for second
Ground pin the-the second Mike pin,
The processor 10, specifically for according to the switching command, disconnect with first Mike's pin in the connector-
The connection of first ground pin, conducting and the connection of second ground pin the-the second Mike pin in the connector.
It should be noted that in embodiments of the present invention, processor 10 can be consistent with the processor 110 in Fig. 1, and storage is situated between
Matter 11 can be consistent with the memory 109 in Fig. 1.
In actual applications, above-mentioned storage medium can be volatile memory (volatile memory), such as with
Machine access memory (Random-Access Memory, RAM);Or nonvolatile memory (non-volatile
Memory), such as read-only storage (Read-Only Memory, ROM), flash memory (flash memory), hard disk
(Hard Disk Drive, HDD) or solid state hard disc (Solid-State Drive, SSD);Or the memory of mentioned kind
Combination, and provide instruction and data to processor.
Above-mentioned processor can be application-specific IC (Application Specific Integrated
Circuit, ASIC), digital signal processor (Digital Signal Processor, DSP), digital signal processing device
(Digital Signal Processing Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), central processing unit
At least one of (Central Processing Unit, CPU), controller, microcontroller, microprocessor.It is appreciated that
Ground, for different equipment, for realizing that the electronic device of above-mentioned processor function can also be other, the embodiment of the present invention is not
Make specific limit.
It is understood that because terminal is incorrect in the voltage for detecting the current pin being connected with connector, you can
When being that connection pin is reversed, the terminal can be by disconnecting the first group of pin currently connected, conducting and second group of pipe
The connection of pin, the interface type based on second group of pin and first group of pin on the contrary, so as to realize that the connection by terminal is set right, with
Just correct data transfer is carried out, therefore, realizes due to the compatibility of the opposite different external connection equipment of interface, improves practicality.
The embodiments of the invention provide a kind of computer-readable recording medium, it is arranged in terminal, it is described computer-readable
Storage medium is stored with one or more data processor, and one or more of programs can be by one or more
Manage device to perform, to realize embodiment one and the data processing method described in embodiment two.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the shape of the embodiment in terms of the present invention can use hardware embodiment, software implementation or combination software and hardware
Formula.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more to use storage
The form for the computer program product that medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.).
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (10)
- A kind of 1. data processing method, it is characterised in that applied in terminal, including:When detect be in connection status with connector when, generation detection instruction, it is described detection instruction be used for indicate pair with it is described First pin of connector connection carries out voltage detecting, and first pin is connected with first group of pin of the connector;Instructed according to detection, obtain the current voltage of first pin;When the type according to the first pin and the current voltage, when judging that the current voltage is incorrect, generation switching refers to Order;According to the switching command, the connection with first group of pin described in the connector, conducting and the connector are disconnected In second group of pin connection, second group of pin is the one group pipe opposite with the pin interface type of first group of pin Pin;The transmission of data is realized based on second group of pin.
- 2. according to the method for claim 1, it is characterised in that the type according to the first pin and the current electricity Pressure, judges that the current voltage is incorrect, including:According to the type of first pin, it is pre- corresponding to the type of first pin to judge whether the current voltage meets If voltage range;If the current voltage does not meet the predetermined voltage range, judge that the current voltage is incorrect.
- 3. according to the method for claim 2, it is characterised in that the type according to first pin, described in judgement After whether current voltage meets predetermined voltage range corresponding to the type of first pin, methods described also includes:If the current voltage meets the predetermined voltage range, judge that the current voltage is correct.
- 4. according to the method for claim 3, it is characterised in that if the current voltage meets the predeterminated voltage model Enclose, then after judging that the current voltage is correct, methods described also includes:The transmission of data is realized based on first group of pin.
- 5. according to the method for claim 1, it is characterised in that first group of pin is that first Mike's pin-the first connects Ground pin, second group of pipe are second ground pin the-the second Mike pin, described according to the switching command, disconnection and institute The connection of first group of pin described in connector, conducting and the connection of second group of pin in the connector are stated, including:It is described according to the switching command, disconnect the connection with first the-the first ground pin of Mike's pin in the connector, lead The logical connection with second ground pin the-the second Mike pin in the connector.
- A kind of 6. terminal, it is characterised in that including:Processor, storage medium and communication bus, the storage medium pass through institute State communication bus and the processor connection communication;The processor, for calling the data processing relative program of the first storage medium storage, and perform following steps: When detecting that generation detects instruction when being in connection status with connector, the detection instruction is used for instruction pair and the connection First pin of device connection carries out voltage detecting, and first pin is connected with first group of pin of the connector;According to inspection Instruction is surveyed, obtains the current voltage of first pin;When the type according to the first pin and the current voltage, institute is judged State current voltage it is incorrect when, generate switching command;According to the switching command, disconnect and first group described in the connector The connection of pin, conducting and the connection of second group of pin in the connector, second group of pin are and first group of pipe One group of opposite pin of the pin interface type of pin;The transmission of data is realized based on second group of pin.
- 7. terminal according to claim 6, it is characterised in thatThe processor, specifically for the type according to first pin, judge whether the current voltage meets described Predetermined voltage range corresponding to the type of one pin;And if the current voltage does not meet the predetermined voltage range, judges It is incorrect to go out the current voltage.
- 8. terminal according to claim 7, it is characterised in thatThe processor, the type according to first pin is additionally operable to, it is described to judge whether the current voltage meets After predetermined voltage range corresponding to the type of first pin, if the current voltage meets the predetermined voltage range, sentence Breaking, it is correct the current voltage;The transmission of data is realized based on first group of pin.
- 9. terminal according to claim 6, it is characterised in that first group of pin is that first Mike's pin-the first connects Ground pin, second group of pipe are second ground pin the-the second Mike pin,The processor, specifically for described according to the switching command, disconnect and first Mike's pin-the in the connector The connection of one ground pin, conducting and the connection of second ground pin the-the second Mike pin in the connector.
- 10. a kind of computer-readable recording medium, it is characterised in that be arranged in terminal, the computer-readable recording medium One or more data processor is stored with, one or more of programs can be held by one or more processor OK, the method with realization as described in any one of claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710924371.2A CN107678991A (en) | 2017-09-30 | 2017-09-30 | A kind of data processing method and terminal, computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710924371.2A CN107678991A (en) | 2017-09-30 | 2017-09-30 | A kind of data processing method and terminal, computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107678991A true CN107678991A (en) | 2018-02-09 |
Family
ID=61139578
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710924371.2A Pending CN107678991A (en) | 2017-09-30 | 2017-09-30 | A kind of data processing method and terminal, computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107678991A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110769308A (en) * | 2019-12-25 | 2020-02-07 | 深圳创维-Rgb电子有限公司 | Signal channel switching method, display terminal and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102035924A (en) * | 2010-11-30 | 2011-04-27 | 深圳市中兴移动通信有限公司 | Detection circuit and detection method for four-section coaxial earphone interface of mobile phone |
CN102638745A (en) * | 2012-04-09 | 2012-08-15 | 广东步步高电子工业有限公司 | Earphone compatible method and system for terminal equipment and interface circuit of terminal equipment |
CN102833649A (en) * | 2012-08-17 | 2012-12-19 | 惠州Tcl移动通信有限公司 | Earphone interface circuit and mobile communication device |
CN202721789U (en) * | 2012-06-14 | 2013-02-06 | 天地融科技股份有限公司 | Audio interface adaptive device |
CN102938530A (en) * | 2012-10-31 | 2013-02-20 | 北京小米科技有限责任公司 | Conversion device |
CN102969633A (en) * | 2012-11-30 | 2013-03-13 | 北京小米科技有限责任公司 | Conversion device |
CN103167368A (en) * | 2012-02-07 | 2013-06-19 | 吴志勇 | Earphone compatible circuit and compatible earphones |
CN104754461A (en) * | 2013-12-30 | 2015-07-01 | 联想(北京)有限公司 | Matched headset recognizing method and device and electronic device |
CN105050001A (en) * | 2015-08-06 | 2015-11-11 | 宁波萨瑞通讯有限公司 | Headset compatible circuit and working method thereof |
CN105635904A (en) * | 2014-11-24 | 2016-06-01 | 天地融科技股份有限公司 | Universal audio adaption apparatus and electronic devices |
-
2017
- 2017-09-30 CN CN201710924371.2A patent/CN107678991A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102035924A (en) * | 2010-11-30 | 2011-04-27 | 深圳市中兴移动通信有限公司 | Detection circuit and detection method for four-section coaxial earphone interface of mobile phone |
CN103167368A (en) * | 2012-02-07 | 2013-06-19 | 吴志勇 | Earphone compatible circuit and compatible earphones |
CN102638745A (en) * | 2012-04-09 | 2012-08-15 | 广东步步高电子工业有限公司 | Earphone compatible method and system for terminal equipment and interface circuit of terminal equipment |
CN202721789U (en) * | 2012-06-14 | 2013-02-06 | 天地融科技股份有限公司 | Audio interface adaptive device |
CN102833649A (en) * | 2012-08-17 | 2012-12-19 | 惠州Tcl移动通信有限公司 | Earphone interface circuit and mobile communication device |
CN102938530A (en) * | 2012-10-31 | 2013-02-20 | 北京小米科技有限责任公司 | Conversion device |
CN102969633A (en) * | 2012-11-30 | 2013-03-13 | 北京小米科技有限责任公司 | Conversion device |
CN104754461A (en) * | 2013-12-30 | 2015-07-01 | 联想(北京)有限公司 | Matched headset recognizing method and device and electronic device |
CN105635904A (en) * | 2014-11-24 | 2016-06-01 | 天地融科技股份有限公司 | Universal audio adaption apparatus and electronic devices |
CN105050001A (en) * | 2015-08-06 | 2015-11-11 | 宁波萨瑞通讯有限公司 | Headset compatible circuit and working method thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110769308A (en) * | 2019-12-25 | 2020-02-07 | 深圳创维-Rgb电子有限公司 | Signal channel switching method, display terminal and storage medium |
US11556489B2 (en) | 2019-12-25 | 2023-01-17 | Shenzhen Skyworth-Rgb Electronic Co., Ltd. | Signal channel switching method, display terminal and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107463481A (en) | Data interactive method, mobile terminal and storage medium | |
CN107546808A (en) | One kind charging identification circuit, recognition methods and terminal device | |
CN107635266A (en) | A kind of method for switching network, terminal and computer-readable recording medium | |
CN107729115A (en) | A kind of display methods, equipment and computer-readable storage medium | |
CN108418948A (en) | A kind of based reminding method, mobile terminal and computer storage media | |
CN107707728A (en) | A kind of audio transmission switching method, terminal and computer-readable recording medium | |
CN109901980A (en) | Serial ports log grabs circuit, method, terminal and computer readable storage medium | |
CN107741802A (en) | Using startup method, terminal and computer-readable recording medium | |
CN107707755A (en) | Button application method, terminal and computer-readable recording medium | |
CN107493396A (en) | Button screen method, terminal and computer-readable recording medium | |
CN107770356A (en) | A kind of communication establishing method, equipment and computer-readable recording medium | |
CN107608727A (en) | A kind of display methods of application program, mobile terminal and storage medium | |
CN107678671A (en) | One kind applies startup method, terminal and computer-readable recording medium | |
CN107708039A (en) | Control method, mobile terminal and the computer-readable recording medium of voicefrequency circuit | |
CN107635289A (en) | The method and Related product of detection terminal call | |
CN107911778A (en) | A kind of playback method based on loudspeaker in parallel, mobile terminal and readable storage medium storing program for executing | |
CN107182043A (en) | The labeling method and mobile terminal of identifying code short message | |
CN107396226B (en) | A kind of earphone compatible circuit, mobile terminal and electronic system | |
CN107678991A (en) | A kind of data processing method and terminal, computer-readable recording medium | |
CN107645151A (en) | A kind of current foldback circuit, control method and device, terminal | |
CN109358796A (en) | A kind of game visual field sharing method, terminal and readable storage medium storing program for executing | |
CN109656880A (en) | A kind of mirror file system decoupling method and device, mobile terminal and storage medium | |
CN108429957A (en) | TypeC earphones switching cable and wired earphone TypeC connection systems | |
CN108287652A (en) | A kind of screen processing method, mobile terminal and computer readable storage medium | |
CN108228070A (en) | Input display method, device and computer readable storage medium |
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: 20180209 |
|
RJ01 | Rejection of invention patent application after publication |