CN103529758B - A kind of method for controlling power supply, power supply control apparatus and electronic equipment - Google Patents

A kind of method for controlling power supply, power supply control apparatus and electronic equipment Download PDF

Info

Publication number
CN103529758B
CN103529758B CN201210232396.3A CN201210232396A CN103529758B CN 103529758 B CN103529758 B CN 103529758B CN 201210232396 A CN201210232396 A CN 201210232396A CN 103529758 B CN103529758 B CN 103529758B
Authority
CN
China
Prior art keywords
equipment
low electric
electric treatment
power supply
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210232396.3A
Other languages
Chinese (zh)
Other versions
CN103529758A (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 CN201210232396.3A priority Critical patent/CN103529758B/en
Publication of CN103529758A publication Critical patent/CN103529758A/en
Application granted granted Critical
Publication of CN103529758B publication Critical patent/CN103529758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

The invention discloses a kind of method for controlling power supply, it is applied to an electronic equipment, this electronic equipment includes interconnective first equipment and the second equipment, this electronic equipment also includes electric power system, this electric power system is controlled by the first equipment, described method includes: judge whether to meet the first condition that the first equipment carries out low electric treatment, it is thus achieved that a judged result;When judged result shows the first condition that satisfied first equipment carries out low electric treatment, send, to the second equipment, the first instruction that described second equipment of prompting carries out low electric treatment.Method for controlling power supply disclosed by the invention, monitor whether in real time to meet the first condition that the first equipment carries out low electric treatment, send to the second equipment when meeting this first condition and point out it to carry out the first instruction of low electric treatment, second equipment performs corresponding subsequent operation according to this first instruction afterwards, achieve the power supply control to electronic equipment, avoid the second equipment illegally to be shut down simultaneously.The invention also discloses power supply control apparatus and electronic equipment.

Description

A kind of method for controlling power supply, power supply control apparatus and electronic equipment
Technical field
The invention belongs to the control technical field of electronic equipment, particularly relate to a kind of method for controlling power supply, confession Controller for electric consumption and electronic equipment.
Background technology
With scientific and technological development, having a class to have the electronic equipment of multiple equipment, the plurality of equipment phase interconnects Connect and be integrated, and some parts of multiple collaborative share (such as electric power system), the parts shared are set by one Standby control, this equipment is as the main equipment in electronic equipment.For example: can be by the main frame of notebook computer As base, using tablet device as display, tablet device and the notebook computer supporting with this base Main frame connect as one, and both are powered by an electric power system.In use, two set Standby can be respectively as foreground equipment, foreground equipment refers in this electronic equipment for directly receiving user The equipment of control instruction.
Current low electric treatment strategy is all based on what traditional electronic equipment proposed.For example: electronic equipment Use battery or battery-powered in the case of, if electronic equipment use Microsoft Windows, then When the electricity of battery or battery pack in electronic equipment is less than threshold power, control electronic equipment carries out dormancy Or shutdown process, if electronic equipment uses Android operation system, then when the battery in electronic equipment or battery When the electricity of group is less than threshold power, control electronic equipment carries out shutdown process.
For the electronic equipment being made up of multiple equipment, how the multiple equipment in electronic equipment are supplied Electric control, prevents the non-main equipment in electronic equipment from illegally being shut down, and is that those skilled in the art need to examine The problem considered.
Content of the invention
In view of this, it is an object of the invention to provide a kind of method for controlling power supply and power supply control apparatus, Control can be powered to the multiple equipment in electronic equipment, prevent the non-main equipment quilt in electronic equipment Illegal shutdown.Meanwhile, the invention also discloses a kind of electronic equipment.
For achieving the above object, the present invention provides following technical scheme:
A kind of method for controlling power supply, is applied to an electronic equipment, and described electronic equipment includes interconnective First equipment and the second equipment, described electronic equipment also includes electric power system, and described electric power system is described First equipment and described second equipment are powered, and described electric power system is by described first equipment control, described side Method includes:
Judge whether to meet the first condition that described first equipment carries out low electric treatment, it is thus achieved that a judged result;
When described judged result shows to meet the first condition that described first equipment carries out low electric treatment, to Described second equipment sends the first instruction that described second equipment of prompting carries out low electric treatment.
Preferably, in above-mentioned method for controlling power supply, when described first equipment is foreground equipment, described The first condition that first equipment carries out low electric treatment is: described electronic equipment is by the electricity in described electric power system Pond or battery-powered, and the electricity of described battery or battery pack is less than first threshold;Or, receive Described first equipment of control to user's input carries out the second instruction of low electric treatment.
Preferably, in above-mentioned method for controlling power supply, when described second equipment is foreground equipment, described The first condition that first equipment carries out low electric treatment is: the request receiving described second equipment transmission is carried out 3rd instruction of low electric treatment.
Preferably, in above-mentioned method for controlling power supply, the condition that described second equipment sends the 3rd instruction is: Described electronic equipment is by the battery in described electric power system or battery-powered, and described battery or battery The electricity of group is less than first threshold;Or, described second equipment receives the control described the of user's input Two equipment carry out the 4th instruction of low electric treatment.
Preferably, in above-mentioned method for controlling power supply, instruct in described second equipment response described first and complete After low electric treatment, also include controlling the step that described first equipment carries out low electric treatment.
Preferably, in above-mentioned method for controlling power supply, when the low electric treatment of described first equipment be dormancy or During sleep, sending, to described second equipment, the first instruction that described second equipment of prompting carries out low electric treatment After, control described first equipment and carry out low electric treatment.
Preferably, in above-mentioned method for controlling power supply, when described judged result shows that meeting described first sets Standby carry out low electric treatment first condition when, also include:
Judge whether to meet the second condition that described first equipment performs low electric treatment;
When meeting described second condition, instruct in described second equipment response described first and complete at low electricity After reason, control described first equipment and carry out low electric treatment.
Preferably, in above-mentioned method for controlling power supply, described second condition includes: described electronic equipment by Battery or battery-powered in electric power system, and the electricity of described battery or battery pack is less than Second Threshold; Or, described first equipment of control receiving user's input carries out the second instruction of low electric treatment.
Preferably, in above-mentioned method for controlling power supply, when described second equipment is foreground equipment, really Surely after meeting the second condition that described first equipment performs low electric treatment, if described first equipment is in dormancy State, then, before described first equipment of control carries out low electric treatment, also include waking up described first equipment up Step.
A kind of power supply control apparatus, is applied to an electronic equipment, and described electronic equipment includes interconnective First equipment and the second equipment, described electronic equipment also includes electric power system, and described electric power system is described First equipment and described second equipment are powered, and described electric power system is by described first equipment control, described confession Controller for electric consumption includes:
First judging unit, for judging whether to meet the Article 1 that described first equipment carries out low electric treatment Part a, it is thus achieved that judged result;
Instruction sending unit, the judged result for generating at described first judging unit shows satisfied described When first equipment carries out the first condition of low electric treatment, it carries out low electricity to send prompting to described second equipment The first instruction processing.
Preferably, in above-mentioned power supply control apparatus, when described first equipment is foreground equipment, described First judging unit includes the first judge module or the second judge module;
Described first judge module is used at described electronic equipment by the battery in described electric power system or battery Group power supply, and when the electricity of described battery or battery pack is less than first threshold, determine that meeting described first sets The standby first condition carrying out low electric treatment;
Described second judge module is for carrying out low electricity at described first equipment of control receiving user's input During the second instruction processing, determine and meet the first condition that described first equipment carries out low electric treatment.
Preferably, in above-mentioned power supply control apparatus, the first processing unit is also included;
Described first processing unit completes low electric treatment for instructing in described second equipment response described first After, control described first equipment and carry out low electric treatment.
Preferably, in above-mentioned power supply control apparatus, when described second equipment is foreground equipment, described First judging unit includes the 3rd judge module;
Described 3rd judge module is for carrying out low electric treatment in the request receiving described second equipment transmission The 3rd instruction when, determine meet the first condition that described first equipment carries out low electric treatment.
Preferably, in above-mentioned power supply control apparatus, the second judging unit and the second processing unit are also included;
At described first judging unit, described second judging unit is for determining that meeting described first equipment is carried out During the first condition of low electric treatment, it may be judged whether meet described first equipment and perform the Article 2 of low electric treatment Part;
At described second judging unit, described second processing unit is for determining that meeting described first equipment performs During the second condition of low electric treatment, after described second described first instruction of equipment response completes low electric treatment, Control described first equipment and carry out low electric treatment.
Preferably, in above-mentioned power supply control apparatus, described second processing unit is additionally operable to described second Judging unit determines that meeting described first equipment performs at second condition and described first equipment of low electric treatment When resting state, before described first equipment of control carries out low electric treatment, wake up described first equipment up.
A kind of electronic equipment, including interconnective first equipment and the second equipment and be described first The electric power system that equipment and the second equipment are powered, described electric power system is by described first equipment control, described Electronic equipment also includes the power supply control apparatus described in any of the above-described item.
As can be seen here, the invention have the benefit that method for controlling power supply disclosed by the invention, confession are automatically controlled Device processed and electronic equipment, monitor whether to meet the first condition that the first equipment carries out low electric treatment in real time, Send to the second equipment when meeting this first condition and point out it to carry out the first instruction of low electric treatment, afterwards Second equipment performs corresponding subsequent operation according to this first instruction, it is achieved that to electronic equipment for automatically controlled System, avoids the second equipment illegally to be shut down simultaneously.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality The accompanying drawing executing required use in example or description of the prior art is briefly described, it should be apparent that below, Accompanying drawing in description is some embodiments of the present invention, for those of ordinary skill in the art, not On the premise of paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of method for controlling power supply disclosed in the embodiment of the present invention one;
Fig. 2 is the flow chart of method for controlling power supply disclosed in the embodiment of the present invention two;
Fig. 3 is the flow chart of method for controlling power supply disclosed in the embodiment of the present invention three;
Fig. 4 is the flow chart of method for controlling power supply disclosed in the embodiment of the present invention four;
Fig. 5 is the flow chart of method for controlling power supply disclosed in the embodiment of the present invention five;
Fig. 6 is the structural representation of power supply control apparatus disclosed in the embodiment of the present invention six;
Fig. 7 is the structural representation of power supply control apparatus disclosed in the embodiment of the present invention seven;
Fig. 8 is the structural representation of power supply control apparatus disclosed in the embodiment of the present invention eight;
Fig. 9 is the structural representation of power supply control apparatus disclosed in the embodiment of the present invention nine;
Figure 10 is the structural representation of electronic equipment disclosed by the invention.
Detailed description of the invention
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of not making creative work The every other embodiment obtaining, broadly falls into the scope of protection of the invention.
The invention discloses a kind of method for controlling power supply, the method is applied to an electronic equipment, and this electronics sets For including interconnective first equipment and the second equipment, this electronic equipment also includes an electric power system simultaneously, First equipment as this electronic equipment main equipment, electric power system is controlled, confession disclosed by the invention Electric control method can be powered control to this electronic equipment, prevents the second equipment from illegally being shut down.
Embodiment one
Seeing Fig. 1, Fig. 1 is the flow chart of method for controlling power supply disclosed in the embodiment of the present invention one.Including:
Step S11: judge whether to meet the first condition that the first equipment carries out low electric treatment, it is thus achieved that one judges Result.
The first condition that first equipment carries out low electric treatment includes but is not limited to: electronic equipment by powering is Battery or battery-powered in system, and the electricity of battery or battery pack is less than first threshold;Receive Control first equipment of user's input carries out the second instruction of low electric treatment;Receive what the second equipment sent Request carries out the 3rd instruction of low electric treatment.This first threshold can be the original start of electronic equipment, also Can be set by the user.
Step S12: when judged result shows the first condition that satisfied first equipment carries out low electric treatment, to Second equipment sends the first instruction.
This first instruction carries out low electric treatment for prompting the second equipment.
Second equipment, after receiving the first instruction, performs corresponding subsequent treatment.Concrete: when this When one condition is the 3rd instruction that second equipment that receives sends, then the second equipment is receiving the first instruction After, response the first instruction carries out low electric treatment;When this first condition is other conditions, the second equipment can Response the first instruction carries out low electric treatment, or on the basis of receiving the first instruction, determines whether Whether meet self and carry out the condition of low electric treatment, perform low electric treatment when meeting self-condition again.
It should be noted that when the first equipment and the second equipment use the Windows of Microsoft, the The low electric treatment of one equipment and the second equipment includes shutdown, dormancy and sleep;When the first equipment and second sets During standby employing Android operation system, the low electric treatment of the first equipment and the second equipment is shutdown.
Method for controlling power supply disclosed in the embodiment of the present invention one, monitors whether that meeting the first equipment is carried out in real time The first condition of low electric treatment, it carries out low electricity to send prompting when meeting this first condition to the second equipment The first instruction processing, the second equipment performs corresponding subsequent operation according to this first instruction afterwards, it is achieved Power supply control to electronic equipment, avoids the second equipment illegally to be shut down simultaneously.
Embodiment two
When the first equipment (is used for directly receiving in i.e. as electronic equipment as the foreground equipment of electronic equipment The equipment of the control instruction of user) when, the method for controlling power supply of this electronic equipment is as in figure 2 it is shown, Fig. 2 The flow chart of method for controlling power supply disclosed in the embodiment of the present invention two.Including:
Step S21: judge electronic equipment whether by the battery in electric power system or battery-powered and this battery Or the electricity of battery pack is less than first threshold, or whether receive the second instruction of user's input.
In electronic equipment running, if the electricity mistake of the battery of power electronic equipment or battery pack Low, in order to ensure that electronic equipment is not illegally shut down, need to carry out it low electric treatment, low electricity here Process can be shutdown, it is also possible to be the process that dormancy or sleep so can reduce electric quantity consumption.Certainly, If the requirement receiving user's input carries out the instruction of low electric treatment, it is also desirable to it is carried out accordingly Low electric treatment.
This second instruction carries out low electric treatment for the first equipment controlling in electronic equipment.User can be led to Cross and push button or key combination, press virtual key or virtual key combination, or click on special icon Mode input this second instruction.
Step S22: when meeting either condition, sends the first instruction to the second equipment.
This first instruction carries out low electric treatment for prompting the second equipment.Second equipment is receiving the first finger After order, perform low electric treatment.It should be noted that when the low electric treatment of the first equipment is specially shut down, The low electric treatment of the second equipment is also for shutting down, when the low electric treatment of the first equipment is dormancy or sleep, the The low electric treatment of two equipment is dormancy or sleep accordingly.
In method for controlling power supply disclosed in the embodiment of the present invention two, using the first equipment as electronic equipment Foreground equipment, when the electricity being the battery of power electronic equipment or battery pack is less than first threshold or reception To user input second instruction when, to second equipment send prompting its carry out low electric treatment first instruction, Second equipment performs low electric treatment according to this first instruction afterwards, it is achieved that the power supply control to electronic equipment, Avoid the second equipment illegally to be shut down simultaneously.
Preferably, the second equipment respond this first instruction complete low electric treatment after, also include controlling first Equipment carries out the step of low electric treatment.After the second equipment completes low electric treatment, send out to power supply control apparatus Sending a mark having completed low electric treatment, power supply control apparatus is after receiving this mark, and control first sets Standby carry out low electric treatment, it is ensured that the first equipment is carried out at low electricity after the second equipment completes low electric treatment again Reason, it is to avoid the possibility that the second equipment is illegally shut down.
Embodiment three
When the second equipment (is used for directly receiving in i.e. as electronic equipment as the foreground equipment of electronic equipment The equipment of the control instruction of user) when, the method for controlling power supply of this electronic equipment is as it is shown on figure 3, Fig. 3 The flow chart of method for controlling power supply disclosed in the embodiment of the present invention three.Including:
Step S31: judge whether to receive the request that the second equipment sends and carry out the 3rd finger of low electric treatment Order.
In electronic equipment running, if the electricity mistake of the battery of power electronic equipment or battery pack When low, in order to ensure that electronic equipment is not illegally shut down, need to carry out it low electric treatment, here low Electric treatment can be shutdown, it is also possible to be the process that dormancy or sleep so can reduce electric quantity consumption.When So, if the requirement receiving user's input carries out the instruction of low electric treatment, it is also desirable to phase is carried out to it The low electric treatment answered.Therefore, the second equipment can be with the information about power of battery or battery pack, or with user Instruction determines whether to send the 3rd instruction for foundation.
In enforcement, the condition that the second equipment sends the 3rd instruction includes but is not limited to: electronic equipment is by powering Battery or battery-powered in system, and the electricity of this battery or battery pack is less than first threshold;Or, This second equipment that controls that second equipment receives user's input carries out the 4th instruction of low electric treatment.
User can press virtual key or virtual key combination by pushing button or key combination, or The mode that person clicks on special icon inputs the 4th instruction.
Step S32: when receiving the 3rd instruction, sends the first instruction to the second equipment.
Second equipment, after receiving the first instruction, performs low electric treatment.
In method for controlling power supply disclosed in the embodiment of the present invention three, using the second equipment as electronic equipment Foreground equipment, when the 3rd instruction that second equipment that receives sends, it enters to send prompting to the second equipment First instruction of the low electric treatment of row, the second equipment performs low electric treatment according to this first instruction afterwards, and this is the years old Three instructions are being the battery of power electronic equipment or the electricity of battery pack is too low or receive use by the second equipment The 4th of family sends when instructing, it is achieved that the power supply control to electronic equipment, it is to avoid the second equipment is by illegally Shutdown.
Embodiment four
In embodiment three, when the second equipment determine the electricity of battery or battery pack be less than first threshold or When receiving the 4th instruction of user's input, sending the 3rd instruction to power supply control apparatus, power supply control fills Put receive the 3rd instruction after to second equipment send first instruction, second equipment response first instruct into The low electric treatment of row.Now, the first equipment can carry out corresponding low electric treatment therewith automatically, concrete, When the second equipment carries out other low electric treatment of non-shutdown, it is low that the first equipment is also carried out other of non-shutdown Electric treatment, when the second equipment carries out power-off operation, the first equipment can carry out any one low electric treatment. But under some application scenarios, after the second equipment enters low power mode, user is not intended to the first equipment also Automatically into low power mode, for this situation, the invention discloses another kind of method for controlling power supply.
Seeing Fig. 4, Fig. 4 is the flow chart of method for controlling power supply disclosed in the embodiment of the present invention four, and second sets The standby foreground equipment as electronic equipment.The method includes:
Step S41: judge whether to receive the request that the second equipment sends and carry out the 3rd finger of low electric treatment Order, if receiving the 3rd instruction, then step S42.
Step S42: send the first instruction to the second equipment.
The implementation process one of step S31 and S32 in the implementation process of step S41 and S42 and embodiment three Cause, refer to described above, do not repeat them here.
Step S43: judge whether to meet the second condition that described first equipment performs low electric treatment, if meeting Second condition, then step S44.
Here second condition includes but is not limited to: electronic equipment is by the battery in electric power system or battery pack Power supply, and the electricity of this battery or battery pack is less than Second Threshold;Receive user's input control this One equipment carries out the second instruction of low electric treatment.
Second Threshold can be less than first threshold, it is also possible to identical with first threshold.
Step S44: after second equipment response the first instruction completes low electric treatment, control the first equipment and carry out Low electric treatment.
After the second equipment completes low electric treatment, if the electricity of battery or battery pack is higher than Second Threshold, Also not receiving the second instruction of user's input, now the first equipment still keeps original running status simultaneously. If the electricity of battery or battery pack is less than Second Threshold, or receives the second instruction that user inputs, Then control the first equipment and carry out low electric treatment.Certainly, which kind of low electric treatment needs the first equipment specifically uses Low electric treatment with reference to the second equipment determines, concrete: when the second equipment carries out other low electricity of non-shutdown When processing (i.e. sleep and dormancy), other low electric treatment that the first equipment is also carried out non-shutdown (are i.e. slept And dormancy), when the second equipment carries out power-off operation, the first equipment can carry out any one low electric treatment (i.e. sleep, dormancy and shutdown).
It should be noted that after step S43 also may be located at step S41, receive second in determination After the 3rd instruction that equipment sends, just determine whether that currently whether meeting the first equipment performs low electric treatment Second condition, when determination meets second condition, step S42 and S44 successively, discontented when determining During foot second condition, only step S42.
In method for controlling power supply disclosed in the embodiment of the present invention four, using the second equipment as before electronic equipment Platform equipment, when the 3rd instruction that second equipment that receives sends, it is carried out to send prompting to the second equipment First instruction of low electric treatment, the second equipment performs low electric treatment according to this first instruction afterwards, it is achieved that Power supply control to electronic equipment, it is to avoid the second equipment is illegally shut down, meanwhile, according to electronic equipment Carrying out practically situation is powered control to the first equipment, it is to avoid the first equipment enters low electricity at the second equipment Automatically into low power mode after pattern, improve Consumer's Experience.
In embodiment four, after determining the second condition that satisfied first equipment performs low electric treatment, if first Equipment in a dormant state, then, before control the first equipment carries out low electric treatment, also includes waking up first up The step of equipment.
Embodiment five
When the low electric treatment pre-setting for the first equipment is for sleep or during dormancy, electronic equipment for automatically controlled Method processed is as it is shown in figure 5, flow chart that Fig. 5 is method for controlling power supply disclosed in the embodiment of the present invention five. Including:
Step S51: judge electronic equipment whether by the battery in electric power system or battery-powered and this battery Or the electricity of battery pack is less than first threshold, or whether receive the second instruction of user's input.
The implementation process of step S51 is consistent with step S21 in embodiment two, refers to described above, Do not repeat them here.
Step S52: when meeting either condition, sends the first instruction to the second equipment.
It owing to the low electric treatment of the first equipment is only limitted to sleep process and dormancy process, is not turn off power supply system System, therefore, the second equipment, after receiving the first instruction, can continue to keep its original running status, Or perform any one low electric treatment.
Certainly, the second equipment also can determine subsequent treatment according to the state of self.For example: judge battery Or whether the electricity of battery pack is less than the 3rd threshold value, the 3rd threshold value is less than first threshold, or judgement is Control second equipment of the no user of receiving input carries out the 4th instruction of low electric treatment;Any one when meeting During individual condition, control the second equipment and carry out low electric treatment;Otherwise, the second equipment keeps original running status.
Step S53: control the first equipment and carry out low electric treatment.
The low electric treatment of the first equipment only includes the one in sleep process and dormancy process, and control first sets Standby carry out the closedown that low electric treatment is not result in electric power system in electronic equipment, therefore, to the second equipment After sending the first instruction, the first equipment can be controlled immediately and carry out low electric treatment, enter sleep pattern or stop Sleep mode, need not consider the state of the second equipment.Certainly, in enforcement also can with after time delay Preset Time again Control the first equipment and carry out low electric treatment.
Method for controlling power supply disclosed in the embodiment of the present invention five, can only control the first equipment and carry out at low electricity Reason, and the second equipment keeps original running status, reduces the power consumption of electronic equipment, reduces electronics and set Standby power consumption.
The present invention is disclosed above is applied to the method for controlling power supply of electronic equipment, the corresponding present invention also public affairs Having opened a kind of power supply control apparatus, being applied to an electronic equipment, this electronic equipment includes interconnective One equipment and the second equipment, this electronic equipment also includes an electric power system simultaneously, and the first equipment is as this electricity The main equipment of subset, being controlled electric power system, this power supply control apparatus can be to this electronic equipment It is powered control, prevent the second equipment in electronic equipment from illegally being shut down.
Embodiment six
Seeing Fig. 6, Fig. 6 is the structural representation of power supply control apparatus disclosed in the embodiment of the present invention six, the One equipment is as the foreground equipment of electronic equipment.
This power supply control apparatus includes the first judging unit 100 and instruction sending unit 200.Wherein,
First judging unit 100 is used for judging whether to meet the first condition that the first equipment carries out low electric treatment, Obtain a judged result.
The first condition that first equipment carries out low electric treatment includes but is not limited to: electronic equipment by powering is Battery or battery-powered in system, and the electricity of battery or battery pack is less than first threshold;Receive Control first equipment of user's input carries out the second instruction of low electric treatment;Receive what the second equipment sent Request carries out the 3rd instruction of low electric treatment.This first threshold can be the original start of electronic equipment, also Can be set by the user.
Instruction sending unit 200 shows to meet for the judged result generating at the first judging unit 100 When one equipment carries out the first condition of low electric treatment, send the first instruction to the second equipment.
This first instruction carries out low electric treatment for prompting the second equipment.
Second equipment, after receiving the first instruction, performs corresponding subsequent treatment.Concrete: when this When one condition is the 3rd instruction that second equipment that receives sends, then the second equipment is receiving the first instruction After, carry out low electric treatment directly in response to this first instruction;When this first condition is other conditions, second Equipment carries out low electric treatment directly in response to this first instruction, or on the basis of receiving the first instruction, Further determine whether to meet the condition self carrying out low electric treatment, perform when meeting self-condition low again Electric treatment.
It should be noted that when the first equipment and the second equipment use the Windows of Microsoft, the The low electric treatment of one equipment and the second equipment includes shutdown, dormancy and sleep;When the first equipment and second sets During standby employing Android operation system, the low electric treatment of the first equipment and the second equipment is shutdown.
Power supply control apparatus disclosed in the embodiment of the present invention six, monitors whether that meeting the first equipment is carried out in real time The first condition of low electric treatment, it carries out low electricity to send prompting when meeting this first condition to the second equipment The first instruction processing, the second equipment performs corresponding subsequent operation according to this first instruction afterwards, it is achieved Power supply control to electronic equipment, avoids the second equipment illegally to be shut down simultaneously.
Embodiment seven
Seeing Fig. 7, Fig. 7 is the structural representation of power supply control apparatus disclosed in the embodiment of the present invention seven, the One equipment is as the foreground equipment of electronic equipment.
This power supply control apparatus includes the first judging unit 100 and instruction sending unit 200.Wherein, first Judging unit 100 includes one of the first judge module 101 and second judge module 102.
First judge module 101 is used at electronic equipment by the battery in electric power system or battery-powered, And the electricity of this battery or battery pack less than first threshold when, determine meet the first equipment carry out low electric treatment First condition.Second judge module 102 is for carrying out at control the first equipment receiving user's input When the second of low electric treatment instructs, determine and meet the first condition that the first equipment carries out low electric treatment.
Instruction sending unit 200 shows to meet for the judged result generating at the first judging unit 100 When one equipment carries out the first condition of low electric treatment, send the first instruction to the second equipment.
This first instruction carries out low electric treatment for prompting the second equipment.Second equipment is receiving the first finger After order, perform low electric treatment.It should be noted that when the low electric treatment of the first equipment is specially shut down, The low electric treatment of the second equipment is also for shutting down, when the low electric treatment of the first equipment is dormancy or sleep, the The low electric treatment of two equipment is dormancy or sleep accordingly.
At power supply control apparatus disclosed in the embodiment of the present invention seven, using the first equipment as before electronic equipment Platform equipment, when the electricity being the battery of power electronic equipment or battery pack is less than first threshold or receives When the second of user's input instructs, send to the second equipment and point out it to carry out the first instruction of low electric treatment, Second equipment performs low electric treatment according to this first instruction afterwards, it is achieved that the power supply control to electronic equipment, Avoid the second equipment illegally to be shut down simultaneously.
Preferably, also include in power supply control apparatus disclosed in embodiment seven first processing unit 300 (as Shown in Fig. 7), this first processing unit 300 completes low electric treatment for responding the first instruction at the second equipment After, control the first equipment and carry out low electric treatment.Second equipment fills to power supply control after completing low electric treatment Putting and sending a mark having completed low electric treatment, power supply control apparatus is after receiving this mark, by the One processing unit 300 controls the first equipment and carries out low electric treatment, it is ensured that the first equipment is complete at the second equipment Carry out low electric treatment again, it is to avoid the possibility that the second equipment is illegally shut down after becoming low electric treatment.
Embodiment eight
Seeing Fig. 8, Fig. 8 is the structural representation of power supply control apparatus disclosed in the embodiment of the present invention eight, the Two equipment are as the foreground equipment of electronic equipment.
This power supply control apparatus includes the first judging unit 100 and instruction sending unit 200.Wherein, first Judging unit 100 includes the 3rd judge module 103.
3rd judge module 103 carries out the of low electric treatment for the request sending at second equipment that receives During three instructions, determine and meet the first condition that the first equipment carries out low electric treatment.
In enforcement, the condition that the second equipment sends the 3rd instruction includes but is not limited to: electronic equipment is by powering Battery or battery-powered in system, and the electricity of this battery or battery pack is less than first threshold;Or, This second equipment that controls that second equipment receives user's input carries out the 4th instruction of low electric treatment.
User can press virtual key or virtual key combination by pushing button or key combination, or The mode that person clicks on special icon inputs the 4th instruction.
Instruction sending unit 200 shows to meet for the judged result generating at the first judging unit 100 When one equipment carries out the first condition of low electric treatment, send the first instruction to the second equipment.
In power supply control apparatus disclosed in the embodiment of the present invention eight, using the second equipment as electronic equipment Foreground equipment, when the 3rd instruction that second equipment that receives sends, it enters to send prompting to the second equipment First instruction of the low electric treatment of row, the second equipment performs low electric treatment according to this first instruction afterwards, and this is the years old Three instructions are being the battery of power electronic equipment or the electricity of battery pack is too low or receive use by the second equipment The 4th of family sends when instructing, it is achieved that the power supply control to electronic equipment, it is to avoid the second equipment is by illegally Shutdown.
Embodiment nine
Seeing Fig. 9, Fig. 9 is the structural representation of power supply control apparatus disclosed in the embodiment of the present invention nine, the Two equipment are as the foreground equipment of electronic equipment.
This power supply control apparatus includes that the 200th, the second judgement of the first judging unit the 100th, instruction sending unit is single Unit 400 and the second processing unit 500.Wherein:
First judging unit 100 includes the 3rd judge module 103.
Instruction sending unit 200 shows to meet for the judged result generating at the first judging unit 100 When one equipment carries out the first condition of low electric treatment, send the first instruction to the second equipment.
At the first judging unit 100, second judging unit 400 is for determining that meeting the first equipment carries out low electricity During the first condition processing, it may be judged whether meet the first equipment and perform the second condition of low electric treatment.
Here second condition includes but is not limited to: electronic equipment is by the battery in electric power system or battery pack Power supply, and the electricity of this battery or battery pack is less than Second Threshold;Receive user's input control this One equipment carries out the second instruction of low electric treatment.
Second Threshold can be less than first threshold, it is also possible to identical with first threshold.
At the second judging unit 400, second processing unit 500 is for determining that meeting the first equipment performs low electricity During the second condition processing, after second equipment response the first instruction completes low electric treatment, control first sets Standby carry out low electric treatment.
After the second equipment completes low electric treatment, if the electricity of battery or battery pack is higher than Second Threshold, Also not receiving the second instruction of user's input, now the first equipment still keeps original running status simultaneously. If the electricity of battery or battery pack is less than Second Threshold, or receives the second instruction that user inputs, Then control the first equipment and carry out low electric treatment.Certainly, which kind of low electric treatment needs the first equipment specifically uses Low electric treatment with reference to the second equipment determines, concrete: when the second equipment carries out other low electricity of non-shutdown When processing (i.e. sleep and dormancy), other low electric treatment that the first equipment is also carried out non-shutdown (are i.e. slept And dormancy), when the second equipment carries out power-off operation, the first equipment can carry out any one low electric treatment (i.e. sleep, dormancy and shutdown).
In enforcement, the second processing unit 500 is additionally operable to determine that meeting first sets at the second judging unit 400 The standby second condition performing low electric treatment, and the first equipment in a dormant state when, at control the first equipment Before carrying out low electric treatment, wake up the first equipment up.
Power supply control apparatus disclosed in the embodiment of the present invention nine, using the second equipment as the foreground of electronic equipment Equipment, when the 3rd instruction that second equipment that receives sends, it carries out low to send prompting to the second equipment First instruction of electric treatment, the second equipment performs low electric treatment according to this first instruction afterwards, it is achieved that right The power supply control of electronic equipment, it is to avoid the second equipment is illegally shut down, meanwhile, power supply control apparatus according to The carrying out practically situation of electronic equipment is powered control to the first equipment, it is to avoid the first equipment sets second Automatically into low power mode after the low power mode of standby entrance, improve Consumer's Experience.
The invention also discloses a kind of electronic equipment, refer to Figure 10, Figure 10 is electronics disclosed by the invention The structural representation of equipment.
This electronic equipment includes that the 20th, interconnective first equipment the 10th, the second equipment be the first equipment simultaneously 10 and second equipment 20 power supply electric power system 30 and power supply control apparatus 40, this power supply control fill Putting 40 for disclosed above any one of the present invention, its structure sees described above, does not repeats them here.
Being provided with power supply control apparatus in electronic equipment disclosed by the invention, this power supply control apparatus can be right The power supply control of electronic equipment, it is to avoid the second equipment is illegally shut down.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses Being the difference with other embodiments, between each embodiment, identical similar portion sees mutually. For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so describing Fairly simple, related part sees method part and illustrates.
Professional further appreciates that, respectively shows in conjunction with what the embodiments described herein described The unit of example and algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, In order to clearly demonstrate the interchangeability of hardware and software, general according to function in the above description Describe composition and the step of each example.These functions perform with hardware or software mode actually, Depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can be specific to each Should be used for use different methods to realize described function, but this realize it is not considered that beyond this The scope of invention.
The method describing in conjunction with the embodiments described herein or the step of algorithm can directly use hardware, The software module that processor performs, or the combination of the two implements.Software module can be placed in and deposit at random Reservoir (RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electric erasable can be compiled Known appointing in journey ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In the storage medium of other forms of anticipating.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses The present invention.Multiple modifications to these embodiments will be aobvious and easy for those skilled in the art See, generic principles defined herein can without departing from the spirit or scope of the present invention, Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, And it is to fit to the wide scope consistent with principles disclosed herein and features of novelty.

Claims (16)

1. a method for controlling power supply, is applied to an electronic equipment, and described electronic equipment includes being connected with each other The first equipment and the second equipment, described electronic equipment also includes electric power system, and described electric power system is described First equipment and described second equipment are powered, and described electric power system is by described first equipment control, and its feature exists In described method includes:
Judge whether to meet the first condition that described first equipment carries out low electric treatment, it is thus achieved that a judged result;
When described judged result shows to meet the first condition that described first equipment carries out low electric treatment, to institute Second equipment of stating sends the first instruction that described second equipment of prompting carries out low electric treatment.
2. method for controlling power supply according to claim 1, it is characterised in that when described first equipment During for foreground equipment, the first condition that described first equipment carries out low electric treatment is: described electronic equipment is by institute State the battery in electric power system or battery-powered, and the electricity of described battery or battery pack is less than the first threshold Value;Or, described first equipment of control receiving user's input carries out the second instruction of low electric treatment.
3. method for controlling power supply according to claim 1, it is characterised in that when described second equipment During for foreground equipment, the first condition that described first equipment carries out low electric treatment is: receives described second and sets The request that preparation is sent carries out the 3rd instruction of low electric treatment.
4. method for controlling power supply according to claim 3, it is characterised in that described second equipment is sent out Send the 3rd condition instructing to be: described electronic equipment by the battery in described electric power system or battery-powered, And the electricity of described battery or battery pack is less than first threshold;Or, described second equipment receives user Described second equipment of control of input carries out the 4th instruction of low electric treatment.
5. method for controlling power supply according to claim 2, it is characterised in that at described second equipment Respond described first instruction complete low electric treatment after, also include that controlling described first equipment carries out low electric treatment Step.
6. method for controlling power supply according to claim 2, it is characterised in that when described first equipment Low electric treatment when being dormancy or sleep, carry out low sending described second equipment of prompting to described second equipment After first instruction of electric treatment, control described first equipment and carry out low electric treatment.
7. the method for controlling power supply according to claim 3 or 4, it is characterised in that when described judgement When result shows to meet the first condition that described first equipment carries out low electric treatment, also include:
Judge whether to meet the second condition that described first equipment performs low electric treatment;
When meeting described second condition, instruct in described second equipment response described first and complete low electric treatment After, control described first equipment and carry out low electric treatment.
8. method for controlling power supply according to claim 7, it is characterised in that described second condition bag Include: described electronic equipment is by the battery in electric power system or battery-powered, and described battery or battery pack Electricity is less than Second Threshold;Or, described first equipment of control receiving user's input carries out low electric treatment Second instruction.
9. method for controlling power supply according to claim 8, it is characterised in that when described second equipment During for foreground equipment, after determination meets the second condition that described first equipment performs low electric treatment, if described First equipment in a dormant state, then, before described first equipment of control carries out low electric treatment, also includes calling out The step of awake described first equipment.
10. a power supply control apparatus, is applied to an electronic equipment, and described electronic equipment includes being connected with each other The first equipment and the second equipment, described electronic equipment also includes electric power system, and described electric power system is described First equipment and described second equipment are powered, and described electric power system is by described first equipment control, and its feature exists In described power supply control apparatus includes:
First judging unit, for judging whether to meet the Article 1 that described first equipment carries out low electric treatment Part a, it is thus achieved that judged result;
Instruction sending unit, the judged result for generating at described first judging unit shows to meet described the When one equipment carries out the first condition of low electric treatment, it carries out low electric treatment to send prompting to described second equipment First instruction.
11. power supply control apparatus according to claim 10, it is characterised in that when described first sets For during for foreground equipment, described first judging unit includes the first judge module or the second judge module;
Described first judge module is used at described electronic equipment by the battery in described electric power system or battery Group power supply, and when the electricity of described battery or battery pack is less than first threshold, determines and meet described first equipment Carry out the first condition of low electric treatment;
Described second judge module is for carrying out low electricity at described first equipment of control receiving user's input During the second instruction processing, determine and meet the first condition that described first equipment carries out low electric treatment.
12. power supply control apparatus according to claim 11, it is characterised in that also include at first Reason unit;
Described first processing unit completes low electric treatment for instructing in described second equipment response described first After, control described first equipment and carry out low electric treatment.
13. power supply control apparatus according to claim 10, it is characterised in that when described second sets For during for foreground equipment, described first judging unit includes the 3rd judge module;
Described 3rd judge module is for carrying out low electric treatment in the request receiving described second equipment transmission The 3rd instruction when, determine meet the first condition that described first equipment carries out low electric treatment.
14. power supply control apparatus according to claim 13, it is characterised in that also include that second sentences Disconnected unit and the second processing unit;
At described first judging unit, described second judging unit is for determining that meeting described first equipment is carried out During the first condition of low electric treatment, it may be judged whether meet described first equipment and perform the Article 2 of low electric treatment Part;
At described second judging unit, described second processing unit is for determining that meeting described first equipment performs During the second condition of low electric treatment, after described second described first instruction of equipment response completes low electric treatment, Control described first equipment and carry out low electric treatment.
15. power supply control apparatus according to claim 14, it is characterised in that described second is processed Unit is additionally operable to determine that meeting described first equipment performs the second of low electric treatment at described second judging unit Condition and described first equipment in a dormant state when, described first equipment of control carry out low electric treatment it Before, wake up described first equipment up.
16. 1 kinds of electronic equipments, including interconnective first equipment and the second equipment and for described the The electric power system that one equipment and the second equipment are powered, described electric power system is by described first equipment control, and it is special Levying and being, described electronic equipment also includes the power supply control apparatus according to any one of claim 10 to 15.
CN201210232396.3A 2012-07-05 2012-07-05 A kind of method for controlling power supply, power supply control apparatus and electronic equipment Active CN103529758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210232396.3A CN103529758B (en) 2012-07-05 2012-07-05 A kind of method for controlling power supply, power supply control apparatus and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210232396.3A CN103529758B (en) 2012-07-05 2012-07-05 A kind of method for controlling power supply, power supply control apparatus and electronic equipment

Publications (2)

Publication Number Publication Date
CN103529758A CN103529758A (en) 2014-01-22
CN103529758B true CN103529758B (en) 2016-10-05

Family

ID=49931851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210232396.3A Active CN103529758B (en) 2012-07-05 2012-07-05 A kind of method for controlling power supply, power supply control apparatus and electronic equipment

Country Status (1)

Country Link
CN (1) CN103529758B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117708886B (en) * 2024-02-05 2024-05-07 广州鲁邦通物联网科技股份有限公司 File system protection method and device for Internet of things equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832290A (en) * 2006-03-16 2006-09-13 钟挺 High-efficient energy-saving power supply method and control system
CN101042930A (en) * 2006-03-24 2007-09-26 富士通株式会社 Control circuit of power supply unit, power supply unit and control method thereof
CN101087109A (en) * 2007-06-05 2007-12-12 江苏万工科技集团有限公司 Power supply control device
CN101388550A (en) * 2008-10-20 2009-03-18 山东瑞斯电子科技有限公司 Intelligent building electricity saving and distributing apparatus
CN202102266U (en) * 2010-10-14 2012-01-04 深圳市合智创盈电子有限公司 Control device for power supply of electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100470593B1 (en) * 2002-09-18 2005-03-10 삼성전자주식회사 Power supply controlling device of electronic equipment having key off function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832290A (en) * 2006-03-16 2006-09-13 钟挺 High-efficient energy-saving power supply method and control system
CN101042930A (en) * 2006-03-24 2007-09-26 富士通株式会社 Control circuit of power supply unit, power supply unit and control method thereof
CN101087109A (en) * 2007-06-05 2007-12-12 江苏万工科技集团有限公司 Power supply control device
CN101388550A (en) * 2008-10-20 2009-03-18 山东瑞斯电子科技有限公司 Intelligent building electricity saving and distributing apparatus
CN202102266U (en) * 2010-10-14 2012-01-04 深圳市合智创盈电子有限公司 Control device for power supply of electronic equipment

Also Published As

Publication number Publication date
CN103529758A (en) 2014-01-22

Similar Documents

Publication Publication Date Title
TWI309765B (en) Method and apparatus for controlling power supply in a computer system
CN102156532B (en) Computer and method that reduces power consumption while maintaining a specific function
US9256265B2 (en) Method and system for artificially and dynamically limiting the framerate of a graphics processing unit
CN106793044B (en) It is a kind of to realize the method for bluetooth security equipment low-power consumption standby and bluetooth security equipment
CN102662458B (en) Dynamic energy-saving method and device for PCIE equipment and communication system of PCIE equipment
CN101598969A (en) Platform power management based on latency guidance
TW201248378A (en) Power management method and device thereof
CN110716631B (en) Power supply management method, device, equipment and readable storage medium
CN1920749B (en) Electricity-saving electronic device and electricity-saving method thereof
CN106125878A (en) A kind of charging method and electronic equipment
CN101430592A (en) Information processing apparatus
CN102402454A (en) Method for regulating memory operation frequency and electronic device
CN108304295A (en) A kind of method, apparatus and computer readable storage medium of control GPU frequency reducings
CN103634663B (en) Set-top box standby method, set-top box standby control device and set top box
CN101145036A (en) Power management architecture and mechanism
CN105701037B (en) Weston and DRM accesses the system and method for display controller simultaneously in vehicle entertainment system
CN107493595A (en) A kind of low-power consumption safety certification device and control method
CN107066073B (en) Control method and electronic equipment
CN104750228B (en) A kind of method and device reducing multi-core processor power consumption
CA2631955A1 (en) System and method for interfacing an electronic device with a host system
CN108377484A (en) A kind of bluetooth controller power consumption control method and device
CN103529758B (en) A kind of method for controlling power supply, power supply control apparatus and electronic equipment
CN101620463A (en) Information processing apparatus and wake-up control method
CN104076892B (en) Power supply management method and power supply management system
JP2010152475A (en) Information processing apparatus and energy saving effect display method

Legal Events

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