Embodiment
Below in conjunction with drawings and embodiments, the present invention is described in detail.
Consult Fig. 1, embodiment of the present invention provides a kind of method controlling to charge, and present embodiment is the method for main equipment side, comprises the following steps:
Step S101: main equipment receives the first information since equipment with predetermined period, and main equipment is to provide the equipment of power supply, being the equipment needing charging from equipment, is more than one from the quantity of equipment;
Thering is provided the main equipment of power supply can be portable power source, wireless charging device etc., also can be that other can be the power supply that miscellaneous equipment provides charge function; And needs charging can be mobile phone, panel computer, notebook computer etc. from equipment, also can be that other need the mobile terminal of charging.
The first information comes since equipment, and this first information can comprise the information from equipment current state, such as: from dump energy, battery capacity, current charging current etc. that equipment is current; The first information can also comprise coming the information since the demand of equipment user, such as: will be full of electricity from equipment fast from the current needs of the user of equipment, now this demand can be sent to main equipment with the first information; The first information both can also comprise the information from equipment current state, also comprise coming the information since the demand of equipment user, such as: the current needs of user will be full of electricity from equipment fast, send comprise from the information of equipment current state, user first time demand information, if first demand of user does not change, follow-uply can only send the information comprised from equipment current state, if the situation of user changes, the information of the second time demand comprised from the information of equipment current state, user can be sent.In a word, main equipment is that therefore, the content of the first information can be determined as the case may be according to determining this charging current from equipment from the first information of equipment.
Because the first information comes since equipment, when being two or more from the quantity of equipment, main equipment according to the concrete condition of difference from equipment, can reasonably adjust the different charging currents from equipment in real time; When the first information comprises the information from equipment current state, main equipment according to the charging current of first information Reasonable adjustment from equipment, thus can improve charge efficiency; When the first information comprises coming when the information of the demand of equipment user, main equipment according to the charging current of first information Reasonable adjustment from equipment, thus can meet the particular demands of user.
Give from the process of equipment charge at main equipment, with predetermined period, the first information is sent to main equipment from equipment, namely a first information is obtained from equipment every predetermined period, and the first information is sent to main equipment, predetermined period can be 10 minutes, 15 minutes or 20 minutes etc., and predetermined period can be arranged according to practical situations.
Step S102: main equipment determines the first charging current from equipment by the first information;
Main equipment receives the first information, and determine the first charging current from equipment according to the first information, this first charging current can be different from second charging current current from equipment, also can identical (when charge environment do not change), first charging current is that main equipment is determined according to the first information, and the first charging current can meet from the current needs of equipment and main equipment self state current; Such as: in order to improve charge efficiency, first charging current can be make current each reach time close or identical electric current required for the state being full of electricity from equipment, also can be make certain preferentially charge from equipment, other temporarily do not charge or few electric current charged from equipment, such as: make lower preferentially the charging from equipment of electricity, or in order to meet the particular demands of user, make needs be full of preferentially charging from equipment of electricity fast.
Such as: first is 2000mAh from the battery capacity of equipment, current residual electricity is 500mAh, should be full of fast from equipment requirement, second is 3000mAh from the battery capacity of equipment, and current residual electricity is 1500mAh, the current battery capacity of main equipment is 6000mAh, now, main equipment can to suspend second from equipment charge, is preferably first from equipment charge, when satisfied charging safety, charging current can be the maximum charging current of main equipment.
If first does not require to be full of fast from equipment, main equipment can roughly distribute respective charging current, make first from equipment with second from equipment be full of electricity time roughly the same, thus improve charge efficiency.
Step S103: second charging current current from equipment is adjusted to the first charging current by main equipment;
After main equipment determines the first charging current according to the first information, be adjusted to the first charging current by the output current from equipment from the second current charging current.Particularly, by the power management chip (power management integrated circuits) in main equipment, the output current of the current output terminal mouth of main equipment is adjusted.
Power management chip is the chip of responsibility shouldering conversion to electric energy, distribution, detection and other electric energy managements in electronic apparatus system, the power management chip that power management chip can adopt the support single ended input of main flow, multiterminal export of embodiment of the present invention, by the inner integrated single pole multiple throw of power management chip and current-limiting circuit, realize the adjustment of electric current, and pass through the external digital port input control signal of power management chip, to select port to export, thus realize providing corresponding charging current to different from equipment.
Step S104: main equipment carries electricity with the first charging current to from equipment.
Main equipment is charged to from equipment by the first charging current after the second charging current current from equipment is adjusted to the first charging current.
Embodiment of the present invention receives the first information sent from equipment with predetermined period by main equipment, and determine the first charging current to charging from equipment according to the first information, second charging current current from equipment is adjusted to the first charging current by main equipment, be from equipment charge with the first charging current, in this way, main equipment can be realized to adjust the charging current from equipment in real time according to the concrete condition from equipment.
Wherein, the first information comprises from the current dump energy of equipment and battery capacity; Obtain current dump energy and the battery capacity of the battery of self from equipment, and send to main equipment, now, consult Fig. 2, step S102 main equipment determines the first charging current from equipment by the first information, specifically comprises following content:
Step S201: main equipment, by the quantity of the first information, determines the quantity from equipment;
Eachly send a first information from equipment, so main equipment receives how many first information, current just have how many chargings establish communication connection from equipment and main equipment.
Step S202: by from the current dump energy of equipment and battery capacity, electricity required when determining to reach battery capacity from equipment;
The difference of battery capacity and dump energy is exactly from the current electricity be full of required for electricity of equipment, electricity required when also namely reaching battery capacity from equipment.
Step S203: according to main equipment dump energy, from the quantity of equipment, to reach battery capacity from equipment time required electricity, determine the first charging current from equipment;
The dump energy of main equipment is obtained from self by main equipment, when determining the first charging current from equipment, main equipment calculates and accounts for from the percentage of device battery capacity (being called for short charge capacity percentage) from the equipment electricity reached required for its battery capacity, namely 1 deduct and account for from the percentage of device battery capacity (being called for short dump energy percentage) from equipment current residual electricity, such as, in order to improve charge efficiency, first charging current corresponding from equipment (namely dump energy percentage is less) that charge capacity percentage is high can be larger, and lower first charging current corresponding from equipment (namely dump energy percentage is more) of charge capacity percentage can be less, if roughly the same from the charge capacity percentage of equipment, then can compare these these from the dump energy of equipment, first charging current corresponding from equipment that dump energy is higher can be less, and lower first charging current corresponding from equipment of dump energy can be larger.If there is the user of particular demands, such as, need to fill soon, then make that this user's is maximum from the first charging current of equipment, more as the case may be, rationally determine other the first charging current from equipment.
Further, as Fig. 3, step S102 main equipment can also comprise after determining the first charging current from equipment by the first information:
Step S301: according to main equipment dump energy, from the quantity of equipment, to reach battery capacity from equipment time required electricity, judge whether main equipment dump energy can make eachly to reach battery capacity from equipment;
Main equipment obtains the dump energy of self, and calculates electricity sum required when each is full of electricity from equipment, and main equipment judges whether the dump energy of main equipment is more than or equal to electricity sum required when each is full of electricity from equipment.
Step S302: eachly reach battery capacity from equipment if can make, then by the first charging current, the time required when determining to reach battery capacity from equipment;
If the dump energy of main equipment is more than or equal to electricity sum required when each is full of electricity from equipment, then main equipment according to each the first charging current from equipment and each reach battery capacity from equipment time required electricity calculate each reach battery capacity from equipment time required time.
Step S303: main equipment is to the time required when reaching battery capacity from equipment transmission from equipment;
Main equipment by each reach its battery capacity from equipment time the required time send to corresponding to equipment respectively, to remind from equipment user, be convenient to user and know how long also need wait, if user thinks overlong time required when reaching its battery capacity from equipment, need to reach its battery capacity with shorter time chien shih from equipment, then user can send to main equipment the first information comprising charge requirement, after main equipment receives the first information, can adjust this charging current from equipment, make this preferentially charge from equipment.
Step S304: eachly reach battery capacity from equipment if can not make, then by the first charging current, determining can to the electricity carried from equipment;
If the dump energy of main equipment is less than electricity sum required when each is full of electricity from equipment, then main equipment is according to each the first charging current from equipment, and calculating can to each electricity from equipment conveying.
Step S305: main equipment can to the electricity carried from equipment to sending from equipment;
Main equipment can send to corresponding to equipment respectively to each electricity from equipment conveying, to remind from equipment user, if user needs preferentially to be full of electricity to this from equipment, then user can send to main equipment the first information comprising charge requirement, after main equipment receives the first information, adjust this charging current from equipment, make this preferentially charge from equipment.
Wherein, step S101 main equipment receives the first information since equipment with predetermined period, specifically can comprise:
Main equipment receives the next first information since equipment by Bluetooth technology with predetermined period.
Main equipment receives before the first information of equipment by Bluetooth technology, main equipment can with set up bluetooth from equipment and be connected, setting up the process that bluetooth connects is: after being connected with main equipment from equipment by the mode of USB or wireless charging, main equipment starts self bluetooth equipment, and the bluetooth equipment arranging main equipment initiates link, open bluetooth from equipment, and set up bluetooth with main equipment and be connected.
In embodiments of the present invention, in above-mentioned steps S303, main equipment sends to main equipment required time when reaching battery capacity from equipment transmission from equipment and step S305 all can send by bluetooth to the electricity carried from equipment to from equipment.Bluetooth is the standard configuration of existing electronic equipment, sets up main equipment and from the connection between equipment, can increase extra cost by Bluetooth technology.
Wherein, the first information comprises from the 3rd current charging current of equipment; 3rd charging current be detect from equipment self its by the charging current of charging; Now, as shown in Figure 4, step S101 main equipment receives after the first information of equipment with predetermined period, can also comprise:
Step S401: according to each of detecting from current the 3rd charging current of equipment, main equipment self from each of receiving from current the second charging current of equipment, judge whether to exist not by Bluetooth technology and main equipment establish a connection from equipment;
3rd charging current sends to main equipment from equipment by Bluetooth technology, and the second charging current is the output current of its output port that main equipment self detects, in theory, the numerical value of the second charging current from equipment of detecting of main equipment and same the 3rd charging current detected from equipment self is identical.If the quantity of the second charging current that main equipment self detects is greater than the quantity from each the 3rd charging current sent from equipment that main equipment receives, then indicate and accepting not setting up bluetooth with main equipment from equipment and being connected of main equipment charging, namely exist not by Bluetooth technology and main equipment establish a connection from equipment; Such as: the second charging current of the current output terminal mouth that main equipment self detects has: 500mA, 600mA, 550mA, receive from first from the 3rd charging current 600mA of equipment, receive from second from the 3rd charging current 550mA of equipment, so can determine that the second charging current is setting up bluetooth with main equipment from equipment and being connected of 500mA.If the quantity of the second charging current that main equipment self detects equals the quantity from each the 3rd charging current sent from equipment that main equipment receives, then represent all and accepting all establishing bluetooth with main equipment from equipment and being connected of main equipment charging.
Step S402: if exist, then stop carrying electricity to what do not established a connection by Bluetooth technology and main equipment from equipment;
If main equipment judge to exist not by Bluetooth technology and main equipment establish a connection from equipment, then stop carrying electricity to what do not established a connection by Bluetooth technology and main equipment from equipment; If main equipment have received the above-mentioned first information from equipment being stopped conveying electricity, then represent that should establish bluetooth with main equipment from equipment is connected, main equipment can recover to carry electricity to this from equipment.
Below with main equipment for portable power source, from equipment for mobile phone, introduce embodiment of the present invention main equipment and the workflow from equipment.
As Fig. 5, the workflow of main equipment comprises following content:
Step S501: portable power source is started shooting;
Step S502: portable power source resets to each output port;
Can reset to the electric current of output port during portable power source start, ensure that the output current of each output port is different, when mobile phone by the mode of USB or wireless charging connect portable power source charge time, first portable power source charges to mobile phone with this output current, and namely this output current is the charging current before the charging current of portable power source to mobile phone adjusts.
Step S503: portable power source detects the actual output current of each output port;
Step S504: judge currently whether have mobile phone to be moved power source charges according to the actual output current of each output port detected, if not, performs step S505, if having, performs step S506;
If the actual output current of output port is greater than 0, then representing current has mobile phone to be moved power source charges, enters step S506.If the actual output current of output port equals 0, then representing current does not have mobile phone to charge, and enters step S505.
Step S505: portable power source enters sleep pattern;
Step S506: portable power source and mobile phone are set up bluetooth and be connected;
Step S507: portable power source receives the first information that mobile phone is sended over by bluetooth; The first information comprises the 3rd current charging current of the current dump energy of mobile phone, battery capacity and mobile phone;
Step S508: portable power source judges whether that the mobile phone charged is not set up bluetooth with portable power source and is connected; If have, then perform step S509; If no, then perform step S510;
The numerical value of the second charging current that the numerical value of the 3rd charging current received detects with number and self mates with number by portable power source, if the number of the second charging current detected is greater than the number of the 3rd charging current received, then show to exist the mobile phone do not set up bluetooth with portable power source and be connected, further, according to the numerical value of the second charging current detected, output port, the numerical value of the 3rd charging current received, can determine that specifically which mobile phone does not set up bluetooth with portable power source and be connected;
Step S509: stop carrying electricity to not setting up the mobile phone that bluetooth is connected with portable power source;
Step S510: portable power source judges whether to make each mobile phone reach its battery capacity; If so, then perform step S511, if not, then perform step S512;
Step S511: time required when determining that each mobile phone reaches its battery capacity, and send to corresponding mobile phone by bluetooth;
Step S512: determine the electricity can carried to each mobile phone, and send to corresponding mobile phone by bluetooth;
Step S513: portable power source determines the first charging current of each mobile phone according to the first information, and the second current for each mobile phone charging current is adjusted to corresponding the first respective charging current, with the first respective charging current to each mobile phone conveying electricity;
Step S514: performed every 20 minutes and circulate from step S507, until do not have mobile phone to charge.
As Fig. 6, comprise following content from the workflow of equipment:
Step S601: whether mobile phone detection self is connected to portable power source is charged; If so, then step S602 is performed;
Step S602: handset starting bluetooth, carries out Bluetooth pairing with portable power source and is connected;
Step S603: obtain the first information; Wherein the first information comprises mobile phone dump energy, battery capacity and the 3rd charging current;
Step S604: send the first information to portable power source;
Step S605: receive the information that portable power source sends over; This information comprises when mobile phone reaches its battery capacity that required time or portable power source can to the electricity of mobile phone conveying;
Step S606: shown the information received by message box;
Step S607: start timer, timing 20 minutes; Circulated from step S603 every 20 minutes, until mobile phone removes from portable power source.
See table 1, table 1 charges to mobile phone for an embodiment of the present invention portable power source, during certain the charging current adjustment carried out, and the table of comparisons of the charging current before and after adjustment.
Note: the percentage in above-mentioned table 1 is the percentage that dump energy accounts for battery capacity.
As can be seen from Table 1, first charging current of mobile phone larger for dump energy percentage is adjusted to less value by the portable power source of embodiment of the present invention, and the first charging current of mobile phone smaller for dump energy percentage is adjusted to larger value, and when the dump energy percentage of two mobile phones (mobile phone 4 and mobile phone 5) is identical, by the amplitude relatively little (200 milliamperes) that the first charging current of mobile phone (mobile phone 4) larger for dump energy improves, and by the amplitude relatively large (300 milliamperes) of the first charging current raising of mobile phone (mobile phone 5) less for dump energy.
As Fig. 7, the another execution mode of the present invention provides a kind of method controlling to charge, and present embodiment is the method flow from equipment side, and the method comprises following content:
Step S701: whether be connected to main equipment from equipment Inspection self, main equipment, for providing the equipment of power supply, is the equipment needing charging from equipment;
From equipment by detecting the charging current of self, judge whether to be connected on main equipment, if from equipment Inspection to there being charging current, namely charging current is greater than 0, then illustrate from equipment and be connected to main equipment.
Step S702: after being connected to main equipment from equipment Inspection to self, according to preset requirement, send the first information with predetermined period to main equipment, so that main equipment determines the first charging current from equipment by the first information;
Obtain the first information from equipment, this first information can comprise the information from equipment current state, such as: from dump energy, battery capacity, current charging current etc. that equipment is current; The first information can also comprise coming the information since the demand of equipment user, such as: will be full of electricity from equipment fast from the current needs of the user of equipment, now this demand can be sent to main equipment with the first information; The first information both can also comprise the information from equipment current state, also comprise coming the information since the demand of equipment user, such as: the current needs of user will be full of electricity from equipment fast, send comprise from the information of equipment current state, user first time demand information, if first demand of user does not change, follow-uply can only send the information comprised from equipment current state, if the situation of user changes, the information of the second time demand comprised from the information of equipment current state, user can be sent.In a word, main equipment is that therefore, the content of the first information can be determined as the case may be according to determining this charging current from equipment from the first information of equipment.
Because the first information comes since equipment, when being two or more from the quantity of equipment, main equipment according to the concrete condition of difference from equipment, can reasonably adjust the different charging currents from equipment in real time; When the first information comprises the information from equipment current state, main equipment according to the charging current of first information Reasonable adjustment from equipment, thus can improve charge efficiency; When the first information comprises coming when the information of the demand of equipment user, main equipment according to the charging current of first information Reasonable adjustment from equipment, thus can meet the demand of specific user.
Give from the process of equipment charge at main equipment, with predetermined period, the first information is sent to main equipment from equipment, namely a first information is obtained from equipment every predetermined period, and the first information is sent to main equipment, predetermined period can be 10 minutes, 15 minutes or 20 minutes etc., and predetermined period can be arranged according to practical situations.
First charging current is that main equipment is determined according to the first information, and the first charging current can meet from the current needs of equipment and main equipment self state current; Such as: in order to improve charge efficiency, first charging current can be make current each reach time close or identical electric current required for the state being full of electricity from equipment, also can be make certain preferentially charge from equipment, other temporarily do not charge or few electric current charged from equipment, such as: make lower preferentially the charging from equipment of electricity, or in order to meet the particular demands of user, make needs be full of preferentially charging from equipment of electricity fast.
Such as: first is 2000mAh from the battery capacity of equipment, current residual electricity is 500mAh, should be full of fast from equipment requirement, second is 3000mAh from the battery capacity of equipment, and current residual electricity is 1500mAh, the current battery capacity of main equipment is 6000mAh, now, main equipment can to suspend second from equipment charge, is preferably first from equipment charge, when satisfied charging safety, charging current can be the maximum charging current of main equipment.
If first does not require to be full of fast from equipment, main equipment can roughly distribute respective charging current, make first from equipment with second from equipment be full of electricity time roughly the same, thus improve charge efficiency.
Step S703: receive main equipment from equipment with the first charging current and electricity is carried to self.
The first information of embodiment of the present invention by sending to main equipment from equipment with predetermined period, main equipment is made to determine the first charging current to charging from equipment according to the first information, second charging current current from equipment is adjusted to the first charging current by main equipment, to make receiving main equipment from equipment by the first charging current, electricity is carried to self, in this way, main equipment can be realized to adjust the charging current from equipment in real time according to the concrete condition from equipment self.
As Fig. 8, an embodiment of the present invention also provides a kind of charging device, and this charging device can the method for main equipment side in execution mode to implement the above described method, and detailed content refers to the related content of above-mentioned main equipment side method, no longer superfluously to chat at this.This charging device comprises: receiver module 110, first determination module 120, adjusting module 130 and electricity output module 140.
Receiver module 110, for receiving the first information from terminal equipment with predetermined period, terminal equipment is the equipment needing charging, and the quantity of terminal equipment is more than one;
First determination module 120, for the first charging current by first information determination terminal equipment;
Adjusting module 130, for being adjusted to the first charging current by the second current for terminal equipment charging current;
Electricity output module 140, for carrying electricity with the first charging current to terminal equipment.
The first information of embodiment of the present invention charging device by sending with predetermined period receiving terminal apparatus, and determine the first charging current to terminal equipment according to the first information, the second current for terminal equipment charging current is adjusted to the first charging current by charging device, with the first charging current for terminal equipment charges, so just can realize charging device and in real time the charging current of terminal equipment be adjusted according to the concrete condition of terminal equipment.
Wherein, the first information comprises the current dump energy of terminal equipment and battery capacity; Now, as shown in Figure 9, in the another execution mode of charging device of the present invention, the first determination module 120 comprises: the first determining unit 121, second determining unit 122 and the 3rd determining unit 123.
First determining unit 121, for the quantity by the first information, determines the quantity of terminal equipment;
Second determining unit 122, for by the current dump energy of terminal equipment and battery capacity, electricity required when determining that terminal equipment reaches battery capacity;
3rd determining unit 123, for the quantity according to charging device dump energy, terminal equipment, terminal equipment reaches battery capacity time electricity, determine the first charging current of terminal equipment.
Now, as shown in Figure 10, in the another execution mode of charging device of the present invention, charging device also comprises: the first judge module 150, second determination module 160, first sending module 170, the 3rd determination module 180 and the second sending module 190.
First judge module 150, for the quantity according to charging device dump energy, terminal equipment, terminal equipment reaches battery capacity time electricity, judge whether charging device dump energy can make each terminal equipment reach battery capacity;
Second determination module 160, during for each terminal equipment being made to reach battery capacity when charging device dump energy, by the first charging current, the time required when determining that terminal equipment reaches battery capacity;
First sending module 170, time during for reaching battery capacity to terminal equipment transmitting terminal equipment;
3rd determination module 180, during for each terminal equipment being made to reach battery capacity when charging device dump energy, by the first charging current, determining can to the electricity of terminal equipment conveying;
Second sending module 190, can to the electricity of terminal equipment conveying for sending to terminal equipment.
Wherein, receiver module 110 is specifically for receiving from the first information of terminal equipment by Bluetooth technology with predetermined period; Now, the first information comprises the 3rd current charging current of terminal equipment; Further, as shown in figure 11, in the another execution mode of charging device of the present invention, charging device also comprises: the second judge module 1100 and Executive Module 1110.
Second judge module 1100, for the second charging current that each terminal equipment detected according to the 3rd charging current current from each terminal equipment received, charging device self is current, judge whether to exist not by terminal equipment that Bluetooth technology and charging device establish a connection;
Executive Module 1110, for when there is the terminal equipment do not established a connection by Bluetooth technology and charging device, stops carrying electricity to the terminal equipment do not established a connection by Bluetooth technology and charging device.
As Figure 12, an embodiment of the present invention also provides a kind of terminal equipment, and this terminal equipment can realize the method from equipment side in said method execution mode, and detailed content refers to the above-mentioned related content from equipment side method, no longer goes to live in the household of one's in-laws on getting married chat at this.This terminal equipment comprises: detection module 210, sending module 220 and receiver module 230.
Detection module 210, whether be connected to charging device for detecting self, charging device is for providing the equipment of power supply;
Sending module 220, after detecting that self is connected to charging device when terminal equipment, according to preset requirement, sends the first information with predetermined period to charging device, so that charging device is by the first charging current of first information determination terminal equipment;
Receiver module 230, carries electricity for receiving charging device with the first charging current to self.
The first information that embodiment of the present invention terminal equipment sends to charging device with predetermined period, charging device is made to determine the first charging current to terminal equipment according to the first information, the second current for terminal equipment charging current is adjusted to the first charging current by charging device, receive charging device to make terminal equipment by the first charging current and electricity is carried to self, so just can realize charging device and in real time the charging current of terminal equipment be adjusted according to the concrete condition from equipment.
These are only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.