CN108964156A - Charge control method, device and computer readable storage medium - Google Patents

Charge control method, device and computer readable storage medium Download PDF

Info

Publication number
CN108964156A
CN108964156A CN201710350027.7A CN201710350027A CN108964156A CN 108964156 A CN108964156 A CN 108964156A CN 201710350027 A CN201710350027 A CN 201710350027A CN 108964156 A CN108964156 A CN 108964156A
Authority
CN
China
Prior art keywords
charger
charging
cpu
charge
charging terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710350027.7A
Other languages
Chinese (zh)
Inventor
彭宁华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710350027.7A priority Critical patent/CN108964156A/en
Publication of CN108964156A publication Critical patent/CN108964156A/en
Pending legal-status Critical Current

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
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits
    • H02J7/0032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits disconnection of loads if battery is not under charge, e.g. in vehicle if engine is not running

Abstract

The invention discloses a kind of charge control method, device and computer readable storage mediums, the charge control method is applied to charger, the charger includes the charge switch for controlling the charger Yu external power supply on-off, and the first central processor CPU for controlling the charge switch on-off, the charge control method is the following steps are included: charger when obtaining corresponding electric energy, starts the first CPU of the charger;It after the first CPU starting, is closed by the charge switch that the first CPU controls the charger, so that the charger is connected with the external power supply, wherein when the charger is under standby mode, the charge switch is disconnected;After the charger is connected with the external power supply, charge to the charging terminal for establishing charging connection with the charger.The present invention realizes the Zero-power-consumption standby of charger.

Description

Charge control method, device and computer readable storage medium
Technical field
The present invention relates to terminal charge technical field more particularly to a kind of charge control methods, device and computer-readable Storage medium.
Background technique
As time goes on, the terminals such as smart phone, PAD (tablet computer), E-book reader, portable computer have become For the necessity of user, the matched charger used is also accordingly widely applied.Due to needing often terminal to fill Electricity, many users are accustomed to charger grafting external power supply always, currently, working as charger grafting external power supply, in standby When mode (not to terminal charge), charger is in energized state, therefore, during charger is standby still has certain function Consumption.
Summary of the invention
It is a primary object of the present invention to propose a kind of charge control method, device and computer readable storage medium, purport Solving have the technical issues of power consumption when charger is standby in the prior art.
To achieve the above object, the present invention provides a kind of charge control method, and the charge control method is applied to charging Device, the charger include the charge switch for controlling the charger Yu external power supply on-off, and described for controlling First central processor CPU of charge switch on-off, the charge control method the following steps are included:
Charger starts the first CPU of the charger when obtaining corresponding electric energy;
After the first CPU starting, it is closed by the charge switch that the first CPU controls the charger, so that The charger is connected with the external power supply, wherein when the charger is under standby mode, the charge switch is disconnected It opens;
After the charger is connected with the external power supply, to the charging terminal for establishing charging connection with the charger Charging.
Preferably, the step of charger is when obtaining corresponding electric energy, starts a CPU of the charger it Before, further includes:
When the charger and the charging terminal establish charging connection, receives the charging terminal and be transmitted to described fill The electric energy of electric appliance.
Preferably, described after the charger is connected with the external power supply, connect to charging is established with the charger After the step of charging terminal charging connect, further includes:
Whether the charging connection for monitoring the charger and the charging terminal disconnects;
When the charging connection of the charger and the charging terminal disconnects, by being filled described in the first CPU control Electric switch disconnects.
Preferably, the charging terminal includes the 2nd CPU, the charging of the monitoring charger and the charging terminal Connect that the step of whether disconnecting includes:
When monitoring that the 2nd CPU is sent to the detection signal of the first CPU, determine the charger with it is described The charging connection of charging terminal does not disconnect;
When not monitoring that the 2nd CPU is sent to the detection signal of the first CPU, the charger and institute are determined The charging connection for stating charging terminal disconnects.
In addition, to achieve the above object, the present invention also proposes a kind of charge control method, the charge control method application In charging terminal, comprising the following steps:
Charging terminal and charger establish charging connection, wherein the charger include for control the charger with The charge switch of external power supply on-off, and the first central processor CPU for controlling the charge switch on-off, described When charger is under standby mode, the charge switch is disconnected;
Corresponding electric energy is transmitted to the charger, so that the charger starts the first CPU, controls the charging It closes the switch, and after the charger is connected with external power supply, charges to the charging terminal;
The charger is received to the corresponding electric energy of charging terminal charging.
Preferably, the step of charging terminal includes the 2nd CPU, and the charging terminal and charger establish charging connection Later, further includes:
Detection signal is regularly sent to the first CPU, so that the charger is according to the inspection by the 2nd CPU The monitoring result for surveying signal determines whether the charger and the charging connection of the charging terminal disconnect, and in the charger When being disconnected with the charging connection of the charging terminal, the charge switch is controlled by the first CPU and is disconnected.
In addition, to achieve the above object, the present invention also proposes a kind of battery charge controller, it is applied to charger, it is described to fill Controller for electric consumption includes: memory, processor and is stored in the charging that can be run on the memory and on the processor Program is controlled, the charging control program realizes the step of charge control method as described above when being executed by the processor Suddenly.
In addition, to achieve the above object, the present invention also proposes a kind of battery charge controller, it is applied to charging terminal, it is described Battery charge controller includes: memory, processor and is stored on the memory and what can be run on the processor fills Electric control program, the charging control program realize the step of charge control method as described above when being executed by the processor Suddenly.
In addition, to achieve the above object, the present invention also proposes a kind of computer readable storage medium, it is applied to charger, Charging control program, the realization when charging control program is executed by processor are stored on the computer readable storage medium The step of charge control method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of computer readable storage medium, it is applied to charging eventually It holds, charging control program is stored on the computer readable storage medium, when the charging control program is executed by processor The step of realizing charge control method as described above.
Charge control method proposed by the present invention, when user will charge to charging terminal using charger, wherein charging Device includes the charge switch for controlling charger Yu external power supply on-off, and is disconnected and closure for controlling charge switch First CPU, charger in stand-by mode when, charge switch disconnect;Charger obtains corresponding electric energy first, start its One CPU controls charge switch closure by the first CPU, so that charger is connected with external power supply, charger is based on later External power supply charges to charging terminal.Since the charge switch of charger under standby mode is to disconnect, charger is not It can be powered, but be in off-position, so that there is no power consumptions, namely realize the Zero-power-consumption standby of charger.
Detailed description of the invention
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the charging structure schematic diagram for the charger that the embodiment of the present invention is related to;
Fig. 3 is the charging structure schematic diagram for the charging terminal that the embodiment of the present invention is related to;
Fig. 4 is the flow diagram of charge control method first embodiment of the present invention;
Fig. 5 is the flow diagram of charge control method second embodiment of the present invention;
Fig. 6 is the flow diagram of charge control method 3rd embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly: charger includes for controlling charger and external power supply on-off Charge switch, and for control charge switch disconnect with closure the first CPU, charger in stand-by mode when, fill Electric switch disconnects;When user will charge to charging terminal using the charger, charger is set from electronics such as charging terminals first It is standby to obtain corresponding electric energy, start its first CPU, charge switch closure is controlled by the first CPU, so that charger and outer Power supply conducting is connect, charger is based on external power supply to charging terminal charging later.Technical solution through the embodiment of the present invention, solution There is the problem of power consumption when certainly charger is standby.
Referring to Fig.1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention can be PC (personal computer), smart phone, PAD (tablet computer), e-book and read Read the electronic equipments such as device, portable computer.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU (Central Processing Unit, Central processing unit), communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 for realizing the connection communication between these components.User interface 1003 may include display screen (Display), input list First such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network connects Mouth 1004 may include optionally standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory is also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 It optionally can also be the storage device independently of aforementioned processor 1001.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, Subscriber Interface Module SIM and charging control program.Wherein, operating system be manage and control battery charge controller with it is soft The program of part resource supports the fortune of network communication module, Subscriber Interface Module SIM, charging control program and other programs or software Row;Network communication module is for managing and controlling network interface 1002;Subscriber Interface Module SIM is for managing and controlling user interface 1003。
Specifically, it is directed to for charger used by charging, as shown in Fig. 2, Fig. 2 relates to for the embodiment of the present invention And hardware running environment charger structural schematic diagram.
As shown in Fig. 2, the charger may include: charge switch, PM (Power Management, power management) list Member, charging control unit, CPU.Optionally, if charger can carry out wireless charging, the charger further include for receiving and Send the wireless LC Tank (inductance capacitance resonant tank) of electromagnetic wave signal.Wherein, charge switch is for controlling charger and outer The conducting and disconnection for connecing power supply, charger be inserted into external power supply in the case where, if charge switch be closure, charger with External power supply conducting;If charge switch is to disconnect, charger and external power supply are disconnected.PM unit is for AC signal and directly Conversion, the filtering etc. for flowing signal, for example, the AC signal of external power supply is switched to direct current signal, to carry out to charging terminal Charging.For ease of description, the CPU in charger is hereafter known as the first CPU, the first CPU can control the disconnection of charge switch And closure, and corresponding control signal is sent to charging control unit, so that charging control unit is controlled according to control signal Charger is in electric energy emission mode, or is in electric energy reception pattern;When charger is in electric energy reception pattern, charger It can receive the electric energy of other electronic equipments;When charging terminal is in electric energy emission mode, charger is led with external power supply After logical, it can charge to charging terminal.
Above-mentioned terminal handler 1001, memory 1005 can be set in battery charge controller, charge control dress It sets and is applied to charger, the battery charge controller calls the charge control journey stored in memory 1005 by processor 1001 Sequence, and execute following operation:
When charger obtains corresponding electric energy, start the first CPU of the charger;
After the first CPU starting, it is closed by the charge switch that the first CPU controls the charger, so that The charger is connected with the external power supply, wherein when the charger is under standby mode, the charge switch is disconnected It opens;
After the charger is connected with the external power supply, to the charging terminal for establishing charging connection with the charger Charging.
Further, the battery charge controller calls the charge control stored in memory 1005 by processor 1001 Program, to execute following operation:
When the charger and the charging terminal establish charging connection, receives the charging terminal and be transmitted to described fill The electric energy of electric appliance.
Further, the battery charge controller calls the charge control stored in memory 1005 by processor 1001 Program, to execute following operation:
Whether the charging connection for monitoring the charger and the charging terminal disconnects;
When the charging connection of the charger and the charging terminal disconnects, by being filled described in the first CPU control Electric switch disconnects.
Further, the battery charge controller calls the charge control stored in memory 1005 by processor 1001 Program, to execute following operation:
When monitoring that the 2nd CPU is sent to the detection signal of the first CPU, determine the charger with it is described The charging connection of charging terminal does not disconnect;
When not monitoring that the 2nd CPU is sent to the detection signal of the first CPU, the charger and institute are determined The charging connection for stating charging terminal disconnects.
In addition, being directed to for charging terminal, as shown in figure 3, the charging structure that Fig. 3 is charging terminal of the present invention is illustrated Figure.
As shown in figure 3, the charging terminal may include: charging interface, PM unit, charging control unit, CPU.Optionally, If charging terminal can carry out wireless charging, which further includes the wireless LC for sending and receiving electromagnetic wave signal Tank (inductance capacitance resonant tank).Wherein, charging interface can be wireless interface, or wireline interface, for fill Electric appliance establishes charging connection (including line charge electrical connection, wireless charging connection);PM Elementary Function in PM unit and charger Identical, details are not described herein again.For ease of description, the CPU in charging terminal is hereafter known as the 2nd CPU, the 2nd CPU can be sent out Send corresponding control signal to charging control unit, so that charging control unit is in electricity according to control signal control charging terminal Energy emission mode, or it is in electric energy reception pattern;When charging terminal is in electric energy emission mode, charging terminal can be to other Electronic equipment electric energy;When charging terminal is in electric energy reception pattern, charging terminal can be charged by charger.
Above-mentioned terminal handler 1001, memory 1005 can be set in battery charge controller, charge control dress It sets and is applied to charging terminal, the battery charge controller calls the charge control stored in memory 1005 by processor 1001 Program, and execute following operation:
Establish the charging connection of charging terminal and charger, wherein the charger includes for controlling the charger With the charge switch of external power supply on-off, and the first central processor CPU for controlling the charge switch on-off, in institute When stating charger and being under standby mode, the charge switch is disconnected;
Corresponding electric energy is transmitted to the charger, so that the charger starts the first CPU, controls the charging It closes the switch, and after the charger is connected with external power supply, charges to the charging terminal;
The charger is received to the corresponding electric energy of charging terminal charging.
Further, the battery charge controller calls the charge control stored in memory 1005 by processor 1001 Program, to execute following operation:
Detection signal is regularly sent to the first CPU, so that the charger is according to the inspection by the 2nd CPU The monitoring result for surveying signal determines whether the charger and the charging connection of the charging terminal disconnect, and in the charger When being disconnected with the charging connection of the charging terminal, the charge switch is controlled by the first CPU and is disconnected.
Based on above-mentioned hardware configuration, charge control method embodiment of the present invention is proposed.
It is the flow diagram of charge control method first embodiment of the present invention referring to Fig. 4, Fig. 4.
In the first embodiment, the charge control method be applied to above-mentioned charger, the charge control method include with Lower step:
Step S10, charger start the first CPU of the charger when obtaining corresponding electric energy;
Step S20 is closed after the first CPU starting by the charge switch that the first CPU controls the charger It closes, so that the charger is connected with the external power supply, wherein described to fill when the charger is under standby mode Electric switch disconnects;
Step S30 establishes charging connection to the charger after the charger is connected with the external power supply Charging terminal charging.
In the present embodiment, charger can carry out wired charging or wireless charging to charging terminal, hereafter with wireless For charging, charge control method of the present invention is described in detail.
When charger in stand-by mode when, the charge switch of charger is in an off state, and in the case, works as user It, will not between charger and external power supply since the charge switch of charger is to disconnect when charger is inserted into external power supply It is connected, the integrated circuit in charger including the first CPU is still all in off-position.
Later, it when user wants to charge to charging terminal by the charger, is provided centainly to charger first Electric energy, the first CPU of triggering starting charger.For example, charger default setting is electric energy reception pattern, when user wants through this When charger charges to charging terminal, the electronic equipment with certain electric energy can be established charging connection with the charger, The corresponding electric energy of electronic equipment is to the charger.After the charger gets electric energy, the voltage of charger increases, and works as electricity When pressure reaches system cut-in voltage, the first CPU of charger triggering starting.
Optionally, before the step S10, further includes:
When the charger and the charging terminal establish charging connection, receives the charging terminal and be transmitted to described fill The electric energy of electric appliance.
Since under normal conditions, charging terminal will not be completely out of power, it is therefore preferred that charger can be directly from charging terminal Obtain corresponding electric energy.Specifically, it when user wants to charge to charging terminal by the charger, by charging terminal and is somebody's turn to do Charger connection.By taking wireless charging as an example in the present embodiment, charging terminal is placed on charger by user, charger with Charging terminal establishes wireless charging connection, and charging terminal is in electric energy emission mode, and charger is in electric energy reception pattern.It is filling Electric appliance and charging terminal are established after wireless charging connect, and charging terminal transmits electric energy to charger, and charger receives charging terminal The voltage of the electric energy of transmission, charger is continuously increased.When the voltage of charger reaches system cut-in voltage, charger triggering is opened Dynamic first CPU.
The first CPU starting after, by the first CPU control charger charge switch be closed, therefore so that charger with External power supply conducting.Meanwhile charger is controlled by the first CPU and is in electric energy emission mode, charging is controlled eventually by the 2nd CPU End is in electric energy reception pattern.For example, the first CPU sends corresponding control signal to charge control list after the first CPU starting Member controls charger according to the control signal and is in electric energy emission mode when charging control unit receives the control signal. Meanwhile the first CPU to the 2nd CPU send corresponding communication information, when the 2nd CPU receives the communication information of the first CPU transmission When, the corresponding control signal of the 2nd CPU transmission to charging control unit, when charging control unit receives the control signal, Charging terminal, which is controlled, according to the control signal is in electric energy reception pattern.
After charger is connected with external power supply, charger is assisted based on the external power supply be connected with it according to wireless charging It discusses to charging terminal and carries out wireless charging.
Scheme provided in this embodiment, charger include to open for controlling charger and the charging of external power supply on-off Close, and disconnect the first CPU with closure for controlling charge switch, charger in stand-by mode when, charge switch is disconnected It opens;When user will charge to charging terminal using the charger, charger obtains phase from electronic equipments such as charging terminals first The electric energy answered starts its first CPU, charge switch closure is controlled by the first CPU, so that charger is led with external power supply Logical, charger is based on external power supply to charging terminal charging later.Since the charge switch of charger under standby mode is to disconnect , therefore, in charger insertion external power supply is standby, charger can't be powered, but still in off-position, it is not present Stand-by power consumption, namely Zero-power-consumption standby is realized, to reach power saving effect;Further, making for charger is also improved Use the service life.
Further, as shown in figure 5, proposing charge control method second embodiment of the present invention based on first embodiment, In the present embodiment, after the step S30, further comprise the steps of:
Whether step S40, the charging connection for monitoring the charger and the charging terminal disconnect;
Step S50 is controlled when the charging connection of the charger and the charging terminal is disconnected by the first CPU The charge switch is made to disconnect.
In the present embodiment, still by taking charger carries out wireless charging to charging terminal as an example, during the charging process, charger Whether the charging connection of real-time or periodic monitor charger and charging terminal disconnects, namely monitoring charger fills charging terminal Whether electricity terminates.When the charging connection of charger and charging terminal disconnect when namely when charging termination, charger by its first CPU controls charge switch and disconnects, so that charger and external power supply disconnect.Namely charging terminal charging is terminated in charger Afterwards, when charger restores standby mode, charger is in off-position again, before next time is to charging terminal charging, does not disappear Wasted work rate.
Specifically, the step S40 includes:
When monitoring that the 2nd CPU is sent to the detection signal of the first CPU, determine the charger with it is described The charging connection of charging terminal does not disconnect;
When not monitoring that the 2nd CPU is sent to the detection signal of the first CPU, the charger and institute are determined The charging connection for stating charging terminal disconnects.
During the charging process, charging terminal can regularly send corresponding detection signal to charging by its 2nd CPU in real time First CPU of device.When the detection signal that the 2nd CPU that the first CPU of charger receives charging terminal is sent, charging is determined The charging connection of device and charging terminal does not disconnect namely charger currently also charges to charging terminal.When charger When the detection signal that the 2nd CPU that the first CPU does not receive charging terminal is sent, determine that the charging of charger and charging terminal connects Connecing disconnection namely charging process terminates.
It is understood that being come the charging connection for monitoring charger and charging terminal except through the above-mentioned mode enumerated Whether no disconnection, the charging connection that can also monitor charger and charging terminal by other means disconnect.For example, charging It is previously provided with sensor in device, is previously provided with flat thin magnet in charging terminal, in charging process, charger can by sensor Charging terminal is sensed, at this point, determining that the charging connection of charger and charging terminal does not disconnect.Terminate in charging, user will fill After electric terminals take dynamic remove, charger by sensor sensing less than charging terminal, at this point, determining charger and charging terminal Charging connection disconnects.The mode whether disconnected in the present invention to the charging connection of monitoring charger and charging terminal does not limit System.
Scheme provided in this embodiment, charger start after charging to charging terminal, and charger is in real time or timing is supervised Whether the charging connection for surveying charger and charging terminal disconnects, when the charging connection of charger and charging terminal disconnects, charging Device controls charge switch by its first CPU and disconnects, namely in charging termination, and the charge switch for controlling charger disconnects, from And charger and external power supply are disconnected, as long as namely charger do not charge to charging terminal, charger is at disconnected Therefore electricity condition further improves the service life of charger.
The present invention further provides a kind of charge control methods.
It is the flow diagram of charge control method 3rd embodiment of the present invention referring to Fig. 6, Fig. 6.
In the third embodiment, which is applied to above-mentioned charging terminal, which includes Following steps:
Step S60, charging terminal and charger establish charging connection, wherein the charger includes described for controlling The charge switch of charger and external power supply on-off, and the first central processing unit for controlling the charge switch on-off CPU, when the charger is under standby mode, the charge switch is disconnected;
Step S70 transmits corresponding electric energy to the charger, so that the charger starts the first CPU, control The charge switch closure, and after the charger is connected with external power supply, it charges to the charging terminal;
Step S80 receives the charger to the corresponding electric energy of charging terminal charging.
In the present embodiment, still by taking charger carries out wireless charging to charging terminal as an example, when user will be to charging eventually When the charging of end, which is placed on charger, charging terminal and charger establish charging connection, and charging terminal is in Electric energy emission mode, charger are in electric energy reception pattern.Wherein, which is above-mentioned charger, including for controlling The charge switch of charger and external power supply on-off, and the first CPU for controlling charge switch on-off, are in charger When under standby mode, the charge switch of charger is disconnected.
After charger and charging terminal establish charging connection, charging terminal transmits electric energy to charger, and charger receives The electric energy of charging terminal transmission, the voltage of charger are continuously increased.When the voltage of charger reaches system cut-in voltage, charging The first CPU of device triggering starting.
The first CPU starting after, by the first CPU control charger charge switch be closed, therefore so that charger with External power supply conducting.Meanwhile charger is controlled by the first CPU and is in electric energy emission mode, charging is controlled eventually by the 2nd CPU End is in electric energy reception pattern.For example, the first CPU sends corresponding control signal to charge control list after the first CPU starting Member controls charger according to the control signal and is in electric energy emission mode when charging control unit receives the control signal. Meanwhile the first CPU to the 2nd CPU send corresponding communication information, when the 2nd CPU receives the communication information of the first CPU transmission When, the corresponding control signal of the 2nd CPU transmission to charging control unit, when charging control unit receives the control signal, Charging terminal, which is controlled, according to the control signal is in electric energy reception pattern.
After charger is connected with external power supply, charger is assisted based on the external power supply be connected with it according to wireless charging It discusses to charging terminal and carries out wireless charging.Charging terminal receives charger to its corresponding electric energy that charges, until charging terminates.
Further, after the step S60, further includes:
Detection signal is regularly sent to the first CPU, so that the charger is according to the inspection by the 2nd CPU The monitoring result for surveying signal determines whether the charger and the charging connection of the charging terminal disconnect, and in the charger When being disconnected with the charging connection of the charging terminal, the charge switch is controlled by the first CPU and is disconnected.
During the charging process, charging terminal in real time or can regularly send corresponding detection signal to filling by its 2nd CPU First CPU of electric appliance.When the detection signal that the 2nd CPU that the first CPU of charger receives charging terminal is sent, determine to fill The charging connection of electric appliance and charging terminal does not disconnect namely charger currently also charges to charging terminal.Work as charger The first CPU do not receive charging terminal the 2nd CPU send detection signal when, determine charger and charging terminal charging Connection disconnects namely charging process terminates.
When the charging connection for determining charger and charging terminal disconnects namely when charging termination, charger by its One CPU controls charge switch and disconnects, so that charger and external power supply disconnect.Namely charging terminal charging is terminated in charger Afterwards, when charger restores standby mode, charger is in off-position again, before next time is to charging terminal charging, does not disappear Wasted work rate.
Scheme provided in this embodiment, when needing to charge to charging terminal, charging terminal is built with charger first Vertical charging connection, wherein the charger includes charge switch and the first CPU, charger in stand-by mode when, charging Switch disconnects;After charging terminal and charger establish charging connection, charging terminal transmits corresponding electric energy to charger, to open First CPU of dynamic charger controls charge switch closure by the first CPU, so that charger is connected with external power supply, it Charger is based on external power supply to charging terminal charging afterwards.In the charging modes, due to the charging of charger under standby mode Switch is to disconnect, and therefore, in charger insertion external power supply is standby, charger can't be powered, but still in power-off State is not present stand-by power consumption, namely realizes Zero-power-consumption standby, to reach power saving effect;Further, it also improves The service life of charger.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with charging control program, following operation is realized when the charging control program is executed by processor:
When charger obtains corresponding electric energy, start the first CPU of the charger;
After the first CPU starting, it is closed by the charge switch that the first CPU controls the charger, so that The charger is connected with the external power supply, wherein when the charger is under standby mode, the charge switch is disconnected It opens;
After the charger is connected with the external power supply, to the charging terminal for establishing charging connection with the charger Charging.
Further, following operation is also realized when the charging control program is executed by processor:
When the charger and the charging terminal establish charging connection, receives the charging terminal and be transmitted to described fill The electric energy of electric appliance.
Further, following operation is also realized when the charging control program is executed by processor:
Whether the charging connection for monitoring the charger and the charging terminal disconnects;
When the charging connection of the charger and the charging terminal disconnects, by being filled described in the first CPU control Electric switch disconnects.
Further, following operation is also realized when the charging control program is executed by processor:
When monitoring that the 2nd CPU is sent to the detection signal of the first CPU, determine the charger with it is described The charging connection of charging terminal does not disconnect;
When not monitoring that the 2nd CPU is sent to the detection signal of the first CPU, the charger and institute are determined The charging connection for stating charging terminal disconnects.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with charging control program, following operation is realized when the charging control program is executed by processor:
Establish the charging connection of charging terminal and charger, wherein the charger includes for controlling the charger With the charge switch of external power supply on-off, and the first central processor CPU for controlling the charge switch on-off, in institute When stating charger and being under standby mode, the charge switch is disconnected;
Corresponding electric energy is transmitted to the charger, so that the charger starts the first CPU, controls the charging It closes the switch, and after the charger is connected with external power supply, charges to the charging terminal;
The charger is received to the corresponding electric energy of charging terminal charging.
Further, following operation is also realized when the charging control program is executed by processor:
Detection signal is regularly sent to the first CPU, so that the charger is according to the inspection by the 2nd CPU The monitoring result for surveying signal determines whether the charger and the charging connection of the charging terminal disconnect, and in the charger When being disconnected with the charging connection of the charging terminal, the charge switch is controlled by the first CPU and is disconnected.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of charge control method, which is characterized in that the charge control method is applied to charger, and the charger includes For controlling the charge switch of the charger Yu external power supply on-off, and first for controlling the charge switch on-off Central processor CPU, the charge control method the following steps are included:
Charger starts the first CPU of the charger when obtaining corresponding electric energy;
After the first CPU starting, it is closed by the charge switch that the first CPU controls the charger, so that described Charger is connected with the external power supply, wherein when the charger is under standby mode, the charge switch is disconnected;
After the charger is connected with the external power supply, filled to the charging terminal for establishing charging connection with the charger Electricity.
2. charge control method as described in claim 1, which is characterized in that the charger when obtaining corresponding electric energy, Before the step of starting a CPU of the charger, further includes:
When the charger and the charging terminal establish charging connection, receives the charging terminal and be transmitted to the charger Electric energy.
3. charge control method as claimed in claim 1 or 2, which is characterized in that it is described the charger with it is described external After power supply conducting, to after the step of the charging terminal charging for establishing charging connection with the charger, further includes:
Whether the charging connection for monitoring the charger and the charging terminal disconnects;
When the charging connection of the charger and the charging terminal disconnects, the charging is controlled by the first CPU and is opened Shutdown is opened.
4. charge control method as claimed in claim 3, which is characterized in that the charging terminal includes the 2nd CPU, the prison It surveys the step of whether the charging connection of the charger and the charging terminal disconnects and includes:
When monitoring that the 2nd CPU is sent to the detection signal of the first CPU, the charger and the charging are determined The charging connection of terminal does not disconnect;
When not monitoring that the 2nd CPU is sent to the detection signal of the first CPU, determine that the charger is filled with described The charging connection of electric terminals disconnects.
5. a kind of charge control method, which is characterized in that the charge control method is applied to charging terminal, including following step It is rapid:
Charging terminal and charger establish charging connection, wherein the charger include for control the charger with it is external The charge switch of on/off, and the first central processor CPU for controlling the charge switch on-off, in the charging When device is under standby mode, the charge switch is disconnected;
Corresponding electric energy is transmitted to the charger, so that the charger starts the first CPU, controls the charge switch Closure, and after the charger is connected with external power supply, it charges to the charging terminal;
The charger is received to the corresponding electric energy of charging terminal charging.
6. charge control method as claimed in claim 5, which is characterized in that the charging terminal includes the 2nd CPU, described to fill After the step of electric terminals and charger establish charging connection, further includes:
Detection signal is regularly sent to the first CPU, so that the charger is believed according to the detection by the 2nd CPU Number monitoring result determine whether the charger and the charging connection of the charging terminal disconnect, and in the charger and institute When stating the charging connection disconnection of charging terminal, passes through the first CPU and control the charge switch disconnection.
7. a kind of battery charge controller, which is characterized in that be applied to charger, the battery charge controller includes: memory, place It manages device and is stored in the charging control program that can be run on the memory and on the processor, the charging control program The step of realizing charge control method according to any one of claims 1 to 4 when being executed by the processor.
8. a kind of battery charge controller, which is characterized in that be applied to charging terminal, the battery charge controller include: memory, Processor and it is stored in the charging control program that can be run on the memory and on the processor, the charge control journey The step of charge control method as described in claim 5 or 6 is realized when sequence is executed by the processor.
9. a kind of computer readable storage medium, which is characterized in that be applied to charger, on the computer readable storage medium It is stored with charging control program, is realized when the charging control program is executed by processor such as any one of claims 1 to 4 institute The step of charge control method stated.
10. a kind of computer readable storage medium, which is characterized in that be applied to charging terminal, the computer-readable storage medium It is stored with charging control program in matter, is realized as described in claim 5 or 6 when the charging control program is executed by processor Charge control method the step of.
CN201710350027.7A 2017-05-17 2017-05-17 Charge control method, device and computer readable storage medium Pending CN108964156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710350027.7A CN108964156A (en) 2017-05-17 2017-05-17 Charge control method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710350027.7A CN108964156A (en) 2017-05-17 2017-05-17 Charge control method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108964156A true CN108964156A (en) 2018-12-07

Family

ID=64461712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710350027.7A Pending CN108964156A (en) 2017-05-17 2017-05-17 Charge control method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108964156A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110994735A (en) * 2019-12-23 2020-04-10 炬星科技(深圳)有限公司 Charge and discharge control method, system, device and computer readable storage medium
CN111756082A (en) * 2019-09-03 2020-10-09 广州极飞科技有限公司 Safe charging method and related device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756082A (en) * 2019-09-03 2020-10-09 广州极飞科技有限公司 Safe charging method and related device
CN110994735A (en) * 2019-12-23 2020-04-10 炬星科技(深圳)有限公司 Charge and discharge control method, system, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN104052138B (en) The control method of temperature when a kind of intelligent mobile terminal and its charging
CN104716750B (en) A kind of low power consuming wireless power method and relevant apparatus, system
JP2011078191A (en) Charger, electronic equipment, and program
CN106410990A (en) Wireless charging device control device and method
CN104578277B (en) For the method for charging for electronic equipment and electronic equipment
CN105743158B (en) Apparatus and method for charging an electronic device having a battery
CN103685953A (en) Shooting device, mobile terminal and watch
CN106356925B (en) Mobile terminal and its battery charge controller, charge control method
CN103812195A (en) Wireless charge and discharge circuit, terminal device and wireless charge and discharge method
CN106981900B (en) Wireless charging method and device
CN104065144A (en) System and method for dynamically adjusting output voltage and output current of USB charger through VBUS signal
CN103974394A (en) Mobile terminal and power consumption control method thereof
CN110166994B (en) Data time-sharing transmission interoperability method, system, mobile terminal and storage medium
CN108964156A (en) Charge control method, device and computer readable storage medium
CN104868604A (en) Terminal and wireless charging system and method
CN107681709A (en) For sending the method for electric power and supporting its electronic equipment
CN105722244A (en) Information processing method and electronic device
KR101390402B1 (en) Power sharing apparatus and system using power sharing program installed in mobile terminal
CN108964187A (en) The charging method of terminal and terminal room
CN106532876B (en) Power supply control method and device and computer equipment
WO2016033874A1 (en) Wireless charging processing method and apparatus, and wireless charger
CN110797925A (en) Battery control system and method and electronic equipment
CN103905648A (en) Mobile terminal and electric quantity display method thereof
CN110191215B (en) Terminal and processing method
CN106356913A (en) Electronic equipment charging control method and device

Legal Events

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