CN105896639A - Charging control method and electronic equipment - Google Patents

Charging control method and electronic equipment Download PDF

Info

Publication number
CN105896639A
CN105896639A CN201510037505.XA CN201510037505A CN105896639A CN 105896639 A CN105896639 A CN 105896639A CN 201510037505 A CN201510037505 A CN 201510037505A CN 105896639 A CN105896639 A CN 105896639A
Authority
CN
China
Prior art keywords
electronic equipment
state
aui
terminal
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510037505.XA
Other languages
Chinese (zh)
Other versions
CN105896639B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510037505.XA priority Critical patent/CN105896639B/en
Publication of CN105896639A publication Critical patent/CN105896639A/en
Application granted granted Critical
Publication of CN105896639B publication Critical patent/CN105896639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a charging control method and electronic equipment. The method can be applied to first electronic equipment which is provided with a connector interface. The connector interface comprises a first terminal arranged at a first position, a second terminal arranged at a second position, and a detection circuit which is connected to the first terminal and the second terminal. The detection circuit is used for generating a first signal when the connector plug of the second electronic equipment is inserted into the connector interface. The method comprises a step of obtaining the current state of the first electronic equipment when the first signal is received, a step of judging whether the current state is a first state, and a step of controlling the first electronic equipment to charge the second electronic equipment through the connector interface when the current state is determined as the first state. According to the invention, the real-time monitoring is not needed, the system resources are saved, and the overall power consumption is reduced.

Description

A kind of charge control method and electronic equipment
Technical field
The present invention relates to charging and control technical field, more particularly to a kind of charge control method and Electronic equipment.
Background technology
Being provided with AUI on a lot of electronic equipments, such as USB interface, electronic equipment is except permissible Use this AUI and other equipment, outside communicating such as USB flash disk, mobile phone etc., it is also possible to by this even Connecing device interface is that other electronic equipments are charged.
And for being in the electronic equipment that other electronic equipments charge by AUI, have a class Quick function of supplying power supported by electronic equipment.For such electronic equipment, system needs in real time Change in voltage between two terminals of D+/D-of monitoring AUI, comes really with the change according to this voltage Whether fixed have equipment to insert, when determine have equipment to insert time, control the equipment quick charge by being inserted.
But, the mode of this real-time monitoring can have a strong impact on Overall Power Consumption.
Summary of the invention
In view of this, the present invention provides a kind of charge control method and electronic equipment, to solve prior art In the method for in real time monitoring affect the technical problem of Overall Power Consumption.
For achieving the above object, the present invention provides following technical scheme:
A kind of charge control method, is applied in the first electronic equipment, and described first electronic equipment is provided with AUI, described AUI includes being arranged on the first terminal of primary importance, being arranged on second Second terminal of position and the testing circuit being connected with described the first terminal and described second terminal respectively; Described testing circuit is for generating when the connector plug of the second electronic equipment inserts described AUI First signal;
The method includes:
When receiving described first signal, obtain the current state of described first electronic equipment;
Judge whether described current state is the first state;
When determining that described current state is described first state, control described first electronic equipment and pass through institute Stating AUI is described second electronic equipment charging.
Preferably, the current state of described first electronic equipment of described acquisition, particularly as follows:
Obtain the current state of the battery of described first electronic equipment;
Described judge whether described current state is the first state, particularly as follows:
Judge whether the current state of described battery is in charged state;
Wherein, the current state of described battery is in charged state is described first state.
Preferably, when the current state determining described battery is in non-charged state, described in described control First electronic equipment is, before described second electronic equipment charges, also to include by described AUI:
Obtain the current electric quantity of the battery of described first electronic equipment;
Determine described current electric quantity more than presetting electricity.
Preferably, the current state of described first electronic equipment of described acquisition, particularly as follows:
Obtain the current operating state of described first electronic equipment;
Described judge whether described current state is the first state, particularly as follows:
Judge whether described current operating state is low power consumpting state;
Wherein, described low power consumpting state is the first state of described first electronic equipment.
Preferably, described first electronic equipment of described control is described second electricity by described AUI Before subset charging, also include:
Determine that powering mode opened by described first electronic equipment.
A kind of electronic equipment, including:
AUI;Described AUI includes being arranged on the first terminal of primary importance, being arranged on Second terminal of the second position and the detection electricity being connected with described second terminal respectively at described the first terminal Road, described testing circuit is for when the connector plug of the second electronic equipment inserts described AUI Generate the first signal;
The controller being connected with described testing circuit;
Wherein, described controller, for when receiving described first signal, obtains described first electronics and sets Standby current state;Judge whether described current state is the first state;When determining that described current state is During described first state, controlling described first electronic equipment by described AUI is described second electricity Subset charges.
Preferably, described the first terminal and described second terminal are specifically located at the two of described AUI End, so that the contact institute when the connector plug of described second electronic equipment inserts described AUI State the shell of connector plug.
Preferably, described controller includes:
It is connected with described testing circuit, for receiving the first controller of the first signal;
Second controller;Described second controller is used for obtaining the current state of described first electronic equipment, And when determining that described current state is the first state, generate secondary signal;
The logic circuit being connected with described first controller and described second controller respectively, for according to institute State the first signal and described secondary signal generates control signal;
Described first controller has for passing through according to described control signal described first electronic equipment of control Described AUI is described second electronic equipment charging.
Preferably, described controller obtain described first electronic equipment current state, it is judged that described currently Whether state is the first state, particularly as follows: described controller is for obtaining the electricity of described first electronic equipment The current state in pond;Judge whether the current state of described battery is in charged state;
Wherein, the current state of described battery is in charged state is described first state.
Preferably, when the current state that described controller determines described battery is in non-charged state, institute State controller and be additionally operable to obtain the current electric quantity of the battery of described first electronic equipment, and determine described currently Electricity is more than presetting electricity.
Preferably, described controller obtain described first electronic equipment current state, it is judged that described currently Whether state is the first state, particularly as follows: described controller is specifically for obtaining described first electronic equipment Current operating state, it is judged that whether described current operating state is low power consumpting state;
Wherein, described low power consumpting state is the first state of described first electronic equipment.
Preferably, described controller controls described first electronic equipment is described by described AUI Before second electronic equipment charging, it is additionally operable to determine that powering mode opened by described first electronic equipment.
Understand via above-mentioned technical scheme, compared with prior art, the embodiment of the invention discloses one Charge control method, can apply to be provided with in the first electronic equipment of AUI, wherein, and should AUI includes the testing circuit being connected with the first terminal and the second terminal, it is possible at connector plug The first signal is automatically generated so that system can generate according to testing circuit when being inserted into AUI The current state of the first signal and the first electronic equipment determines whether the second electronic equipment charging, it is not necessary to Monitoring, has saved system resource, has reduced Overall Power Consumption in real time.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, not On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is the knot of the AUI being applied to the first electronic equipment disclosed in one embodiment of the invention Structure schematic diagram;
Fig. 2 is the schematic flow sheet of a kind of charge control method disclosed in one embodiment of the invention;
Fig. 3 is the schematic flow sheet of a kind of charge control method disclosed in another embodiment of the present invention;
Fig. 4 is the schematic flow sheet of a kind of charge control method disclosed in further embodiment of this invention;
Fig. 5 is the structural representation of a kind of electronic equipment disclosed in one embodiment of the invention;
Fig. 6 is the structural representation of a kind of AUI disclosed in one embodiment of the invention;
Fig. 7 is a kind of structural representation connecting interface disclosed in another embodiment of the present invention;
Fig. 8 is the structural representation of a kind of electronic equipment disclosed in another embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
One embodiment of the invention discloses a kind of charge control method, can apply to the first electronic equipment In, the first electronic equipment can be the equipment such as mobile phone, panel computer, palm PC, notebook computer.
First electronic equipment is provided with AUI, as it is shown in figure 1, AUI may include that The first terminal 101A, the second terminal 101B and testing circuit 102;
Wherein, the first terminal 101A is arranged on the primary importance of AUI, and the second terminal 101B sets Putting the second position at AUI, primary importance and the second position is the not coordination on AUI Put.
It should be noted that, the first terminal and the second terminal are specially arranged on AUI, are different from Two other terminal of two terminals of D+ and D-of AUI.
Testing circuit 102 is connected with the first terminal 101A and the second terminal 101B respectively, it is possible to second The connector plug of electronic equipment generates the first signal when being inserted into AUI.
Wherein, the second electronic equipment can be the equipment such as mobile phone, panel computer, palm PC.
Such as, the first terminal and the second terminal are specifically located at the two ends of AUI, when the second electronics When the connection plug of equipment is inserted into connection interface, the first terminal and the second terminal all can touch connection The shell of device plug.In conjunction with testing circuit, testing circuit can be by one of them terminal ground, another Terminal is as output signal, and as by the first terminal ground connection, the second terminal is as output signal, when not having When the connector plug of two electronic equipments is not inserted into AUI, output signal is high level, when When the connector plug of two electronic equipments is inserted into AUI, the shell of connector plug can touch The first terminal and the second terminal so that two terminal short circuits, accordingly, output signal can be pulled low, from And becoming low level from high level, i.e. testing circuit is inserted into even at the connector plug of the second electronic equipment The first signal generated when connecing device interface is low level.
Certainly, the testing circuit when connector plug of above second electronic equipment is inserted into AUI A kind of specific implementation, can be inserted into connection at the connector plug of the second electronic equipment for other All the present invention's by the way of cooperation generation first signal of the first terminal and the second terminal during device interface Within protection domain.As, the first signal can also be high level.
As in figure 2 it is shown, a kind of charge control method may comprise steps of:
Step 201: when receiving the first signal, obtains the current state of the first electronic equipment;
When receiving the first signal, determine that the connector plug of the second electronic equipment has been inserted into the first electronics On the AUI of equipment, now, in order to judge whether the first electronic equipment can be that the second electronics sets Standby charging, can obtain the current state of the first electronic equipment.
Step 202: judge whether current state is the first state;
First state of the first electronic equipment can provide electric energy for the second electronic equipment for the first electronic equipment Condition, whether therefore, it can the current state by judging the first electronic equipment is that the first state is come really Whether fixed first electronic equipment can provide electric energy for the second electronic equipment.
Step 203: when determining that current state is the first state, controls the first electronic equipment and passes through adapter Interface is the second electronic equipment charging.
It should be noted that the working as of the first state of the first electronic equipment and the first acquired electronic equipment Front state is associated, and specifically can be set according to practical situation, and the present invention does not limit.
Wherein, the first electronic equipment, when being the second electronic equipment charging by AUI, can be adopted It is the second electronic equipment charging by the mode of quick charge.
In embodiments of the present invention, the first electronic equipment is provided with AUI, this AUI bag Include the testing circuit being connected with the first terminal and the second terminal, it is possible to be inserted into adapter at connector plug Automatically generate the first signal during interface so that system can according to testing circuit generate the first signal and The current state of the first electronic equipment determines whether the second electronic equipment charging, it is not necessary to monitor in real time, joint About system resource, reduces Overall Power Consumption.
In the present invention, the first state of the first electronic equipment and the first acquired electronic equipment is current State is associated, as a kind of concrete implementation mode:
Obtain the current state of the first electronic equipment, be specifically as follows: obtain the battery of the first electronic equipment Current state.Accordingly, it is judged that whether current state is the first state, is specifically as follows: judge electricity Whether the current state in pond is in charged state.
Wherein, the current state of battery is in charged state and characterizes the battery of the first electronic equipment is the first shape State, and the current state of battery is not in charged state and characterizes the battery of the first electronic equipment and be not in first State.When the battery of the first electronic equipment is in charged state, the battery tool of the first electronic equipment is described Prepare enough enough electric energy to be supplied to the second electronic equipment, therefore, it can at the battery of the first electronic equipment When charged state, controlling the first electronic equipment by AUI is that the second electronic equipment charges.
And when the battery of the first electronic equipment is not in charged state, then can not determine that the first electronics sets Whether the current electric quantity that standby battery is stored can provide enough electric energy for the second electronic equipment, based on This, another embodiment of the present invention discloses a kind of charge control method, as it is shown on figure 3, the method can To comprise the following steps:
Step 301: when receiving the first signal, obtains the current state of the battery of the first electronic equipment;
Step 302: judge whether the current state of battery is in charged state;
Step 303: when the current state determining battery is in non-charged state, obtain the first electronic equipment The current electric quantity of battery;
When the battery of the first electronic equipment is not in charged state, then can not determine the first electronic equipment The current electric quantity that stored of battery whether can provide enough electric energy for the second electronic equipment, therefore, The current electric quantity of the battery of the first electronic equipment can be obtained.
Step 304: determine that current electric quantity is more than default electricity;
This default electricity is whether the current electric quantity judging the first electric device battery can set as the second electronics The standard of the electric energy that standby offer is enough, can be set according to practical situation, and the present invention does not limit Fixed.Electricity as default in this can be the 20% of the specified electric quantity of battery, then, when getting working as of battery During front electricity, current power can be compared with default electricity, to determine whether current electric quantity is more than Preset electricity 20%, and when determining that current electric quantity is more than default electricity, enter step 305.
Step 305: controlling the first electronic equipment by AUI is that the second electronic equipment charges.
In embodiments of the present invention, the first electronic equipment is provided with AUI, this AUI bag Include the testing circuit being connected with the first terminal and the second terminal, it is possible to be inserted into adapter at connector plug Automatically generate the first signal during interface so that system can according to testing circuit generate the first signal and The current state of the first electronic equipment determines whether the second electronic equipment charging, it is not necessary to monitor in real time, joint About system resource, reduces Overall Power Consumption.
In the present invention, the first state of the first electronic equipment and the first acquired electronic equipment is current State is associated, as another kind of concrete implementation mode:
Obtain the current state of the first electronic equipment, be specifically as follows: obtain the current of the first electronic equipment Duty.Accordingly, it is judged that whether current state is the first state, is specifically as follows: judge current Whether duty is low power consumpting state.
Wherein, the first electronic equipment is in low power consumpting state and characterizes the first electronic equipment and be in the first state, When the first electronic equipment is in low power consumpting state, illustrate that the first electronic equipment can provide electric energy to second Electronic equipment, therefore, it can when determining that the first electronic equipment is in low power consumpting state, controls the first electricity Subset is that the second electronic equipment charges by AUI.
It should be noted that, determine the current operating state of the first electronic equipment and judge the first electronic equipment The mode whether being in low power consumpting state has multiple, and the present invention is not defined.As obtained and the The state parameter that the current operating state of one electronic equipment is relevant, to judge the first electronics by state parameter Whether equipment is in low power consumpting state, as obtained the CPU usage of the first electronic equipment, to pass through CPU Utilization rate judges whether the first electronic equipment is in low power consumpting state.
Wherein, the low power consumpting state of the first electronic equipment at least can include that the first electronic equipment is in sleep State, off-mode.
Further embodiment of this invention discloses a kind of charge control method, and as shown in Figure 4, the method is permissible Comprise the following steps:
Step 401: when receiving the first signal, determines that powering mode opened by the first electronic equipment;
Wherein, first electronic equipment open powering mode be the first electronic equipment can be the second electronic equipment One of precondition of power supply.It is to say, controlling the first electronic equipment is second by AUI Electronic equipment charging need to meet two conditions;One condition is exactly that powering mode opened by the first electronic equipment, And the current state that another condition is exactly the first electronic equipment is the first state.
It should be noted that the present invention does not limit in step 401 determines that power supply opened by the first electronic equipment The execution sequence of pattern, powering mode opened by the i.e. first electronic equipment can before receiving the first signal really Fixed, it is also possible to after obtaining the current state of the first electronic equipment, control the first electronic equipment by even Connecing device interface is to determine before the second electronic equipment charges, and specifically can be set according to practical situation.
And when determining that powering mode do not opened by the first electronic equipment, then illustrate that the first electronic equipment can not be the Two electronic equipments provide electric energy, now, without performing subsequent action.
It is emphasized that the mode that powering mode opened by the first electronic equipment has multiple, as the first electronics sets One virtual key is set on Bei, when this virtual key is checked, then shows that the first electronic equipment opens Powering mode.
Step 402: obtain the current state of the first electronic equipment;
Step 403: judge whether described current state is the first state;
Step 404: when determining that described current state is the first state, controls the first electronic equipment by even Connecing device interface is the second electronic equipment charging.
In embodiments of the present invention, the first electronic equipment is provided with AUI, this AUI bag Include the testing circuit being connected with the first terminal and the second terminal, it is possible to be inserted into adapter at connector plug Automatically generate the first signal during interface so that system can according to testing circuit generate the first signal and The current state of the first electronic equipment determines whether the second electronic equipment charging, it is not necessary to monitor in real time, joint About system resource, reduces Overall Power Consumption.
One embodiment of the invention also discloses a kind of electronic equipment, and this electronic equipment can be mobile phone, put down The equipment such as plate computer, palm PC, notebook computer.
As it is shown in figure 5, this electronic equipment may include that AUI 100, controller 200;
AUI 100 includes the first terminal 101A, the second terminal 101B and testing circuit 102; Wherein:
The first terminal 101A is arranged on the primary importance of AUI, and the second terminal 101B is arranged on even Connect the second position of device interface, primary importance and the second position and be respectively the diverse location of AUI.
Testing circuit 102 is connected with the first terminal 101A and the second terminal 101B respectively, for second The connector plug of electronic equipment generates the first signal when being inserted into AUI.
Controller 200 is connected with testing circuit 102, may be used for when receiving the first signal, obtains The current state of the first electronic equipment;Judge whether current state is the first state;When determining current state When being the first state, controlling the first electronic equipment by AUI is that the second electronic equipment charges.
In embodiments of the present invention, the first electronic equipment is provided with AUI, this AUI bag Include the testing circuit being connected with the first terminal and the second terminal, it is possible to be inserted into adapter at connector plug Automatically generate the first signal during interface so that system can according to testing circuit generate the first signal and The current state of the first electronic equipment determines whether the second electronic equipment charging, it is not necessary to monitor in real time, joint About system resource, reduces Overall Power Consumption.
In the present invention, as the first terminal and a kind of concrete set-up mode of the second terminal, the first terminal With the two ends that the second terminal device can be separately positioned on AUI so that at the second electronic equipment Connector plug insert AUI time contact-connection assembly for electric plug shell.
For testing circuit, testing circuit can be by one of them terminal ground, and another terminal is made For output signal, as by the first terminal ground connection, the second terminal is as output signal, when not having the second electronics When the connector plug of equipment is not inserted into AUI, output signal is high level, when the second electronics When the connector plug of equipment is inserted into AUI, the shell of connector plug can touch the first end Son and the second terminal so that two terminal short circuits, accordingly, output signal can be pulled low, thus from height Level becomes low level, i.e. testing circuit is inserted into adapter at the connector plug of the second electronic equipment and connects The first signal generated during mouth is low level.
Certainly, above is only the connector plug of the second electronic equipment detection electricity when being inserted into AUI A kind of specific implementation on road, can be inserted at the connector plug of the second electronic equipment for other All at this by the way of cooperation generation first signal of the first terminal and the second terminal during AUI Within bright protection domain.As, the first signal can also be high level.
In order to make it easy to understand, as a example by AUI is for USB female, see Fig. 6, for USB female A kind of structural representation, wherein, USB female includes the first terminal 101A and the second terminal 101B, Be separately positioned on the two ends of USB female, when USB male joint is inserted into USB female, the first terminal and Second terminal can touch the shell of USB male joint.
As seen from Figure 6, USB female also includes D+ terminal 102A and D-terminal 102B, In the present invention, it is not necessary to use D+ terminal and D-terminal to detect whether that equipment inserts in real time, by increase by the One terminal, the second terminal and the testing circuit being connected with the first terminal and the second terminal respectively so that inspection Slowdown monitoring circuit can generate the first signal when there being equipment to insert, with ensure system can according to the first signal with And first the current state of electronic equipment determine whether for equipment charge.
Further, with an application example, testing circuit is implemented form and illustrates, see Fig. 7, AUI can include the first terminal the 10, second terminal 11 and testing circuit 102;
Wherein, testing circuit can include earth terminal, resistance R;Wherein, the first terminal 10 can with ground connection, Second terminal 11 is connected with one end of resistance R, and the other end of resistance R is for being connected with power supply.
Concrete, when the connector plug of the second electronic equipment is not inserted into the adapter of the first electronic equipment During interface, high potential is moved to by resistance, for high level in testing circuit and the second terminal junction;When second When the connector plug of electronic equipment is inserted into the AUI of the first electronic equipment, the second electronic equipment Shell can touch the second terminal, accordingly, testing circuit and the second terminal junction are pulled to ground, For low level, i.e. the first signal that testing circuit generates is low level.
It should be noted that, the one that more than simply the first terminal, the second terminal and testing circuit cooperate Implementation, can detect the mode of the second electronic equipment insertion all at the protection model of the present invention for other Within enclosing.For another example, the connector plug of the second electronic equipment can be provided with respectively with the first terminal and 3rd terminal of two-terminal docking and the 4th terminal and another with what the 3rd terminal and the 4th terminal were connected respectively One testing circuit, connects when the connector plug of the second electronic equipment is inserted into the adapter of the first electronic equipment During mouth, two testing circuits can form closed-loop path, thus generate the first signal.
Another embodiment of the present invention also discloses a kind of electronic equipment, and as shown in Figure 8, this electronic equipment can To include: AUI 100, controller 200;Wherein:
AUI 100 includes the first terminal 101A, the second terminal 101B and testing circuit 102; Concrete, the first terminal 101A is arranged on the primary importance of AUI, and the second terminal 101B sets Put the second position at AUI, primary importance and the second position and be respectively the difference of AUI Position.
Testing circuit 102 is connected with the first terminal 101A and the second terminal 101B respectively, for second The connector plug of electronic equipment generates the first signal when being inserted into AUI.
Controller 200 includes: the first controller 201, second controller 202, logic circuit 203;Tool Body:
First controller 201 is connected with testing circuit 102, the first letter generated for receiving test circuit Number;
Second controller is for obtaining the current state of the first electronic equipment, and when determine that current state is the During one state, generate secondary signal;
Logic circuit 203 is connected with the first controller 201 and second controller 202 respectively, Ke Yiyong In generating control signal according to the first signal and secondary signal;
It should be noted that, logic circuit 203 is specifically as follows logical AND gate, naturally it is also possible to for logic or Door.
First controller 201 have may be used for according to control signal control the first electronic equipment by connect Device interface is the second electronic equipment charging.
In embodiments of the present invention, the first electronic equipment is provided with AUI, this AUI bag Include the testing circuit being connected with the first terminal and the second terminal, it is possible to be inserted into adapter at connector plug Automatically generate the first signal during interface so that system can according to testing circuit generate the first signal and The current state of the first electronic equipment determines whether the second electronic equipment charging, it is not necessary to monitor in real time, joint About system resource, reduces Overall Power Consumption.
In the present invention, in the present invention, the first state of the first electronic equipment and the acquired first electricity The current state of subset is associated, as a kind of concrete implementation mode:
Controller obtains the current state of the first electronic equipment, it is judged that whether current state is the first state, It is specifically as follows: controller is for obtaining the current state of the battery of the first electronic equipment;Judge battery Whether current state is in charged state;
Wherein, the current state of battery is in charged state is the first state.
When the battery of the first electronic equipment is in charged state, illustrate that the battery of the first electronic equipment possesses Enough electric energy, to be supplied to the second electronic equipment, therefore, it can the battery at the first electronic equipment and are in During charged state, controlling the first electronic equipment by AUI is that the second electronic equipment charges.
And when the battery of the first electronic equipment is not in charged state, then can not determine that the first electronics sets Whether the current electric quantity that standby battery is stored can provide enough electric energy for the second electronic equipment, based on This, when the current state that controller determines described battery is in non-charged state, controller can also be used In the current electric quantity of the battery obtaining described first electronic equipment, and determine that current electric quantity is more than default electricity Time, controlling the first electronic equipment by AUI is that the second electronic equipment charges.
In the present invention, the first state of the first electronic equipment and the first acquired electronic equipment is current State is associated, as another kind of concrete implementation mode:
Controller obtains the current state of the first electronic equipment, it is judged that whether current state is the first state, It is specifically as follows: controller obtains the current operating state of the first electronic equipment, it is judged that current operating state Whether it is low power consumpting state;
Wherein, low power consumpting state is the first state of the first electronic equipment.
When the first electronic equipment is in low power consumpting state, illustrate the first electronic equipment can provide electric energy to Second electronic equipment, therefore, it can when determining that the first electronic equipment is in low power consumpting state, controls the One electronic equipment is that the second electronic equipment charges by AUI.
In the present invention, controller controls the first electronic equipment by AUI is the second electronic equipment Before charging, it is also possible to be used for determining that powering mode opened by the first electronic equipment.
In embodiments of the present invention, the first electronic equipment is provided with AUI, this AUI bag Include the testing circuit being connected with the first terminal and the second terminal, it is possible to be inserted into adapter at connector plug Automatically generate the first signal during interface so that system can according to testing circuit generate the first signal and The current state of the first electronic equipment determines whether the second electronic equipment charging, it is not necessary to monitor in real time, joint About system resource, reduces Overall Power Consumption.
The embodiment of the most each device is corresponding with embodiment of the method, specifically can be found in embodiment of the method, This is no longer described in detail.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses Being the difference with other embodiments, between each embodiment, identical similar portion sees mutually. For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so describing Fairly simple, relevant part sees method part and illustrates.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses The present invention.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art See, generic principles defined herein can without departing from the spirit or scope of the present invention, Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (12)

1. a charge control method, it is characterised in that be applied in the first electronic equipment, described first Electronic equipment is provided with AUI, and described AUI includes the first end being arranged on primary importance Son, be arranged on the second position the second terminal and respectively with described the first terminal and described second terminal phase Testing circuit even;Described testing circuit inserts described company for the connector plug at the second electronic equipment The first signal is generated when connecing device interface;
The method includes:
When receiving described first signal, obtain the current state of described first electronic equipment;
Judge whether described current state is the first state;
When determining that described current state is described first state, control described first electronic equipment and pass through institute Stating AUI is described second electronic equipment charging.
Method the most according to claim 1, it is characterised in that described first electronics of described acquisition sets Standby current state, particularly as follows:
Obtain the current state of the battery of described first electronic equipment;
Described judge whether described current state is the first state, particularly as follows:
Judge whether the current state of described battery is in charged state;
Wherein, the current state of described battery is in charged state is described first state.
Method the most according to claim 2, it is characterised in that when the current shape determining described battery When state is in non-charged state, described first electronic equipment of described control is institute by described AUI Before stating the second electronic equipment charging, also include:
Obtain the current electric quantity of the battery of described first electronic equipment;
Determine described current electric quantity more than presetting electricity.
Method the most according to claim 1, it is characterised in that described first electronics of described acquisition sets Standby current state, particularly as follows:
Obtain the current operating state of described first electronic equipment;
Described judge whether described current state is the first state, particularly as follows:
Judge whether described current operating state is low power consumpting state;
Wherein, described low power consumpting state is the first state of described first electronic equipment.
5. according to the method described in any one of claim 1-4, it is characterised in that described control described One electronic equipment is, before described second electronic equipment charges, also to include by described AUI:
Determine that powering mode opened by described first electronic equipment.
6. an electronic equipment, it is characterised in that including:
AUI;Described AUI includes being arranged on the first terminal of primary importance, being arranged on Second terminal of the second position and the detection electricity being connected with described second terminal respectively at described the first terminal Road, described testing circuit is for when the connector plug of the second electronic equipment inserts described AUI Generate the first signal;
The controller being connected with described testing circuit;
Wherein, described controller, for when receiving described first signal, obtains described first electronics and sets Standby current state;Judge whether described current state is the first state;When determining that described current state is During described first state, controlling described first electronic equipment by described AUI is described second electricity Subset charges.
Electronic equipment the most according to claim 6, it is characterised in that described the first terminal and described Second terminal is specifically located at the two ends of described AUI, so that at described second electronic equipment Connector plug contacts the shell of described connector plug when inserting described AUI.
8. to remove the electronic equipment described in 6 according to right, it is characterised in that described controller includes:
It is connected with described testing circuit, for receiving the first controller of the first signal;
Second controller;Described second controller is used for obtaining the current state of described first electronic equipment, And when determining that described current state is the first state, generate secondary signal;
The logic circuit being connected with described first controller and described second controller respectively, for according to institute State the first signal and described secondary signal generates control signal;
Described first controller has for passing through according to described control signal described first electronic equipment of control Described AUI is described second electronic equipment charging.
Electronic equipment the most according to claim 6, it is characterised in that described controller obtains described The current state of the first electronic equipment, it is judged that whether described current state is the first state, particularly as follows: institute State controller for obtaining the current state of the battery of described first electronic equipment;Judge working as of described battery Whether front state is in charged state;
Wherein, the current state of described battery is in charged state is described first state.
Electronic equipment the most according to claim 9, it is characterised in that when described controller determines When the current state of described battery is in non-charged state, described controller is additionally operable to obtain described first electricity The current electric quantity of the battery of subset, and determine described current electric quantity more than presetting electricity.
11. electronic equipments according to claim 6, it is characterised in that described controller obtains institute State the current state of the first electronic equipment, it is judged that whether described current state is the first state, particularly as follows: Described controller specifically for obtain described first electronic equipment current operating state, it is judged that described currently Whether duty is low power consumpting state;
Wherein, described low power consumpting state is the first state of described first electronic equipment.
12. according to the electronic equipment described in any one of claim 6-11, it is characterised in that described control It is that described second electronic equipment charges it by described AUI that device controls described first electronic equipment Before, it is additionally operable to determine that powering mode opened by described first electronic equipment.
CN201510037505.XA 2015-01-26 2015-01-26 Charging control method and electronic equipment Active CN105896639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510037505.XA CN105896639B (en) 2015-01-26 2015-01-26 Charging control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510037505.XA CN105896639B (en) 2015-01-26 2015-01-26 Charging control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105896639A true CN105896639A (en) 2016-08-24
CN105896639B CN105896639B (en) 2020-11-20

Family

ID=56999579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510037505.XA Active CN105896639B (en) 2015-01-26 2015-01-26 Charging control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105896639B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106685018A (en) * 2017-03-17 2017-05-17 上海与德科技有限公司 Reverse charging method and device as well as terminal
CN106970676A (en) * 2017-05-06 2017-07-21 深圳市马汀科技有限公司 A kind of power supply for multiple power electronic equipments
CN107069858A (en) * 2017-03-30 2017-08-18 联想(北京)有限公司 The charging method and charging device of electronic equipment
CN108711662A (en) * 2018-05-22 2018-10-26 宁德时代新能源科技股份有限公司 A kind of battery pack heating device and control method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101728859A (en) * 2009-12-17 2010-06-09 中兴通讯股份有限公司 Mobile terminals and system and method for sharing batteries between same
CN102064582A (en) * 2010-12-28 2011-05-18 鸿富锦精密工业(深圳)有限公司 Terminal capable of supplying power for outside
CN102810880A (en) * 2011-05-31 2012-12-05 联想(北京)有限公司 Power supply control method, power supply control device and electronic device
CN103683350A (en) * 2012-09-13 2014-03-26 华平信息技术股份有限公司 Charging method and charging circuit of electronic equipment, and electronic equipment
CN103812159A (en) * 2012-11-02 2014-05-21 凹凸电子(武汉)有限公司 Method and apparatus for wirelessly receiving power
WO2014179232A1 (en) * 2013-04-29 2014-11-06 Power Integrations, Inc. Usb charging with data communication
CN104239240A (en) * 2013-06-11 2014-12-24 鸿富锦精密工业(深圳)有限公司 Electronic device with universal serial bus (USB) interface with integration function
US20150145468A1 (en) * 2013-11-27 2015-05-28 Spreadtrum Communications (Shanghai) Co., Ltd. Device and chip for controlling charging, and user terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101728859A (en) * 2009-12-17 2010-06-09 中兴通讯股份有限公司 Mobile terminals and system and method for sharing batteries between same
CN102064582A (en) * 2010-12-28 2011-05-18 鸿富锦精密工业(深圳)有限公司 Terminal capable of supplying power for outside
CN102810880A (en) * 2011-05-31 2012-12-05 联想(北京)有限公司 Power supply control method, power supply control device and electronic device
CN103683350A (en) * 2012-09-13 2014-03-26 华平信息技术股份有限公司 Charging method and charging circuit of electronic equipment, and electronic equipment
CN103812159A (en) * 2012-11-02 2014-05-21 凹凸电子(武汉)有限公司 Method and apparatus for wirelessly receiving power
WO2014179232A1 (en) * 2013-04-29 2014-11-06 Power Integrations, Inc. Usb charging with data communication
CN104239240A (en) * 2013-06-11 2014-12-24 鸿富锦精密工业(深圳)有限公司 Electronic device with universal serial bus (USB) interface with integration function
US20150145468A1 (en) * 2013-11-27 2015-05-28 Spreadtrum Communications (Shanghai) Co., Ltd. Device and chip for controlling charging, and user terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106685018A (en) * 2017-03-17 2017-05-17 上海与德科技有限公司 Reverse charging method and device as well as terminal
CN106685018B (en) * 2017-03-17 2020-06-23 赣州市瑞嘉达电子有限公司 Reverse charging method and device and terminal
CN107069858B (en) * 2017-03-30 2020-10-27 联想(北京)有限公司 Charging method and charging device for electronic equipment
CN107069858A (en) * 2017-03-30 2017-08-18 联想(北京)有限公司 The charging method and charging device of electronic equipment
CN106970676B (en) * 2017-05-06 2018-03-27 深圳市马汀科技有限公司 A kind of power supply for multiple power electronic equipments
CN106970676A (en) * 2017-05-06 2017-07-21 深圳市马汀科技有限公司 A kind of power supply for multiple power electronic equipments
CN108711662A (en) * 2018-05-22 2018-10-26 宁德时代新能源科技股份有限公司 A kind of battery pack heating device and control method
CN108711662B (en) * 2018-05-22 2020-05-05 宁德时代新能源科技股份有限公司 Battery pack heating device and control method
US11001165B2 (en) 2018-05-22 2021-05-11 Contemporary Amperex Technology Co., Limited Battery pack heating apparatus and method of battery pack heating control

Also Published As

Publication number Publication date
CN105896639B (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN105896639A (en) Charging control method and electronic equipment
CN103618356B (en) The charging system of a kind of mobile terminal and charging method thereof
CN102393837B (en) USB charger recognition device and method
CN103427460B (en) A kind of power supply terminal, charge control method and device
CN101674366B (en) Mobile terminal USB, or charger inserting identification method and identification device thereof
CN103545882B (en) Battery in-situ test method and device and battery charge system
CN103683350B (en) The charging method of electric room, charging circuit and electronic equipment
CN102223439B (en) Electronic equipment with USB interface and USB communication starting method thereof
CN104009265B (en) A kind of battery activated method and apparatus of mobile terminal
CN104467109B (en) Method for supplying power to electronic equipment and electronic equipment
CN102593930A (en) Charging system of mobile terminal
CN107134819B (en) The charging/discharging thereof of mobile power, charge-discharge system and charge-discharge system
CN106340932A (en) Mobile terminal connection detection method and system based on USB interface charger
CN106329654A (en) Electronic device and charging method thereof
CN108152644A (en) Test system
CN106020176B (en) A kind of CC logic controls chip low-power consumption connecting detection method and structure
CN106300549A (en) Electronic installation and charging method thereof
CN202798035U (en) Charging mode detection circuit and mobile terminal
CN109148986A (en) A kind of charging method and device
CN106549445A (en) Mobile terminal and charging method for handover control
CN102901906B (en) A kind of detection system based on universal product plug and method
CN106532824B (en) Mobile terminal and charging method for handover control
CN206306861U (en) A kind of BMS systems charging pile capacity identification circuit
CN1822469A (en) Method and its device for limiting lithium ion cell charging
CN205911544U (en) Portable removal charger data line

Legal Events

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