CN106603755B - A kind of mobile terminal and the data processing method based on mobile terminal - Google Patents

A kind of mobile terminal and the data processing method based on mobile terminal Download PDF

Info

Publication number
CN106603755B
CN106603755B CN201610951941.2A CN201610951941A CN106603755B CN 106603755 B CN106603755 B CN 106603755B CN 201610951941 A CN201610951941 A CN 201610951941A CN 106603755 B CN106603755 B CN 106603755B
Authority
CN
China
Prior art keywords
pin
external equipment
external
external interface
voltage value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610951941.2A
Other languages
Chinese (zh)
Other versions
CN106603755A (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201610951941.2A priority Critical patent/CN106603755B/en
Publication of CN106603755A publication Critical patent/CN106603755A/en
Application granted granted Critical
Publication of CN106603755B publication Critical patent/CN106603755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0274Details of the structure or mounting of specific components for an electrical connector module
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/03Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The present invention discloses a kind of mobile terminal and the data processing method based on mobile terminal, to solve the problems, such as that existing mobile terminal includes that two interfaces occupy mobile terminal space.The mobile terminal includes the external interface connecting with external equipment;The status information for each pin that central processing unit is obtained according to switch unit determines the type of external equipment, and sends corresponding control signal to switch unit;Switch unit is connect according to control signal control central processing unit with external interface or audio unit is connect with external interface, thus the data for transmitting the corresponding cell processing external equipment.Due in the embodiment of the present invention, it is connect by an external interface with external equipment, pass through the status information of each pin of the external interface, determine the type of external equipment, according to the type of external equipment, respective handling is carried out to the data of external equipment transmission, reduces the quantity of external interface on mobile terminal, saves the space of mobile terminal.

Description

A kind of mobile terminal and the data processing method based on mobile terminal
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of mobile terminal and at the data based on mobile terminal Reason method.
Background technique
With the rapid development of national economy, mobile terminal has come into huge numbers of families, and having become must not in people's life The electronic product that can lack, people also propose the usage experience of mobile terminal while enjoyment mobile terminal offers convenience Higher requirement is gone out.
However, the external interface on existing mobile terminal generally includes USB interface and earphone interface, it is used for and external equipment Data line and earphone establish connection by corresponding communication protocol, to realize the data transmitted to external equipment connected to it It is written and read processing and audio processing.Therefore in the design of mobile terminal, designer needs pre- simultaneously on mobile terminals Two external interfaces, respectively USB interface and earphone interface are stayed, but reserved each external interface requires to occupy mobile terminal On expensive real estate, and the design of two external interfaces brings inconvenience to the design work of designer, additionally, due to Reserved USB interface and earphone interface simultaneously, affect the beauty of mobile terminal and the experience of user.
Summary of the invention
The embodiment of the present invention provides a kind of mobile terminal and the data processing method based on mobile terminal, existing to solve Technology mobile terminal includes that USB interface and earphone interface occupy mobile terminal space, and influence design, beautiful and user experience The problem of.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of mobile terminal, the mobile terminal includes that switch is single Member, central processing unit, audio unit and an external interface, in which:
The external interface, for being attached with external equipment;
The switch unit, for obtaining the status information of each pin of the external interface, and by the shape of each pin State information is sent to central processing unit;
The central processing unit determines the type of the external equipment for the status information according to each pin, If the external equipment is data line, Xiang Suoshu switch unit sends first control signal, if the external equipment is ear Machine, Xiang Suoshu switch unit send second control signal;And processing is written and read to the data of external equipment transmission;
The switch unit, if being also used to receive the first control signal that the central processing unit is sent, control Central processing unit is connect with external interface;If receiving the second control signal that the central processing unit is sent, control Audio unit is connect with external interface;
The audio unit, the data for transmitting to the external equipment carry out audio processing.
Further, the external interface includes: that the first pin, second pin, third pin, the 4th pin and the 5th draw Foot;Wherein,
Each pin of the external interface is connect with the switch unit, the second pin and third pin be used for External equipment transmits data;And first pin connects the battery of the mobile terminal, the 4th pin and audio list Member connection, the 5th pin ground connection.
Further, the switch unit, specifically for obtaining and sending the voltage value of first pin of external interface;
Whether the voltage value of the central processing unit, the first pin of the external interface specifically for judging to obtain is big In preset the first voltage value;If so, determining that the external equipment is data line.
Further, the switch unit draws specifically for obtaining and sending the external interface second pin and third The voltage value of resistance value and the first pin between foot;
The central processing unit, between the external interface second pin obtained specifically for judgement and third pin Resistance value and preservation not connected external equipment resistance value it is whether identical;If not, the external interface that judgement obtains Whether the voltage value of the first pin is greater than preset the first voltage value;If so, determine that the external equipment is data line, it is no Then, determine that the external equipment is earphone.
Further, the external interface further include: the 6th pin;
6th pin is connect with the switch unit, and the 6th pin draws for the mark ID of the external equipment Foot.
Further, the switch unit, specifically for obtaining the identification information of the external equipment by the 6th pin;
The central processing unit determines the external equipment specifically for the identification information according to the external equipment Type.
Further, the switch unit draws specifically for obtaining and sending the external interface second pin and third The voltage value of resistance value and the 6th pin between foot;
The central processing unit, between the external interface second pin obtained specifically for judgement and third pin Resistance value and preservation not connected external equipment resistance value it is whether identical;If not, judging the voltage of the 6th pin Whether value is greater than preset second voltage value, if so, determining that the external equipment is data line, otherwise, it determines the outside Equipment is earphone.
Further, the switch unit includes normally closed switch, the normal-closed end of the normally closed switch and the audio unit Connection, normally open end is connect with the central processing unit;
The central processing unit is specifically used for if it is determined that the external equipment is data line, Xiang Suoshu switch unit The normal-closed end for sending control normally closed switch is opened, the control signal of normally open end closure, if it is determined that and the external equipment is earphone, The normal-closed end closure for keeping normally closed switch, the control signal that normally open end is opened are sent to the switch unit.
Further, the external interface is 3.5mm interface.
The embodiment of the invention discloses a kind of data processing methods based on mobile terminal, which comprises
If external equipment is connect with the external interface, the status information of each pin of the external interface is obtained;
According to the status information of each pin, the type of the external equipment is determined;
If the external equipment is data line, processing is written and read to the data of external equipment transmission;
If the external equipment is earphone, audio processing is carried out to the data of external equipment transmission.
Further, the external interface includes the first pin, second pin, third pin and the 5th pin, and described the Two pins and third pin are used to transmit data with external equipment;And first pin connects the electricity of the mobile terminal Pond, the 5th pin ground connection.
Further, the status information for obtaining each pin of external interface includes:
Obtain the voltage value of first pin;
The status information according to each pin determines that the type of the external equipment includes:
Judge whether the voltage value of the first pin of the external interface obtained is greater than preset the first voltage value;
If so, determining that the external equipment is data line.
Further, the status information for obtaining each pin of external interface includes:
The voltage value of first pin is obtained, and obtains the resistance value between the second pin and third pin;
The status information according to each pin determines that the type of the external equipment includes:
Judge the not connected outer of resistance value between the external interface second pin obtained and third pin and preservation Whether the resistance value of portion's equipment is identical;
If not, judging whether the voltage value of the first pin of the external interface obtained is greater than preset first voltage Value;
If so, determining that the external equipment is data line, otherwise, it determines the external equipment is earphone.
Further, the external interface further includes the 6th pin, and the 6th pin is the mark of the external equipment ID pin.
Further, the status information for obtaining each pin of external interface further include:
Obtain the voltage value of the 6th pin;
Judge whether the voltage value of the 6th pin of the external interface obtained is greater than preset second voltage value;If It is to determine that the external equipment is data line.
Further, the status information for obtaining each pin of external interface further include:
The voltage value of the 6th pin is obtained, and obtains the resistance value between the second pin and third pin;
The status information according to each pin determines that the type of the external equipment includes:
Judge the not connected outer of resistance value between the external interface second pin obtained and third pin and preservation Whether the resistance value of portion's equipment is identical;
If not, judging whether the voltage value of the 6th pin is greater than preset second voltage value;
If so, determining that the external equipment is data line, otherwise, it determines the external equipment is earphone.
Further, the external interface is 3.5mm interface.
The embodiment of the present invention provides a kind of mobile terminal and the data processing method based on mobile terminal, the mobile terminal packet Include switch unit, central processing unit, audio unit and an external interface, in which: the external interface, for being set with outside It is standby to be attached;The switch unit, for obtaining the status information of each pin of the external interface, and by each pin Status information is sent to central processing unit;The central processing unit is determined for the status information according to each pin The type of the external equipment, if the external equipment is data line, Xiang Suoshu switch unit sends first control signal, such as External equipment described in fruit is earphone, and Xiang Suoshu switch unit sends second control signal;And to the number of external equipment transmission It is handled according to being written and read;The switch unit, if being also used to receive the first control letter that the central processing unit is sent Number, control central processing unit is connect with external interface;If receiving the second control letter that the central processing unit is sent Number, control audio unit is connect with external interface;The audio unit, the data for transmitting to the external equipment carry out sound Frequency is handled.Due in embodiments of the present invention, connecting by an external interface with external equipment, and pass through the external interface The status information of each pin determines the type of external equipment, if the external equipment is data line, passes to the external equipment Defeated data are written and read processing, if the external equipment is earphone, carry out audio to the data of external equipment transmission Processing, reduces the quantity of external interface on mobile terminal, saves the space of mobile terminal, facilitate setting for mobile terminal Meter, and improve the aesthetics of mobile terminal and the experience of user.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of mobile terminal structure schematic diagram that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of external interface structural schematic diagram that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of mobile terminal structure schematic diagram that the embodiment of the present invention 2 provides;
Fig. 4 is a kind of external interface structural schematic diagram that the embodiment of the present invention 4 provides;
Fig. 5 is a kind of data handling procedure schematic diagram that the embodiment of the present invention 7 provides.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Embodiment 1:
Fig. 1 is a kind of mobile terminal structure schematic diagram provided in an embodiment of the present invention, and the mobile terminal includes that switch is single Member 12, central processing unit 13, audio unit 14 and an external interface 11, in which:
The external interface 11, for being attached with external equipment;
The switch unit 12, for obtaining the status information of each pin of the external interface, and by each pin Status information is sent to central processing unit;
The central processing unit 13 determines the class of the external equipment for the status information according to each pin Type, if the external equipment is data line, Xiang Suoshu switch unit sends first control signal, if the external equipment is Earphone, Xiang Suoshu switch unit send second control signal;And processing is written and read to the data of external equipment transmission;
The switch unit 12, if being also used to receive the first control signal that the central processing unit is sent, control Central processing unit processed is connect with external interface;If receiving the second control signal that the central processing unit is sent, control Audio unit processed is connect with external interface;
The audio unit 14, the data for transmitting to the external equipment carry out audio processing.
In embodiments of the present invention, the external equipment is earphone or data line, and the external interface 11 includes multiple Pin, when mobile terminal is connect by the external interface 11 with external equipment, each pin state of the external interface It can change, and be connected from different external equipments, the state of each pin of the external interface 11 can also have differences.Cause This can determine the type for the external equipment connecting with external interface 11, according to the status information of each pin to be directed to The data of different types of external equipment transmission are handled.The status information of each pin can be the voltage value of pin, Resistance value between pin passes through the information such as the current value of pin.
Mobile terminal is the prior art for the acquisition of itself each pin state of external interface 11, in embodiments of the present invention The process is no longer repeated.
Specifically, switch unit 12 obtains each pin of external interface 11 if external equipment is connect with external interface 11 Status information, and the status information of each pin is sent to central processing unit 13, central processing unit 13 is according to described The status information of each pin determines the type of the external equipment;If the external equipment is data line, single to the switch Member 12 sends first control signal, and switch unit 12 receives the first control signal, control central processing unit 13 and outer Connection interface 11 connects, and the data that central processing unit 13 transmits the external equipment are written and read processing;If central processing Unit 13 determines that the external equipment is earphone, and Xiang Suoshu switch unit 12 sends second control signal, and switch unit 12 receives To the second control signal, controls audio unit 14 and connect with external interface 11, audio unit 14 passes the external equipment Defeated data carry out audio processing.
It external is connect due in embodiments of the present invention, being connect by an external interface with external equipment, and by described The status information of each pin of mouth, determines the type of external equipment, if the external equipment is data line, to the external equipment The data of transmission are written and read processing, if the external equipment is earphone, carry out sound to the data of external equipment transmission Frequency is handled, and is reduced the quantity of external interface on mobile terminal, is saved the space of mobile terminal, facilitates setting for mobile terminal Meter, and improve the aesthetics of mobile terminal and the experience of user.
Embodiment 2:
Fig. 2 is a kind of 11 structural schematic diagram of external interface provided in an embodiment of the present invention, which includes: first Pin 21, second pin 22, third pin 23, the 4th pin 24 and the 5th pin 25;Wherein,
Each pin of the external interface 11 is connect with the switch unit, the second pin 22 and third pin 23 For transmitting data with external equipment;And first pin 21 connects the battery of the mobile terminal, for being the electricity Pond charging, the 4th pin 24 are connect with audio unit, the 5th pin 25 ground connection.
Specifically, the switch unit 12 is connect with each pin of the external interface 11, the switch unit 12 can be obtained The status information for each pin that takes the status information of each pin, and will acquire is sent to the central processing unit, and in The control information of Central Processing Unit, controls central processing unit or audio unit is attached with the external interface.Fig. 3 is this A kind of mobile terminal structure schematic diagram that inventive embodiments provide, when being connect to protrude mobile terminal with external equipment, how The type of external equipment is determined according to the state of each pin, so that the data of external equipment transmission are carried out with the function of alignment processing Can, the structure that switch unit is connect with external interface part pin is omitted in figure, but actually each pin and switch are single Member connection.
As shown in figure 3, the first pin of external interface and battery of mobile terminal (Volt Current Condenser, Vcc) Connection, for charging for the battery, second pin and third pin are connect with switch unit, for transmitting number with external equipment According to the 4th pin is connect with audio unit, for receiving the microphone of earphone transmission when external equipment is earphone (microphone, MIC) data, the 5th pin grounding connection;Audio unit is connect with switch unit, for being when external equipment When earphone, data are transmitted with external equipment;Central processing unit is connect with switch unit, for receiving the outer of switch unit acquisition The status information of each pin of connection interface, and according to the status information of each pin of external interface, the type of external equipment is determined, when outer When portion's equipment is earphone, control switch unit is connect with audio unit, carries out audio processing to the data of external equipment transmission, when When external equipment is data line, control switch unit is connect with central processing unit, is read the data of external equipment transmission Write processing.
When external interface is connected to data line, the voltage value of the first pin of the external interface is greater than preset first electricity Pressure value, if when the external interface connection be earphone, the voltage value of first pin of external interface is will not be changed, Or even if changing, variable quantity will not reach the preset the first voltage value.In the embodiment of the present invention, institute can be passed through The voltage value for stating the first pin of external interface determines the type of external equipment, the switch unit, specifically for obtaining and sending The voltage value of first pin of external interface;
Whether the voltage value of the central processing unit, the first pin of the external interface specifically for judging to obtain is big In preset the first voltage value;If so, determining that the external equipment is data line.
When carrying out reading and writing data to mobile terminal, mobile terminal can connect active equipment, such as PC by data line, have After source device is connect by data line with the external interface, the voltage value of the first pin of the external interface will become Change.It therefore, can be by judging the voltage of first pin of external interface if external equipment is connect with the external interface Whether value is greater than preset the first voltage value, determines the type of the external equipment.The preset the first voltage value can basis The battery of the mobile terminal allows voltage to determine, for example, if the voltage that the battery of mobile terminal allows is 5V, then this is first electric Pressure value can be as 4.5V, 4.6V etc., as long as being capable of detecting when that external interface is connected to the voltage of data line.
Because when external equipment is data line, active equipment can be generally connected by the data line, therefore outer by detection The voltage value of the first pin of connection interface, that is, can determine whether the external interface is connected to data line, to reach accurate judgement company The purpose of the type of the external equipment connect.
Embodiment 3:
In above-described embodiment when external interface is connected to data line, the voltage value of first pin of external interface is greater than pre- If the first voltage value, if the external interface connection be earphone, the voltage value of first pin of external interface is will not to send out Changing, or even if changing, variable quantity will not reach the preset the first voltage value, and when external interface connects When external equipment, the resistance value between external interface second pin and third pin will be different.Therefore in the embodiment of the present invention In, in order to more accurately judge the type for the external equipment connecting with external interface, the switch unit is specifically used for obtaining simultaneously Send the voltage value of the resistance value and the first pin between the external interface second pin and third pin;
The central processing unit, between the external interface second pin obtained specifically for judgement and third pin Resistance value and preservation not connected external equipment resistance value it is whether identical;If not, the external interface that judgement obtains Whether the voltage value of the first pin is greater than preset the first voltage value;If so, determine that the external equipment is data line, it is no Then, determine that the external equipment is earphone.
If mobile terminal external interface connects external equipment, the external equipment can be ear in embodiments of the present invention Machine is also possible to data line, thus in external interface second pin and third pin and left and right acoustic channels line in external equipment or The connection of person's data line, the resistance value between external interface second pin and third pin will change.So if Central processing unit judges the resistance value between the external interface second pin and third pin and the not connected outside of preservation The resistance value of equipment is not identical, then illustrates that the external interface is currently connected to external equipment.
Because if external interface is connected to data line, the voltage value of first pin of external interface is greater than preset first Voltage value, if external interface connection is earphone, the voltage value of first pin of external interface is will not be changed, Or even if changing, variable quantity will not reach the preset the first voltage value, so if the external interface second The resistance value of the not connected external equipment of resistance value and preservation between pin and third pin is not identical, can also pass through judgement Whether the voltage value of the first pin of the external interface obtained is greater than preset the first voltage value, to more accurately determine institute State the type of external equipment.
Embodiment 4:
On the basis of the various embodiments described above, Fig. 4 is a kind of 11 structural representation of external interface provided in an embodiment of the present invention Figure, the external interface 11 further include: the 6th pin 26;
6th pin 26 is connect with the switch unit, and the 6th pin is the mark ID of the external equipment Pin.
The switch unit, specifically for obtaining the identification information of the external equipment by the 6th pin;
The central processing unit determines the external equipment specifically for the identification information according to the external equipment Type.
6th pin is the mark ID pin of the external equipment, if the external equipment and the external interface Connection, mobile terminal can obtain the identification information of external equipment by the 6th pin, which is unique identification The information of the equipment can be the device number of the external equipment.
Specifically, the switch unit can draw by the described 6th after external equipment is connect with the external interface Foot is communicated with external equipment, and the identification information for the external equipment that obtains the identification information of external equipment, and will acquire is sent To central processing unit, central processing unit determines the type of external equipment according to the identification information of external equipment.
Mobile terminal is communicated with external equipment, and the identification information for obtaining external equipment is the prior art, in the present invention The process is no longer repeated in embodiment.
In addition, the voltage value of the switch unit also available 6th pin, if external equipment is data line, This voltage value is greater than the second voltage value of setting, if external equipment is earphone, this voltage value is will not to become Change, the second voltage value can be 1V, or 1.5V etc. can recognize that the external interface is connect with data line Voltage value.Therefore in embodiments of the present invention further include:
The switch unit, specifically for obtaining the voltage value of the 6th pin;
The central processing unit, specifically for judging whether the voltage value of the 6th pin is greater than the second electricity of setting Pressure value, if so, determining that the external equipment is data line.
Embodiment 5:
Resistance value when the external equipment difference of external interface connection, between external interface second pin and third pin Will be different, in order to further increase the accuracy to the judgement of external device type, on the basis of the various embodiments described above, at this In inventive embodiments, the switch unit, specifically for obtain and send the external interface second pin and third pin it Between resistance value and the 6th pin voltage value;
The central processing unit, between the external interface second pin obtained specifically for judgement and third pin Resistance value and preservation not connected external equipment resistance value it is whether identical;If not, judging the voltage of the 6th pin Whether value is greater than preset second voltage value, if so, determining that the external equipment is data line, otherwise, it determines the outside Equipment is earphone.
If mobile terminal external interface connects external equipment, the external equipment can be ear in embodiments of the present invention Machine is also possible to data line, thus in external interface second pin and third pin and left and right acoustic channels line in external equipment or The connection of person's data line, the resistance value between external interface second pin and third pin will change.So if Central processing unit judges the resistance value between the external interface second pin and third pin and the not connected outside of preservation The resistance value of equipment is not identical, then illustrates that the external interface is currently connected to external equipment.
Because if external interface is connected to data line, the voltage value of the 6th pin of the external interface is greater than preset Two voltage values, if external interface connection is earphone, the voltage value of the 6th pin of external interface is will not to become Change, so if the not connected external equipment of resistance value and preservation between the external interface second pin and third pin Resistance value it is not identical, can also by judge obtain the 6th pin of the external interface voltage value whether be greater than it is preset Second voltage value, to more accurately determine the type of the external equipment.
Embodiment 6:
For simplified control process, on the basis of the various embodiments described above, the switch unit can also be opened using normally closed It closes, when the unit for needing the unit handled the data that the external equipment transmits to connect with normal-closed end is not consistent, control It makes normally closed section and opens and be closed with normally open end, in embodiments of the present invention, the switch unit includes normally closed switch, described normally closed to open The normal-closed end of pass is connect with the audio unit, and normally open end is connect with the central processing unit;
The central processing unit is specifically used for if it is determined that the external equipment is data line, Xiang Suoshu switch unit The normal-closed end for sending control normally closed switch is opened, the control signal of normally open end closure, if it is determined that and the external equipment is earphone, The normal-closed end closure for keeping normally closed switch, the control signal that normally open end is opened are sent to the switch unit.
Specifically, the normal-closed end of normally closed switch is connect with the audio unit, normally open end and the central processing unit connect It connects, when the central processing unit, when determining that external equipment is data line, Xiang Suoshu switch unit sends control normally closed switch Normal-closed end is opened, the control signal of normally open end closure, is written and read processing to the data of external equipment transmission, outer when determining When portion's equipment is earphone, Xiang Suoshu switch unit sends the normal-closed end closure for keeping normally closed switch, the control letter that normally open end is opened Number, audio processing is carried out to the data of external equipment transmission.
Because central processing unit can be according to the voltage value of the first pin and the 6th pin in embodiments of the present invention Voltage value judges that the external equipment currently connected is data line, so if judging the external equipment currently connected as number According to line, the normal-closed end that central processing unit can send control normally closed switch to switch unit is opened, the control of normally open end closure Signal realizes the read-write operation for the data transmitted to external equipment so that central processing unit is connected with external equipment.And if Only according to the voltage value of the first pin and the voltage value of the 6th pin, cannot judge currently whether be connected to earphone, but because should Switch unit is normally closed switch, and normal-closed end is connect with the audio unit, and normally open end is connect with the central processing unit, therefore Even if the external equipment of external interface connection at this time is earphone, which can also directly be connect with audio unit, be realized To the audio processing of the data of external equipment transmission.
Certainly, which is also possible to two-way switch, and two-way switch gathers around that there are two closed end, the first closed end and institutes Central processing unit connection is stated, the second closed end is connect with the audio unit, and two-way switch does not receive central processing unit Control instruction when, determined outer all in off-state when the central processing unit with the first closed end and the second closed end When portion's equipment is data line, Xiang Suoshu switch unit sends the control signal of control the first closed end closure, makes central processing list Member is connect with external equipment, is written and read processing to the data of external equipment transmission, when determining external equipment is earphone, The control signal that the second closed end of control is closed is sent to the switch unit, connect audio unit with external equipment, to institute The data for stating external equipment transmission carry out audio processing.
In order to facilitate the use of user, the experience of user is improved, on the basis of the various embodiments described above, the external interface For 3.5mm interface.
Specifically, external interface provided in an embodiment of the present invention is 3.5mm interface, interface end is circle, and user is using When, it does not need as existing USB interface, needs to consider the direction of interface before proceeding, it can only aligning direction ability Insertion is attached, and the 3.5mm interface provided in an embodiment of the present invention can realize 360 ° in the case where not considering direction Insertion, it is greatly convenient for users to use, improve the experience of user.
Embodiment 7:
Fig. 5 is a kind of data handling procedure schematic diagram provided in an embodiment of the present invention based on above-mentioned mobile terminal, the mistake Journey includes:
S501: if external equipment is connect with the external interface, the status information of each pin of the external interface is obtained.
Data processing method provided in an embodiment of the present invention is applied to mobile terminal, which includes one and external connect Mouthful, which can be the equipment such as mobile phone, tablet computer.The external equipment is the earphone or number connecting with mobile terminal According to line.
Specifically, the external interface includes multiple pins, when mobile terminal passes through the external interface and external equipment When connection, each pin state of the external interface can also change, and connect from different external equipment, described external to connect The state of each pin of mouth can also have differences.The status information of each pin can be the voltage value of pin, between pin Resistance value, pass through the information such as the current value of pin.
The acquisition of mobile terminal pin state each for itself external interface is the prior art, right in embodiments of the present invention The process is no longer repeated.
S502: it according to the status information of each pin, determines the type of the external equipment, judges the external equipment It whether is data line.
Different from the external equipment of mobile terminal itself external interface connection, each pin state of the external interface also can It changes, can determine that the outside connecting with mobile terminal itself external interface is set according to the status information of each pin Standby type, to be handled for the data of different types of external equipment transmission.
S503: if the external equipment is data line, processing is written and read to the data of external equipment transmission.
Specifically, if it is determined that the external equipment being connect with itself external interface be data line, then illustrate to be read Processing is write, the data that mobile terminal transmits the external equipment are written and read processing.
S504: if the external equipment is earphone, audio processing is carried out to the data of external equipment transmission.
Specifically, if it is determined that the external equipment being connect with itself external interface be earphone, then illustrate to need to carry out audio Processing, mobile terminal carry out audio processing to the data that the external equipment transmits.
It external is connect due in embodiments of the present invention, being connect by an external interface with external equipment, and by described The status information of each pin of mouth, determines the type of external equipment, if the external equipment is data line, to the external equipment The data of transmission are written and read processing, if the external equipment is earphone, carry out sound to the data of external equipment transmission Frequency is handled, and is reduced the quantity of external interface on mobile terminal, is saved the space of mobile terminal, facilitates setting for mobile terminal Meter, and improve the aesthetics of mobile terminal and the experience of user.
In embodiments of the present invention, mobile terminal includes an external interface, and the external interface includes the first pin, the Two pins, third pin, the 4th pin and the 5th pin, the second pin and third pin are used to transmit number with external equipment According to;And first pin connects the battery of the mobile terminal, for charging for the battery, the 4th pin and sound The connection of frequency unit, the 5th pin ground connection.
If mobile terminal external interface is connect with external equipment, each pin state of external interface can also change, And connected from different external equipments, the state of each pin of external interface can also have differences.The state of each pin is believed Breath can be the voltage value of pin, and the resistance value between pin passes through the information such as the current value of pin.
In embodiments of the present invention, the acquisition of the status information of mobile terminal pin each for itself external interface belongs to existing There is technology, the process is no longer repeated in embodiments of the present invention.
Embodiment 8:
On the basis of the above embodiments, in embodiments of the present invention, when external interface is connected to data line, this is external The voltage value of first pin of interface be greater than preset the first voltage value, if when the external interface connection be earphone, this is outer The voltage value of the first pin of connection interface is will not be changed, or even if changing, it is pre- that variable quantity will not reach this If the first voltage value.The status information for obtaining each pin of external interface includes:
Obtain the voltage value of first pin;
The status information according to each pin determines that the type of the external equipment includes:
Judge whether the voltage value of the first pin of the external interface obtained is greater than preset the first voltage value;If It is to determine that the external equipment is data line.
When carrying out reading and writing data to mobile terminal, mobile terminal can connect active equipment, such as PC by data line, have After source device is connect by data line with the external interface, the voltage value of the first pin of the external interface will become Change.It therefore, can be by judging the voltage of first pin of external interface if external equipment is connect with the external interface Whether value is greater than preset the first voltage value, determines the type of the external equipment.The preset the first voltage value can basis The battery of the mobile terminal allows voltage to determine, for example, if the voltage that the battery of mobile terminal allows is 5V, then this is first electric Pressure value can be as 4.5V, 4.6V etc., as long as being capable of detecting when that external interface is connected to the voltage of data line.
Because when external equipment is data line, active equipment can be generally connected by the data line, therefore outer by detection The voltage value of the first pin of connection interface, that is, can determine whether the external interface is connected to data line, to reach accurate judgement company The purpose of the type of the external equipment connect.
Embodiment 9:
In above-described embodiment when external interface is connected to data line, the voltage value of first pin of external interface is greater than pre- If the first voltage value, if the external interface connection be earphone, the voltage value of first pin of external interface is will not to send out Changing, or even if changing, variable quantity will not reach the preset the first voltage value, and when external interface connects When external equipment, the resistance value between external interface second pin and third pin will be different.Therefore in the embodiment of the present invention In, it is described to obtain each pin of external interface in order to more accurately judge the type for the external equipment connecting with external interface Status information include:
The voltage value of first pin is obtained, and obtains the resistance value between the second pin and third pin;
The status information according to each pin determines that the type of the external equipment includes:
Judge the not connected outer of resistance value between the external interface second pin obtained and third pin and preservation Whether the resistance value of portion's equipment is identical;
If not, judging whether the voltage value of the first pin of the external interface obtained is greater than preset first voltage Value;
If so, determining that the external equipment is data line, otherwise, it determines the external equipment is earphone.
If mobile terminal external interface connects external equipment, the external equipment can be ear in embodiments of the present invention Machine is also possible to data line, thus in external interface second pin and third pin and left and right acoustic channels line in external equipment or The connection of person's data line, the resistance value between external interface second pin and third pin will change.So if The resistance value of resistance value between the external interface second pin and third pin and the not connected external equipment of preservation not phase Together, then illustrate that the external interface is currently connected to external equipment.
Because if external interface is connected to data line, the voltage value of first pin of external interface is greater than preset first Voltage value, if external interface connection is earphone, the voltage value of first pin of external interface is will not be changed, Or even if changing, variable quantity will not reach the preset the first voltage value, so if the external interface second The resistance value of the not connected external equipment of resistance value and preservation between pin and third pin is not identical, can also pass through judgement Whether the voltage value of the first pin of the external interface obtained is greater than preset the first voltage value, to more accurately determine institute State the type of external equipment.
Embodiment 10:
On the basis of the various embodiments described above, the external interface further includes the 6th pin, and the 6th pin is described The mark ID pin of external equipment.
6th pin is the mark ID pin of the external equipment, if the external equipment and the external interface Connection, mobile terminal can obtain the identification information of external equipment by the 6th pin, which is unique identification The information of the equipment can be the device number of the external equipment.
Specifically, after external equipment is connect with the external interface, mobile terminal can by the 6th pin with External equipment is communicated, and obtains the identification information of external equipment, and determine external equipment according to the identification information of external equipment Type.
Mobile terminal is communicated with external equipment, and the identification information for obtaining external equipment is the prior art, in the present invention The process is no longer repeated in embodiment.
In addition, the voltage value of the mobile terminal also available 6th pin, if external equipment is data line, This voltage value is greater than the second voltage value of setting, if external equipment is earphone, this voltage value is will not to become Change, the second voltage value can be 1V, or 1.5V etc. can recognize that the external interface is connect with data line Voltage value.Therefore the status information for obtaining each pin of external interface in embodiments of the present invention further include:
Obtain the voltage value of the 6th pin;
Judge whether the voltage value of the 6th pin of the external interface obtained is greater than preset second voltage value;If It is to determine that the external equipment is data line.
Embodiment 11:
Resistance value when the external equipment difference of external interface connection, between external interface second pin and third pin Will be different, in order to further increase the accuracy to the judgement of external device type, on the basis of the various embodiments described above, at this In inventive embodiments, the status information for obtaining each pin of external interface further include:
The voltage value of the 6th pin is obtained, and obtains the resistance value between the second pin and third pin;
The status information according to each pin determines that the type of the external equipment includes:
Judge the not connected outer of resistance value between the external interface second pin obtained and third pin and preservation Whether the resistance value of portion's equipment is identical;
If not, judging whether the voltage value of the 6th pin is greater than preset second voltage value;
If so, determining that the external equipment is data line, otherwise, it determines the external equipment is earphone.
If mobile terminal external interface connects external equipment, the external equipment can be ear in embodiments of the present invention Machine is also possible to data line, thus in external interface second pin and third pin and left and right acoustic channels line in external equipment or The connection of person's data line, the resistance value between external interface second pin and third pin will change.So if The resistance value of resistance value between the external interface second pin and third pin and the not connected external equipment of preservation not phase Together, then illustrate that the external interface is currently connected to external equipment.
Because if external interface is connected to data line, the voltage value of the 6th pin of the external interface is greater than preset Two voltage values, if external interface connection is earphone, the voltage value of the 6th pin of external interface is will not to become Change, so if the not connected external equipment of resistance value and preservation between the external interface second pin and third pin Resistance value it is not identical, can also by judge obtain the 6th pin of the external interface voltage value whether be greater than it is preset Second voltage value, to more accurately determine the type of the external equipment.
In order to facilitate the use of user, the experience of user is improved, on the basis of the various embodiments described above, the external interface For 3.5mm interface.
Specifically, external interface provided in an embodiment of the present invention is 3.5mm interface, interface end is circle, and user is using When, it does not need as existing USB interface, needs to consider the direction of interface before proceeding, it can only aligning direction ability Insertion is attached, and the 3.5mm interface provided in an embodiment of the present invention can realize 360 ° in the case where not considering direction Insertion, it is greatly convenient for users to use, improve the experience of user.
The embodiment of the invention discloses a kind of mobile terminal and based on the data processing method of mobile terminal, the mobile terminal Including switch unit, central processing unit, audio unit and an external interface, in which: the external interface is used for and outside Equipment is attached;The switch unit, for obtaining the status information of each pin of the external interface, and by each pin Status information be sent to central processing unit;The central processing unit, for the status information according to each pin, really The type of the fixed external equipment, if the external equipment is data line, Xiang Suoshu switch unit sends first control signal, If the external equipment is earphone, Xiang Suoshu switch unit sends second control signal;And to external equipment transmission Data are written and read processing;The switch unit, if being also used to receive the first control that the central processing unit is sent Signal, control central processing unit are connect with external interface;If receiving the second control that the central processing unit is sent Signal, control audio unit are connect with external interface;The audio unit, the data for transmitting to the external equipment carry out Audio processing.It external is connect due in embodiments of the present invention, being connect by an external interface with external equipment, and by described The status information of each pin of mouth, determines the type of external equipment, if the external equipment is data line, to the external equipment The data of transmission are written and read processing, if the external equipment is earphone, carry out sound to the data of external equipment transmission Frequency is handled, and is reduced the quantity of external interface on mobile terminal, is saved the space of mobile terminal, facilitates setting for mobile terminal Meter, and improve the aesthetics of mobile terminal and the experience of user.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (13)

1. a kind of mobile terminal, which is characterized in that the mobile terminal includes switch unit, central processing unit, audio unit With an external interface, in which:
The external interface, for being attached with external equipment;
The switch unit is believed for obtaining the status information of each pin of the external interface, and by the state of each pin Breath is sent to central processing unit;
The central processing unit determines the type of the external equipment for the status information according to each pin, if The external equipment is data line, and Xiang Suoshu switch unit sends first control signal, if the external equipment is earphone, to The switch unit sends second control signal;And processing is written and read to the data of external equipment transmission;
The switch unit, if being also used to receive the first control signal that the central processing unit is sent, control center Processing unit is connect with external interface;If receiving the second control signal that the central processing unit is sent, audio is controlled Unit is connect with external interface;
The audio unit, the data for transmitting to the external equipment carry out audio processing;
Wherein, the external interface includes: the first pin, second pin, third pin, the 4th pin and the 5th pin;Wherein,
Each pin of the external interface is connect with the switch unit, and the second pin and third pin are used for and outside Equipment transmission data;And first pin connects the battery of the mobile terminal, and the 4th pin and audio unit connect It connects, the 5th pin ground connection;
The switch unit, specifically for obtaining and sending the resistance between the external interface second pin and third pin The voltage value of value and the first pin;
The central processing unit, the electricity between the external interface second pin obtained specifically for judgement and third pin Whether resistance value and the resistance value of the not connected external equipment of preservation are identical;If not, the external interface first that judgement obtains Whether the voltage value of pin is greater than preset the first voltage value;If so, determining that the external equipment is data line, otherwise, really The fixed external equipment is earphone;
The switch unit includes normally closed switch, and the normal-closed end of the normally closed switch is connect with the audio unit, normally open end with The central processing unit connection, when the unit that needs handle the data that the external equipment transmits is connect with normal-closed end Unit when not being consistent, control normal-closed end is opened to be closed with normally open end.
2. mobile terminal as described in claim 1, which is characterized in that the switch unit, specifically for obtaining and sending institute State the voltage value of the first pin of external interface;
The central processing unit, specifically for judging it is pre- whether the voltage value of the first pin of the external interface obtained is greater than If the first voltage value;If so, determining that the external equipment is data line.
3. mobile terminal as described in claim 1, which is characterized in that the external interface further include: the 6th pin;
6th pin is connect with the switch unit, and the 6th pin is the mark ID pin of the external equipment.
4. mobile terminal as claimed in claim 3, which is characterized in that the switch unit is specifically used for passing through the 6th pin Obtain the identification information of the external equipment;
The central processing unit determines the class of the external equipment specifically for the identification information according to the external equipment Type.
5. mobile terminal as claimed in claim 3, which is characterized in that the switch unit, specifically for obtaining and sending institute State the voltage value of the resistance value and the 6th pin between external interface second pin and third pin;
The central processing unit, the electricity between the external interface second pin obtained specifically for judgement and third pin Whether resistance value and the resistance value of the not connected external equipment of preservation are identical;If not, judging the voltage value of the 6th pin is It is no to be greater than preset second voltage value, if so, determining that the external equipment is data line, otherwise, it determines the external equipment For earphone.
6. the mobile terminal as described in claims 1 or 2 or 4 or 5, which is characterized in that the central processing unit is specifically used for If it is determined that the external equipment is data line, the normal-closed end that Xiang Suoshu switch unit sends control normally closed switch is opened, normally opened Hold the control signal of closure, if it is determined that the external equipment is earphone, and Xiang Suoshu switch unit, which is sent, keeps normally closed switch Normal-closed end closure, the control signal that normally open end is opened.
7. mobile terminal as claimed in any one of claims 1 to 6, which is characterized in that the external interface is 3.5mm interface.
8. a kind of data processing method based on any one of claim 1-7 mobile terminal, which is characterized in that the method packet It includes:
If external equipment is connect with the external interface, the status information of each pin of the external interface is obtained;
According to the status information of each pin, the type of the external equipment is determined;
If the external equipment is data line, processing is written and read to the data of external equipment transmission;
If the external equipment is earphone, audio processing is carried out to the data of external equipment transmission;
Wherein, the external interface include the first pin, second pin, third pin and the 5th pin, the second pin and Third pin is used to transmit data with external equipment;And first pin connects the battery of the mobile terminal, and described Five pins ground connection;
The status information for obtaining each pin of external interface includes:
The voltage value of first pin is obtained, and obtains the resistance value between the second pin and third pin;
The status information according to each pin determines that the type of the external equipment includes:
Judge that the not connected outside of resistance value and preservation between the external interface second pin obtained and third pin is set Whether standby resistance value is identical;
If not, judging whether the voltage value of the first pin of the external interface obtained is greater than preset the first voltage value;
If so, determining that the external equipment is data line, otherwise, it determines the external equipment is earphone.
9. method according to claim 8, which is characterized in that the status information packet for obtaining each pin of external interface It includes:
Obtain the voltage value of first pin;
The status information according to each pin determines that the type of the external equipment includes:
Judge whether the voltage value of the first pin of the external interface obtained is greater than preset the first voltage value;
If so, determining that the external equipment is data line.
10. method according to claim 8, which is characterized in that the external interface further includes the 6th pin, and the described 6th draws Foot is the mark ID pin of the external equipment.
11. method as claimed in claim 10, which is characterized in that the status information for obtaining each pin of external interface Further include:
Obtain the voltage value of the 6th pin;
Judge whether the voltage value of the 6th pin of the external interface obtained is greater than preset second voltage value;If so, really The fixed external equipment is data line.
12. method as claimed in claim 10, which is characterized in that the status information for obtaining each pin of external interface Further include:
The voltage value of the 6th pin is obtained, and obtains the resistance value between the second pin and third pin;
The status information according to each pin determines that the type of the external equipment includes:
Judge that the not connected outside of resistance value and preservation between the external interface second pin obtained and third pin is set Whether standby resistance value is identical;
If not, judging whether the voltage value of the 6th pin is greater than preset second voltage value;
If so, determining that the external equipment is data line, otherwise, it determines the external equipment is earphone.
13. such as the described in any item methods of claim 8-12, which is characterized in that the external interface is 3.5mm interface.
CN201610951941.2A 2016-10-26 2016-10-26 A kind of mobile terminal and the data processing method based on mobile terminal Active CN106603755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610951941.2A CN106603755B (en) 2016-10-26 2016-10-26 A kind of mobile terminal and the data processing method based on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610951941.2A CN106603755B (en) 2016-10-26 2016-10-26 A kind of mobile terminal and the data processing method based on mobile terminal

Publications (2)

Publication Number Publication Date
CN106603755A CN106603755A (en) 2017-04-26
CN106603755B true CN106603755B (en) 2019-06-14

Family

ID=58591383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610951941.2A Active CN106603755B (en) 2016-10-26 2016-10-26 A kind of mobile terminal and the data processing method based on mobile terminal

Country Status (1)

Country Link
CN (1) CN106603755B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108054541B (en) * 2017-12-05 2020-09-29 捷开通讯(深圳)有限公司 Switching device, multi-equipment detection system and detection method thereof
CN112068886A (en) * 2019-06-10 2020-12-11 中兴通讯股份有限公司 Method and device for acquiring application program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917497A (en) * 2010-07-23 2010-12-15 惠州Tcl移动通信有限公司 Method and device for earphone and USB to share micro-USB interface
CN101924808A (en) * 2010-08-18 2010-12-22 萨基姆移动电话研发(宁波)有限公司 Mobile terminal
CN201945991U (en) * 2011-01-28 2011-08-24 联想(北京)有限公司 Electronic device and interface detection device
CN102880238A (en) * 2012-08-30 2013-01-16 中兴通讯股份有限公司 Interface expanding method and device for tablet personal computer
CN103561369A (en) * 2013-10-31 2014-02-05 惠州Tcl移动通信有限公司 Usb interface circuit and electronic equipment
CN104702265A (en) * 2013-12-05 2015-06-10 上海果壳电子有限公司 Multifunctional interface in wearable device
CN105635885A (en) * 2016-03-21 2016-06-01 青岛海信移动通信技术股份有限公司 USB interface multiplex circuit, mobile terminal and earphone

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917497A (en) * 2010-07-23 2010-12-15 惠州Tcl移动通信有限公司 Method and device for earphone and USB to share micro-USB interface
CN101924808A (en) * 2010-08-18 2010-12-22 萨基姆移动电话研发(宁波)有限公司 Mobile terminal
CN201945991U (en) * 2011-01-28 2011-08-24 联想(北京)有限公司 Electronic device and interface detection device
CN102880238A (en) * 2012-08-30 2013-01-16 中兴通讯股份有限公司 Interface expanding method and device for tablet personal computer
CN103561369A (en) * 2013-10-31 2014-02-05 惠州Tcl移动通信有限公司 Usb interface circuit and electronic equipment
CN104702265A (en) * 2013-12-05 2015-06-10 上海果壳电子有限公司 Multifunctional interface in wearable device
CN105635885A (en) * 2016-03-21 2016-06-01 青岛海信移动通信技术股份有限公司 USB interface multiplex circuit, mobile terminal and earphone

Also Published As

Publication number Publication date
CN106603755A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
EP3515045B1 (en) Wireless audio output devices
CN110166871B (en) Earphone charging box, TWS earphone, working state switching method and storage medium
US9727518B2 (en) Communication control pins in a dual row connector
EP2597844A1 (en) Method and device for sharing micro-usb interface between earphone and usb
US20150156089A1 (en) Data communication interface
CN107172515A (en) Test earphone plug is inserted in mobile terminal detection circuit and mobile terminal
CN104063348B (en) Realize the device and method of compatible USB communications and voice communication
CN109151647A (en) Interaction control method, device, Earphone box and the storage medium of Earphone box
CN105636176A (en) Network sharing method and device
CN106603755B (en) A kind of mobile terminal and the data processing method based on mobile terminal
CN104991493A (en) Data transmission method, apparatus and system
CN109922401A (en) Wireless headset control method, system and wireless headset, charging box and storage medium
CN109639902A (en) Interaction control method, device, Earphone box and the storage medium of Earphone box
CN104577235B (en) For the method for portable set charging, the method, apparatus and system of control charging
CN108877185A (en) A kind of Bluetooth remote control method and circuit
CN112491102B (en) Single-wire communication method and related product
CN106026232A (en) Detecting method and apparatus for USB port type
CN201690613U (en) Wireless internet data card
CN103986818B (en) A kind of information processing method and electronic equipment
CN208188729U (en) Electronic equipment
CN206412603U (en) Type C joints and connecting line
WO2022227980A1 (en) Wireless earphone system and wireless earphones
CN105893203A (en) CEC verification method and device
CN115905092A (en) Communication system, communication method, communication device, and storage medium
CN105430004A (en) Audio password key of earphone interface standard and interface adaption method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant