CN102955557A - Device and method for USB (universal serial bus) charging - Google Patents

Device and method for USB (universal serial bus) charging Download PDF

Info

Publication number
CN102955557A
CN102955557A CN2011102405780A CN201110240578A CN102955557A CN 102955557 A CN102955557 A CN 102955557A CN 2011102405780 A CN2011102405780 A CN 2011102405780A CN 201110240578 A CN201110240578 A CN 201110240578A CN 102955557 A CN102955557 A CN 102955557A
Authority
CN
China
Prior art keywords
mentioned
charging
control unit
chargeable
usb
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
CN2011102405780A
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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN2011102405780A priority Critical patent/CN102955557A/en
Publication of CN102955557A publication Critical patent/CN102955557A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

Disclosed are a device and a method for USB (universal serial bus) charging. The device comprises a USB interface, a detecting unit, a charging control unit and a power supply unit. The detecting unit is used for detecting whether an external USB device provided with class information is coupled to the USB interface or not, when the detecting unit detects that the external USB device is coupled to the USB interface, the detecting unit transmits a detecting signal. When the charging control unit is in a standby mode, the charging control unit can be switched into an operating mode according to the detecting signal so as to read the class information of the external USB device, and whether to output a chargeable signal or not is determined according to the class information. The power supply unit supplies power to the external USB device according to the chargeable signal.

Description

USB charging device and method
Technical field
The present invention is mainly a kind of general-purpose serial bus USB charging device and method, particularly a kind of USB charging device and the method that can charge under shutdown or dormant state.
Background technology
Along with USB (universal serial bus) (Universal Serial Bus or USB, below all be called for short make USB) device is day by day popularized, the charging day of USB device is aobvious important, and present many main frame devices or notebook computer etc. all have the function of USB charging.Outside main frame device or notebook computer can charge to the external USB device that has connected, when these computer systems are in shutdown or during armed state, also can set constantly USB device charging to the outside by some when open state.
These can be to the main frame device of external USB device charging or the USB interface of notebook computer supply power constantly, export constantly large electric current, because the external USB device no matter USB interface connects why, the main frame device is supply power constantly all, so the quite a lot of unnecessary power of loss, effectively managing electrical power configuration.
Summary of the invention
The object of the present invention is to provide a kind of general-purpose serial bus USB charging device and method, with effectively managing electrical power configuration, reduce unwanted electrical source consumption.
According to the described a kind of USB charging device of one embodiment of the invention, comprising: a USB interface; One detecting unit is used for detecting an external USB device and whether has been coupled to above-mentioned USB interface, exports a detection signal when detecting when said external USB device is coupled to above-mentioned USB interface, and wherein said external USB device has a classification information; One charging control unit, when above-mentioned charging control unit operates in a standby, above-mentioned charging control unit can switch to an operator scheme reading the above-mentioned classification information of said external USB device according to above-mentioned detection signal, and determines whether to export a chargeable signal according to above-mentioned classification information; And a power-supply unit, provide power supply to above-mentioned external USB device according to above-mentioned chargeable signal.
According to the described a kind of USB charging method of one embodiment of the invention, comprising: detect an external USB device and whether be coupled to a USB interface, wherein said external USB device has a classification information; When detecting said external USB device and be coupled to above-mentioned USB interface, export a detection signal; When a charging control unit operates in a standby, switch to an operator scheme according to above-mentioned detection signal, and read a classification information of said external USB device; Determine whether to export a chargeable signal according to above-mentioned classification information; And provide power supply to above-mentioned external USB device according to above-mentioned chargeable signal.
Compared with prior art, beneficial effect of the present invention is:
Outside USB interface device is being carried out in the charging process, can detect first the classification of external USB device, then determining whether export charging signals by charging control unit according to its classification, and provide power supply to the external USB device.Effectively managing electrical power configuration reduces unwanted electrical source consumption, and then reaches energy-saving effect.
Description of drawings
By reading following detailed description and cooperating appended graphic giving an example, can more completely understand the present invention, as follows:
Fig. 1 is the structured flowchart according to the described USB charging device 100 of one embodiment of the invention.
Fig. 2 is the process flow diagram of the embodiment of the method for the present invention's USB charging device 100 shown in Figure 1.
Wherein:
The 100-USB charging device; The 110-USB interface;
The 120-detecting unit; The 130-charging control unit;
The 132-internal storage location; The 140-power-supply unit;
150-external USB device; The info-classification information;
The chargeable signal of Sa-; The Sd-detection signal.
Embodiment
Below be stated as the embodiment that the present invention finishes.Its narration is in order to illustrate key concept of the present invention and without the connotation that limits.Scope of the present invention has best defining in accompanying claims.
Fig. 1 is the structured flowchart according to the described USB charging device 100 of one embodiment of the invention.Comprise usb 1 10 according to the described USB charging device 100 of one embodiment of the invention, detecting unit 120, charging control unit 130, power-supply unit 140.Detecting unit 120 is coupled to usb 1 10, and whether external USB device 150 has connected usb 1 10 to detect.Charging control unit 130, has internal storage location 132, internal storage location 132 is in order to (for example to store external USB device classification, audio frequency (audio), communication (communication), display (display), manual interface (humaninterface), storage device (mass storage), device for image (image), printing equipment (printer), supply unit (power), physical responses equipment (physicalinterface), with and corresponding charging type (for example, the charging type that with classification is in advance communication is set as " chargeable ", is that the charging type of manual interface is set as " not chargeable " with classification).In addition, though USB device classification and charging type are for example as above, yet be not restricted to this, for instance, the user still can increase voluntarily new USB device classification or the type of will charging newly and more be subdivided into size of current that charging need supply etc.Charging control unit 130 also is coupled to usb 1 10, to read the classification information info of external USB device 150, further judge its classification and charging type, for instance, charging control unit 130 can be finished by the main operating system of personal computer or notebook computer, so charging control unit 130 can have operator scheme, standby or shutdown mode.Power-supply unit 140 is in order to providing the power supply of USB charging device 100, and can come 150 chargings of external USB device according to the classification information info judged result of 130 pairs of external USB devices 150 of charging control unit.
In an embodiment of the present invention, when detecting unit 120 detects external USB device 150 and is connected to usb 1 10, then send detection signal Sd to charging control unit 130, original charging control unit 130 operates in standby or shutdown mode, then switch to operator scheme with operation this moment, in other words, detecting unit 120 can start charging control unit 130 by detection signal Sd, further to obtain the classification information info of external USB device 150, therefore can whether need 150 chargings of external USB device to differentiate by classification information info.In more detail, after charging control unit 130 switches to operator scheme, charging control unit 130 can read the classification information info of external USB device 150, and according in the internal storage location 132 in advance stored external USB device classification with and corresponding charging type judge whether to need charge to external USB device 150, when the corresponding charging type of classification of judging external USB device 150 when being chargeable, then send chargeable signal Sa to power-supply unit 140, then power-supply unit 140 charges through 10 pairs of external USB devices 150 of usb 1.Can avoid like this working as external USB device 150 in the situation that the USB charging device 100 that do not need to charge but provides the power supply of charging to external USB device 150 constantly.Do not need the device that charges such as external USB device 150 for keyboard or mouse etc., therefore can reduce unwanted electrical source consumption, and then reach energy-conservation effect.In other embodiment of the present invention, power-supply unit 140 also can see through detecting unit 120 power supply is sent to usb 1 10, external USB device 150 is charged again.
In an embodiment of the present invention, if charging control unit 130 was shutdown or standby before judging external USB device 150 charging types, then after judgement is finished, can further switch back shutdown or standby, to reduce the consumption of power, for instance, when charging control unit 130 judges that the corresponding charging type of classification of external USB device 150 is chargeable, then send chargeable signal Sa to power-supply unit 140, then 130 of charging control unit are shut down once again or are entered standby, and the corresponding charging type of classification of judging external USB devices 150 when charging control unit 130 is not when chargeable, then directly shuts down or enters standby.In addition, in some embodiments of the invention, charging control unit 130 is finished by the main operating system of personal computer or notebook computer, because these operating systems generally not only have the external USB of judgement device 150, more comprise other function, therefore start these operating system, still may expend time in or power, therefore in certain embodiments, but the function of actuating section operating system is finished the operation of charging control unit 130 of the present invention, and do not need operating system is started fully, reduce needed time of classification or the power consumption of judging external USB device 150 with this.
Fig. 2 is the process flow diagram of the embodiment of the method for the USB charging device 100 shown in Figure 1 according to the present invention.In step S202, detecting unit 120 continues to detect usb 1 10 and whether is couple to external USB device 150, when external USB device 150 is not connected to usb 1 10, then maintaining step S202 continues to detect, until detecting unit 120 detects external USB device 150 when being coupled to usb 1 10, then then enter step S204, detecting unit 120 output detection signal Sd to charging control unit 130 to start charging control unit 130, and charging control unit 130 originally operated in standby or shutdown mode, and then switch to operator scheme by the triggering of detection signal Sd with operation this moment.Then in step S206, charging control unit 130 reads the classification information info of external USB device 150, and in step S208, according to external USB device classification stored in the internal storage location 132 with and corresponding charging type judge whether to need to charge to external USB device 150, when the corresponding charging type of classification of judging external USB device 150 when being chargeable, then then enter step S210A, otherwise when the corresponding charging type of classification of judging external USB device 150 when not chargeable, then then enter step S210B.
In step S210A, charging control unit 130 sends chargeable signal Sa to power-supply unit 140, immediately in step S212A, charging control unit 130 switch to await orders or shutdown mode to save electrical source consumption, then in step S214A, power-supply unit 140 sees through 10 pairs of external USB devices 150 of usb 1 and charges.The step order that should be noted step S212A and step S214A is also commutative.
When the corresponding charging type of classification of judging external USB device 150 for after not chargeable, then enter among the step S210B, charging control unit 130 directly switch to await orders or shutdown mode with the saving electrical source consumption.
Should be appreciated that in addition, though in above-described embodiment when detecting external USB device 150 and be coupled to usb 1 10, charging control unit 130 is switched to operator scheme by standby, yet in certain embodiments, if charging control unit 130 originally under operator scheme, then can skip over step S204 and directly continue step S206 to read the classification information info of external USB device 150.Equally, if original charging control unit 130 under operator scheme, can not need standby is closed or be made as to charging control unit 130, also can select to omit step S212A and step S210B.
Though the present invention has narrated preferred embodiment as above, should be appreciated that above-mentioned the exposure is not to limit the embodiment of the invention.On the contrary, it contains multiple variation and similar configuration (knowing this operator can obviously learn).In addition, should do the deciphering of broad sense to comprise all above-mentioned variations and similar configuration according to accompanying claims.

Claims (10)

1. USB charging device comprises:
One USB interface;
One detecting unit is used for detecting an external USB device and whether has been coupled to above-mentioned USB interface, exports a detection signal when detecting when said external USB device is coupled to above-mentioned USB interface, and wherein said external USB device has a classification information;
One charging control unit, when above-mentioned charging control unit operates in a standby, above-mentioned charging control unit can switch to an operator scheme reading the above-mentioned classification information of said external USB device according to above-mentioned detection signal, and determines whether to export a chargeable signal according to above-mentioned classification information; And
One power-supply unit provides power supply to above-mentioned external USB device according to above-mentioned chargeable signal.
2. USB charging device as claimed in claim 1, it is characterized in that, when above-mentioned charging control unit determines the above-mentioned chargeable signal of output, then behind the above-mentioned chargeable signal of output, enter above-mentioned standby, and do not export chargeable signal when above-mentioned charging control unit decision, then directly enter above-mentioned standby.
3. USB charging device as claimed in claim 1 is characterized in that, also comprises an internal storage location, is used for storing a plurality of external USB device classifications and corresponding charging type, and wherein above-mentioned charging type is divided into chargeable and not chargeable.
4. USB charging device as claimed in claim 3 is characterized in that, whether above-mentioned charging control unit charges to said external USB device according to above-mentioned classification information corresponding said external USB device classification and corresponding charging type decided.
5. USB charging device as claimed in claim 4 is characterized in that, when the corresponding above-mentioned charging type of the above-mentioned classification information of said external USB device is chargeable, then above-mentioned charging control unit transmits above-mentioned chargeable signal to above-mentioned power-supply unit.
6. USB charging method comprises:
Detect an external USB device and whether be coupled to a USB interface, wherein said external USB device has a classification information;
When detecting said external USB device and be coupled to above-mentioned USB interface, export a detection signal;
When a charging control unit operates in a standby, switch to an operator scheme according to above-mentioned detection signal, and read a classification information of said external USB device;
Determine whether to export a chargeable signal according to above-mentioned classification information; And
Provide power supply to above-mentioned external USB device according to above-mentioned chargeable signal.
7. USB charging method as claimed in claim 6 is characterized in that, also comprises:
When above-mentioned charging control unit determines the above-mentioned chargeable signal of output, then behind the above-mentioned chargeable signal of output, above-mentioned charging control unit is switched to above-mentioned standby, when above-mentioned charging control unit determines not export chargeable signal, then above-mentioned charging control unit is directly switch into above-mentioned standby.
8. USB charging method as claimed in claim 6 is characterized in that, also comprises:
Store a plurality of external USB device classifications and corresponding charging type, wherein above-mentioned charging type is divided into chargeable and not chargeable.
9. USB charging method as claimed in claim 8 is characterized in that, also comprises:
Whether said external USB device is charged according to above-mentioned classification information corresponding said external USB device classification and corresponding above-mentioned charging type decided.
10. USB charging method as claimed in claim 9 is characterized in that, when the corresponding charging type of above-mentioned classification information of said external U SB device is chargeable, then above-mentioned charging control unit transmits above-mentioned chargeable signal to above-mentioned power-supply unit.
CN2011102405780A 2011-08-19 2011-08-19 Device and method for USB (universal serial bus) charging Pending CN102955557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102405780A CN102955557A (en) 2011-08-19 2011-08-19 Device and method for USB (universal serial bus) charging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102405780A CN102955557A (en) 2011-08-19 2011-08-19 Device and method for USB (universal serial bus) charging

Publications (1)

Publication Number Publication Date
CN102955557A true CN102955557A (en) 2013-03-06

Family

ID=47764441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102405780A Pending CN102955557A (en) 2011-08-19 2011-08-19 Device and method for USB (universal serial bus) charging

Country Status (1)

Country Link
CN (1) CN102955557A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063014A (en) * 2013-03-22 2014-09-24 纬创资通股份有限公司 Portable computer equipment
CN104102317A (en) * 2013-04-08 2014-10-15 宏碁股份有限公司 USB (Universal Serial Bus) charging device and managing method
CN104375612A (en) * 2013-08-12 2015-02-25 联想(北京)有限公司 Electronic equipment
CN105183679A (en) * 2015-09-01 2015-12-23 联想(北京)有限公司 Electronic device and information processing method
CN105302750A (en) * 2015-09-30 2016-02-03 联想(北京)有限公司 Interface function configuration method and electronic equipment
CN105786145A (en) * 2016-02-25 2016-07-20 联想(北京)有限公司 Method for controlling electronic equipment and electronic equipment
CN106292989A (en) * 2015-06-01 2017-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101663634A (en) * 2007-03-29 2010-03-03 诺基亚公司 Connection to a USB device
CN101674366A (en) * 2009-09-19 2010-03-17 惠州Tcl移动通信有限公司 Mobile terminal USB, or charger inserting identification method and identification device thereof
US20100306565A1 (en) * 2009-05-26 2010-12-02 Kabushiki Kaisha Toshiba Information processor and power supply method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101663634A (en) * 2007-03-29 2010-03-03 诺基亚公司 Connection to a USB device
US20100306565A1 (en) * 2009-05-26 2010-12-02 Kabushiki Kaisha Toshiba Information processor and power supply method
CN101674366A (en) * 2009-09-19 2010-03-17 惠州Tcl移动通信有限公司 Mobile terminal USB, or charger inserting identification method and identification device thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063014A (en) * 2013-03-22 2014-09-24 纬创资通股份有限公司 Portable computer equipment
CN104102317A (en) * 2013-04-08 2014-10-15 宏碁股份有限公司 USB (Universal Serial Bus) charging device and managing method
CN104102317B (en) * 2013-04-08 2017-03-08 宏碁股份有限公司 USB charging device and management method
CN104375612A (en) * 2013-08-12 2015-02-25 联想(北京)有限公司 Electronic equipment
CN106292989A (en) * 2015-06-01 2017-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105183679A (en) * 2015-09-01 2015-12-23 联想(北京)有限公司 Electronic device and information processing method
CN105183679B (en) * 2015-09-01 2019-03-29 联想(北京)有限公司 A kind of electronic equipment and information processing method
CN105302750A (en) * 2015-09-30 2016-02-03 联想(北京)有限公司 Interface function configuration method and electronic equipment
CN105786145A (en) * 2016-02-25 2016-07-20 联想(北京)有限公司 Method for controlling electronic equipment and electronic equipment

Similar Documents

Publication Publication Date Title
CN102955557A (en) Device and method for USB (universal serial bus) charging
TWI585591B (en) Apparatus for coupling usb device to usb host and method thereof
US8358103B2 (en) Automatic coupling of an alternating current power source and an inductive power apparatus to charge a target device battery
US8232775B2 (en) Limitation of vampiric power consumption with decoupling of an inductive power apparatus and an alternating current power source
CN101570087B (en) Information processing apparatus and method for controlling information processing apparatus
CN101304568B (en) Apparatus and method for charging mobile terminal
CN105375549A (en) Method and system for controlling a state of a battery, and battery
CN102236405A (en) Information equipment capable of reducing standby power and power control method
CN108123509B (en) Charging control method and related device thereof
CN101431241A (en) Method and apparatus for charging dual-core mobile phone in power-off state and processing power-on problem caused by charging
CN109660000A (en) A kind of more battery control methods, system and device
CN103633671A (en) Charging device for charging multiple batteries and bidirectional charging method
CN103904769A (en) System and method for controlling standby battery
CN106340780A (en) Terminal device and control method thereof
CN104979892A (en) System and method for preventing OPS abnormal power failure of OPS-TV all-in-one machine
CN106292989A (en) A kind of information processing method and electronic equipment
CN103915864B (en) Electronic device with power supply control function
CN106921192A (en) Terminal and electricity sharing method
CN107104478A (en) A kind of information processing method and electronic equipment
WO2024061191A1 (en) Electronic device
CN109256825B (en) Charging method and electronic device
CN106502558A (en) Terminal device and its method of operating and operation device
CN102929752A (en) Method for detecting memory information of server before start-up
CN104252219B (en) Power supply circuit and method of supplying power to
CN104283289A (en) Bluetooth charging device and charging control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C05 Deemed withdrawal (patent law before 1993)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130306