CN103677199A - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN103677199A
CN103677199A CN201210348118.4A CN201210348118A CN103677199A CN 103677199 A CN103677199 A CN 103677199A CN 201210348118 A CN201210348118 A CN 201210348118A CN 103677199 A CN103677199 A CN 103677199A
Authority
CN
China
Prior art keywords
power consumption
electronic equipment
state
conditioned
charge
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.)
Granted
Application number
CN201210348118.4A
Other languages
Chinese (zh)
Other versions
CN103677199B (en
Inventor
梅田信和
王培�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210348118.4A priority Critical patent/CN103677199B/en
Publication of CN103677199A publication Critical patent/CN103677199A/en
Application granted granted Critical
Publication of CN103677199B publication Critical patent/CN103677199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an information processing method and electronic equipment. The information processing method includes when at least one second electronic equipment is connected with first electronic equipment for charging, acquiring first power consumption when a current state of the first electronic equipment is a first state; judging whether the first power consumption meets a preset condition or not; if not, adjusting the current state of the first electronic equipment from the first state to a second state. The electronic equipment comprises a data processing chip, and when at least one second electronic equipment is connected with the electronic equipment for charging, the data processing chip is used for acquiring a first power consumption when a current state of the electronic equipment is a first state, judging whether the first power consumption meets a preset condition or not and adjusting the current state of the electronic equipment from the first state to a second state when the first power consumption meets the preset condition.

Description

The method of information processing and electronic equipment
Technical field
The present invention relates to the communications field, relate in particular to a kind of method and a kind of electronic equipment of information processing.
Background technology
Along with the develop rapidly of electronic equipment, electronic equipment is more and more widely used in daily life.The function of existing mobile terminal is abundant powerful as smart mobile phone and PAD etc., processing power gradually, and network insertion anywhere or anytime, makes it become more and more universal.Meanwhile, mobile terminal has also proposed higher demand to battery flying power, charging ability, and user wishes in the shortest time, in the simplest and the most direct mode, to terminal device, to charge.Based on the demand, existing mobile terminal is all supported large current charge (FastCharge), the mobile phone of take generally supports 1.5A ~ 2A electric current as example and charges, and PAD generally supports 2.5A ~ 3A electric current to charge, and generally by USB interface, charged and just can be full of for 1 hour.
At present, existing electronic equipment has a plurality of USB interface as desk-top computer and notebook etc., when using described electronic equipment, can also charge for mobile terminal by USB interface, so, impels user to use convenient, and experiencing also can be better.
But in the process of present inventor's invention technical scheme in realizing the embodiment of the present application, find that above-mentioned technology at least exists following technical matters:
Existing electronic equipment is being that mobile terminal is when charge by USB interface; because the power consumption of mobile terminal is excessive; can cause the power source loads of described electronic equipment too high; when the power source loads that described electronic equipment detected surpasses the built-in high capacity of described electronic equipment; can start overload protection function, close described electronic equipment, thereby can cause damage to described electronic equipment; lose user data, and user uses problem inconvenient and that experience is bad.
Summary of the invention
The embodiment of the present application is by providing a kind of method and electronic equipment of information processing, when described electronic equipment is that mobile terminal is when charge by USB interface, can regulate the power consumption of described electronic equipment, to guarantee that the power supply of described electronic equipment can load too high not cause the problem of shutting down.
The embodiment of the present application provides a kind of method of information processing; be applied to the first electronic equipment; in described the first electronic equipment, operating system is installed; described method comprises: when having at least one second electronic equipment to charge by connecting described the first electronic equipment, obtaining described the first electronic equipment is the first power consumption of the first state in current state; Judge that whether described the first power consumption meets one pre-conditioned; In described the first power consumption, do not meet describedly when pre-conditioned, the current state of described the first electronic equipment is adjusted to the second state from described the first state, wherein, the second power consumption that described the second state is corresponding meets described pre-conditioned.
Optionally, described before having described the first electronic equipment of at least one the second electronic equipment charging connection, whether described method comprises: detect and have at least one second electronic equipment to charge by connecting described the first electronic equipment.
Optionally, it is described that to judge that whether described the first power consumption meets one pre-conditioned, specifically comprise: the first state based on described the first electronic equipment, determine that the minimum power consumption corresponding with described the first state is described pre-conditioned, judge whether described the first power consumption is not less than described minimum power consumption.
Optionally, described judge whether described the first power consumption is not less than described minimum power consumption after, described method comprises: when described the first power consumption is greater than described minimum power consumption, the 3rd power consumption using described minimum power consumption as described the first electronic equipment; Based on described the 3rd power consumption, the current state of described the first electronic equipment is adjusted to the third state corresponding with described the 3rd power consumption from described the first state.
Optionally, it is described when described the first power consumption is greater than described minimum power consumption, the 3rd power consumption using described minimum power consumption as described the first electronic equipment, specifically comprise: when described the first power consumption is greater than described minimum power consumption, obtain the first charge power of each the second electronic equipment in described at least one second electronic equipment; Detect the maximum charge power that whether has the first charge power of one second electronic equipment whether to reach described the second electronic equipment body; When the first charge power that has one second electronic equipment does not reach the maximum charge power of described the second electronic equipment body, the 3rd power consumption using described minimum power consumption as described the first electronic equipment.
Optionally, described in described the first power consumption, do not meet described when pre-conditioned, the current state of described the first electronic equipment is adjusted to the second state from described the first state, specifically comprise: in described the first power consumption, do not meet described when pre-conditioned, determine the second power consumption of described the first electronic equipment, described the second power consumption meets described pre-conditioned; Based on described the second power consumption, the current state of described the first electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.
Optionally, described based on described the second power consumption, the current state of described the first electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state, specifically comprise: after determining described the second power consumption, generate the first instruction; Carry out described the first instruction, the current state of described the first electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.
On the basis of said method, the present invention also provides a kind of electronic equipment, in described electronic equipment, operating system is installed, described electronic equipment comprises: a data processing chip, when having at least one second electronic equipment to charge by connecting described electronic equipment, for obtaining described electronic equipment, it in current state, is the first power consumption of the first state, and it is one pre-conditioned to judge that whether described the first power consumption meets, in described the first power consumption, do not meet described when pre-conditioned, for the current state of described electronic equipment is adjusted to the second state from described the first state, wherein, the second power consumption that described the second state is corresponding meets described pre-conditioned.
Whether optionally, described data processing chip comprises detecting unit, for detection of having at least one second electronic equipment to charge by connecting described electronic equipment.
Optionally, described data processing chip comprises the first judging unit, the first state based on described electronic equipment, for determining that the minimum power consumption corresponding with described the first state is described pre-conditioned, and judges whether described the first power consumption is not less than described minimum power consumption.
Optionally, described data processing chip comprises the first state adjustment unit, when described the first power consumption is greater than described minimum power consumption, for the 3rd power consumption using described minimum power consumption as described the first electronic equipment, and based on described the 3rd power consumption, for the current state of described the first electronic equipment is adjusted to the third state corresponding with described the 3rd power consumption from described the first state.
Optionally, described the first state adjustment unit comprises power consumption determining unit, when described the first power consumption is greater than described minimum power consumption, for obtaining the first charge power of described at least one each the second electronic equipment of the second electronic equipment, and whether detection has the first charge power of one second electronic equipment whether to reach the maximum charge power of described the second electronic equipment body, when the first charge power that has one second electronic equipment does not reach the maximum charge power of described the second electronic equipment body, for the 3rd power consumption using described minimum power consumption as described the first electronic equipment.
Optionally, described data processing chip comprises the second state adjustment unit, in described the first power consumption, do not meet described when pre-conditioned, for determining the second power consumption of described electronic equipment, described the second power consumption meets described pre-conditioned, and based on described the second power consumption, for the current state of described electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.
Optionally, described the second state adjustment unit comprises performance element, after determining described the second power consumption, for generating the first instruction, and carry out described the first instruction, for the current state of described electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
One, because the embodiment of the present application is by detecting the first power consumption of described the first electronic equipment, and it is one pre-conditioned to judge that whether described the first power consumption meets, , judge in the power consumption whether described the first power consumption allow at described electronic equipment, in described the first power consumption, do not meet described when pre-conditioned, the current state of described the first electronic equipment is adjusted to the second state from described the first state, wherein, second power consumption corresponding with described the second state meets described pre-conditioned, so, at described the first electronic equipment, when charging for mobile terminal, can guarantee can be because of the power source loads of described the first electronic equipment not too high problem that occurs shutdown of described the first electronic equipment, can not only improve the serviceable life of described the first electronic equipment and reduce the probability of losing user, and can also be more convenient user's experience effect of using and promoting user.
Two, due to the embodiment of the present application be in described the first power consumption, meet described when pre-conditioned, can be using described the first electronic equipment the minimum power consumption under current state as the 3rd power consumption of described the first electronic equipment, and the current state of described the first electronic equipment is adjusted to the third state corresponding with described the 3rd power consumption from the first state, guaranteeing to guarantee that mobile terminal can charge when described the first electronic equipment can not shut down because power source loads is too high, further for user improves experience convenient and lifting user.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the method for the information processing of embodiment mono-in the embodiment of the present application;
Fig. 2 is the process flow diagram of the method for the information processing of embodiment bis-in the embodiment of the present application;
Fig. 3 is the functional block diagram of electronic equipment in the application the first embodiment;
Fig. 4 is the functional block diagram of electronic equipment in the application the second embodiment.
Embodiment
The embodiment of the present application is by providing a kind of method and electronic equipment of information processing, solved in prior art is being that mobile terminal is when charge by electronic equipment, the power source loads that can impel described electronic equipment is too high and cause the technical matters of described electronic equipment shutdown, realized is being that mobile terminal is when charge by electronic equipment, can regulate the power consumption of described electronic equipment, to guarantee that the power supply of described electronic equipment can not cause because of load too high the technique effect of shutdown.
The technical scheme of the embodiment of the present application is experienced bad problem for solving above-mentioned use inconvenience and user, and general thought is as follows:
When the second electronic equipment having been detected and charged by connecting the first electronic equipment, obtain the first state and first power consumption of described the first electronic equipment, and judge in the power consumption whether described the first power consumption allow at described electronic equipment, in the time of in the power consumption that described the first power consumption does not allow at described electronic equipment, the current state of described the first electronic equipment is adjusted to the second state from the first state, in the power consumption that the second power consumption that described the second state is corresponding allows at described electronic equipment.
Pass through said method, can impel within the power consumption of described the first electronic equipment remains on the power consumption that described electronic equipment allows always, compared with prior art, do not impel and can situation too high because of the power source loads of described the first electronic equipment and that cause described the first electronic equipment to shut down occur, without operating again described electronic equipment, carry out electronic equipment described in release, in the serviceable life that can improve described electronic equipment, reduce the probability of losing user data.
In order better to understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
Embodiment mono-:
The embodiment of the present application provides a kind of method of information processing, is applied in the first electronic equipment, and as shown in Figure 1, described method comprises:
S101, when having at least one second electronic equipment to charge by connecting described the first electronic equipment, obtaining described the first electronic equipment is the first power consumption of the first state in current state.
Specifically, after described the first electronic equipment is switched on and is opened, whether detect has the second electronic equipment to charge by connecting described the first electronic equipment, detecting while having at least second electronic equipment to charge by connecting described the first electronic equipment, the current state of obtaining described the first electronic equipment is the first state, and first power consumption of described the first electronic equipment under the first state.Described the first state can be the states such as heavy duty or dormancy or normal work, under different conditions, the power consumption of described the first electronic equipment is different, such as the power consumption of the notebook computer under park mode is significantly less than the power consumption of the notebook computer under work or heavily loaded pattern.Such as: suppose to have a notebook computer and a panel computer, and described panel computer charges by the USB interface of notebook computer, at this moment, detect the current state of described notebook computer, when described current state is dormant state, obtain the power consumption of described notebook under dormant state.
Wherein, described the first electronic equipment can desk-top computer or the electronic equipment such as notebook computer, and the present embodiment does not limit.
In specific implementation process, because described the second electronic equipment can not only charge by connecting described the first electronic equipment, can also from described the first electronic equipment, obtain data or by data transmission in described the second electronic equipment to operations such as described the first electronic equipments, therefore, need detection whether to have the second electronic equipment to charge by connecting described the first electronic equipment.Such as: mobile phone can be connected with notebook computer by USB interface, can from described notebook computer, download song, video and novel etc.; In addition, mobile phone can also charge by USB interface and notebook computer.
After getting the first electronic equipment based on step S101 and being the first power consumption of the first state in current state, the method in the embodiment of the present application enters step S102, judges whether described the first power consumption meets one pre-conditioned that is:.
Specifically, after obtaining described first electronic equipment the first power consumption, based on described the first power consumption, can determine first voltage and first electric current of described the first electronic equipment when the first state, by described the first voltage and described the first electric current, judge that whether described the first power consumption meets one pre-conditioned.; at described the first electronic equipment during in the first state; within judging the scope whether described the first voltage and described the first electric current allow at described the first electronic equipment, when described the first brownout or described the first electric current is too low or too highly all can cause described the first electronic equipment to shut down voluntarily.Such as: when making notebook computer be MP4 charging, the work of can need to sending a telegram here moment of the USB interface of notebook computer, when notebook computer does not use external power adapter, only can use separately battery in power supply, once provide the power consumption of charging too high for MP4, so, can cause the power consumption of described notebook computer too low, and impel notebook computer oneself shutdown because described battery does not provide large power consumption like this; Having while using power supply adaptor, when MP4 charges, can impel heavy current moment by described notebook computer, also can impel described notebook oneself to shut down.
In specific implementation process, it is described that to judge that whether described the first power consumption meets one pre-conditioned, specifically comprise: the first state based on described the first electronic equipment, determine that the minimum power consumption corresponding with described the first state is described pre-conditioned, and judge whether described the first power consumption is not less than described minimum power consumption.Specifically, due to the state difference of described the first electronic equipment can cause the power consumption of described the first electronic equipment also can be different, and the minimum power consumption of the first electronic equipment under different conditions is not identical yet, therefore, can determine by the current state of described the first electronic equipment the minimum power consumption of the first electronic equipment under current state, described is the lowest power consumption that described the first electronic equipment can normally be worked and can not cause shutting down in current state in the minimum power consumption corresponding with described current state, then judge whether described the first power consumption is not less than described minimum power consumption.Such as: notebook computer lowest power consumption under dormant state is 0.4W, in the unloaded (system that enters of only starting shooting, do not carry out any operation) minimum power consumption under state is 8W, lowest power consumption under in running order (media play, online, office, 3D scene of game) is minimum is 40W, detect the current state of described notebook computer, such as, suppose that described notebook computer is in light condition, and the first power consumption detecting is 9W, judge whether 9W is not less than 8W.
S103, in described the first power consumption, do not meet describedly when pre-conditioned, the current state of described the first electronic equipment is adjusted to the second state from described the first state, wherein, the second power consumption that described the second state is corresponding meets described pre-conditioned.
Specifically, do not meet when pre-conditioned the first power consumption being detected, can cause described the first electronic equipment to occur the problem of shutdown voluntarily, therefore, the state of described the first electronic equipment need to be adjusted, the current state of described the first electronic equipment is adjusted to the second state from the first state, for guaranteeing that second power consumption corresponding with described the second state meets described pre-conditioned, when described the first electronic equipment is adjusted to the second state from described the first state, the integrality of described the first electronic equipment is less than changing, for no other reason than that the difference of power consumption, impel some hardware in described the first electronic equipment to carry out trickle change.Such as: a minimum power consumption when notebook computer is in running order is 40W, and the actual power loss of described notebook computer is 35W, therefore, the power consumption of described notebook computer need to be brought up to and is not less than 40W from 35W, when the power consumption of supposing described notebook computer has been brought up to 45W, the power supply fan rotating speed when power consumption is 35W and cpu fan rotating speed are not identical with described notebook computer for the power supply fan rotating speed of described notebook computer when power consumption is 45W and cpu fan rotating speed, the first state that the current state of described notebook computer has been 35W from power consumption is adjusted into the second state that power consumption is 45W, and the integrality of described notebook computer is still in running order.
In specific implementation process, when described the first power consumption does not meet described when pre-conditioned, by determining the second power consumption of described the first electronic equipment, described the second power consumption meets described pre-conditioned, based on described the second power consumption, the current state of described the first electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state again.Specifically, when the actual power loss of described the first electronic equipment is less than the minimum power consumption of the first electronic equipment under current state, from be not less than the numerical value of described minimum power consumption, choose first numerical value as the second power consumption of described the first electronic equipment, so, impel described the second power consumption to be not less than described minimum power consumption, that is, described the second power consumption meets described pre-conditioned.After obtaining described the second power consumption, because the power consumption of described the first electronic equipment changes, so, impel the voltage and current of described the first electronic equipment all to change, and impel the power supply fan of described the first electronic equipment and cpu fan also can change, so, the current state of described the first electronic equipment can be adjusted to second state corresponding with described the second power consumption from described the first state.Such as: suppose that a notebook computer is in the first duty, actual power loss is 38W, lowest power consumption when described notebook computer is in running order is 42W, because actual power loss is less than lowest power consumption, therefore, can from be more than or equal to the numerical value of 42W, choose first numerical value as the second power consumption of described notebook computer, suppose that described the second power consumption is 45W, the power consumption of described notebook computer has improved 45W from 38W, impel, the state of described notebook becomes second duty corresponding with described 45W.
In addition, described based on described the second power consumption, the current state of described the first electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state, specifically comprise: after determining described the second power consumption, generate the first instruction, and carry out described the first instruction, the current state of described the first electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.Specifically, because the power consumption of described the first electronic equipment changes, also the electric energy that being just indicated as described the first electronic equipment provides also changes, and the power supply of described the first electronic equipment can be controlled by the operating system of described the first electronic equipment, therefore, can, by generating different instruction, control the current state of described the first state and carry out different changes.
Secondly, when described the first power consumption does not meet described when pre-conditioned, the current state of described the first electronic equipment can also be adjusted to the second state from the first state, based on described the second state, determine the second power consumption of described the first electronic equipment, judge whether described the second power consumption meets pre-conditioned, in described the second power consumption, meet when pre-conditioned, described the first electronic equipment current state is remained on to described the second state.If described the second power consumption does not meet pre-conditioned, continuation is by the state adjustment of described the first electronic equipment, until the power consumption corresponding to final current state of described the first electronic equipment meet when pre-conditioned, using described final current state as described the second state.Such as: suppose that a notebook computer is in the first duty, actual power loss is 38W, lowest power consumption when described notebook computer is in running order is 42W, because actual power loss is less than lowest power consumption, the power supply fan rotating speed of described notebook computer and cpu fan rotating speed are improved, obtain the second duty of described notebook computer, when the second power consumption corresponding to described the second duty is that 40W is less than described lowest power consumption 42W, continue to improve described power supply fan rotating speed and described cpu fan rotating speed, obtain the 3rd duty of described notebook computer, three power consumption corresponding with described the 3rd duty is that 41W is still less than described lowest power consumption 42W, need to continue to improve described power supply fan rotating speed and described cpu fan rotating speed, obtain the 4th duty of described notebook computer, , until the first charge power corresponding to described the 4th duty is that 43W is not less than 42W, described the 4th duty is used as to the second state of described notebook computer, the current state of described notebook computer is adjusted to the second state from the first duty.
Moreover, described in described step 102, when described the first power consumption meets when pre-conditioned, the current state of described the first electronics is not adjusted.Such as: suppose that a notebook computer is in the first duty, actual power loss is 43W, and lowest power consumption when described notebook computer is in running order is 42W, and described notebook computer still remains on described the first duty.
Embodiment bis-:
The embodiment of the present application provides a kind of method of information processing, is applied in the first electronic equipment, and as shown in Figure 2, described method comprises:
S201, when having at least one second electronic equipment to charge by connecting described the first electronic equipment, obtaining described the first electronic equipment is the first power consumption of the first state in current state.
S202, to judge that whether described the first power consumption meets one pre-conditioned.
S203, in described the first power consumption, meet described pre-conditionedly, and described the first power consumption is while being greater than described minimum power consumption, the 3rd power consumption using described minimum power consumption as described the first electronic equipment.
Specifically, when the actual power loss (the first power consumption) of described the first electronic equipment being detected and be greater than the minimum power consumption of the first electronic equipment under current state, determine the 3rd power consumption of described the first electronic equipment, wherein, described the 3rd power consumption is identical with described minimum power consumption.That is, when described the first power consumption is greater than described minimum power consumption, can be using described minimum power consumption directly as the 3rd power consumption of described the first electronic equipment.
In specific implementation process, when the actual power loss of described the first electronic equipment being detected and be greater than the minimum power consumption of the first electronic equipment under current state, can also obtain the first charge power of each the second electronic equipment in described at least one second electronic equipment.Specifically, first judge whether described the first power consumption is greater than described minimum power consumption, when described the first power consumption is greater than described minimum power consumption, obtain the first charge power of each the second electronic equipment in described at least one second electronic equipment.Such as: there is a mobile phone to charge by being connected the USB interface of a notebook computer with a MP4, minimum power consumption when described notebook computer is in running order is 40W, and the actual power loss of described notebook computer is 45W, because described 45W is greater than described 40W, therefore, need to obtain the first charge power of described mobile phone and the first charge power of described MP4.
Secondly, in obtaining described at least one second electronic equipment, after the first charge power of each the second electronic equipment, detect the maximum charge power that whether has the first charge power of one second electronic equipment whether to reach described the second electronic equipment body.Specifically, in obtaining described at least one second electronic equipment after the first charge power of each the second electronic equipment, detect the maximum charge power whether described the first charge power reaches described second electronic equipment corresponding with described the first charge power, whether namely detection has the first charge power of one second electronic equipment whether to reach the maximum charge power of described the second electronic equipment body.Such as: there are 2 mobile phones to charge by connecting the USB interface of a notebook computer, wherein, First mobile phone is supported the charge mode of momentary charge electric current (2.5A ~ 3A), second mobile phone only supports that momentary charge electric current is the charge mode of 500mA, and minimum power consumption when described notebook computer is in running order is 40W, and the actual power loss of described notebook computer is 45W, thereby the first actual charge power that the first actual charge power that gets described First is 12W and described second is 2.5W, can determine that the actual charge power of described First mobile phone is less than the maximum charge power (5V*3A=15W) of described First mobile phone, and the actual charge power of described second mobile phone has reached the maximum charge power (5V*0.5A=2.5W) of described second mobile phone.
Moreover, in described detection, whether have after whether the first charge power of one second electronic equipment reach the maximum charge power of described the second electronic equipment body, when the first charge power that one second electronic equipment detected does not reach the maximum charge power of described the second electronic equipment body, the 3rd power consumption using described minimum power consumption as described the first electronic equipment.Specifically, when the first charge power of one second electronic equipment being detected and do not reach the peak power of described the second electronic equipment body, the minimum power consumption using described the first electronic equipment under current state is as the 3rd power consumption of described the first electronic equipment.If the first charge power that second electronic equipment do not detected does not reach the peak power of described the second electronic equipment body, and described the first electronic equipment is remained on to the first state.Such as: there are 2 mobile phones to charge by connecting the USB interface of a notebook computer, and described notebook computer is in the first duty, the actual power loss of described notebook is that 45W is greater than the minimum power consumption 40W of described notebook computer when in running order, and the first actual charge power of First mobile phone is that 12W is less than described First maximum charge power 15W, the first actual charge power of second mobile phone is the maximum charge power 2.5W that 2.5W equals described second, the 3rd power consumption using 40W as described notebook computer; If the actual charge power of described First mobile phone is 15W, and the charge power of described the second mobile phone is 2.5W,, the charge power of described First mobile phone and described second mobile phone has all reached the maximum charge power of mobile phone separately, described notebook computer is remained on to the first duty.
S204, based on described the 3rd power consumption, the current state of described the first electronic equipment is adjusted to the third state corresponding with described the 3rd power consumption from described the first state.
Specifically, after having determined the 3rd power consumption of described the first electronic equipment, because described the 3rd power consumption is different from described the first power consumption, therefore, cause the state of described the first electronic equipment also can change, the current state of described the first electronic equipment need to be adjusted to the third state corresponding with described the 3rd power consumption from described the first state.When described the first electronic equipment is adjusted to the described third state from described the first state, the integrality of described the first electronic equipment is less than changing, for no other reason than that the difference of power consumption impels some hardware in described the first electronic equipment to carry out trickle change.Such as: when a notebook computer is in running order, the power consumption of described notebook computer is adjusted to 45W from 35W, and the power supply fan rotating speed of described notebook computer when power consumption is 45W and cpu fan rotating speed are with described notebook computer, the power supply fan rotating speed when power consumption is 35W and cpu fan rotating speed are not identical, the first state that the current state of described notebook computer has been 35W from power consumption is adjusted to the second state that power consumption is 45W, and the integrality of described notebook computer is still in running order.
S205, in described the first power consumption, do not meet describedly when pre-conditioned, the current state of described the first electronic equipment is adjusted to the second state from described the first state, wherein, the second power consumption that described the second state is corresponding meets described pre-conditioned.
One embodiment of the invention also provides a kind of electronic equipment, in described electronic equipment, operating system is installed, and such as described operating system, can be WINDOWS operating system, UNIX operating system, MAC operating system and (SuSE) Linux OS etc.This electronic equipment is such as being the electronic equipments such as notebook computer, desk-top computer.
As shown in Figure 3, this electronic equipment comprises: data processing chip 301: when having at least one second electronic equipment to charge by connecting described electronic equipment, for obtaining described electronic equipment, it in current state, is the first power consumption of the first state, and it is one pre-conditioned to judge that whether described the first power consumption meets, in described the first power consumption, do not meet described when pre-conditioned, for the current state of described electronic equipment is adjusted to the second state from described the first state, wherein, the second power consumption that described the second state is corresponding meets described pre-conditioned.
Whether wherein, data processing chip comprises detecting unit 302, for detection of having at least one second electronic equipment to charge by connecting described electronic equipment.
Further, data processing chip comprises the first judging unit 303, by being connected to described electronic equipment, charge at least one second electronic equipment having been detected by detecting unit 302, and obtained described electronic equipment after current state is the first power consumption of the first state, for determining that the minimum power consumption corresponding with described the first state is described pre-conditioned, and judge whether described the first power consumption is not less than described minimum power consumption.
Further, data processing chip comprises the second state adjustment unit 304, in described the first power consumption, do not meet described when pre-conditioned, for determining the second power consumption of described electronic equipment, described the second power consumption meets described pre-conditioned, and based on described the second power consumption, for the current state of described electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.
Further, the second adjustment unit comprises performance element 305, after determining described the second power consumption, for generating the first instruction, and carry out described the first instruction, for the current state of described electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.
Wherein, when one second electronic equipment having been detected by detecting unit and charged by connecting described electronic equipment, obtaining described electronic equipment is the first power consumption of the first state in current state, and judge whether described the first power consumption meets pre-conditioned, in described the first power consumption, do not meet when pre-conditioned, the current state of described electronic equipment is adjusted to the second state from described the first state, wherein, the second power consumption that described the second state is corresponding meets described pre-conditioned, so, the power consumption that can guarantee described electronic equipment can not cause because power consumption is too low described electronic equipment to shut down voluntarily always within the scope of described electronic equipment permission, thereby can improve the serviceable life of described electronic equipment, reduce the probability of losing user data, promote user's experience effect.
The electronic equipment that various variation patterns in the method for the control electronic equipment in previous embodiment and instantiation are equally applicable to the present embodiment, by the aforementioned detailed description to the method for control electronic equipment, those skilled in the art can clearly know the implementation method of electronic equipment in the present embodiment, so succinct for instructions, is not described in detail in this.
In another embodiment, also providing a kind of electronic equipment, in described electronic equipment, operating system has been installed, can be WINDOWS operating system, UNIX operating system, MAC operating system and (SuSE) Linux OS etc. such as described operating system.This electronic equipment is such as being the electronic equipments such as notebook computer, desk-top computer.
As shown in Figure 4, this electronic equipment comprises: data processing chip 401: when having at least one second electronic equipment to charge by connecting described electronic equipment, for obtaining described electronic equipment, it in current state, is the first power consumption of the first state, and it is one pre-conditioned to judge that whether described the first power consumption meets, in described the first power consumption, do not meet described when pre-conditioned, for the current state of described electronic equipment is adjusted to the second state from described the first state, wherein, the second power consumption that described the second state is corresponding meets described pre-conditioned.
Whether wherein, data processing chip comprises detecting unit 402, for detection of having at least one second electronic equipment to charge by connecting described electronic equipment.
Further, data processing chip comprises the first judging unit 403, by being connected to described electronic equipment, charge at least one second electronic equipment having been detected by detecting unit 402, and obtained described electronic equipment after current state is the first power consumption of the first state, for determining that the minimum power consumption corresponding with described the first state is described pre-conditioned, and judge whether described the first power consumption is not less than described minimum power consumption.
Further, data processing chip comprises the second state adjustment unit 404, in described the first power consumption, do not meet described when pre-conditioned, for determining the second power consumption of described electronic equipment, described the second power consumption meets described pre-conditioned, and based on described the second power consumption, for the current state of described electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.
Further, the second adjustment unit comprises performance element 405, after determining described the second power consumption, for generating the first instruction, and carry out described the first instruction, for the current state of described electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.
Further, data processing chip comprises the first state adjustment unit 406, when described the first power consumption is greater than described minimum power consumption, for the 3rd power consumption using described minimum power consumption as described the first electronic equipment, and based on described the 3rd power consumption, for the current state of described the first electronic equipment is adjusted to the third state corresponding with described the 3rd power consumption from described the first state.
Further, the first state adjustment unit comprises power consumption determining unit 407, when described the first power consumption is greater than described minimum power consumption, for obtaining the first charge power of described at least one each the second electronic equipment of the second electronic equipment, and whether detection has the first charge power of one second electronic equipment whether to reach the maximum charge power of described the second electronic equipment body, when the first charge power that has one second electronic equipment does not reach the maximum charge power of described the second electronic equipment body, for the 3rd power consumption using described minimum power consumption as described the first electronic equipment.
Wherein, in described the first power consumption, meet pre-conditioned, and when described the first power consumption is greater than nearest power consumption, can by the actual charge power of described the second electronic equipment, determine whether described electronic equipment to adjust to the third state corresponding with described lowest power consumption from the first state, so, at the charge power that guarantees can also improve when described electronic equipment can not shut down voluntarily described the second electronic equipment, for user provides convenience, and the experience effect that promotes user.
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
One, because the embodiment of the present application is by detecting the first power consumption of described the first electronic equipment, and it is one pre-conditioned to judge that whether described the first power consumption meets, , judge in the power consumption whether described the first power consumption allow at described electronic equipment, in described the first power consumption, do not meet described when pre-conditioned, the current state of described the first electronic equipment is adjusted to the second state from described the first state, wherein, second power consumption corresponding with described the second state meets described pre-conditioned, so, at described the first electronic equipment, when charging for mobile terminal, can guarantee can be because of the power source loads of described the first electronic equipment not too high problem that occurs shutdown of described the first electronic equipment, can not only improve the serviceable life of described the first electronic equipment and reduce the probability of losing user, and can also be more convenient user's experience effect of using and promoting user.
Two, due to the embodiment of the present application be in described the first power consumption, meet described when pre-conditioned, can be using described the first electronic equipment the minimum power consumption under current state as the 3rd power consumption of described the first electronic equipment, and the current state of described the first electronic equipment is adjusted to the third state corresponding with described the 3rd power consumption from the first state, guaranteeing to guarantee that mobile terminal can charge when described the first electronic equipment can not shut down because power source loads is too high, further for user improves experience convenient and lifting user.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (14)

1. a method for information processing, is applied to the first electronic equipment, in described the first electronic equipment, operating system is installed, and it is characterized in that, described method comprises:
When having at least one second electronic equipment to charge by connecting described the first electronic equipment, obtaining described the first electronic equipment is the first power consumption of the first state in current state;
Judge that whether described the first power consumption meets one pre-conditioned;
In described the first power consumption, do not meet describedly when pre-conditioned, the current state of described the first electronic equipment is adjusted to the second state from described the first state, wherein, the second power consumption that described the second state is corresponding meets described pre-conditioned.
2. the method for claim 1, is characterized in that, described before having described the first electronic equipment of at least one the second electronic equipment charging connection, described method comprises:
Whether detect has the second electronic equipment to charge by connecting described the first electronic equipment.
3. the method for claim 1, is characterized in that, described to judge that whether described the first power consumption meets one pre-conditioned, specifically comprises:
The first state based on described the first electronic equipment, determines that the minimum power consumption corresponding with described the first state is described pre-conditioned,
Judge whether described the first power consumption is not less than described minimum power consumption.
4. method as claimed in claim 3, is characterized in that, described judge whether described the first power consumption is not less than described minimum power consumption after, described method comprises:
When described the first power consumption is greater than described minimum power consumption, the 3rd power consumption using described minimum power consumption as described the first electronic equipment;
Based on described the 3rd power consumption, the current state of described the first electronic equipment is adjusted to the third state corresponding with described the 3rd power consumption from described the first state.
5. method as claimed in claim 4, is characterized in that, described when described the first power consumption is greater than described minimum power consumption, and the 3rd power consumption using described minimum power consumption as described the first electronic equipment, specifically comprises:
When described the first power consumption is greater than described minimum power consumption, obtain the first charge power of each the second electronic equipment in described at least one second electronic equipment;
Detect the maximum charge power that whether has the first charge power of one second electronic equipment whether to reach described the second electronic equipment body;
When the first charge power that has one second electronic equipment does not reach the maximum charge power of described the second electronic equipment body, the 3rd power consumption using described minimum power consumption as described the first electronic equipment.
6. the method for claim 1, is characterized in that, describedly in described the first power consumption, does not meet describedly when pre-conditioned, and the current state of described the first electronic equipment is adjusted to the second state from described the first state, specifically comprises:
In described the first power consumption, do not meet describedly when pre-conditioned, determine the second power consumption of described the first electronic equipment, described the second power consumption meets described pre-conditioned;
Based on described the second power consumption, the current state of described the first electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.
7. method as claimed in claim 6, is characterized in that, described based on described the second power consumption, and the current state of described the first electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state, specifically comprises:
After determining described the second power consumption, generate the first instruction;
Carry out described the first instruction, the current state of described the first electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.
8. an electronic equipment, is provided with operating system in described electronic equipment, it is characterized in that, described electronic equipment comprises:
One data processing chip, when having at least one second electronic equipment to charge by connecting described electronic equipment, for obtaining described electronic equipment, it in current state, is the first power consumption of the first state, and it is one pre-conditioned to judge that whether described the first power consumption meets, in described the first power consumption, do not meet described when pre-conditioned, for the current state of described electronic equipment is adjusted to the second state from described the first state, wherein, the second power consumption that described the second state is corresponding meets described pre-conditioned.
9. whether electronic equipment as claimed in claim 8, is characterized in that, described data processing chip comprises detecting unit, for detection of having at least one second electronic equipment to charge by connecting described electronic equipment.
10. electronic equipment as claimed in claim 8, it is characterized in that, described data processing chip comprises the first judging unit, the first state based on described electronic equipment, for determining that the minimum power consumption corresponding with described the first state is described pre-conditioned, and judge whether described the first power consumption is not less than described minimum power consumption.
11. electronic equipments as claimed in claim 10, it is characterized in that, described data processing chip comprises the first state adjustment unit, when described the first power consumption is greater than described minimum power consumption, for the 3rd power consumption using described minimum power consumption as described the first electronic equipment, and based on described the 3rd power consumption, for the current state of described the first electronic equipment is adjusted to the third state corresponding with described the 3rd power consumption from described the first state.
12. electronic equipments as claimed in claim 11, it is characterized in that, described the first state adjustment unit comprises power consumption determining unit, when described the first power consumption is greater than described minimum power consumption, for obtaining the first charge power of described at least one each the second electronic equipment of the second electronic equipment, and whether detection has the first charge power of one second electronic equipment whether to reach the maximum charge power of described the second electronic equipment body, when the first charge power that has one second electronic equipment does not reach the maximum charge power of described the second electronic equipment body, for the 3rd power consumption using described minimum power consumption as described the first electronic equipment.
13. electronic equipments as claimed in claim 8, it is characterized in that, described data processing chip comprises the second state adjustment unit, in described the first power consumption, do not meet described when pre-conditioned, for determining the second power consumption of described electronic equipment, described the second power consumption meets described pre-conditioned, and based on described the second power consumption, for the current state of described electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.
14. electronic equipments as claimed in claim 13, it is characterized in that, described the second state adjustment unit comprises performance element, after determining described the second power consumption, be used for generating the first instruction, and carry out described the first instruction, for the current state of described electronic equipment is adjusted to second state corresponding with described the second power consumption from described the first state.
CN201210348118.4A 2012-09-18 2012-09-18 The method of information processing and the first electronic equipment Active CN103677199B (en)

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 true CN103677199A (en) 2014-03-26
CN103677199B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677405A (en) * 2015-12-31 2016-06-15 联想(北京)有限公司 Positive and negative inserting interface processing method and electronic device
CN105990864A (en) * 2015-02-04 2016-10-05 联想(北京)有限公司 Charging method
CN106125878A (en) * 2016-06-13 2016-11-16 联想(北京)有限公司 A kind of charging method and electronic equipment
CN109491525A (en) * 2018-11-13 2019-03-19 宁波视睿迪光电有限公司 Realize the method and device of interaction pen low-power consumption
CN109710051A (en) * 2018-12-27 2019-05-03 联想(北京)有限公司 A kind of processing method and electronic equipment
CN111043149A (en) * 2019-12-20 2020-04-21 深圳市长盈精密技术股份有限公司 Folding hinge and folding display device

Citations (3)

* Cited by examiner, † Cited by third party
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
US20070192643A1 (en) * 2006-02-16 2007-08-16 Semiconductor Manufacturing International (Shanghai) Corporation Power saving system and method for devices based on universal serial bus
CN101634886A (en) * 2009-08-25 2010-01-27 上海宏力半导体制造有限公司 Electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
US20070192643A1 (en) * 2006-02-16 2007-08-16 Semiconductor Manufacturing International (Shanghai) Corporation Power saving system and method for devices based on universal serial bus
CN101634886A (en) * 2009-08-25 2010-01-27 上海宏力半导体制造有限公司 Electronic device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105990864A (en) * 2015-02-04 2016-10-05 联想(北京)有限公司 Charging method
CN105990864B (en) * 2015-02-04 2018-12-14 联想(北京)有限公司 A kind of charging method and device
CN105677405A (en) * 2015-12-31 2016-06-15 联想(北京)有限公司 Positive and negative inserting interface processing method and electronic 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
CN109491525A (en) * 2018-11-13 2019-03-19 宁波视睿迪光电有限公司 Realize the method and device of interaction pen low-power consumption
CN109491525B (en) * 2018-11-13 2022-04-01 宁波视睿迪光电有限公司 Method and device for realizing low power consumption of interactive pen
CN109710051A (en) * 2018-12-27 2019-05-03 联想(北京)有限公司 A kind of processing method and electronic equipment
CN111043149A (en) * 2019-12-20 2020-04-21 深圳市长盈精密技术股份有限公司 Folding hinge and folding display device

Also Published As

Publication number Publication date
CN103677199B (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN103107569B (en) The method of executive system power management and device
US9197075B2 (en) Charging port based on power state signal
CN103677199A (en) Information processing method and electronic equipment
CN105720645A (en) Charging method, charging device and charger
JP5669320B2 (en) Electronics
WO2013073267A1 (en) Electronic apparatus, charge control method, charging system, and data transfer system
CN103378378B (en) A kind of charging method and device
US20120194124A1 (en) Wireless Battery Charging System
WO2007122787A1 (en) Charging system, charging control program, and portable terminal
CN104577231A (en) Method, adaptor, terminal and system for realizing quick charging
CN101546918A (en) Device and method for charging USB
US20100180132A1 (en) Power Management Device for a Computer System and Related Power Management Method and Computer System
US20090267567A1 (en) Systems and methods for supplying power to an electronic device
WO2014187415A1 (en) Charging cable and charging system
TW201737586A (en) Electronic system and charging method
US9252618B2 (en) Terminals, terminal systems and charging/discharging methods thereof
CN112134337A (en) Power adapter, terminal device, electronic device and charging control method thereof
CN103246336A (en) Electronic apparatus and driving control method thereof
US9122470B2 (en) Electronic device with power control function
CN104953631A (en) Current control method and terminal device
EP3148038B1 (en) Charging control method and apparatus, terminal and computer storage medium
WO2022242347A1 (en) Wireless charging method and apparatus, and storage medium
CN105098854A (en) Charging method and electronic apparatus
CN103390926B (en) The power system of electronic installation
CN103872397A (en) Charging method and electronic device

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