CN103247832B - Charging method and electronic device - Google Patents

Charging method and electronic device Download PDF

Info

Publication number
CN103247832B
CN103247832B CN201210033156.0A CN201210033156A CN103247832B CN 103247832 B CN103247832 B CN 103247832B CN 201210033156 A CN201210033156 A CN 201210033156A CN 103247832 B CN103247832 B CN 103247832B
Authority
CN
China
Prior art keywords
electronic equipment
charging
data
transfer
charge mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210033156.0A
Other languages
Chinese (zh)
Other versions
CN103247832A (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 CN201210033156.0A priority Critical patent/CN103247832B/en
Publication of CN103247832A publication Critical patent/CN103247832A/en
Application granted granted Critical
Publication of CN103247832B publication Critical patent/CN103247832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a charging method and an electronic device. The charging method comprises the following steps of: judging whether a second electronic device needs to be charged or not when the connection between the first electronic device and the second electronic device is detected. If the second electronic device does not need to be charged, the first electronic device does not charge the second electronic device; and if the second electronic device needs to be charged, the first electronic device charges the second electronic device. By adding the judging process, when the two electronic devices are connected with each other, the electronic devices are no longer automatically charged, so that the charging times of a charging battery can be reduced, and the service life of the charging battery can be prolonged.

Description

A kind of charging method and electronic equipment
Technical field
The present invention relates to electronic applications, particularly relate to a kind of charging method and electronic equipment.
Background technology
Present electronic equipment is if mobile phone, portable hard drive etc. are substantially all with rechargeable battery.When the electronic equipment that above-mentioned electronic equipment and another to be had a charge function by us is connected as computer, the electronic equipment with charge function will charge to the rechargeable battery of electronic equipment automatically.But existing rechargeable battery has the restriction of discharge and recharge number of times, charging can reduce the useful life of rechargeable battery frequently.
Therefore, a kind of reasonably charging modes is needed at present, to improve the useful life of rechargeable battery.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of charging method and electronic equipment, to improve the useful life of rechargeable battery.
For achieving the above object, technical scheme provided by the invention is as follows:
The invention provides a kind of charging method, described method comprises:
When detecting that the first electronic equipment is connected with the second electronic equipment, judging whether will to described second electronic equipment charging;
If not, then described second electronic equipment charging do not given by described first electronic equipment;
If so, then described second electronic equipment charging given by described first electronic equipment.
Preferably, judge whether described in comprise to described second electronic equipment charging:
Read the dump energy of described second electronic equipment;
Judge whether described dump energy is less than predetermined threshold value.
Preferably, described method also comprises:
Read the dump energy of described second electronic equipment;
Judge whether described dump energy is less than predetermined threshold value;
If not, then transfer of data, transfer of data also charging and charging three kinds of equipment connection patterns are exported to user;
Receive user to the selection instruction of described pattern;
Described judging whether will comprise to described second electronic equipment charging:
Judge whether the pattern that described user selects is transfer of data and charge mode or charge mode;
If not described, then described first electronic equipment comprises to described second electronic equipment charging:
When for data-transmission mode, described first electronic equipment and described second electric room carry out transfer of data, and described second electronic equipment charging do not given by described first electronic equipment;
Described if so, then described first electronic equipment give described second electronic equipment charging comprise:
When for transfer of data and charge mode time, described first electronic equipment give described second electronic equipment charging and described first electronic equipment and described second electric room carry out transfer of data;
When for charge mode, described second electronic equipment charging given by described first electronic equipment, and described first electronic equipment and described second electric room do not carry out transfer of data.
Preferably, when described dump energy is less than predetermined threshold value, described method also comprises:
Described transfer of data is exported and charging and described charging two kinds of equipment connection patterns to user;
Receive user to the selection instruction of described pattern;
Described judging whether will comprise to described second electronic equipment charging:
Judge whether the pattern that described user selects is transfer of data and charge mode or charge mode;
Described if so, then described first electronic equipment give described second electronic equipment charging comprise:
When for transfer of data and charge mode time, described first electronic equipment give described second electronic equipment charging and described first electronic equipment and described second electric room carry out transfer of data;
When for charge mode, described second electronic equipment charging given by described first electronic equipment, and described first electronic equipment and described second electric room do not carry out transfer of data.
Present invention also offers a kind of electronic equipment, described electronic equipment comprises:
Detecting unit, for when detecting that described electronic equipment is connected with the second electronic equipment, sends indication information;
Judging unit, for when receiving described indication information, judges whether to described second electronic equipment charging, and to generate judged result;
Charhing unit, during for being no in described judged result, does not give described second electronic equipment charging, when described judged result is for being, to described second electronic equipment charging.
Preferably, described judging unit comprises:
First reading unit, for reading the dump energy of described second electronic equipment;
First electricity judging unit, for judging whether described dump energy is less than predetermined threshold value.
Preferably, described electronic equipment also comprises:
Second reading unit, for reading the dump energy of described second electronic equipment;
Second electricity judging unit, for judging whether described dump energy is less than predetermined threshold value;
Mode output unit, for when described dump energy is not less than predetermined threshold value, exports transfer of data, transfer of data also charging and charging three kinds of equipment connection patterns to user;
Receiving element, for receiving the selection instruction of user to described Three models;
Described judging unit comprises:
Mode determination, for judging whether the pattern that described user selects is transfer of data and charge mode or charge mode;
Described electronic equipment also comprises: data transmission unit;
Described data transmission unit, for when described pattern be data-transmission mode or transfer of data and charge mode time, carry out transfer of data with described second electric room; For when described pattern is charge mode, do not carry out transfer of data with described second electric room;
Described charhing unit, for be transfer of data when described pattern and charge mode or charge mode time, to described second electronic equipment charging; For when described pattern is data-transmission mode, do not give described second electronic equipment charging.
Preferably, when described dump energy is less than predetermined threshold value, described mode output unit, also for exporting transfer of data to user and charging and charging two kinds of equipment connection patterns;
Described receiving element, also for receiving the selection instruction of user to described two kinds of patterns;
Described mode determination, for judging whether the pattern that described user selects is transfer of data and charge mode or charge mode;
Described data transmission unit, for be transfer of data when described pattern and charge mode time, carry out transfer of data with described second electric room; For when described pattern is charge mode, do not carry out transfer of data with described second electric room;
Described charhing unit, for be transfer of data when described pattern and charge mode or charge mode time, to described second electronic equipment charging.
Preferably, described charhing unit comprises:
Charging panel, control board, power supply and field effect transistor;
Wherein, described charging panel two ends connect described power supply and described field effect transistor;
Described field effect transistor connects the rechargeable battery of described second electronic equipment;
Described control board is connected with described field effect transistor;
Described control board, for exporting high level, opens described field effect transistor, and described power supply is successively charged to described rechargeable battery by described charging panel and described field effect transistor;
Described control board, also for output low level, closes described field effect transistor, makes described power supply and described charging panel, path blockade between described field effect transistor and described rechargeable battery.
Preferably, described charhing unit comprises:
Charging panel, control board, power supply and field effect transistor;
Wherein, described field effect transistor two ends connect described power supply and described charging panel;
Described charging panel connects the rechargeable battery of described second electronic equipment;
Described control board is connected with described field effect transistor;
Described control board, for exporting high level, opens described field effect transistor, and described power supply is successively charged to described rechargeable battery by described field effect transistor and described charging panel;
Described control board, also for output low level, closes described field effect transistor, makes described power supply and described field effect transistor, path blockade between described charging panel and described rechargeable battery.
Compared with prior art, the present invention has following beneficial effect:
In the present invention when equipment is connected, the judgement of first whether charging, and when judging that structure is no, do not charge.Visible the present invention, by increasing the deterministic process of whether charging, when two electronic equipments are connected, no longer carry out automatic charging, thus decreases the charging times to rechargeable battery, improve the useful life of rechargeable battery.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the embodiment of the present invention 1 method flow diagram;
Fig. 2 is the embodiment of the present invention 5 electronic devices structure figure;
Fig. 3 is the embodiment of the present invention 9 charhing unit connection diagram;
Fig. 4 is the embodiment of the present invention 10 charhing unit connection diagram;
Fig. 5 is the embodiment of the present invention 11 electronic devices structure figure;
Fig. 6 is the embodiment of the present invention 12 electronic devices structure figure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain, all belongs to the scope of protection of the invention.
The embodiment of the present invention 1 provides a kind of charging method, and see Fig. 1, the method comprises the steps:
S11, when detecting that the first electronic equipment is connected with the second electronic equipment, judge whether will give described second electronic equipment charging.Namely by judging whether that satisfied certain pre-conditioned determining whether will to the second electronic equipment charging.
S12, if not, then described second electronic equipment charging do not given by described first electronic equipment.
S13, if so, then described first electronic equipment give described second electronic equipment charging.
The first electronic equipment described in the present invention specifically refers to the electronic equipment with charge function, such as computer etc., when there being other electronic equipments coupled, can charge to other electronic equipments.The second described electronic equipment specifically refers to that the electronic equipment carrying rechargeable battery is as electronic equipments such as MP3 player, portable hard drive, mobile phones.
Embodiments providing two kinds of concrete judging whether will to the method for described second electronic equipment charging.
The embodiment of the present invention 2, judging whether by dump energy will to the second electronic equipment charging.Wherein step S11 comprises:
Read the dump energy of described second electronic equipment.
Judge whether described dump energy is less than predetermined threshold value.
The setting of threshold value can be determined according to the using state of the use habit of the power consumption of electronic equipment, user and/or the second electronic equipment rechargeable battery.Such as, for the larger electronic equipment of power consumption as the MP3 etc. for audio plays data, higher threshold value can be set, to avoid because threshold value arranges lower, make dump energy be not enough to meet normal use, as a complete audio frequency can not be play.For use electronic equipment user comparatively frequently, as same mobile phone, party A-subscriber uses comparatively party B-subscriber frequent, so just higher to the setting of party A-subscriber threshold value, to meet its use.Different rechargeable battery using states is as different in spendable number of times, for can arranging higher threshold value by more nonexpondable rechargeable battery.Certainly, also can in conjunction with above-mentioned several because of usually setting threshold.The present invention does not arrange concrete threshold value and limits.When described dump energy is not less than predetermined threshold value, do not give described second electronic equipment charging; When described dump energy is less than predetermined threshold value, to described second electronic equipment charging.
The object that first electronic equipment is connected with the second electronic equipment is carry out transfer of data by user sometimes, sometimes be charge, and be carry out transfer of data and charge sometimes, therefore, in embodiments of the invention 3, can in conjunction with the object of user, the equipment connection pattern selected by user is judged whether will to the second electronic equipment charging.Described method also comprises:
Export the connection mode of the first electronic equipment and the second electronic equipment to user, specifically can comprise: at least one pattern in data-transmission mode, transfer of data charge mode and charge mode.
Receive user to the selection instruction of described pattern.
The concrete way of output can be word, image exports, and also can be voice output.Certainly, user also can select in several ways.The present invention does not limit concrete input and selection mode.After equipment receives the instruction of user, according to this instruction executable operations.
Described step S11 comprises: judge whether the pattern that described user selects is transfer of data and charge mode or charge mode.
Described step S12 comprises:
When for data-transmission mode, described first electronic equipment and described second electric room carry out transfer of data, and described second electronic equipment charging do not given by described first electronic equipment.
Described step S13 comprises:
When for transfer of data and charge mode time, described first electronic equipment give described second electronic equipment charging and described first electronic equipment and described second electric room carry out transfer of data;
When for charge mode, described second electronic equipment charging given by described first electronic equipment, and described first electronic equipment and described second electric room do not carry out transfer of data.
In embodiments of the invention 4, can in conjunction with the connection mode of dump energy to user's output equipment.Described method also comprises:
Read the dump energy of described second electronic equipment.
Judge whether described dump energy is less than predetermined threshold value.
If described dump energy is not less than predetermined threshold value, then export transfer of data, transfer of data also charging and charging three kinds of equipment connection patterns to user.
If described dump energy is less than predetermined threshold value, then export transfer of data and charging and charging two kinds of equipment connection patterns to user.Can understanding, in the case, for ensureing the normal use of the second electronic equipment, all comprising charge mode in the pattern that user selects.
Then the operation identical with embodiment 3 is performed according to the selection instruction of user.
Certainly, in a preferred embodiment of the invention, also can when described dump energy be not less than predetermined threshold value, export transfer of data and transfer of data and two kinds of equipment connection patterns of charging to user.
It should be noted that the executive agent of the method both can be the first electronic equipment or the second electronic equipment, also can be performed by the 3rd electronic equipment outside both.
Concrete, when the method is performed by the first electronic equipment, whether first the first electronic equipment detects has the second electronic equipment coupled.If detected, then judging whether will to described second electronic equipment charging.If not, then described second electronic equipment charging is not given.If so, described second electronic equipment charging is then given.
To be judged whether by dump energy to be charged as example to the second electronic equipment, the first electronic equipment reads the dump energy of the second electronic equipment, and judges the relation of dump energy and predetermined threshold value, generates judged result.When result shows that dump energy is less than predetermined threshold value, charge to the rechargeable battery of the second electronic equipment.When result shows that dump energy is not less than predetermined threshold value, do not charge to the rechargeable battery of the second electronic equipment.Wherein, the process reading the second electronic equipment dump energy can be send dump energy inquiry request to the second electronic equipment, then receives the dump energy result that the second electronic equipment sends.
Judging whether in the equipment connection pattern selected by user will in the embodiment of the second electronic equipment charging, and the first electronic equipment also receives the selection instruction of user to described pattern for output equipment connection mode.
When the method is performed by the second electronic equipment, first whether the second electronic equipment detect and be connected with the first electronic equipment, if detected, then judges whether to charge to described second electronic equipment.If NO, then send not charging instruction and, to the first electronic equipment, make the first electronic equipment not to the second electronic equipment self charging.If yes, then send charging instruction to the first electronic equipment, make the first electronic equipment to the second electronic equipment self charging.
To be judged whether by dump energy to be charged as example to the second electronic equipment, the second electronic equipment reads self residual electricity, and judges the relation of dump energy and predetermined threshold value, generates judged result.When result shows that dump energy is less than predetermined threshold value, send charging instruction to the first electronic equipment, make it to charge to the rechargeable battery of self.When result shows that dump energy is not less than predetermined threshold value, send not charging instruction and, to the first electronic equipment, make it not to the rechargeable battery of self charging.
Judging whether in the equipment connection pattern selected by user will in the embodiment of the second electronic equipment charging, second electronic equipment also receives the selection instruction of user to described pattern for output equipment connection mode, and according to the selection of user, charging accordingly or the instruction of not charging, carry out transfer of data or do not carry out transfer of data are sent to the first electronic equipment.
When the method is performed by the 3rd electronic equipment, first whether the 3rd electronic equipment detect the first electronic equipment and be connected with the second electronic equipment, if detected, then judging whether will to described second electronic equipment charging.If NO, then send not charging instruction and, to the first electronic equipment, make the first electronic equipment not to the second electronic equipment charging.If yes, then send charging instruction to the first electronic equipment, make the first electronic equipment to the second electronic equipment charging.
To be judged whether by dump energy to be charged as example to the second electronic equipment, the 3rd electronic equipment reads the dump energy of the second electronic equipment, and judges the relation of dump energy and predetermined threshold value, generates judged result.When result shows that dump energy is less than predetermined threshold value, send charging instruction to the first electronic equipment, make it to charge to the rechargeable battery of the second electronic equipment.When result shows that dump energy is not less than predetermined threshold value, send not charging instruction and, to the first electronic equipment, make it not charge to the rechargeable battery of the second electronic equipment.
Judging whether in the equipment connection pattern selected by user will in the embodiment of the second electronic equipment charging, 3rd electronic equipment also receives the selection instruction of user to described pattern for output equipment connection mode, and according to the selection of user, charging accordingly or the instruction of not charging, carry out transfer of data or do not carry out transfer of data are sent to the first electronic equipment.
The embodiment of the present invention 5 provides a kind of electronic equipment, and see Fig. 2, described electronic equipment comprises:
Detecting unit 11, for when detecting that described electronic equipment is connected with the second electronic equipment, sends indication information.Electronic equipment described in the present invention specifically refers to the electronic equipment with charge function, such as computer etc., when there being other electronic equipments coupled, can charge to other electronic equipments.The second described electronic equipment specifically refers to that the electronic equipment carrying rechargeable battery is as electronic equipments such as MP3 player, portable hard drive, mobile phones.
Judging unit 12, for when receiving described indication information, judges whether to described second electronic equipment charging, and to generate judged result.
Charhing unit 13, during for being no in described judged result, does not give described second electronic equipment charging, when described judged result is for being, to described second electronic equipment charging.
In the embodiment of the present invention 6, judging whether by dump energy will to the second electronic equipment charging.Wherein judging unit 12 comprises:
First reading unit, for reading the dump energy of described second electronic equipment.
First electricity judging unit, for judging whether described dump energy is less than predetermined threshold value.
The setting of threshold value can be determined according to the using state of the use habit of the power consumption of electronic equipment, user and/or the second electronic equipment rechargeable battery.Such as, for the larger electronic equipment of power consumption as the MP3 etc. for audio plays data, higher threshold value can be set, to avoid because threshold value arranges lower, make dump energy be not enough to meet normal use, as a complete audio frequency can not be play.For use electronic equipment user comparatively frequently, as same mobile phone, party A-subscriber uses comparatively party B-subscriber frequent, so just higher to the setting of party A-subscriber threshold value, to meet its use.Different rechargeable battery using states is as different in spendable number of times, for can arranging higher threshold value by more nonexpondable rechargeable battery.Certainly, also can in conjunction with above-mentioned several because of usually setting threshold.The present invention does not arrange concrete threshold value and limits.
When described dump energy is not less than predetermined threshold value, described charhing unit is used for not to described second electronic equipment charging; When described dump energy is less than predetermined threshold value, described charhing unit, for giving described second electronic equipment charging.
The object that first electronic equipment is connected with the second electronic equipment is carry out transfer of data by user sometimes, sometimes be charge, and be carry out transfer of data and charge sometimes, therefore, in embodiments of the invention 7, can in conjunction with the object of user, the equipment connection pattern selected by user is judged whether will to the second electronic equipment charging.Described electronic equipment also comprises:
Mode output unit, for exporting at least one pattern that transfer of data, transfer of data are also charged and charged in three kinds of equipment connection patterns to user.
Receiving element, for receiving the selection instruction of user to output mode.
The concrete way of output can be word, image exports, and also can be voice output.Certainly, user also can select in several ways.The present invention does not limit concrete input and selection mode.When after equipment Inspection to the instruction of user, according to instruction executable operations.
Described judging unit 12 comprises:
Mode determination, for judging whether the pattern that described user selects is transfer of data and charge mode or charge mode;
Described electronic equipment also comprises: data transmission unit;
Described data transmission unit, for when described pattern be data-transmission mode or transfer of data and charge mode time, carry out transfer of data with described second electric room; For when described pattern is charge mode, do not carry out transfer of data with described second electric room.
Described charhing unit, for be transfer of data when described pattern and charge mode or charge mode time, to described second electronic equipment charging; For when described pattern is data-transmission mode, do not give described second electronic equipment charging.
In embodiments of the invention 8, can judge whether to charge to the second electronic equipment in conjunction with the object of user and dump energy.Described electronic equipment also comprises:
Second reading unit, for reading the dump energy of described second electronic equipment.
Second electricity judging unit, for judging whether described dump energy is less than predetermined threshold value.
Mode output unit, for when described dump energy is not less than predetermined threshold value, exports transfer of data, transfer of data also charging and charging three kinds of equipment connection patterns to user.
Receiving element, for receiving the selection instruction of user to described Three models.
Described mode output unit, also for when described dump energy is less than predetermined threshold value, exports transfer of data and charging and charging two kinds of equipment connection patterns to user.Can understanding, in such cases, for ensureing the normal use of the second electronic equipment, all comprising charge mode in the pattern that user selects
Described receiving element, also for receiving the selection instruction of user to described two kinds of patterns.
Then the operation identical with embodiment 7 is performed by the mode determination of electronic equipment, data transmission unit and charhing unit.
Charhing unit in the present invention has multiple concrete connected mode.In embodiments of the invention 9, see Fig. 3, described charhing unit comprises:
Charging panel 21, control board 22, power supply 23 and field effect transistor 24.
Wherein, described charging panel 21 two ends connect power supply 23 and field effect transistor 24.Field effect transistor 24 connects the rechargeable battery 25 of the second electronic equipment.Control board 22 is connected with field effect transistor 24
When control board 22 is for exporting high level, open field effect transistor 24, power supply 23 is successively charged to rechargeable battery 25 by charging panel 21 and field effect transistor 24.
Control board 22, also for output low level, closes field effect transistor 24, thus described power supply 23 and described charging panel 21, path blockade between described field effect transistor 24 and described rechargeable battery 25.
In embodiments of the invention 10, see Fig. 4, described charhing unit comprises:
Charging panel 31, control board 32, power supply 33 and field effect transistor 34.
Wherein, field effect transistor 34 two ends connect power supply 33 and charging panel 31.Charging panel 31 connects the rechargeable battery 35 of the second electronic equipment.Control board 32 is connected with field effect transistor 34.
Described control board 32, for exporting high level, opens field effect transistor 34, thus power supply 33 is successively charged to the rechargeable battery 35 of the second electronic equipment by field effect transistor 34 and charging panel 31.
Described control board 32, also for output low level, closes field effect transistor 34, makes power supply 33 and field effect transistor 34, path blockade between charging panel 31 and rechargeable battery 35, thus charges to rechargeable battery 35.
It should be noted that the electronic equipment that above-described embodiment provides corresponds to the method that above-mentioned executive agent is the first electronic equipment.
Corresponding executive agent is the method for the second electronic equipment, and the embodiment of the present invention 11 additionally provides a kind of electronic equipment, and see Fig. 5, this electronic equipment comprises:
Whether detecting unit 41, be connected with the first electronic equipment for detecting described electronic equipment.The first electronic equipment described in the present invention specifically refers to the electronic equipment with charge function, such as computer etc., when there being other electronic equipments coupled, can charge to other electronic equipments.Described electronic equipment specifically refers to that the electronic equipment carrying rechargeable battery is as electronic equipments such as MP3 player, portable hard drive, mobile phones.
Judging unit 42, for when described electronic equipment is connected with the first electronic equipment, judges whether to described electronic equipment charging, and to generate judged result;
Instruction sending unit 43, for described judged result represent will to the charging of described electronic equipment time, send charging instruction to the first electronic equipment, to make described first electronic equipment to described electronic equipment charging.And when described judged result represents not to described electronic equipment charging, send not charging instruction to the first electronic equipment, to make described first electronic equipment not to described electronic equipment charging.
Corresponding to the method that executive agent is the 3rd electronic equipment, the embodiment of the present invention 12 additionally provides a kind of electronic equipment, and see Fig. 6, this electronic equipment comprises:
Whether detecting unit 51, be connected with the second electronic equipment for detecting the first electronic equipment.The first electronic equipment described in the present invention specifically refers to the electronic equipment with charge function, such as computer etc., when there being other electronic equipments coupled, can charge to other electronic equipments.The second described electronic equipment specifically refers to that the electronic equipment carrying rechargeable battery is as electronic equipments such as MP3 player, portable hard drive, mobile phones.
Judging unit 52, for when described first electronic equipment is connected with the second electronic equipment, judges whether to described second electronic equipment charging, and to generate judged result.
Control unit 53, for represent in described judged result will give described second electronic equipment charging time, control described first electronic equipment give described second electronic equipment charging.And when described judged result represents not to described second electronic equipment charging, control described first electronic equipment not to described second electronic equipment charging.
It should be noted that method of the present invention is corresponding with electronic equipment of the present invention, therefore no longer describe in detail electronics portion, relevant portion is see embodiment of the method.
Above a kind of charging method provided by the present invention and electronic equipment are introduced, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.

Claims (8)

1. a charging method, is characterized in that, described method comprises:
When detecting that the first electronic equipment is connected with the second electronic equipment, judging whether will to described second electronic equipment charging;
If not, then described second electronic equipment charging do not given by described first electronic equipment;
If so, then described second electronic equipment charging given by described first electronic equipment;
Wherein, the equipment connection pattern selected by user judges whether to described second electronic equipment charging, to comprise:
The connection mode of the first electronic equipment and the second electronic equipment is exported: at least one pattern in data-transmission mode, transfer of data charge mode and charge mode to user;
Judge whether the pattern that described user selects is transfer of data and charge mode or charge mode.
2. method according to claim 1, is characterized in that, described method also comprises:
Read the dump energy of described second electronic equipment;
Judge whether described dump energy is less than predetermined threshold value;
If not, then transfer of data, transfer of data also charging and charging three kinds of equipment connection patterns are exported to user;
Receive user to the selection instruction of described pattern;
Described judging whether will comprise to described second electronic equipment charging:
Judge whether the pattern that described user selects is transfer of data and charge mode or charge mode;
If not, then described first electronic equipment comprises to described second electronic equipment charging:
When for data-transmission mode, described first electronic equipment and described second electric room carry out transfer of data, and described second electronic equipment charging do not given by described first electronic equipment;
If so, then described first electronic equipment comprises to described second electronic equipment charging:
When for transfer of data and charge mode time, described first electronic equipment give described second electronic equipment charging and described first electronic equipment and described second electric room carry out transfer of data;
When for charge mode, described second electronic equipment charging given by described first electronic equipment, and described first electronic equipment and described second electric room do not carry out transfer of data.
3. method according to claim 2, is characterized in that, when described dump energy is less than predetermined threshold value, described method also comprises:
Described transfer of data is exported and charging and described charging two kinds of equipment connection patterns to user;
Receive user to the selection instruction of described pattern;
Described judging whether will comprise to described second electronic equipment charging:
Judge whether the pattern that described user selects is transfer of data and charge mode or charge mode;
If so, then described first electronic equipment comprises to described second electronic equipment charging:
When for transfer of data and charge mode time, described first electronic equipment give described second electronic equipment charging and described first electronic equipment and described second electric room carry out transfer of data;
When for charge mode, described second electronic equipment charging given by described first electronic equipment, and described first electronic equipment and described second electric room do not carry out transfer of data.
4. an electronic equipment, is characterized in that, described electronic equipment comprises:
Detecting unit, for when detecting that described electronic equipment is connected with the second electronic equipment, sends indication information;
Judging unit, for when receiving described indication information, judges whether to described second electronic equipment charging, and to generate judged result;
Charhing unit, during for being no in described judged result, does not give described second electronic equipment charging, when described judged result is for being, to described second electronic equipment charging;
Mode output unit, for exporting at least one pattern that transfer of data, transfer of data are also charged and charged in three kinds of equipment connection patterns to user;
Receiving element, for receiving the selection instruction of user to output mode;
Described judging unit comprises: mode determination, for judging whether the pattern that described user selects is transfer of data and charge mode or charge mode.
5. electronic equipment according to claim 4, is characterized in that, described electronic equipment also comprises:
Second reading unit, for reading the dump energy of described second electronic equipment;
Second electricity judging unit, for judging whether described dump energy is less than predetermined threshold value;
Mode output unit, for when described dump energy is not less than predetermined threshold value, exports transfer of data, transfer of data also charging and charging three kinds of equipment connection patterns to user;
Receiving element, for receiving the selection instruction of user to described Three models;
Described judging unit comprises:
Mode determination, for judging whether the pattern that described user selects is transfer of data and charge mode or charge mode;
Described electronic equipment also comprises: data transmission unit;
Described data transmission unit, for when described pattern be data-transmission mode or transfer of data and charge mode time, carry out transfer of data with described second electric room; For when described pattern is charge mode, do not carry out transfer of data with described second electric room;
Described charhing unit, for be transfer of data when described pattern and charge mode or charge mode time, to described second electronic equipment charging; For when described pattern is data-transmission mode, do not give described second electronic equipment charging.
6. electronic equipment according to claim 5, is characterized in that, when described dump energy is less than predetermined threshold value, described mode output unit, also for exporting transfer of data to user and charging and charging two kinds of equipment connection patterns;
Described receiving element, also for receiving the selection instruction of user to described two kinds of patterns;
Described mode determination, for judging whether the pattern that described user selects is transfer of data and charge mode or charge mode;
Described data transmission unit, for be transfer of data when described pattern and charge mode time, carry out transfer of data with described second electric room; For when described pattern is charge mode, do not carry out transfer of data with described second electric room;
Described charhing unit, for be transfer of data when described pattern and charge mode or charge mode time, to described second electronic equipment charging.
7. the electronic equipment according to any one of claim 4-6, is characterized in that, described charhing unit comprises:
Charging panel, control board, power supply and field effect transistor;
Wherein, described charging panel two ends connect described power supply and described field effect transistor;
Described field effect transistor connects the rechargeable battery of described second electronic equipment;
Described control board is connected with described field effect transistor;
Described control board, for exporting high level, opens described field effect transistor, and described power supply is successively charged to described rechargeable battery by described charging panel and described field effect transistor;
Described control board, also for output low level, closes described field effect transistor, makes described power supply and described charging panel, path blockade between described field effect transistor and described rechargeable battery.
8. the electronic equipment according to any one of claim 4-6, is characterized in that, described charhing unit comprises:
Charging panel, control board, power supply and field effect transistor;
Wherein, described field effect transistor two ends connect described power supply and described charging panel;
Described charging panel connects the rechargeable battery of described second electronic equipment;
Described control board is connected with described field effect transistor;
Described control board, for exporting high level, opens described field effect transistor, and described power supply is successively charged to described rechargeable battery by described field effect transistor and described charging panel;
Described control board, also for output low level, closes described field effect transistor, makes described power supply and described field effect transistor, path blockade between described charging panel and described rechargeable battery.
CN201210033156.0A 2012-02-14 2012-02-14 Charging method and electronic device Active CN103247832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210033156.0A CN103247832B (en) 2012-02-14 2012-02-14 Charging method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210033156.0A CN103247832B (en) 2012-02-14 2012-02-14 Charging method and electronic device

Publications (2)

Publication Number Publication Date
CN103247832A CN103247832A (en) 2013-08-14
CN103247832B true CN103247832B (en) 2015-03-25

Family

ID=48927162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210033156.0A Active CN103247832B (en) 2012-02-14 2012-02-14 Charging method and electronic device

Country Status (1)

Country Link
CN (1) CN103247832B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105811027A (en) * 2016-03-08 2016-07-27 联想(北京)有限公司 Charging method and electrode device
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
CN108235795A (en) * 2017-12-20 2018-06-29 深圳前海达闼云端智能科技有限公司 Charging method, device, terminal device and computer readable storage medium
CN111193529B (en) * 2018-11-15 2022-04-12 常州市派腾电子技术服务有限公司 Data transmission method and device
CN110191215B (en) * 2019-01-18 2021-03-02 青岛海信移动通信技术股份有限公司 Terminal and processing method
CN112821502A (en) * 2021-01-28 2021-05-18 上海闻泰信息技术有限公司 Earphone charging control method and device, mobile terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2365679A (en) * 2000-03-14 2002-02-20 Ericsson Telefon Ab L M Cost control in a mobile telecommunications system
CN101471463A (en) * 2007-12-29 2009-07-01 鸿富锦精密工业(深圳)有限公司 Electronic device and charging method thereof
CN101694889A (en) * 2009-10-20 2010-04-14 中兴通讯股份有限公司 Intelligent charging method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2365679A (en) * 2000-03-14 2002-02-20 Ericsson Telefon Ab L M Cost control in a mobile telecommunications system
CN101471463A (en) * 2007-12-29 2009-07-01 鸿富锦精密工业(深圳)有限公司 Electronic device and charging method thereof
CN101694889A (en) * 2009-10-20 2010-04-14 中兴通讯股份有限公司 Intelligent charging method and device

Also Published As

Publication number Publication date
CN103247832A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
CN103247832B (en) Charging method and electronic device
US11368039B2 (en) Battery charging method and electronic device
CN103682498B (en) A kind of charging method and electronic equipment
CN103457458B (en) Current switching control appliance and electronic equipment
CN103378378B (en) A kind of charging method and device
KR101683651B1 (en) Noise reducing apparatus and method of the wireless charging device
CN101950999A (en) Wireless charging method, wireless charging receiving device and mobile terminal
CN108132401A (en) Charge abnormal detection method, device, storage medium and mobile terminal
CN105896657B (en) A kind of method and mobile terminal of mobile terminal charging
CN103683350B (en) The charging method of electric room, charging circuit and electronic equipment
CN1996701A (en) Battery charging management system and method
CN105518967A (en) Apparatus and method to change current limit
CN103682491A (en) Charging method between electronic devices, charging circuits and electronic devices
CN108347068A (en) A kind of method and mobile terminal of charging
CN106199731A (en) A kind of detection method, device and charger
CN103151658B (en) Data connecting line, for the control method of data connecting line and device
CN106655398A (en) Charge control method and apparatus, and terminal
CN103248763A (en) Communication method and mobile terminal
CN110225167B (en) Terminal and processing method
US20150010791A1 (en) Battery pack and method for controlling charge of battery pack
CN103633692A (en) Message processing method and electronic device
CN105048018A (en) Charging method and device for terminal having on-the-go (OTG) function
CN103837835A (en) Method and device for detecting capacity decreasing degree of mobile device battery
CN109256825B (en) Charging method and electronic device
CN108683236A (en) A kind of mobile terminal OTG charging methods and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant