CN105490319B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105490319B CN105490319B CN201410484281.2A CN201410484281A CN105490319B CN 105490319 B CN105490319 B CN 105490319B CN 201410484281 A CN201410484281 A CN 201410484281A CN 105490319 B CN105490319 B CN 105490319B
- Authority
- CN
- China
- Prior art keywords
- power supply
- usb interface
- group
- electronic equipment
- 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.)
- Active
Links
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Power Sources (AREA)
Abstract
A kind of information processing method of present invention offer and electronic equipment, the method are applied in electronic equipment, and there is the electronic equipment battery and USB interface, the battery to include at least first group of power supply and second group of power supply, the method includes:It detects and whether is connected with charging equipment on the USB interface;When being connected with the charging equipment on the USB interface, controls second group of power supply and be in an open state by closed state switching.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of information processing methods and electronic equipment.
Background technology
With the development of electronic technology, more and more electronic equipments appear in the work and life of people, such as:Pen
Remember this computer, tablet computer, smart mobile phone etc..Since electric energy is the necessary condition for ensureing electronic equipment operating, so electronics is set
Standby usually to have battery and AC power source adapter, when AC power source adapter connects alternating current, electronic equipment is by adapter
Power supply, when AC power source adapter is not connected with alternating current, electronic equipment is battery powered.
In the case where electronic equipment is battery powered, in order to pass through USB (English:Universal Serial Bus;In
Text:Universal serial bus) for interface to charging equipment charging, electronic equipment needs to open one group of battery for being filled to charging equipment
The power supply of electricity, is then filled with charging equipment by the electric energy in this group of power supply.
The technical problems existing in the prior art are:Electronic equipment is under sleep operation mode or under shutdown mode
The power consumption of charging equipment charging on USB interface is larger.
Invention content
A kind of information processing method of offer of the embodiment of the present invention and electronic equipment, solve electronic equipment in the prior art and exist
Under sleep operation mode or under shutdown mode, it is the larger technical problem of the power consumption of the charging equipment charging on USB interface, subtracts
Small electronic equipment is the power consumption of the charging equipment charging on USB interface under sleep operation mode or under shutdown mode.
In a first aspect, an embodiment of the present invention provides a kind of information processing method, it is applied in electronic equipment, the electronics
There is equipment battery and USB interface, the battery to include at least first group of power supply and second group of power supply, the method includes:
It detects and whether is connected with charging equipment on the USB interface;
When being connected with the charging equipment on the USB interface, second group of power supply is controlled by the closed state
Switching is in an open state.
Optionally, before whether being connected with charging equipment on detecting the USB interface, the method further includes:
The electronic equipment is detected whether by first group of power supply power supply;
When the electronic equipment is by first group of power supply power supply, controls second group of power supply and be closed.
Optionally, it detects and whether is connected with charging equipment on the USB interface, specially:
Detect whether the present current value on the USB interface is more than predetermined current threshold.
Optionally, it detects and whether is connected with charging equipment on the USB interface, specially:
It detects the present current value on the USB interface and whether is more than the duration of predetermined current threshold more than pre- timing
Between.
Optionally, when being connected with the charging equipment on the USB interface, second group of power supply is controlled by the pass
Closed state switching is in an open state, specially:
When being connected with the charging equipment on the USB interface, sent to the embedded controller of the electronic equipment
First signal;
After the embedded controller receives first signal, second group of power supply is controlled by the closed state
Switching is in an open state.
Optionally, after controlling second group of power supply and being in an open state by closed state switching, the method
Further include:
Detect whether the present current value on the USB interface is less than the predetermined current threshold;
When the present current value on the USB interface is less than the predetermined current threshold, to the embedding of the electronic equipment
Enter formula controller and sends second signal;
After the embedded controller receives the second signal, second group of power supply is controlled by the opening state
Switching is in off state.
On the other hand, an embodiment of the present invention provides a kind of electronic equipment, there is the electronic equipment battery and USB to connect
Mouthful, the battery includes at least first group of power supply and second group of power supply, the electronic equipment further include:
Whether USB charging chips are connected with charging equipment for detecting on the USB interface;
Embedded controller is connect with the USB charging chips, and the USB is detected for working as the USB charging chips
When being connected with the charging equipment on interface, controls second group of power supply and be in an open state by closed state switching.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
In the embodiment of the present invention, when electronic equipment by the battery of itself first group of power supply power supply and the battery of itself
When two groups of power supplys are closed, detect whether be connected with charging equipment on the USB interface of electronic equipment, when on USB interface
When being connected with charging equipment, second group of power supply of control is in an open state by closed state switching.Therefore, in the embodiment of the present invention,
Only when being connected with charging equipment on detecting USB interface, second group of power supply of the battery of electronic equipment is just opened, compared to existing
Second group of power supply of battery technical solution in the open state, technical side provided in an embodiment of the present invention are remained in technology
Case reduces electronic equipment under sleep operation mode or under shutdown mode, is the work(of the charging equipment charging on USB interface
Consumption, extends the usage time of the battery of electronic equipment.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of information processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of another flow chart of information processing method provided in an embodiment of the present invention;
Fig. 3 is the module map of a kind of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The every other embodiment that member is obtained without making creative work, shall fall within the protection scope of the present invention.?
In the case of not conflicting, the feature in embodiment and embodiment in the present invention mutually can be combined arbitrarily.In the flow of attached drawing
The step of illustrating can execute in the computer system of such as a group of computer-executable instructions.Although also, in flow
Logical order is shown in figure, but in some cases, it can be shown or described to be executed different from sequence herein
Step.
A kind of information processing method of offer of the embodiment of the present invention and electronic equipment, solve electronic equipment in the prior art and exist
Under sleep operation mode or under shutdown mode, it is the larger technical problem of the power consumption of the charging equipment charging on USB interface, subtracts
Small electronic equipment is the power consumption of the charging equipment charging on USB interface under sleep operation mode or under shutdown mode.
Technical solution in the embodiment of the present invention is applied in order to solve the above technical problems, provide a kind of information processing method
In electronic equipment, there is electronic equipment battery and USB interface, battery to include at least first group of power supply and second group of power supply, side
Method includes:It detects and whether is connected with charging equipment on the USB interface;When being connected with the charging equipment on the USB interface
When, it controls second group of power supply and is in an open state by closed state switching.Therefore, it in the embodiment of the present invention, is only detecing
Measure when being connected with charging equipment on USB interface, just open second group of power supply of the battery of electronic equipment, compared with prior art in
Remain that second group of power supply of battery technical solution in the open state, technical solution provided in an embodiment of the present invention reduce
Electronic equipment is the power consumption of the charging equipment charging on USB interface, extends under sleep operation mode or under shutdown mode
The usage time of the battery of electronic equipment.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper
Technical solution is stated to be described in detail.It should be understood that the specific features in the present invention and embodiment are to the technology of the present invention side
The detailed description of case, rather than limitation of the invention, in the absence of conflict, in the embodiment of the present invention and embodiment
Technical characteristic can be combined with each other.
The terms "and/or", only a kind of incidence relation of description affiliated partner, indicates that there may be three kinds of passes
System, for example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein
Middle character "/", it is a kind of relationship of "or" to typically represent forward-backward correlation object.
The embodiment of the present invention provides a kind of information processing method, is applied in electronic equipment, electronic equipment have battery and
USB (English:Universal Serial Bus;Chinese:Universal serial bus) interface.Wherein, the effect of USB interface is:It carries
The interface that electronic device is connect with charging equipment.Battery includes at least first group of power supply and second group of power supply, first group of power supply
Effect be for power electronic equipment, the effect of second group of power supply is for the charging equipment charging on USB interface.It is implementing
In the process, electronic equipment can be:Laptop, tablet computer etc., charging equipment can be:Smart mobile phone, tablet computer
Deng.It is merely illustrative of herein, those skilled in the art can voluntarily select electronic equipment and charging equipment as needed.
Referring to FIG. 1, Fig. 1 is a kind of flow chart of information processing method provided in an embodiment of the present invention, the method packet
It includes:
Step 1:It detects and whether is connected with charging equipment on the USB interface;
Step 2:When being connected with the charging equipment on the USB interface, second group of power supply is controlled by the pass
Closed state switching is in an open state.
When connecting alternating current due to the AC power source adapter of electronic equipment, electronic equipment is powered by adapter, at this point, such as
Charging equipment is connected on fruit USB interface, can be charged for charging equipment by adapter.Battery need not be used at this time, be more not required to
To use second group of power supply of battery.
And when AC power source adapter is not connected with alternating current, electronic equipment is battery powered, specifically, by the of battery
One group of power supply power supply needs by second group of power supply of battery to be charging equipment at this point, if connecting charging equipment on USB interface
Charging.So in the case that information processing method provided in an embodiment of the present invention is battery powered applied to electronic equipment.
So also to execute following steps before executing step 1:
The electronic equipment is detected whether by first group of power supply power supply;
When the electronic equipment is by first group of power supply power supply, controls second group of power supply and be closed.
Specifically, whether the electricity for detecting the battery of electronic equipment is reduced, if the electricity of battery is reduced, illustrates electricity
Sub- equipment illustrates that electronic equipment is fitted by AC power by first group of power supply power supply of battery if the electricity of battery is not reduced
Orchestration is powered.
In the prior art, when electronic equipment is by first group of power supply power supply, no matter whether connect on the USB interface of electronic equipment
It is connected to charging equipment, second group of power supply is all kept to be in an open state, causes the power consumption of electronic equipment to increase, the usage time of battery
It shortens.So in the embodiment of the present application, when detecting electronic equipment by first group of power supply power supply, second group of electricity is controlled first
Source is closed, and then executes step 1 again, detects whether be connected with charging equipment on USB interface.
That is, only the case where electronic equipment is closed by first group of power supply power supply and second group of power supply
Under, step 1 is just executed, in the embodiment of the present invention, step 1 specifically there are following two realization methods:
The first realization method:Detect whether the present current value on the USB interface is more than predetermined current threshold.
Second of realization method:Detect present current value on the USB interface be more than predetermined current threshold it is lasting when
Between whether be more than the predetermined time.
Specifically, the USB interface of electronic equipment is usually not connected with charging equipment, and the current value on USB interface is solid
Fixed.When the USB interface of electronic equipment connects charging equipment, the current value on USB interface can become larger, and be more than predetermined current threshold
Value, predetermined current threshold can be set by electronic equipment or user, and the current value on USB interface is more than predetermined current threshold,
Then confirm and is connected with charging equipment on USB interface.
In order to improve the accuracy of detecting, current value that can also be on detecting USB interface is more than predetermined current threshold
When, start the timer of electronic equipment, records the duration that the current value on USB interface is more than predetermined current threshold, then
The duration of record is compared with the predetermined time, the predetermined time can be set by electronic equipment or user, only be recorded
Duration be more than the predetermined time, just confirmation USB interface on be connected with charging equipment.
By taking electronic equipment is laptop as an example, the battery of laptop is at least divided into two groups of power supplys:First group of electricity
Source is:+ 5V LDO or+3V LDO, second group of power supply are:+5V VR.+ 5V LDO or+3V LDO are used to laptop
Power supply itself, electronic equipment that the needs that+5V VR are used to connect on the USB interface of laptop charge (such as:
Smart mobile phone, tablet computer) power supply.Under normal conditions, such as:Laptop is under sleep operation mode or shutdown mode
Under, it is powered for laptop by+5V LDO or+3V LDO, specifically, for the embedded controller (English of laptop:
Embedded Controller;Referred to as:EC it) powers, and+5V VR are closed.
The USB charging chips (USB charge IC) of laptop have load detecting (load detection) work(
Can, can detect whether be connected with charging equipment on the USB interface of laptop.The USB interface of laptop is usually not
Charging equipment is connected, the current value on USB interface is up to 55mA.If being connected with charging equipment on USB interface, USB chargings
It can be more than 55mA that chip, which can detect the current value on USB interface, then confirms USB charging chips to detect on USB interface and connect
There is charging equipment.
In order to improve the accuracy of detecting, can also detect the current value on USB interface in USB charging chips is more than
When 55mA, start the timer of laptop, record the duration that the current value on USB interface is more than 55mA, then will
The duration of record is compared with the predetermined time, it is assumed that laptop or user set the predetermined time as 5 seconds, only
Current value on USB interface is more than to be more than the duration of 55mA 5 seconds, just confirms that USB charging chips detect and connects on USB interface
It is connected to charging equipment.
1 is being executed the step, is detecting and whether is connected with after charging equipment on USB interface, step 2 can be executed.
Specifically, when being connected with charging equipment on USB interface, second group of power supply for controlling battery is cut by closed state
It is changed to opening state.
In the embodiment of the present invention, step 2 is specially:
When being connected with the charging equipment on the USB interface, sent to the embedded controller of the electronic equipment
First signal;After the embedded controller receives first signal, second group of power supply is controlled by the closing shape
State switching is in an open state.
By taking electronic equipment is laptop as an example, when the current value on USB interface is more than on 55mA or USB interface
Current value is more than that when being more than 5 seconds the duration of 55mA, the GPIO of high level is sent to the embedded controller of laptop
(English:General Purpose Input Output;Chinese:Universal input exports) signal, embeded processor receives height
After the GPIO signals of level, control+5V VR are in an open state by closed state switching, after+5V VR are opened, it will be able to pass through
USB interface is the electronic equipment charging for needing to charge.
Referring to FIG. 2, Fig. 2 is another flow chart of information processing method provided in an embodiment of the present invention.Fig. 2 includes step
1-2 and step 3-5.In the embodiment of the present invention, the second group of power supply of the control in 2 is being executed the step by the closed state
After switching is in an open state, step 3-5 can also be performed:
Step 3:Detect whether the present current value on the USB interface is less than the predetermined current threshold;
Step 4:When the present current value on the USB interface is less than the predetermined current threshold, set to the electronics
Standby embedded controller sends second signal;
Step 5:After the embedded controller receives the second signal, controls second group of power supply and beaten by described
Open state switching is in off state.
Specifically, it is in an open state by closed state switching in second group of power supply, second group of power supply is by USB interface
After charging equipment charging, if the battery of charging equipment is full of or charging equipment is pulled out from USB interface, need again
Second group of power supply of secondary closing.
By taking electronic equipment is laptop as an example, after+5V VR are opened ,+5V VR are to need to charge by USB interface
During equipment charge, it is also necessary to the current value on USB interface is detected using USB charging chips, when USB charging chips are detectd
When measuring current value on USB interface and being less than 55mA, show that the battery of charging equipment is filled or charging equipment is from USB interface
On be pulled out, send low level GPIO signals to the embedded controller of laptop, embeded processor receives low electricity
After flat GPIO signals, control+5V VR are in off state by open state switching.
Using method provided in an embodiment of the present invention, only when being connected with charging equipment on USB interface, ability opening+5V
VR, so, the lower power consumption that laptop is charged using USB interface for charging equipment is to 5mW hereinafter, and pen in the prior art
Remember this computer using the power consumption that USB interface is charging equipment charging between 11mW to 20mW, it is clear that the embodiment of the present invention provides
Method reduce the power consumption of laptop.
Assuming that the battery of laptop is 48Wh, the power consumption of laptop is 20mW in the prior art, then battery
A length of 2400h when use, and method provided in an embodiment of the present invention is taken, the usage time of battery is 9600h, it is clear that this hair
The method that bright embodiment provides extends the usage time of laptop.
Based on same inventive concept, the embodiment of the present invention also provides a kind of electronic equipment, referring to FIG. 3, Fig. 3 is the present invention
The module map for a kind of electronic equipment that embodiment provides.There is electronic equipment 20 USB interface 22, charging equipment 30 to have interface
31, charging equipment 30 is connected to the USB interface 22 of electronic equipment 20 through interface 31 by USB data line.
Electronic equipment 20 also has battery 21, USB charging chips 23 and embedded controller 24.Wherein, USB interface 22 with
USB charging chips 23 connect, and battery 21 is connected with USB charging chips 23, and USB charging chips 23 are connected with embedded controller,
Battery 21 includes at least first group of power supply 211 and second group of power supply 212.
Wherein, USB interface 22 is used for:The interface that electronic equipment 20 is connect with charging equipment 30 is provided.First group of power supply 211
For:It powers for electronic equipment 20.Second group of power supply 212 is used for:It charges for the charging equipment 30 on USB interface 22.USB charges
Chip 23 is used for:It whether is connected with charging equipment 30 on detecting USB interface 22.Embedded controller 24 is used for:When USB charging cores
Piece 23 detects when being connected with charging equipment 30 on USB interface 22, and second group of power supply 212 of control is switched to opening by closed state
State.
Optionally, the USB charging chips 23 are specifically used for:
The electronic equipment is detected whether by first group of power supply power supply;When the electronic equipment is by described first group electricity
When source powers, controls second group of power supply and be closed.
Optionally, the USB charging chips 23 are specifically used for:
Detect whether the present current value on the USB interface is more than predetermined current threshold.
Optionally, the USB charging chips 23 are specifically used for:
It detects the present current value on the USB interface and whether is more than the duration of predetermined current threshold more than pre- timing
Between.
Optionally, the USB charging chips 23 are specifically used for:
When being connected with the charging equipment on the USB interface, sent to the embedded controller of the electronic equipment
First signal;The embedded controller 24 is used for:After receiving first signal, second group of power supply is controlled by described
Closed state switching is in an open state.
Optionally, the USB charging chips 23 are additionally operable to:
After second group of power supply described in the embedded controller controls is in an open state by closed state switching,
Detect whether the present current value on the USB interface is less than the predetermined current threshold;When the USB charging chips detect
When current value on the USB interface is less than the predetermined current threshold, the USB charging chips are to first electronic equipment
Embedded controller send second signal;The embedded controller 24 is used for:After receiving the second signal, institute is controlled
Second group of power supply is stated to be in off state by opening state switching.
The one or more technical solutions provided in foregoing invention embodiment, have at least the following technical effects or advantages:
In the embodiment of the present invention, when electronic equipment by the battery of itself first group of power supply power supply and the battery of itself
When two groups of power supplys are closed, detect whether be connected with charging equipment on the USB interface of electronic equipment, when on USB interface
When being connected with charging equipment, second group of power supply of control is in an open state by closed state switching.Therefore, in the embodiment of the present invention,
Only when being connected with charging equipment on detecting USB interface, second group of power supply of the battery of electronic equipment is just opened, compared to existing
Second group of power supply of battery technical solution in the open state, technical side provided in an embodiment of the present invention are remained in technology
Case reduces electronic equipment under sleep operation mode or under shutdown mode, is the work(of the charging equipment charging on USB interface
Consumption, extends the usage time of the battery of electronic equipment.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Specifically, a kind of information processing method in the embodiment of the present application is applied in electronic equipment, and the electronics is set
It is standby that there is battery and USB interface, the battery to include at least first group of power supply and second group of power supply, the corresponding calculating of the method
Machine program instruction can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when in storage medium with a kind of information processing
The corresponding computer program instructions of method are read or are performed by an electronic equipment, include the following steps:
It detects and whether is connected with charging equipment on the USB interface;
When being connected with the charging equipment on the USB interface, second group of power supply is controlled by the closed state
Switching is in an open state.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly:It detects and whether is connected with charging equipment on the USB interface, corresponding computer instruction, which is performed before, to be performed, in quilt
Include the following steps when execution:
The electronic equipment is detected whether by first group of power supply power supply;
When the electronic equipment is by first group of power supply power supply, controls second group of power supply and be closed.
Optionally, stored in the storage medium and step:It detects and whether is connected with charging on the USB interface and sets
Standby, corresponding computer instruction specifically comprises the following steps during specific be performed:
Detect whether the present current value on the USB interface is more than predetermined current threshold.
Optionally, stored in the storage medium and step:It detects and whether is connected with charging on the USB interface and sets
Standby, corresponding computer instruction specifically comprises the following steps during specific be performed:
It detects the present current value on the USB interface and whether is more than the duration of predetermined current threshold more than pre- timing
Between.
Optionally, stored in the storage medium and step:When being connected with the charging equipment on the USB interface
When, it controls second group of power supply and is in an open state by closed state switching, corresponding computer instruction is held specifically
During row, specifically comprise the following steps:
When being connected with the charging equipment on the USB interface, sent to the embedded controller of the electronic equipment
First signal;
After the embedded controller receives first signal, second group of power supply is controlled by the closed state
Switching is in an open state.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly:It controls second group of power supply to be in an open state by closed state switching, after corresponding computer instruction is performed
It is performed, includes the following steps when executed:
Detect whether the present current value on the USB interface is less than the predetermined current threshold;
When the present current value on the USB interface is less than the predetermined current threshold, to the embedding of the electronic equipment
Enter formula controller and sends second signal;
After the embedded controller receives the second signal, second group of power supply is controlled by the opening state
Switching is in off state.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (9)
1. a kind of information processing method is applied in electronic equipment, the electronic equipment has battery and USB interface, the electricity
Pond includes at least first group of power supply and second group of power supply, the method includes:
The electronic equipment is detected whether by first group of power supply power supply;
When the electronic equipment is by first group of power supply power supply, controls second group of power supply and be closed;
It detects and whether is connected with charging equipment on the USB interface;
When being connected with the charging equipment on the USB interface, control second group of power supply is switched to by closed state to be beaten
Open state.
2. the method as described in claim 1, which is characterized in that detect whether be connected with charging equipment on the USB interface, have
Body is:
Detect whether the present current value on the USB interface is more than predetermined current threshold.
3. the method as described in claim 1, which is characterized in that detect whether be connected with charging equipment on the USB interface, have
Body is:
It detects the present current value on the USB interface and whether is more than the duration of predetermined current threshold more than the predetermined time.
4. method as claimed in claim 2 or claim 3, which is characterized in that when being connected with the charging equipment on the USB interface
When, it controls second group of power supply and is in an open state by closed state switching, specially:
When being connected with the charging equipment on the USB interface, first is sent to the embedded controller of the electronic equipment
Signal;
After the embedded controller receives first signal, controls second group of power supply and switched by the closed state
It is in an open state.
5. method as claimed in claim 4, which is characterized in that switched by the closed state controlling second group of power supply
After being in an open state, the method further includes:
Detect whether the present current value on the USB interface is less than the predetermined current threshold;
When the present current value on the USB interface is less than the predetermined current threshold, to the embedded of the electronic equipment
Controller sends second signal;
After the embedded controller receives the second signal, controls second group of power supply and switched by the opening state
It is in off state.
6. a kind of electronic equipment, the electronic equipment has battery and a USB interface, the battery include at least first group of power supply and
Second group of power supply, which is characterized in that the electronic equipment further includes:
USB charging chips are connect with the USB interface and the battery, and the USB charging chips connect for detecting the USB
Whether it is connected with charging equipment on mouth;
Embedded controller is connect with the USB charging chips, and the USB interface is detected for working as the USB charging chips
On when being connected with the charging equipment, control second group of power supply and be in an open state by closed state switching;
Whether the USB charging chips are additionally operable to detect the electronic equipment by first group of power supply power supply;
The embedded controller is additionally operable to when the electronic equipment is by first group of power supply power supply, control described second
Group power supply is closed.
7. electronic equipment as claimed in claim 6, which is characterized in that the USB charging chips are connect with the USB interface,
For detecting the present current value on the USB interface whether more than predetermined current threshold, or for detecting the USB interface
Present current value be more than predetermined current threshold duration whether be more than the predetermined time.
8. electronic equipment as claimed in claim 7, which is characterized in that the USB charging chips are specifically used for:As the USB
Present current value on interface is more than the predetermined current threshold or when the present current value on the USB interface is more than default electricity
When flowing the duration of threshold value more than the predetermined time, the first signal is sent to the embedded controller;It is described embedded
Controller is used for:After receiving first signal, controls second group of power supply and open shape is switched to by the closed state
State.
9. electronic equipment as claimed in claim 8, which is characterized in that the USB charging chips are additionally operable to:
After second group of power supply described in the embedded controller controls is in an open state by closed state switching, detecting
Whether the present current value on the USB interface is less than the predetermined current threshold;Described in being detected when the USB charging chips
When current value on USB interface is less than the predetermined current threshold, the USB charging chips are sent to the embedded controller
Second signal;The embedded controller is used for:After receiving the second signal, controls second group of power supply and beaten by described
Open state switching is in off state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410484281.2A CN105490319B (en) | 2014-09-19 | 2014-09-19 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410484281.2A CN105490319B (en) | 2014-09-19 | 2014-09-19 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105490319A CN105490319A (en) | 2016-04-13 |
CN105490319B true CN105490319B (en) | 2018-11-09 |
Family
ID=55677134
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410484281.2A Active CN105490319B (en) | 2014-09-19 | 2014-09-19 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105490319B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107666174A (en) * | 2016-07-28 | 2018-02-06 | 大唐终端技术有限公司 | A kind of double cell control system and method |
CN109710051B (en) * | 2018-12-27 | 2021-01-15 | 联想(北京)有限公司 | Processing method and electronic equipment |
CN116054309B (en) * | 2022-08-02 | 2023-12-19 | 荣耀终端有限公司 | Charging circuit, electronic device, charging system and reverse charging method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651238A (en) * | 2008-08-11 | 2010-02-17 | 深圳富泰宏精密工业有限公司 | solar charger |
CN102723751A (en) * | 2012-05-23 | 2012-10-10 | 深圳市江波龙电子有限公司 | Multifunctional charging interface, power supply device and charging method |
CN102749980A (en) * | 2012-05-25 | 2012-10-24 | 深圳Tcl新技术有限公司 | Method and system for charging external universal serial bus (USB) device when universal serial bus (USB) primary device is in a standby state |
CN103219773A (en) * | 2013-04-28 | 2013-07-24 | 苏州大学 | Portable solar power supply device |
CN103326407A (en) * | 2012-03-22 | 2013-09-25 | 宏碁股份有限公司 | Battery charging source detection shifting device and method |
JP5301008B1 (en) * | 2012-04-27 | 2013-09-25 | 株式会社東芝 | ELECTRONIC DEVICE, CHARGE CONTROL DEVICE, AND CHARGE CONTROL METHOD |
CN203840637U (en) * | 2014-03-10 | 2014-09-17 | 映奥股份有限公司 | USB charging and discharging circuit board and electronic device thereof |
-
2014
- 2014-09-19 CN CN201410484281.2A patent/CN105490319B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651238A (en) * | 2008-08-11 | 2010-02-17 | 深圳富泰宏精密工业有限公司 | solar charger |
CN103326407A (en) * | 2012-03-22 | 2013-09-25 | 宏碁股份有限公司 | Battery charging source detection shifting device and method |
JP5301008B1 (en) * | 2012-04-27 | 2013-09-25 | 株式会社東芝 | ELECTRONIC DEVICE, CHARGE CONTROL DEVICE, AND CHARGE CONTROL METHOD |
CN102723751A (en) * | 2012-05-23 | 2012-10-10 | 深圳市江波龙电子有限公司 | Multifunctional charging interface, power supply device and charging method |
CN102749980A (en) * | 2012-05-25 | 2012-10-24 | 深圳Tcl新技术有限公司 | Method and system for charging external universal serial bus (USB) device when universal serial bus (USB) primary device is in a standby state |
CN103219773A (en) * | 2013-04-28 | 2013-07-24 | 苏州大学 | Portable solar power supply device |
CN203840637U (en) * | 2014-03-10 | 2014-09-17 | 映奥股份有限公司 | USB charging and discharging circuit board and electronic device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105490319A (en) | 2016-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106532882B (en) | A kind of charge control method and device | |
JP6242897B2 (en) | Power sharing controller | |
EP2908209B1 (en) | Charging control method and device | |
CN103080868B (en) | Charging port | |
KR102341489B1 (en) | Electronic device and method for charging controlling of the electronic device | |
US20160099608A1 (en) | Power adapter with built-in battery and power storage and supply method thereof | |
CN101783427B (en) | Intelligent charging method and intelligent charging device of terminal | |
CN104505551B (en) | A kind of charging circuit of charging method and wearable device | |
US20180159342A1 (en) | Electronic device and method for controlling battery of the electronic device to charge and discharge | |
CN106125878A (en) | A kind of charging method and electronic equipment | |
CN104617615B (en) | Charging method and electronic equipment | |
CN104505552B (en) | A kind of charging method and charging device | |
CN110729790A (en) | Charging method and device, computer equipment and storage medium | |
CN109256825B (en) | Charging method and electronic device | |
US9723564B2 (en) | Systems and methods for power management of a modular mobile electronic device | |
CN110650400A (en) | Wireless earphone and low-power-consumption method, device and system thereof | |
CN105490319B (en) | A kind of information processing method and electronic equipment | |
KR20150085642A (en) | Power supply, electronic apparatus including the same and method for power supplying | |
EP2993757A1 (en) | Method of managing the charging of battery and electronic device adapted thereto | |
CN116094083B (en) | Charging method, device and storage medium | |
CN105826962B (en) | Poewr control method and device in a kind of charging process | |
CN107294157A (en) | A kind of mobile terminal, self-charging method and storage device | |
WO2017094311A1 (en) | Power management integrated circuit, electronic device, and method for controlling power management integrated circuit | |
CN102447273A (en) | Terminal and power supply method thereof | |
CN111049217A (en) | Chargeable intelligent terminal, charging control method and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |