CN103677199B - The method of information processing and the first electronic equipment - Google Patents
The method of information processing and the first electronic equipment Download PDFInfo
- Publication number
- CN103677199B CN103677199B CN201210348118.4A CN201210348118A CN103677199B CN 103677199 B CN103677199 B CN 103677199B CN 201210348118 A CN201210348118 A CN 201210348118A CN 103677199 B CN103677199 B CN 103677199B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- power consumption
- state
- power
- preparatory condition
- 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
The invention discloses a kind of method of information processing and electronic equipment, when there is at least one second electronic equipment to be charged by connecting the first electronic equipment, first electronic equipment is obtained in the first power consumption that current state is first state, and judge whether first power consumption meets a preparatory condition, when first power consumption does not meet the preparatory condition, the current state of first electronic equipment is adjusted to the second state from the first state.The invention also discloses a kind of electronic equipment, including data processing chip, when there is at least one second electronic equipment to be charged by connecting the electronic equipment, for obtaining the electronic equipment in the first power consumption that current state is first state, and judge whether first power consumption meets a preparatory condition, when first power consumption does not meet the preparatory condition, for the current state of the electronic equipment to be adjusted into the second state from the first state.
Description
Technical field
The present invention relates to the method and a kind of first electronic equipment of the communications field, more particularly to a kind of information processing.
Background technology
With developing rapidly for electronic equipment, electronic equipment is more and more widely used in daily life.It is existing to move
The function of dynamic terminal gradually enriches such as smart mobile phone and PAD, powerful, and the network insertion anywhere or anytime of disposal ability,
Become more popular it.Meanwhile, mobile terminal it is also proposed higher demand to battery durable ability, charging ability, use
Family was wished in the most short time, was charged in most simple and direct mode to terminal device.It is existing mobile whole based on the demand
Large current charge (Fast Charge) is supported at end, general by taking mobile phone as an example to support that 1.5A~2A electric currents are charged, and
PAD typically supports that 2.5A~3A electric currents are charged, and just can be typically full of within 1 hour by USB interface charging.
At present, existing electronic equipment possesses multiple USB interfaces such as desktop computer and notebook etc., is using the electronics
It can also be that mobile terminal is charged by USB interface while equipment, in this way, promoting user using more facilitating, experience
Also can be more preferable.
But present inventor is during inventive technique scheme in realizing the embodiment of the present application, above-mentioned technology is found extremely
There is following technical problem less:
Existing electronic equipment is when being that mobile terminal is charged by USB interface, due to the power consumption mistake of mobile terminal
Greatly, the power source loads of the electronic equipment can be caused too high, exceedes the electricity in the power source loads for detecting the electronic equipment
When highest built in sub- equipment is loaded, overload protection function can be started, the electronic equipment is closed, so as to can be set to the electronics
It is standby to cause damage, lose user data, and user is in-convenience in use and the problem of experience bad.
The content of the invention
The embodiment of the present application is by providing the method and the first electronic equipment of a kind of information processing, when the electronic equipment
When being charged by USB interface for mobile terminal, the power consumption of the electronic equipment can be adjusted, to ensure the electronic equipment
Power supply will not load too high cause shutdown the problem of.
The embodiment of the present application provides a kind of method of information processing, applied to the first electronic equipment, first electronics
Operating system is installed, methods described includes in equipment:There is at least one second electronic equipment by connecting first electricity
When sub- equipment is charged, first electronic equipment is obtained in the first power consumption that current state is first state;Judge described
Whether the first power consumption meets a preparatory condition;When first power consumption does not meet the preparatory condition, by first electronics
The current state of equipment is adjusted to the second state from the first state, wherein, corresponding second power consumption of second state expires
The foot preparatory condition.
Optionally, it is described before having the first electronic equipment described at least one second electronic equipment charging connection, it is described
Method includes:Detect whether that at least one second electronic equipment is charged by connecting first electronic equipment.
Optionally, it is described to judge whether first power consumption meets a preparatory condition, specifically include:Based on the described first electricity
The first state of sub- equipment, it is determined that minimum power consumption corresponding with the first state is the preparatory condition, judges described first
Whether power consumption is not less than the minimum power consumption.
Optionally, described to judge whether first power consumption is not less than after the minimum power consumption, methods described includes:
First power consumption be more than the minimum power consumption when, using the minimum power consumption as first electronic equipment the 3rd power consumption;
Based on the 3rd power consumption, the current state of first electronic equipment is adjusted to and the 3rd work(from the first state
Consume the corresponding third state.
Optionally, it is described when first power consumption is more than the minimum power consumption, it regard the minimum power consumption as described the
3rd power consumption of one electronic equipment, is specifically included:When first power consumption is more than the minimum power consumption, at least one described in acquisition
First charge power of each second electronic equipment in individual second electronic equipment;Detect whether the first of one second electronic equipment
Whether charge power reaches the maximum charge power of the second electronic equipment body;Filled in have one second electronic equipment first
When electrical power is not up to the maximum charge power of the second electronic equipment body, the minimum power consumption is regard as the described first electricity
3rd power consumption of sub- equipment.
Optionally, it is described when first power consumption does not meet the preparatory condition, by working as first electronic equipment
Preceding state is adjusted to the second state from the first state, specifically includes:The preparatory condition is not met in first power consumption
When, the second power consumption of first electronic equipment is determined, second power consumption meets the preparatory condition;Based on second work(
Consumption, the second shape corresponding with second power consumption is adjusted to by the current state of first electronic equipment from the first state
State.
Optionally, it is described to be based on second power consumption, by the current state of first electronic equipment from first shape
State is adjusted to the second state corresponding with second power consumption, specifically includes:It is determined that after second power consumption, generating first
Instruction;Perform it is described first instruction, by the current state of first electronic equipment from the first state be adjusted to it is described
Corresponding second state of second power consumption.
On the basis of the above method, present invention also offers a kind of first electronic equipment, first electronic equipment
In operating system is installed, first electronic equipment includes:One data processing chip, is there is at least one second electronic equipment
It is the first shape for obtaining first electronic equipment in current state when being charged by connecting first electronic equipment
First power consumption of state, and judge whether first power consumption meets a preparatory condition, do not meet described pre- in first power consumption
If during condition, for the current state of first electronic equipment to be adjusted into the second state from the first state, wherein, institute
State corresponding second power consumption of the second state and meet the preparatory condition.
Optionally, the data processing chip includes detection unit, for detecting whether there is at least one second electronics to set
It is standby to be charged by connecting first electronic equipment.
Optionally, the data processing chip includes the first judging unit, the first shape based on first electronic equipment
Whether state, for determining that minimum power consumption corresponding with the first state is the preparatory condition, and judge first power consumption
Not less than the minimum power consumption.
Optionally, the data processing chip includes first state adjustment unit, first power consumption be more than it is described most
During low power consumption, for using the minimum power consumption as first electronic equipment the 3rd power consumption, and based on the 3rd power consumption,
For the current state of first electronic equipment to be adjusted to and the 3rd power consumption the corresponding 3rd from the first state
State.
Optionally, the first state adjustment unit includes power consumption determining unit, first power consumption be more than it is described most
During low power consumption, the first charge power for obtaining each second electronic equipment at least one described second electronic equipment, and
Detect whether whether the first charge power of one second electronic equipment reaches the maximum charge of the second electronic equipment body
Power, the maximum charge power of the second electronic equipment body is not up in the first charge power for having one second electronic equipment
When, for using the minimum power consumption as first electronic equipment the 3rd power consumption.
Optionally, the data processing chip includes the second state adjustment unit, does not meet described in first power consumption
During preparatory condition, the second power consumption for determining first electronic equipment, second power consumption meets the preparatory condition, and
Based on second power consumption, for the current state of first electronic equipment to be adjusted to and described from the first state
Corresponding second state of two power consumptions.
Optionally, second state adjustment unit includes execution unit, it is determined that after second power consumption, for giving birth to
Into the first instruction, and perform first instruction, for by the current state of first electronic equipment from the first state
It is adjusted to the second state corresponding with second power consumption.
The one or more technical schemes provided in the embodiment of the present application, have at least the following technical effects or advantages:
One, due to the embodiment of the present application it is the first power consumption by detecting first electronic equipment, and judges described
Whether the first power consumption meets a preparatory condition, i.e. judge first power consumption whether in the power consumption that the electronic equipment allows,
When first power consumption does not meet the preparatory condition, by the current state of first electronic equipment from the first state
The second state is adjusted to, wherein, the second power consumption corresponding with second state meets the preparatory condition, in this way, described
First electronic equipment is able to ensure that first electronic equipment will not be because of the described first electricity when being charged for mobile terminal
The power source loads of sub- equipment are too high and the problem of shutdown, can not only improve the service life and drop of first electronic equipment
The probability of low loss user, and the experience effect that user uses and lifts user can also be more convenient.
Secondly, due to the embodiment of the present application be when first power consumption meets the preparatory condition, can be by described
Minimum power consumption of one electronic equipment under current state as first electronic equipment the 3rd power consumption, and by described first electricity
The current state of sub- equipment is adjusted to the third state corresponding with the 3rd power consumption from first state, is ensureing first electricity
Sub- equipment will not be further user raising side because power source loads are too high and ensure that mobile terminal can charge while shutdown
Just with the experience of lifting user.
Brief description of the drawings
Fig. 1 is the flow chart of the method for the information processing of embodiment one in the embodiment of the present application;
Fig. 2 is the flow chart of the method for the information processing of embodiment two in the embodiment of the present application;
Fig. 3 is the functional block diagram of electronic equipment in the application first embodiment;
Fig. 4 is the functional block diagram of electronic equipment in the application second embodiment.
Embodiment
The embodiment of the present application solves prior art by providing the method and the first electronic equipment of a kind of information processing
In by electronic equipment be mobile terminal charged when, the power source loads of the electronic equipment can be promoted too high and cause institute
The technical problem of electronic equipment shutdown is stated, realizes when being that mobile terminal is charged by electronic equipment, institute can be adjusted
The power consumption of electronic equipment is stated, to ensure that the power supply of the electronic equipment will not cause the technique effect of shutdown because of load too high.
The technical scheme of the embodiment of the present application for solve it is above-mentioned in-convenience in use and Consumer's Experience it is bad the problem of, it is overall
Thinking is as follows:
When having detected the second electronic equipment and having been charged by connecting the first electronic equipment, acquisition first electronics
The first state of equipment and the first power consumption, and first power consumption is judged whether in the power consumption that the electronic equipment allows, when
When first power consumption is not in the power consumption that the electronic equipment allows, by the current state of first electronic equipment from first
State is adjusted to the second state, and corresponding second power consumption of second state is in the power consumption that the electronic equipment allows.
By the above method, the power consumption of first electronic equipment can be promoted, which to be always held at the electronic equipment, to be allowed
Power consumption within, compared with prior art, promote will not because of first electronic equipment power source loads it is too high and cause institute
The situation for stating the shutdown of the first electronic equipment occurs, and the electronic equipment, Neng Gouti are unlocked without operating the electronic equipment again
The probability of user data is lost in the service life of the high electronic equipment, reduction.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper
Technical scheme is stated to be described in detail.
Embodiment one:
The embodiment of the present application provides a kind of method of information processing, applied in the first electronic equipment, as shown in figure 1,
Methods described includes:
S101, when there is at least one second electronic equipment to be charged by connecting first electronic equipment, obtain
First electronic equipment is in the first power consumption that current state is first state.
Specifically, after first electronic equipment is powered and opens, detected whether that the second electronic equipment passes through
Connect first electronic equipment to be charged, detect at least one second electronic equipment by connecting described first
When electronic equipment is charged, the current state of first electronic equipment is obtained for first state, and first electronics
The first power consumption of equipment in the first state.The first state can be the states such as heavy duty or dormancy or normal work, not
With under state, the power consumption of first electronic equipment is different, such as the power consumption of the notebook computer under park mode
It is significantly less than the power consumption of the notebook computer under work or heavily loaded pattern.Such as:Assuming that having a notebook computer and one
Individual tablet personal computer, and the tablet personal computer charged by the USB interface of notebook computer, at this moment, detects the notebook
The current state of computer, when the current state is resting state, obtains the power consumption of the notebook in the dormant state.
Wherein, first electronic equipment can be with electronic equipments such as desktop computer or notebook computers, and the present embodiment is simultaneously
Do not limit.
During implementing, because second electronic equipment can not only be entered by connecting first electronic equipment
Row charging, moreover it is possible to data are obtained from first electronic equipment or by data transfer in second electronic equipment to described the
One electronic equipment etc. is operated, accordingly, it would be desirable to detect whether that the second electronic equipment is carried out by connecting first electronic equipment
Charging.Such as:Mobile phone can be connected by USB interface with notebook computer, can download song from the notebook computer,
Video and novel etc.;In addition, mobile phone can also be charged by USB interface with notebook computer.
The first electronic equipment is being got based on step S101 after current state is the first power consumption of first state, this Shen
Method that please be in embodiment enters step S102, i.e.,:Judge whether first power consumption meets a preparatory condition.
Specifically, after the power consumption of the first electronic equipment first is obtained, based on first power consumption, it may be determined that
First voltage and the first electric current when first electronic equipment is in first state, pass through the first voltage and described first
Electric current, judges whether first power consumption meets a preparatory condition.That is, when first electronic equipment is in first state,
The first voltage and first electric current are judged whether within the scope of first electronic equipment permission, when described first
Brownout or first electric current are too low or too high can all cause first electronic equipment voluntarily to shut down.Such as:Make
When notebook computer is that MP4 charges, the USB interface of notebook computer can need work of sending a telegram here moment, not have in notebook computer
During using external power adapter, battery can be only used alone in power supply, when the power consumption that charging is provided for MP4 is too high, that
, the power consumption of the notebook computer can be caused too low, and because the battery does not provide so big power consumption and promotes pen
Remember that this computer oneself shuts down;When having using power supply adaptor, when MP4 is charged, heavy current moment can be promoted to pass through institute
Notebook computer is stated, can also promote the notebook oneself to shut down.
It is described to judge whether first power consumption meets a preparatory condition during implementing, specifically include:It is based on
The first state of first electronic equipment, it is determined that minimum power consumption corresponding with the first state is the preparatory condition, and
Judge whether first power consumption is not less than the minimum power consumption.Specifically, because the state of first electronic equipment is different
It can cause the power consumption of first electronic equipment also can be different, and the minimum power consumption of the first electronic equipment under different conditions
Also differ, therefore, it can the first electricity for determining to be under current state by the current state of first electronic equipment
The minimum power consumption of sub- equipment, it is described in minimum power consumption corresponding with the current state be first electronic equipment current
State normal work and can will not cause the lowest power consumption of shutdown, then judge first power consumption whether not less than it is described most
Low power consumption.Such as:One notebook computer in a dormant state under lowest power consumption be 0.4W, (only start enters in unloaded
System, without any operation) minimum power consumption under state is 8W, it is in running order that (media play, online, office, 3D are swum
Play scene) under the minimum 40W of lowest power consumption, detect the current state of the notebook computer, such as, it is assumed that the notebook
Computer is in Light Condition, and the first power consumption detected is 9W, then judges whether 9W is not less than 8W.
S103, when first power consumption does not meet the preparatory condition, by the current state of first electronic equipment
The second state is adjusted to from the first state, wherein, corresponding second power consumption of second state meets the preparatory condition.
Specifically, when detecting the first power consumption and not meeting preparatory condition, first electronic equipment can be caused to occur
The problem of voluntarily shutting down, accordingly, it would be desirable to the state of first electronic equipment is adjusted, by first electronic equipment
Current state is adjusted to the second state from first state, for ensuring that it is described that the second power consumption corresponding with second state is met
Preparatory condition, when first electronic equipment is adjusted into the second state from the first state, first electronic equipment
Integrality do not change, for no other reason than that the difference of power consumption, promote some hardware in first electronic equipment to carry out
Trickle change.Such as:Minimum power consumption when one notebook computer is in running order is 40W, and the notebook computer
Actual power loss be 35W, accordingly, it would be desirable to which the power consumption of the notebook computer is brought up to not less than 40W from 35W, it is assumed that described
When the power consumption of notebook computer has brought up to 45W, power supply fan rotating speed and CPU of the notebook computer when power consumption is 45W
The power supply fan rotating speed and cpu fan rotating speed of rotation speed of the fan and the notebook computer when power consumption is 35W are differed, institute
The first state that the current state for stating notebook computer has been 35W from power consumption is adjusted to the second state that power consumption is 45W, and institute
The integrality for stating notebook computer is still within working condition.
During implementing, when first power consumption does not meet the preparatory condition, by determining described first
Second power consumption of electronic equipment, second power consumption meets the preparatory condition, then based on second power consumption, by described first
The current state of electronic equipment is adjusted to the second state corresponding with second power consumption from the first state.Specifically, when
It is never small when the actual power loss of first electronic equipment is less than the minimum power consumption for the first electronic equipment being under current state
First numerical value is chosen in the numerical value of the minimum power consumption as the second power consumption of first electronic equipment, in this way, promoting
Second power consumption is set to be not less than the minimum power consumption, i.e. second power consumption meets the preparatory condition.Obtaining described the
After two power consumptions, because the power consumption of first electronic equipment is changed, in this way, promoting the electricity of first electronic equipment
Pressure and electric current are all changed, and promote the power supply fan and cpu fan of first electronic equipment also to change, in this way,
The current state of first electronic equipment can be adjusted to the second state corresponding with second power consumption from the first state.
Such as:Assuming that a notebook computer is in the first working condition, actual power loss is 38W, and the notebook computer is in work
Lowest power consumption during state is 42W, because actual power loss is less than lowest power consumption, be therefore, it can from the numerical value more than or equal to 42W
First numerical value is chosen as the second power consumption of the notebook computer, it is assumed that second power consumption is 45W, the notebook
The power consumption of computer improves 45W from 38W, promotes, and the state of the notebook becomes the second work shape corresponding with the 45W
State.
In addition, described be based on second power consumption, by the current state of first electronic equipment from the first state
The second state corresponding with second power consumption is adjusted to, is specifically included:It is determined that after second power consumption, generation first refers to
Order, and perform it is described first instruction, by the current state of first electronic equipment from the first state be adjusted to it is described
Corresponding second state of second power consumption.Specifically, because the power consumption of first electronic equipment is changed, also indicate that for
The electric energy that first electronic equipment is provided also is changed, and the power supply of first electronic equipment can be by described the
The operating system control of one electronic equipment, therefore, it can by generating different instruction, to control the current shape of the first state
State carries out different changes.
Secondly, can also working as first electronic equipment when first power consumption does not meet the preparatory condition
Preceding state is adjusted to the second state from first state, based on second state, determines the second work(of first electronic equipment
Consumption, judges whether second power consumption meets preparatory condition, when second power consumption meets preparatory condition, by the described first electricity
Sub- equipment current state is maintained at second state.If second power consumption does not meet preparatory condition, continue described first
The state adjustment of electronic equipment, until the corresponding power consumption of the final current state of first electronic equipment meets default bar
During part, the final current state is regard as second state.Such as:Assuming that a notebook computer is in the first work
State, actual power loss is 38W, and the lowest power consumption when notebook computer is in running order is 42W, because actual power loss is small
In lowest power consumption, the power supply fan rotating speed of the notebook computer and cpu fan rotating speed are improved, the notebook computer is obtained
The second working condition, when corresponding second power consumption of second working condition be 40W be less than the lowest power consumption 42W, continue
The power supply fan rotating speed and the cpu fan rotating speed are improved, the 3rd working condition of the notebook computer is obtained, it is and described
Corresponding 3rd power consumption of 3rd working condition be 41W still less than the lowest power consumption 42W, then need to continue to improve the power supply
Rotation speed of the fan and the cpu fan rotating speed, obtain the 4th working condition of the notebook computer, until the described 4th work
Corresponding first charge power of state is that 43W is not less than 42W, then by the 4th working condition as the notebook computer
Second state, the second state is adjusted to by the current state of the notebook computer from the first working condition.
Furthermore, based on described in the step 102, when first power consumption meets preparatory condition, not to the described first electricity
The current state of son is adjusted.Such as:Assuming that a notebook computer is in the first working condition, actual power loss is 43W, institute
State notebook computer it is in running order when lowest power consumption be 42W, then the notebook computer still remain in described first
Working condition.
Embodiment two:
The embodiment of the present application provides a kind of method of information processing, applied in the first electronic equipment, as shown in Fig. 2
Methods described includes:
S201, when there is at least one second electronic equipment to be charged by connecting first electronic equipment, obtain
First electronic equipment is in the first power consumption that current state is first state.
S202, judge whether first power consumption meets a preparatory condition.
S203, in first power consumption meet the preparatory condition, and first power consumption is when being more than the minimum power consumption,
Using the minimum power consumption as first electronic equipment the 3rd power consumption.
Specifically, it is in current state when the actual power loss (the first power consumption) for detecting first electronic equipment is more than
Under the first electronic equipment minimum power consumption when, determine the 3rd power consumption of first electronic equipment, wherein, the 3rd power consumption
It is identical with the minimum power consumption.That is, can be direct by the minimum power consumption when first power consumption is more than the minimum power consumption
It is used as the 3rd power consumption of first electronic equipment.
During implementing, it is in when the actual power loss for detecting first electronic equipment is more than under current state
The first electronic equipment minimum power consumption when, each second electronics at least one described second electronic equipment can also be obtained and set
The first standby charge power.Specifically, first judge whether first power consumption is more than the minimum power consumption, when first power consumption
During more than the minimum power consumption, the first charging work(of each second electronic equipment at least one described second electronic equipment is obtained
Rate.Such as:There are a mobile phone and a MP4 to be charged by connecting the USB interface of a notebook computer, the notebook
Minimum power consumption when computer is in running order is 40W, and the actual power loss of the notebook computer is 45W, due to the 45W
More than the 40W, accordingly, it would be desirable to obtain the first charge power of the mobile phone and the first charge power of the MP4.
Secondly, at least one described second electronic equipment is obtained each second electronic equipment the first charge power it
Afterwards, detect whether whether the first charge power of one second electronic equipment reaches that the maximum of the second electronic equipment body is filled
Electrical power.Specifically, at least one described second electronic equipment is obtained each second electronic equipment the first charge power
Afterwards, detect whether first charge power reaches second electronic equipment corresponding with first charge power most
Big charge power, that is, detect whether whether the first charge power of one second electronic equipment reaches that second electronics is set
The maximum charge power of standby body.Such as:There are 2 mobile phones to be charged by connecting the USB interface of a notebook computer, its
In, first mobile phone supports the charge mode of momentary charge electric current (2.5A~3A), and second mobile phone only supports momentary charge electricity
Flow the charge mode for 500mA, and the notebook computer it is in running order when minimum power consumption be 40W, and notes
The actual power loss of this computer is 45W, so that it is 12W and described the to get the first actual charge power of described first
The first actual charge power of two is 2.5W, then the actual charge power of first mobile phone can be determined less than described
The maximum charge power (5V*3A=15W) of first mobile phone, and the actual charge power of second mobile phone reached it is described
The maximum charge power (5V*0.5A=2.5W) of second mobile phone.
Furthermore, second electronics whether is reached in first charge power for detecting whether one second electronic equipment
After the maximum charge power of apparatus body, the first charge power for detecting one second electronic equipment is not up to described second
During the maximum charge power of electronic equipment body, using the minimum power consumption as first electronic equipment the 3rd power consumption.Tool
Body is said, when the first charge power for detecting one second electronic equipment is not up to the maximum work of the second electronic equipment body
Rate, using minimum power consumption of first electronic equipment under current state as first electronic equipment the 3rd power consumption.Such as
Really, the first charge power for not detecting second electronic equipment is not up to the maximum work of the second electronic equipment body
Rate, first state is maintained at by first electronic equipment.Such as:There is USB of 2 mobile phones by one notebook computer of connection
Interface is charged, and the notebook computer is in the first working condition, and the actual power loss of the notebook is more than institute for 45W
State notebook computer it is in running order when minimum power consumption 40W, and first mobile phone the first actual charge power be 12W
Less than the first maximum charge power 15W, the first actual charge power of second mobile phone is equal to described for 2.5W
The maximum charge power 2.5W of two, then using 40W as the notebook computer the 3rd power consumption;If first mobile phone
Actual charge power is 15W, and the charge power of second mobile phone is 2.5W, i.e. first mobile phone and described the
The charge power of two mobile phones has all reached the maximum charge power of respective mobile phone, then the notebook computer is maintained at into first
Working condition.
S204, based on the 3rd power consumption, the current state of first electronic equipment is adjusted from the first state
To the third state corresponding with the 3rd power consumption.
Specifically, after the 3rd power consumption of first electronic equipment is determined, by the 3rd power consumption and institute
State the first power consumption different, therefore, cause the state of first electronic equipment to be also changed, it is necessary to by first electronics
The current state of equipment is adjusted to the third state corresponding with the 3rd power consumption from the first state.Electric by described first
Sub- equipment from the first state be adjusted to the third state when, the integrality of first electronic equipment is not change
, for no other reason than that the difference of power consumption, promotes some hardware in first electronic equipment to carry out trickle change.Such as:One
When notebook computer is in running order, the power consumption of the notebook computer is adjusted to 45W from 35W, and the notebook is electric
Power supply fan rotating speed and cpu fan rotating speed and notebook computer power supply when power consumption be 35W of the brain when power consumption is 45W
Rotation speed of the fan and cpu fan rotating speed are differed, and the current state of the notebook computer is from first that power consumption is 35W
State is adjusted to the second state that power consumption is 45W, and the integrality of the notebook computer is still within working condition.
S205, when first power consumption does not meet the preparatory condition, by the current state of first electronic equipment
The second state is adjusted to from the first state, wherein, corresponding second power consumption of second state meets the preparatory condition.
One embodiment of the invention, which is additionally provided, is provided with operation system in a kind of first electronic equipment, first electronic equipment
System, such as described operating system can be WINDOWS operating systems, UNIX operating system, MAC operation system and Linux operations
System etc..First electronic equipment electronic equipment such as can be notebook computer, desktop computer.
As shown in figure 3, first electronic equipment includes:Data processing chip 301:There is at least one second electronic equipment
It is the first shape for obtaining first electronic equipment in current state when being charged by connecting first electronic equipment
First power consumption of state, and judge whether first power consumption meets a preparatory condition, do not meet described pre- in first power consumption
If during condition, for the current state of first electronic equipment to be adjusted into the second state from the first state, wherein, institute
State corresponding second power consumption of the second state and meet the preparatory condition.
Wherein, data processing chip includes detection unit 302, for detecting whether there is at least one second electronic equipment to lead to
Cross and connect first electronic equipment and charged.
Further, data processing chip includes the first judging unit 303, has been detected at least by detection unit 302
One the second electronic equipment is charged by being connected to first electronic equipment, and is obtained first electronic equipment and existed
After current state is the first power consumption of first state, for determining that minimum power consumption corresponding with the first state is described pre-
If condition, and judge whether first power consumption is not less than the minimum power consumption.
Further, data processing chip includes the second state adjustment unit 304, does not meet described pre- in first power consumption
If during condition, the second power consumption for determining first electronic equipment, second power consumption meets the preparatory condition, and base
In second power consumption, for the current state of first electronic equipment to be adjusted to and described second from the first state
Corresponding second state of power consumption.
Further, the second adjustment unit includes execution unit 305, it is determined that after second power consumption, for generating the
One instruction, and first instruction is performed, for the current state of first electronic equipment to be adjusted from the first state
To the second state corresponding with second power consumption.
Wherein, one second electronic equipment is being detected by connecting the first electronic equipment progress by detection unit
During charging, obtain first electronic equipment and be the first power consumption of first state in current state, and judge first power consumption
Whether preparatory condition is met, when first power consumption does not meet preparatory condition, by the current state of first electronic equipment
The second state is adjusted to from the first state, wherein, corresponding second power consumption of second state meets the preparatory condition,
It so, it is possible to ensure that the power consumption of first electronic equipment always will not be because within the scope of first electronic equipment permission
First electronic equipment is caused voluntarily to shut down for power consumption is too low, so as to improve the use longevity of first electronic equipment
The probability of user data is lost in life, reduction, lifts the experience effect of user.
Various change mode and instantiation in the method for control electronics in previous embodiment are equally applicable to
The electronic equipment of the present embodiment, by the detailed description of the foregoing method to control electronics, those skilled in the art can be with
The implementation of electronic equipment in the present embodiment is apparent from, thus it is succinct for specification, it will not be described in detail herein.
In another embodiment, additionally provide in a kind of first electronic equipment, first electronic equipment and operation is installed
System, such as described operating system can be WINDOWS operating systems, UNIX operating system, MAC operation system and Linux behaviour
Make system etc..First electronic equipment electronic equipment such as can be notebook computer, desktop computer.
As shown in figure 4, first electronic equipment includes:Data processing chip 401:There is at least one second electronic equipment
It is the first shape for obtaining first electronic equipment in current state when being charged by connecting first electronic equipment
First power consumption of state, and judge whether first power consumption meets a preparatory condition, do not meet described pre- in first power consumption
If during condition, for the current state of first electronic equipment to be adjusted into the second state from the first state, wherein, institute
State corresponding second power consumption of the second state and meet the preparatory condition.
Wherein, data processing chip includes detection unit 402, for detecting whether there is at least one second electronic equipment to lead to
Cross and connect first electronic equipment and charged.
Further, data processing chip includes the first judging unit 403, has been detected at least by detection unit 402
One the second electronic equipment is charged by being connected to first electronic equipment, and is obtained first electronic equipment and existed
After current state is the first power consumption of first state, for determining that minimum power consumption corresponding with the first state is described pre-
If condition, and judge whether first power consumption is not less than the minimum power consumption.
Further, data processing chip includes the second state adjustment unit 404, does not meet described pre- in first power consumption
If during condition, the second power consumption for determining first electronic equipment, second power consumption meets the preparatory condition, and base
In second power consumption, for the current state of first electronic equipment to be adjusted to and described second from the first state
Corresponding second state of power consumption.
Further, the second adjustment unit includes execution unit 405, it is determined that after second power consumption, for generating the
One instruction, and first instruction is performed, for the current state of first electronic equipment to be adjusted from the first state
To the second state corresponding with second power consumption.
Further, data processing chip includes first state adjustment unit 406, is more than the minimum in first power consumption
During power consumption, for the minimum power consumption, as the 3rd power consumption of first electronic equipment, and based on the 3rd power consumption, to be used
In the current state of first electronic equipment is adjusted into the 3rd shape corresponding with the 3rd power consumption from the first state
State.
Further, first state adjustment unit includes power consumption determining unit 407, is more than the minimum in first power consumption
During power consumption, for obtaining the first charge power of each second electronic equipment at least one described second electronic equipment, and examine
Whether the first charge power whether survey has one second electronic equipment reaches the maximum charge work(of the second electronic equipment body
Rate, the maximum charge power of the second electronic equipment body is not up in the first charge power for having one second electronic equipment
When, for using the minimum power consumption as first electronic equipment the 3rd power consumption.
Wherein, preparatory condition is met in first power consumption, and first power consumption is when being more than nearest power consumption, can pass through
The actual charge power of second electronic equipment determines whether first electronic equipment being adjusted to from first state
The third state corresponding with the lowest power consumption, in this way, while ensureing that first electronic equipment will not voluntarily shut down also
The charge power of second electronic equipment can be improved, is provided the user conveniently, and lifts the experience effect of user.
Technical scheme in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
One, due to the embodiment of the present application it is the first power consumption by detecting first electronic equipment, and judges described
Whether the first power consumption meets a preparatory condition, i.e. judge first power consumption whether first electronic equipment allow work(
In consumption, when first power consumption does not meet the preparatory condition, by the current state of first electronic equipment from described the
One state is adjusted to the second state, wherein, the second power consumption corresponding with second state meets the preparatory condition, in this way,
It is able to ensure that first electronic equipment will not be because of described when first electronic equipment is being charged for mobile terminal
The power source loads of first electronic equipment are too high and the problem of shutdown, can not only improve the use longevity of first electronic equipment
The probability of user is lost in life and reduction, and can also be more convenient the experience effect that user uses and lifts user.
Secondly, due to the embodiment of the present application be when first power consumption meets the preparatory condition, can be by described
Minimum power consumption of one electronic equipment under current state as first electronic equipment the 3rd power consumption, and by described first electricity
The current state of sub- equipment is adjusted to the third state corresponding with the 3rd power consumption from first state, is ensureing first electricity
Sub- equipment will not be further user raising side because power source loads are too high and ensure that mobile terminal can charge while shutdown
Just with the experience of lifting user.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (8)
1. a kind of method of information processing, applied to the first electronic equipment, operating system is provided with first electronic equipment,
Characterized in that, methods described includes:
When there is at least one second electronic equipment to be charged by connecting first electronic equipment, first electricity is obtained
Sub- equipment is in the first power consumption that current state is first state;
Judge whether first power consumption meets a preparatory condition, wherein, it is described that to judge whether first power consumption meets one pre-
If condition, specifically include:Based on the first state of first electronic equipment, it is determined that least work corresponding with the first state
Consume for the preparatory condition, judge whether first power consumption is not less than the minimum power consumption;
When first power consumption does not meet the preparatory condition, by the current state of first electronic equipment from described first
State is adjusted to the second state, wherein, corresponding second power consumption of second state meets the preparatory condition, wherein, it is described
When first power consumption does not meet the preparatory condition, by the current state of first electronic equipment from the first state
The second state is adjusted to, is specifically included:When first power consumption does not meet the preparatory condition, determine that first electronics is set
The second standby power consumption, second power consumption meets the preparatory condition;Based on second power consumption, by first electronic equipment
Current state be adjusted to the second state corresponding with second power consumption from the first state;
When first power consumption is more than the minimum power consumption, each second electricity at least one described second electronic equipment is obtained
First charge power of sub- equipment;
Detect whether whether the first charge power of one second electronic equipment reaches the maximum of the second electronic equipment body
Charge power;
The maximum charge power of the second electronic equipment body is not up in the first charge power for having one second electronic equipment
When, using the minimum power consumption as first electronic equipment the 3rd power consumption.
2. the method as described in claim 1, it is characterised in that described to have at least one second electronic equipment charging connection institute
State before the first electronic equipment, methods described includes:
Detect whether that the second electronic equipment is charged by connecting first electronic equipment.
3. the method as described in claim 1, it is characterised in that described to regard the minimum power consumption as first electronic equipment
The 3rd power consumption after, methods described includes:
Based on the 3rd power consumption, the current state of first electronic equipment is adjusted to and described from the first state
The corresponding third state of three power consumptions.
4. the method as described in claim 1, it is characterised in that described to be based on second power consumption, first electronics is set
Standby current state is adjusted to the second state corresponding with second power consumption from the first state, specifically includes:
It is determined that after second power consumption, generation first is instructed;
First instruction is performed, the current state of first electronic equipment is adjusted to and described the from the first state
Corresponding second state of two power consumptions.
5. operating system is installed in a kind of first electronic equipment, first electronic equipment, it is characterised in that first electricity
Sub- equipment includes:
One data processing chip, is charged there is at least one second electronic equipment by connecting first electronic equipment
When, for obtaining first electronic equipment in first power consumption of the current state for first state, and judge first power consumption
Whether a preparatory condition is met, wherein, the data processing chip includes the first judging unit, based on first electronic equipment
First state, for determining that corresponding with first state minimum power consumption is the preparatory condition, and judge described first
Whether power consumption is not less than the minimum power consumption;When first power consumption does not meet the preparatory condition, for by described first
The current state of electronic equipment is adjusted to the second state from the first state, wherein, corresponding second work(of second state
Consumption meets the preparatory condition, wherein, the data processing chip includes the second state adjustment unit, in first power consumption not
When meeting the preparatory condition, the second power consumption for determining first electronic equipment, second power consumption meets described pre-
If condition, and based on second power consumption, for the current state of first electronic equipment to be adjusted from the first state
To the second state corresponding with second power consumption;
The first state adjustment unit includes power consumption determining unit, when first power consumption is more than the minimum power consumption, uses
The first charge power of each second electronic equipment at least one second electronic equipment described in obtaining, and detected whether one
Whether the first charge power of the second electronic equipment reaches the maximum charge power of the second electronic equipment body, is there is one
When first charge power of two electronic equipments is not up to the maximum charge power of the second electronic equipment body, for by described in
Minimum power consumption as first electronic equipment the 3rd power consumption.
6. the first electronic equipment as claimed in claim 5, it is characterised in that the data processing chip includes detection unit,
For detecting whether there is at least one second electronic equipment to be charged by connecting first electronic equipment.
7. the first electronic equipment as claimed in claim 5, it is characterised in that the data processing chip is adjusted including first state
Whole unit is used to the current state of first electronic equipment being adjusted to corresponding with the 3rd power consumption from the first state
The third state.
8. the first electronic equipment as claimed in claim 5, it is characterised in that second state adjustment unit includes performing list
Member, it is determined that after second power consumption, is instructed for generating first, and performs first instruction, for by described first
The current state of electronic equipment is adjusted to the second state corresponding with second power consumption from the first state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210348118.4A CN103677199B (en) | 2012-09-18 | 2012-09-18 | The method of information processing and the first electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210348118.4A CN103677199B (en) | 2012-09-18 | 2012-09-18 | The method of information processing and the first electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103677199A CN103677199A (en) | 2014-03-26 |
CN103677199B true CN103677199B (en) | 2017-11-07 |
Family
ID=50315030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210348118.4A Active CN103677199B (en) | 2012-09-18 | 2012-09-18 | The method of information processing and the first electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103677199B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105990864B (en) * | 2015-02-04 | 2018-12-14 | 联想(北京)有限公司 | A kind of charging method and device |
CN105677405B (en) * | 2015-12-31 | 2019-12-24 | 联想(北京)有限公司 | Positive and negative interface processing method and electronic equipment |
CN106125878A (en) * | 2016-06-13 | 2016-11-16 | 联想(北京)有限公司 | A kind of charging method and electronic equipment |
CN109491525B (en) * | 2018-11-13 | 2022-04-01 | 宁波视睿迪光电有限公司 | Method and device for realizing low power consumption of interactive pen |
CN109710051B (en) * | 2018-12-27 | 2021-01-15 | 联想(北京)有限公司 | Processing method and electronic equipment |
CN111043149B (en) * | 2019-12-20 | 2021-09-14 | 深圳市长盈精密技术股份有限公司 | Folding hinge and folding display device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1749925A (en) * | 2004-09-14 | 2006-03-22 | 乐金电子(中国)研究开发中心有限公司 | Mobile communication terminal with general serial bus port and driving method |
CN101634886A (en) * | 2009-08-25 | 2010-01-27 | 上海宏力半导体制造有限公司 | Electronic device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100412760C (en) * | 2006-02-16 | 2008-08-20 | 中芯国际集成电路制造(上海)有限公司 | Power-saving system and method used for equipment based on universal series bus |
-
2012
- 2012-09-18 CN CN201210348118.4A patent/CN103677199B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1749925A (en) * | 2004-09-14 | 2006-03-22 | 乐金电子(中国)研究开发中心有限公司 | Mobile communication terminal with general serial bus port and driving method |
CN101634886A (en) * | 2009-08-25 | 2010-01-27 | 上海宏力半导体制造有限公司 | Electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN103677199A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103677199B (en) | The method of information processing and the first electronic equipment | |
CN103078393B (en) | USB hub and electric power supply method for the same | |
US9197075B2 (en) | Charging port based on power state signal | |
CN103019352B (en) | Universal serial bus power supply method, device end device and system applying same | |
CN103378378B (en) | A kind of charging method and device | |
CN103107569A (en) | Method and apparatus for performing system power management | |
CN103326078A (en) | Mobile device charging method and system | |
CN105829990A (en) | Method and apparatus for charging electronic device with USB connection | |
CN106992326B (en) | Charging control method and device and electronic equipment | |
US8013576B2 (en) | Systems and methods for supplying power to an electronic device | |
CN104577231A (en) | Method, adaptor, terminal and system for realizing quick charging | |
US20100180132A1 (en) | Power Management Device for a Computer System and Related Power Management Method and Computer System | |
CN105576753A (en) | Information processing method and electronic equipment | |
CN103246336A (en) | Electronic apparatus and driving control method thereof | |
CN102638615A (en) | Cellphone and control method thereof | |
CN107104478A (en) | A kind of information processing method and electronic equipment | |
CN104486089B (en) | A kind of computer network awakening method and device | |
CN104953631A (en) | Current control method and terminal device | |
CN106972558B (en) | Charging control method and electronic equipment | |
CN106708232A (en) | Electronic device and control method | |
JP2018113759A (en) | Information processor provided with chargeable battery and charging device | |
CN105098854A (en) | Charging method and electronic apparatus | |
CN103888556A (en) | Home terminal device and home terminal device control method | |
CN104124718B (en) | Electric supply installation and method of supplying power to | |
CN103257597B (en) | Control method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |