CN106300501B - A kind of adapter recognition methods and intelligent mobile terminal - Google Patents

A kind of adapter recognition methods and intelligent mobile terminal Download PDF

Info

Publication number
CN106300501B
CN106300501B CN201610597060.5A CN201610597060A CN106300501B CN 106300501 B CN106300501 B CN 106300501B CN 201610597060 A CN201610597060 A CN 201610597060A CN 106300501 B CN106300501 B CN 106300501B
Authority
CN
China
Prior art keywords
adapter
intelligent mobile
mobile terminal
standard configuration
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
CN201610597060.5A
Other languages
Chinese (zh)
Other versions
CN106300501A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610597060.5A priority Critical patent/CN106300501B/en
Publication of CN106300501A publication Critical patent/CN106300501A/en
Application granted granted Critical
Publication of CN106300501B publication Critical patent/CN106300501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery

Abstract

The present invention provides a kind of adapter recognition methods and intelligent mobile terminal, which comprises when the intelligent mobile terminal is connect with adapter, reads the voltage value at the port of the intelligent mobile terminal;Judge whether the voltage value is identical as preset value;If they are the same, then determine that the adapter for standard configuration adapter, and charges to the intelligent mobile terminal by the standard configuration adapter.Adapter recognition methods provided by the invention, which limits, only can just charge to intelligent mobile terminal when adapter is standard configuration adapter, and the generation for the safety accidents such as bring fever is serious, device corrupted even explodes can be effectively prevented due to charging using non-standard configuration adapter to intelligent mobile terminal.

Description

A kind of adapter recognition methods and intelligent mobile terminal
Technical field
The present invention relates to adapter identification technology fields, whole more particularly to a kind of adapter recognition methods and intelligent mobile End.
Background technique
Adapter (Adapters) is a kind of interface convertor, can permit hardware or electrical interface and other hardware or Electrical interface is connected, naturally it is also possible to carry out data transmission, power supply adaptor is exactly one such.Power supply adaptor is one The power supply conversion equipment of kind electronic equipment, each electronic product can be equipped with an original-pack adapter when leaving the factory, with Increasing for electronics categories, the type of adapter also gradually increase.
In daily life, people buy because of original-pack adapter loss or corrupted non-original-pack in the market sometimes Adapter is used, since the functional characteristic of non-original-pack adapter and the functional characteristic of required by electronic product mismatch, so that electronics produces Product can not identify that some non-original-pack adapters lead to not realize effective electrical connection.Further, since non-original-pack power supply adaptor The voltage of output voltage size and required by electronic product mismatches, and electronic product is easy to cause to draw in charging because electric current is excessive Corrupted is played, even the safety accidents such as explosion.
Summary of the invention
The present invention provides a kind of adapter recognition methods and intelligent mobile terminal, to solve the above technical problems.
The present invention provides a kind of adapter recognition methods, is applied to intelligent mobile terminal, which comprises
When the intelligent mobile terminal is connect with adapter, the voltage at the port of the intelligent mobile terminal is read Value;
Judge whether the voltage value is identical as preset value;
If they are the same, then the adapter is determined for standard configuration adapter, and by the standard configuration adapter to the intelligent sliding Dynamic terminal charges.
Electricity in adapter recognition methods of the present invention, at the port for reading the intelligent mobile terminal Before pressure value, further includes:
Judge whether the external equipment connecting with the intelligent mobile terminal is adapter;
If so, reading the voltage value at the port of the intelligent mobile terminal.
In adapter recognition methods of the present invention, it is described judge the voltage value it is whether identical as preset value it Afterwards, further includes:
If not identical, determine the adapter for non-standard configuration adapter.
In adapter recognition methods of the present invention, it is described determine the adapter for non-standard configuration adapter it Afterwards, further includes: send the first prompt information, be non-standard configuration adapter for prompting adapter described in user, and prevent to pass through institute Standard configuration adapter is stated to charge to the intelligent mobile terminal.
In adapter recognition methods of the present invention, it is described determine the adapter for non-standard configuration adapter it Afterwards, further includes:
Send the second prompt information;
If receiving the first response message fed back according to second prompt information, pass through the non-standard configuration adapter It charges to the intelligent mobile terminal, and stores charge information.
In adapter recognition methods of the present invention, the storage charge information include: storage charging time information, Charging duration information and/or charging current information.
In adapter recognition methods of the present invention, after the second prompt information of the transmission, further includes: if receiving To the second response message fed back according to second prompt information, then prevent through the non-standard configuration adapter to the intelligence Mobile terminal charges.
The present invention also provides a kind of intelligent mobile terminal, it is used to execute any one of the above adapter recognition methods, Including main control unit, USB unit and adapter recognition unit, wherein the adapter recognition unit includes: control subelement With switch subelement;
The control subelement, connect with the port of the intelligent mobile terminal and the main control unit respectively, uses In generation switch control signal;
The switch subelement, input terminal are connect with the port of the intelligent mobile terminal, control signal and institute Control subelement connection is stated, the first output end is connect with the USB unit, and second output terminal and the main control unit connect It connects;The switch subelement is used to control the input terminal and first output end and second according to the switch control signal The on state of output end;
The main control unit, for reading the intelligent sliding when the input terminal is connected with the second output terminal Voltage value at the port of dynamic terminal.
In intelligent mobile terminal of the present invention, the control subelement includes triode and at least one resistance; Wherein, the triode, base stage are connect with the main control unit, and emitter is connect with ground wire, collector respectively with The control signal is connected with the port of the intelligent mobile terminal;At least one described resistance, one end are connected with ground wire, The other end is connected with the collector.
In intelligent mobile terminal of the present invention, the main control unit includes master control subunit and partial pressure electricity Resistance, wherein one end of the divider resistance is connected to the second output terminal, and the other end is connected to power supply;When adapter and institute When stating intelligent mobile terminal connection, identification resistance and the divider resistance in the adapter are series on supply voltage, institute State the voltage value that the voltage value at the port of intelligent mobile terminal is got by the identification resistance.
Compared with the prior art, adapter recognition methods of the invention and intelligent mobile terminal, by reading the intelligence Voltage value at the port of mobile terminal;Judge whether the voltage value is identical as preset value;If they are the same, then determine the adaptation Device is standard configuration adapter, and is charged by the standard configuration adapter to the intelligent mobile terminal.Adapter of the invention Recognition methods can be effectively prevented bring fever due to being charged using non-standard configuration adapter to intelligent mobile terminal it is serious, Device corrupted such as even explodes at the generations of safety accidents.
Detailed description of the invention
Fig. 1 is the flow chart of the first preferred embodiment of adapter recognition methods of the present invention;
Fig. 2 is the flow chart of the second preferred embodiment of adapter recognition methods of the present invention;
Fig. 3 is the structural schematic diagram of intelligent mobile terminal first preferred embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the second preferred embodiment of intelligent mobile terminal of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.It is understood that described herein, the specific embodiments are only for explaining the present invention, rather than to limit of the invention It is fixed.It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing and not all knot Structure.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts Every other embodiment, shall fall within the protection scope of the present invention.
Term " first ", " second " and " third " in the present invention etc. are for distinguishing different objects, rather than for retouching State particular order.In addition, term " includes " and " having " and their any deformations, it is intended that cover and non-exclusive include. Such as contain a series of steps or units process, method, system, product or equipment be not limited to listed step or Unit, but optionally further comprising the step of not listing or unit, or optionally further comprising for these process, methods, produce The other step or units of product or equipment inherently.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
The executing subject of the method for controlling operation thereof of terminal provided in an embodiment of the present invention can provide for the embodiment of the present invention Terminal operating control device, or be integrated with mobile terminal (for example notebook, flat of the operating control device of the terminal Plate computer, mobile phone, wearable device etc.), the operating control device of the terminal can be real by the way of hardware or software It is existing.
Embodiment one
Fig. 1 is please referred to, Fig. 1 is the flow chart of adapter recognition methods in first preferred embodiment of the invention.The present invention is real The adapter recognition methods applied in example is applied in intelligent mobile terminal, which includes:
Step S101: when the intelligent mobile terminal is connect with adapter, the port of the intelligent mobile terminal is read The voltage value at place;
Step S102: judge whether the voltage value is identical as preset value;
Step S103: if they are the same, then the adapter is determined for standard configuration adapter, and by the standard configuration adapter to institute Intelligent mobile terminal is stated to charge.
Explain the adapter recognition methods in the preferred embodiment of the present invention in detail below in conjunction with attached drawing 1.
In step s101, when adapter is connect with intelligent mobile terminal, intelligent mobile terminal will be at read port Voltage value specifically when the connection of the USB port of adapter and intelligent mobile terminal, and reads the USB port of intelligent mobile terminal The voltage value of middle positivity data line.After the connection of the USB port of adapter and intelligent mobile terminal, positivity data in USB port Line can export a voltage value, and when adapter is standard configuration adapter, what is configured when as intelligent mobile terminal dispatches from the factory is original-pack suitable Orchestration, the voltage value will be identical as the pre-stored voltage value in intelligent mobile terminal, and some non-standard configuration adaptations in the market The USB port of device and intelligent mobile terminal connection after, in USB port the voltage value of positivity data line will in intelligent mobile terminal Pre-stored voltage value is different, therefore by judging whether the voltage value can know the adapter connecting with USB port For standard configuration.
In step S102 and step S103, after the voltage value at intelligent mobile terminal read port, that is, USB port is read The voltage value of middle data line compares pre-stored preset value of the voltage value in intelligent mobile terminal, if the voltage Value is identical as the preset value, then illustrates that the adapter is standard configuration adapter, at this point, intelligent mobile terminal will be switched to USB unit, And charged by adapter, that is, allow to charge to intelligent mobile terminal by the adapter.
Adapter recognition methods in first preferred embodiment of the invention, by read intelligent mobile terminal port at Voltage value judges whether the voltage value is identical as preset value, if they are the same, then determines that the adapter for standard configuration adapter, and leads to The adapter is crossed to charge to intelligent mobile terminal.Adapter recognition methods in the embodiment of the present invention, only in adapter Can just to charge to intelligent mobile terminal when standard configuration adapter, therefore can be effectively prevented because being adapted to using non-standard configuration The generation for the problems such as fever of caused intelligent mobile terminal is serious when device is charged, device corrupted.
Embodiment two
Fig. 2 is referred to, Fig. 2 is the flow chart of adapter recognition methods in second preferred embodiment of the invention.The present invention is real The adapter recognition methods applied in example is applied in intelligent mobile terminal, which includes:
Step S201: whether the external equipment that judgement is connect with the intelligent mobile terminal is adapter;
Step S202: if so, reading the voltage value at the port of the intelligent mobile terminal;
Step S203: judge whether the voltage value is identical as preset value;
Step S204: if they are the same, then the adapter is determined for standard configuration adapter, and by the standard configuration adapter to institute Intelligent mobile terminal is stated to charge;
Step S205: if not identical, determine the adapter for non-standard configuration adapter;
Step S206: and the first prompt information is sent, it is non-standard configuration adapter for prompting adapter described in user, and Prevention charges to the intelligent mobile terminal by the standard configuration adapter.
Explain the adapter recognition methods in second preferred embodiment of the invention in detail below in conjunction with attached drawing 2.
In step s 201, when external devices are connect with intelligent mobile terminal, intelligent mobile terminal generally requires to judge The external devices are USB device or adapter, if so, thening follow the steps S202, if it is not, then carrying out that type is enumerated, equal USB are set Standby identification step.Wherein, which can be judged using usb protocol.
In step S202, after intelligent mobile terminal identifies that external devices are adapter, intelligent mobile terminal will be read The voltage value at port is taken, specifically, when the connection of the USB port of adapter and intelligent mobile terminal, and reads intelligent mobile end The voltage value of positivity data line in the USB port at end.After the connection of the USB port of adapter and intelligent mobile terminal, USB port Middle positivity data line can export a voltage value, when adapter is standard configuration adapter, match when as intelligent mobile terminal dispatches from the factory The original-pack adapter set, the voltage value will be identical as the pre-stored voltage value in intelligent mobile terminal, and more in the market After the connection of the USB port of non-standard configuration adapter and intelligent mobile terminal, the voltage value of positivity data line will be with intelligence in USB port In mobile terminal pre-stored voltage value is different, therefore is connect by judging that the voltage value can be known with USB port Whether adapter is standard configuration.
In step S203 and step S204, after the voltage value at intelligent mobile terminal read port, that is, USB port is read The voltage value of middle data line compares pre-stored preset value of the voltage value in intelligent mobile terminal, if the voltage Value is identical as the preset value, then illustrates that the adapter is standard configuration adapter, at this point, intelligent mobile terminal will be switched to USB unit, And charged by adapter, that is, allow to charge to intelligent mobile terminal by the adapter.
In step S205 and step S206, if the voltage value is not identical as preset value, determine that the adapter is nonstandard With adapter, i.e., its be non-original-pack adapter, in order to prevent by safety accident caused by non-original-pack adaptor charge phenomena such as Occur, intelligent mobile terminal, which will not be received, charges to it by the adapter, and intelligent mobile terminal will send first at this time Prompt information, first prompt information can be not particularly limited herein using forms such as text, sound, flash lamps.First mentions Showing information to prompt user's adapter is non-standard configuration adapter, it is impossible to be used in is charged to intelligent mobile terminal, to avoid Intelligent mobile terminal fever is serious caused by being charged using non-standard configuration adapter to intelligent mobile terminal, device lifetime contracting Short, the even safety accidents such as explosion generations.
Certainly, in other embodiments, after judgement and the adapter is non-standard configuration adapters, intelligent mobile terminal is also The second prompt information can be sent, the second prompt information can be displayed on the screen in the form of text, for prompting user should Adapter is non-standard configuration adapter, if needs to continue charging operations, if user's selection is that intelligent mobile terminal will connect The first response message fed back according to second prompt information is received, intelligent mobile terminal will be by the non-standard configuration adapter to it It charges, and stores charge information, wherein storage charge information includes charging time information, charging duration information and/or fills Electric current information.The charge information this time to be charged by non-standard configuration adapter to intelligent mobile terminal by storage, works as intelligent sliding After the failures such as corrupted occur for the internal components of dynamic terminal, sentence convenient for engineer to accurately analysis is carried out the reason of generating failure It is disconnected, and maintenance program is made in time.
If user's selection is no, i.e., when user is not intended to charge to intelligent mobile terminal by the non-standard configuration adapter, Then intelligent mobile terminal will receive the second response message fed back according to second prompt information, and intelligent mobile terminal will not connect It receives and is charged by the adapter to it, adapter will not be with the intelligent mobile terminal connection at this time.
Adapter recognition methods in the preferred embodiment of the present invention, the voltage at port by reading intelligent mobile terminal Value, judge whether the voltage value identical as preset value, if they are the same, then determine the adapter for standard configuration adapter, and by should Adapter charges to intelligent mobile terminal.Adapter recognition methods in the embodiment of the present invention can be effectively prevented because adopting The generation for the problems such as fever of caused intelligent mobile terminal is serious when being charged with non-standard configuration adapter, device corrupted.
Embodiment three
Fig. 3 is referred to, Fig. 3 is the first preferred embodiment structural schematic diagram of intelligent mobile terminal of the present invention.The present invention mentions Adapter recognition methods provided by the invention may be implemented in the intelligent mobile terminal of confession.Intelligent mobile in this preferred embodiment is whole End 100 includes adapter recognition unit 110, USB unit 130 and main control unit 140, wherein adapter recognition unit 110 wraps Include switch subelement 111 and control subelement 112.
Switch subelement 111, the port connection of input terminal and intelligent mobile terminal, specifically, with intelligent mobile terminal USB port data line 121 be connected, control signal with control subelement 112 connect, the first output end and USB it is mono- Member 130 connects, and second output terminal is connect with main control unit 140;Switch subelement 111 according to control signal for inputting Switch control signal control the on state of the input terminal and the first output end and second output terminal;Subelement 112 is controlled, It is connect respectively with 100 port of intelligent mobile terminal and main control unit 140, for generating switch control signal, specifically, control Subelement 112 is connect with the power supply line 122 of the USB port of intelligent mobile terminal 100.
When external equipment 200 is connect with intelligent mobile terminal 100, the power supply line 122 of USB port believes input high level Number, control subelement 112 generates first switch according to the high level signal and controls signal, and it is high electricity which, which controls signal, Ordinary mail number.First switch control signal will be transmitted to switch subelement 111 by control signal, and switch subelement 111 will It controls the first output end to be connected with input terminal, so that external equipment 200 and 100 connection of intelligent mobile terminal.Intelligent mobile Terminal 100 will judge whether external equipment is adapter by usb protocol, when intelligent mobile terminal 100 judges the external equipment 200 when being adapter, and the main control unit 140 in intelligent mobile terminal 100 will generate a high level signal and give control subelement 112, control subelement 112 will generate second switch according to the high level signal and control signal, and wherein second switch controls signal For low level signal.Switch subelement 111 receives second switch control signal by control signal and second is opened according to this Control signal control signal is closed to be connected with second output terminal.At this point, main control unit 140 will read intelligent mobile terminal 100 USB port at voltage value specifically read the voltage value of the data line 121 of USB port, when intelligent mobile terminal 100 is sentenced Break the voltage value it is identical as the preset value in intelligent mobile terminal when, illustrate the adapter be standard configuration adapter, can be by this Adapter charges to intelligent mobile terminal 100.
At this point, the main control unit 140 of intelligent mobile terminal, which will send a control signal, gives control subelement 112, control Subunit 112 will generate third switch control signal according to the control signal and be transmitted to switch subelement 111.Switch is single Member 111 will control the first output end according to third switch control signal and be connected with input terminal, so that standard configuration adapter and intelligence The USB unit connection of energy mobile terminal 100, and then intelligent mobile terminal 100 can fill it by the standard configuration adapter Electricity.
When the data line 121 that main control unit 140 is read voltage value and intelligent mobile terminal 100 in preset value not When identical, illustrate that the adapter is non-standard configuration adapter, intelligent mobile terminal 100 can not pass through the non-standard configuration adapter at this time It charges, can also be charged by the non-standard configuration adapter, when being charged by the non-standard configuration adapter, intelligence Mobile terminal 100 can recorde the charge information of storage this time charging, in order to which the component inside intelligent mobile terminal 100 is bad When damage, the reason of engineer can be made faster and more accurately to search out component corrupted, maintenance program is provided in time.
Intelligent mobile terminal in the preferred embodiment of the present invention is known by being provided with adapter in intelligent mobile terminal Other unit, when the connection of external equipment and intelligent mobile terminal, control unit first generates first switch control signal, so that opening The input terminal for closing unit is connected with the first output end, so that intelligent mobile terminal may determine that whether external equipment is adapter, If be judged as adapter, main control unit will control signal to control subelement, so that it, which generates second switch, controls signal, Switch subelement will control its input terminal according to second switch control information and be connected with second output terminal, make main control unit The voltage value of the data line of USB port can be read, and judges whether the voltage value is identical as preset value, if they are the same, is then illustrated The adapter is standard configuration adapter, it can is charged by the standard configuration adapter to it.Intelligent mobile terminal of the invention, Before being charged to it by adapter, intelligent mobile terminal first judges whether the adapter is standard configuration adapter, when sentencing When being set to standard configuration, allow to charge to it by the adapter, it is possible to prevente effectively from because using non-standard configuration adapter to intelligence Device heating is serious caused by mobile terminal is charged, generation of the lost of life, the even safety accidents such as explosion, while The service life of intelligent mobile terminal can be extended.
Example IV
Fig. 4 is referred to, Fig. 4 is the second preferred embodiment structural schematic diagram of intelligent mobile terminal of the present invention.The present invention mentions Adapter recognition methods provided by the invention may be implemented in the intelligent mobile terminal of confession.Intelligent mobile in this preferred embodiment is whole End 300 includes adapter recognition unit 310, USB unit 330 and main control unit 340, wherein adapter recognition unit 310 wraps Switch subelement 311 and control subelement 312 are included, main control unit 340 includes master control subunit 341 and divider resistance R1.
Controlling subelement 312 includes triode and at least one resistance, and in the preferred embodiment, resistance number is 1, Resistance R3 as shown in Figure 4.Wherein, the base stage of triode is connect with master control subunit 341, the emitter and ground wire of triode Connection, the collector of triode connect with the port of the control signal of switch subelement 311 and intelligent mobile terminal respectively, have It is connect with the power supply line 322 of the USB port of intelligent mobile terminal to body;One end of resistance R3 is connected with ground wire, the other end and three The collector of pole pipe is connected.
The analog switch that switch subelement 311 is NLAS7242MUTBG can also use in other embodiments certainly Others switch is not particularly limited herein as long as realizing the function in the present embodiment.Switch the input of subelement 311 End is connect with the port of intelligent mobile terminal, specifically, is connect with the data line 321 of the USB port of intelligent mobile terminal, can be with Understand, the data line 321 of USB port has two, respectively positive and negative data line, and positive and negative data line respectively with switch Two pins in the input terminal of unit 311 are corresponding connected.It switchs 311 control signal of subelement and control subelement 312 connects It connects, specifically, control signal is connected with the collector of triode.Switch the first output end and USB unit of subelement 311 The second output terminal of 330 connections, switch subelement 311 is connect with master control subunit 341 and divider resistance R1 respectively, specifically Ground, the positivity pin in second output terminal are connect with master control subunit 340 and divider resistance R1 respectively, and negativity pin can be located In vacant state.The other end of divider resistance R1 is connected to supply voltage.Subelement 311 is switched for defeated according to control signal The switch control signal entered controls the on state of the input terminal and the first output end and second output terminal;
When external equipment is connect with intelligent mobile terminal 300, specifically, connect with the USB port of intelligent mobile terminal 300 It connects, for the power supply line 322 of USB port by input high level signal, which will make the control for switching subelement 311 defeated Entering end is high level, i.e., switch subelement 311 obtains first switch and controls signal.Subelement 311 is switched according to the first switch Control signal controls the first output end and is connected with input terminal, i.e., external equipment passes through switch subelement 311 and USB unit at this time 330 are connected, and intelligent mobile terminal 300 judges whether external equipment is adapter by usb protocol, if being judged as adapter, Master control subunit 341 will give one high level signal of triode, so that triode is in the open state, and then by control signal Current potential drag down, at this time switch subelement 311 will receive second switch control signal, and according to the second switch control signal Control second output terminal is connected with input terminal.
It should be noted that when second output terminal is connected with input terminal, identification resistance R2 in adapter 400 will with point Piezoresistance R1 series connection identifies that resistance R2 and divider resistance R1 will share supply voltage jointly at this time, and identification resistance R2 is got Voltage value is the voltage value of data line 321.Due to the identification resistance in standard configuration adapter and the identification in non-standard configuration adapter The resistance value of resistance is different, and the voltage value got is not also identical, thus can by judge data line 321 voltage value whether It is identical as preset value to know whether the adapter is standard configuration.Specifically, master control subunit 341 is by reading data line 321 voltage value judges whether the voltage value is identical as preset value, if they are the same, then determines the adapter 400 for standard configuration adaptation Device determines that the adapter 400 is non-standard configuration adapter if not identical.
When intelligent mobile terminal 300 judges adapter 400 for standard configuration adapter, master control subunit 341 will control three Grade pipe is in high-impedance state, at this point, the control signal of switch subelement 311 will become high level state, i.e. acquisition third is opened Control signal is closed, switch subelement 311 will control the first output end according to the third switch control signal and be connected with input terminal, and make Obtaining intelligent mobile terminal 300 can be charged by the adapter 400.
When intelligent mobile terminal 300 judges adapter 400 for non-standard configuration adapter, intelligent mobile terminal 300 can be straight Refusal is connect to charge by the adapter 400, it can also be by issuing prompt information to user, if user still requires to pass through The non-standard configuration adapter charges, then intelligent mobile terminal 300 would allow through the non-standard configuration adapter 400 and charge, Record and store this charge information simultaneously, wherein charge information includes this charging time, charging duration, in charging process The information such as size of current.
Intelligent mobile terminal in this preferred embodiment first judges that the adapter is before being charged by adapter No is standard configuration adapter, if so, input terminal and the connection of the first output end are adjusted by switch subelement, so that intelligent mobile is whole End can be charged by the adapter, if it is determined that being non-standard configuration adapter, then can directly be refused suitable by the non-standard configuration Orchestration charges, to protect intelligent mobile terminal, extends the service life of each device in it, in addition can also be effectively Prevent that intelligent mobile terminal fever is serious, device severe attrition is even quick-fried because causing when being charged using non-standard configuration adapter The generation of the safety accidents such as fried;It can certainly be charged by the non-standard configuration adapter, need record storage at this time this time Charge information, convenient for can faster and more accurately determine failure cause convenient for engineer when intelligent mobile terminal breaks down.
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention Decorations, therefore protection scope of the present invention subjects to the scope of the claims.

Claims (9)

1. a kind of adapter recognition methods is applied to intelligent mobile terminal, which is characterized in that the described method includes:
When the intelligent mobile terminal is connect with adapter, the voltage value at the port of the intelligent mobile terminal is read;
Judge whether the voltage value is identical as preset value;
If they are the same, then determine the adapter for standard configuration adapter, and it is whole to the intelligent mobile by the standard configuration adapter It charges at end;
If not identical, determine the adapter for non-standard configuration adapter;
The first prompt information is sent, is non-standard configuration adapter for prompting adapter described in user, and prevent by described nonstandard It charges with adapter to the intelligent mobile terminal;
Send the second prompt information;
If receiving the first response message fed back according to second prompt information, by the non-standard configuration adapter to institute It states intelligent mobile terminal to charge, and stores charge information.
2. adapter recognition methods according to claim 1, which is characterized in that read the intelligent mobile terminal described Port at voltage value before, further includes:
Judge whether the external equipment connecting with the intelligent mobile terminal is adapter;
If so, reading the voltage value at the port of the intelligent mobile terminal.
3. adapter recognition methods according to claim 1, which is characterized in that the storage charge information includes: storage Charging time information, charging duration information and/or charging current information.
4. adapter recognition methods according to claim 1, which is characterized in that after the second prompt information of the transmission, Further include: if the second response message fed back according to second prompt information is received, is prevented suitable by the non-standard configuration Orchestration charges to the intelligent mobile terminal.
5. a kind of adapter recognition methods is applied to intelligent mobile terminal, which is characterized in that the described method includes:
When the intelligent mobile terminal is connect with adapter, the voltage value at the port of the intelligent mobile terminal is read;
Judge whether the voltage value is identical as preset value;
If they are the same, then determine the adapter for standard configuration adapter, and it is whole to the intelligent mobile by the standard configuration adapter It charges at end;
If not identical, determine that the adapter for non-standard configuration adapter, sends the second prompt information;
If receiving the first response message fed back according to second prompt information, by the non-standard configuration adapter to institute It states intelligent mobile terminal to charge, and stores charge information;
If receiving the second response message fed back according to second prompt information, prevent to pass through the non-standard configuration adapter It charges to the intelligent mobile terminal.
6. adapter recognition methods according to claim 5, which is characterized in that the storage charge information includes: storage Charging time information, charging duration information and/or charging current information.
7. a kind of intelligent mobile terminal, which is characterized in that it is used for perform claim and requires any one adapter identification in 1 to 6 Method comprising main control unit, USB unit and adapter recognition unit, wherein the adapter recognition unit includes: control Subunit and switch subelement;
The control subelement, connect, for giving birth to respectively with the port of the intelligent mobile terminal and the main control unit At switch control signal;
The switch subelement, input terminal are connect with the port of the intelligent mobile terminal, control signal and the control Subunit connection, the first output end are connect with the USB unit, and second output terminal is connect with the main control unit;
The switch subelement is used to control the input terminal and first output end and the according to the switch control signal The on state of two output ends;
The main control unit, it is whole for when the input terminal is connected with the second output terminal, reading the intelligent mobile Voltage value at the port at end.
8. intelligent mobile terminal according to claim 7, which is characterized in that the control subelement includes triode and extremely Few resistance;Wherein, the triode, base stage are connect with the main control unit, and emitter is connect with ground wire, collection Electrode is connect with the port of the control signal and the intelligent mobile terminal respectively;At least one described resistance, one end It is connected with ground wire, the other end is connected with the collector.
9. intelligent mobile terminal according to claim 7, which is characterized in that the main control unit includes master control system list Member and divider resistance, wherein one end of the divider resistance is connected to the second output terminal, and the other end is connected to power supply;
When adapter is connect with the intelligent mobile terminal, the identification resistance in the adapter is connected with the divider resistance In the voltage value that on supply voltage, the voltage value at the port of the intelligent mobile terminal is got by the identification resistance.
CN201610597060.5A 2016-07-26 2016-07-26 A kind of adapter recognition methods and intelligent mobile terminal Active CN106300501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610597060.5A CN106300501B (en) 2016-07-26 2016-07-26 A kind of adapter recognition methods and intelligent mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610597060.5A CN106300501B (en) 2016-07-26 2016-07-26 A kind of adapter recognition methods and intelligent mobile terminal

Publications (2)

Publication Number Publication Date
CN106300501A CN106300501A (en) 2017-01-04
CN106300501B true CN106300501B (en) 2019-02-12

Family

ID=57652592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610597060.5A Active CN106300501B (en) 2016-07-26 2016-07-26 A kind of adapter recognition methods and intelligent mobile terminal

Country Status (1)

Country Link
CN (1) CN106300501B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106655415B (en) * 2017-03-14 2021-01-22 成都智朴思互联科技有限公司 Intelligent universal charging identification and control device based on USB interface
CN106972568A (en) * 2017-04-13 2017-07-21 上海与德科技有限公司 Charging detecting circuit, method and electronic equipment
CN112398207A (en) * 2017-08-24 2021-02-23 赵成智 Prompting circuit and electronic equipment
WO2020113472A1 (en) * 2018-12-05 2020-06-11 深圳市欢太科技有限公司 Charge prompting method and device, mobile terminal, and computer-readable storage medium
CN109552092B (en) * 2019-01-02 2023-01-06 上海循道新能源科技有限公司 Control method of split type alternating current charging pile
CN111431256A (en) * 2020-04-17 2020-07-17 江阴信邦电子有限公司 Portable self-adaptive charging system for charging pile
CN111478136B (en) * 2020-04-27 2021-04-23 广东智电电子科技有限公司 Power adapter and electric connector thereof
US20220089046A1 (en) * 2020-09-21 2022-03-24 Phihong Technology Co., Ltd. Electric Vehicle Charger with Interchangable AC Power Plug
CN113009382B (en) * 2021-02-25 2022-10-18 上海商米科技集团股份有限公司 Custom interface monitoring method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201666925U (en) * 2009-08-17 2010-12-08 康佳集团股份有限公司 Detector, mobile phone with detecting function and charger assembly
CN105305558A (en) * 2015-11-18 2016-02-03 深圳市创维电器科技有限公司 Charging control device and method of adaptive adapter
CN105404416A (en) * 2015-10-23 2016-03-16 广东欧珀移动通信有限公司 Anti-interference method and apparatus for touch screen

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090157858A1 (en) * 2007-12-15 2009-06-18 International Business Machines Corporation Managing Virtual Addresses Of Blade Servers In A Data Center
CN104348238B (en) * 2014-11-13 2017-05-10 惠州Tcl移动通信有限公司 Charging voltage control device, mobile terminal and control method
CN105677596B (en) * 2014-11-21 2021-09-14 联想(北京)有限公司 Control method and electronic equipment
CN105553003A (en) * 2015-12-25 2016-05-04 惠州Tcl移动通信有限公司 Charge control method, mobile terminal and charge control system
CN105978093B (en) * 2016-06-24 2018-09-04 青岛海信移动通信技术股份有限公司 A kind of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201666925U (en) * 2009-08-17 2010-12-08 康佳集团股份有限公司 Detector, mobile phone with detecting function and charger assembly
CN105404416A (en) * 2015-10-23 2016-03-16 广东欧珀移动通信有限公司 Anti-interference method and apparatus for touch screen
CN105305558A (en) * 2015-11-18 2016-02-03 深圳市创维电器科技有限公司 Charging control device and method of adaptive adapter

Also Published As

Publication number Publication date
CN106300501A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106300501B (en) A kind of adapter recognition methods and intelligent mobile terminal
CN103633709B (en) A kind of charging recognition system and recognition methods thereof
US10554060B2 (en) Systems and methods for charging via USB port
CN108845655B (en) Electronic equipment control method and device, control circuit and electronic equipment
CN102694400B (en) Imput output circuit
CN103064489A (en) Method for selecting internal circuit according to conditions of universal serial bus (USB) interface and terminal
CN104272216A (en) Electronic device and control method therefor
CN106356918A (en) Quick charge recognition method and terminal equipment
CN107783630A (en) Electronic installation and its control method and computer-readable recording medium
CN107658920B (en) OTG is realized based on external charging and the difunctional system that charges
CN106786960B (en) Charge control method, device and terminal
CN106597143B (en) Test equipment and test method
CN105071484B (en) A kind of charging method and device of the terminal with data exchanging function
CN108599290A (en) A kind of charge protection method, device, terminal device and storage medium
CN107643998A (en) OTG and the difunctional system that charges are realized based on intelligent object
CN109254210A (en) Electronic device port type detection method, apparatus, detection circuit and electronic equipment
WO2008090378A1 (en) Battery connection unit
CN104714916A (en) Detection system for plugging or unplugging of external equipment on USB interface
CN104795864B (en) A kind of mobile terminal and charged state detection method of accurate detection charged state
CN106707184B (en) The method and apparatus for monitoring battery group operating status
CN202798035U (en) Charging mode detection circuit and mobile terminal
CN106300549A (en) Electronic installation and charging method thereof
CN102467630A (en) Mobile terminal charging anti-theft protection method and system, and mobile terminal
CN105824732A (en) USB detection method and detection system
CN109148986A (en) A kind of charging method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant