CN103294148B - A kind of electronic equipment power-supplying method for battery and device - Google Patents

A kind of electronic equipment power-supplying method for battery and device Download PDF

Info

Publication number
CN103294148B
CN103294148B CN201210047860.1A CN201210047860A CN103294148B CN 103294148 B CN103294148 B CN 103294148B CN 201210047860 A CN201210047860 A CN 201210047860A CN 103294148 B CN103294148 B CN 103294148B
Authority
CN
China
Prior art keywords
electronic equipment
battery
power supply
supply adaptor
powered
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
CN201210047860.1A
Other languages
Chinese (zh)
Other versions
CN103294148A (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 CN201210047860.1A priority Critical patent/CN103294148B/en
Publication of CN103294148A publication Critical patent/CN103294148A/en
Application granted granted Critical
Publication of CN103294148B publication Critical patent/CN103294148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of electronic equipment power-supplying method for battery and device, it is related to electronic applications, realizes electronic equipment in the case of deenergization, current operational data will not also loses.A kind of electronic equipment power-supplying method for battery, the electronic equipment include a battery, including:Detect the power supply adaptor connection status of electronic equipment;Detect the working condition of the electronic equipment;When the power supply adaptor for detecting the electronic equipment disconnects, and the working condition of the electronic equipment is open state, start battery and powered for the internal memory of the electronic equipment.

Description

A kind of electronic equipment power-supplying method for battery and device
Technical field
The present invention relates to electronic applications, more particularly to a kind of electronic equipment power-supplying method for battery and device.
Background technology
With the fast development of science and technology, computer type is also constantly being improved, and occurs integrated desktop in the market, Integrated desktop refers to the main frame of traditional split desktop computer being integrated into display, makes main frame and the integrated knot of display screen Structure.
In existing integrated desktop, also screen supports contact action function, in order to coordinate the use of user, integrated bench Formula machine can need to carry out the placement of diverse location according to user, for example can be disposed vertically, can also be horizontal positioned.One The power supply mode of desktop computer is that power supply adaptor provides power supply, when mobile integrated desktop, can be limited by distance, so User has to integrated desktop power-off shutdown before the movement, and this will cause the data under user's current operating state to be lost Lose.
, in the prior art, can be with order that integrated desktop will not lose the data under current operating state when mobile Desktop computer configuration internal battery is integrated, when deenergization, internal battery can then maintain computer to work on, still, right For integrated desktop, its power consumption is very big, and required battery capacity inevitably enlarges, can so increase integrated desktop into Sheet and weight, are unfavorable for the movement of integrated desktop on the contrary.In the prior art, can also be stopped using manually operated to start computer Sleep mode, park mode are that the data under the current operating state by user are all saved in the hibernation file on hard disk, are protected Computer is demonstrate,proved after cutting off the electricity supply, data will not also lose.When accessing power supply again, system can be by the data in hibernation file It is sent in internal memory, finally recovers the working condition before user's power-off.But this mode can cause the operation of integrated desktop Step increase.It is time-consuming longer when integrated desktop returns to normal mode of operation from park mode, run into electricity moreover, working as When emergency power off occurs in source, it will be unable to preserve data.
The content of the invention
Embodiments of the invention provide a kind of electronic equipment power-supplying method for battery and its device, realize electronic equipment disconnected In the case of switch power supply, current operational data will not also lose.
To reach above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
The embodiment of the present invention provides a kind of electronic equipment power-supplying method for battery, and the electronic equipment includes a battery, including:
Detect the power supply adaptor connection status of electronic equipment;
Detect the working condition of the electronic equipment;
When the power supply adaptor disconnection for detecting the electronic equipment, and the working condition of the electronic equipment is start shape During state, start battery and powered for the internal memory of the electronic equipment.
This law illustrates that embodiment also provides a kind of electronic equipment battery powdered device, and the electronic equipment includes a battery, Also include:
First detection module, for detecting the power supply adaptor connection status of electronic equipment;
Second detection module, for detecting the working condition of the electronic equipment;
Power switching module, for being disconnected when the power supply adaptor for detecting the electronic equipment, and the electronic equipment Working condition when being open state, start battery and powered for the internal memory of the electronic equipment.
Electric device battery method of supplying power to and device provided in an embodiment of the present invention, by including one in the electronic device Supplying cell, the supplying cell are that the internal memory of electronic equipment is powered, it is achieved thereby that electronics is set when electronic equipment powers off Standby operational data will not lose, and ensure that the data safety of user.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the embodiment of the present invention;
Fig. 2 is the apparatus structure schematic diagram of the embodiment of the present invention;
Fig. 3 is the desktop computer structure schematic diagram of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, belongs to the scope of protection of the invention.
Embodiment one
The embodiments of the invention provide a kind of electronic equipment power-supplying method for battery, the electronic equipment includes a battery, such as Shown in Fig. 1, this method mainly includes the following steps that:
S101, the power supply adaptor connection status for detecting electronic equipment.
Power supply adaptor, also known as external power supply, it is the power supply conversion equipment of small portable electronic device.Power supply Adapter is typically made up of shell, power transformer and rectification circuit, is usually used on the electronic equipments such as mobile phone, computer equipment, main Act on is that 220V high pressures are converted into the stabilizing low voltage needed for electronic product work.But in it can not be configured for some For putting the electronic equipment of high capacity cell, when the situation for occurring to power off suddenly, it can be currently running in electronic equipment Data occur to lose, and user is impacted.For the problem, the embodiments of the invention provide a kind of small-capacity cells, energy Enough in the case where electronic equipment external power supply disconnects, electric current is provided for the internal memory of the electronic equipment, makes the data being currently running Do not lose.
The power supply adaptor connection status of electronic equipment is connected and disconnected from two states, when the external power supply of electronic equipment During disconnection, electronics, which is set, can detect that power supply adaptor is off.
S102, the detection electronic equipment working condition.
In the method for supplying power to that the embodiment of the present invention is provided, the working condition for detecting electronic equipment be open state also It is off-mode.
S103, when the power supply adaptor for detecting the electronic equipment disconnects, and the working condition of the electronic equipment is During open state, start battery and powered for the internal memory of the electronic equipment.
Wherein, the battery is a kind of battery of low capacity, can be rechargeable lithium battary or dry cell, For the internal memory power supply for electronic equipment, it ensure that when power-off, the data in internal memory are not lost.
After the startup battery is the internal memory power supply of the electronic equipment, in addition to step S1031.
S1031, start prompting module power supply of the battery for the electronic equipment, to cause the prompting module to notify Electronic equipment described in user is small-capacity cells power supply state, and the prompting module includes one below or combination:Indicator lamp, raise Sound device, graphical user interface displays (GUI).
Specifically, under small-capacity cells power supply state, the internal memory of the electronic equipment is then in running order.Work as little Rong Can also be other module for power supply of electronic equipment, to cause electronic equipment in the case of measuring battery guarantee internal memory power supply normally The function of needing is obtained, exemplary, the battery can also be that the prompting module of electronic equipment is powered, to cause the prompting Module notifies that electronic equipment described in user is battery-powered state.The prompting module includes one below or combination:Indicator lamp, Loudspeaker, graphical user interface displays (Graphical User Interface, abbreviation GUI).It is described when opening the battery During the prompting module power supply of electronic equipment, electronic equipment can send alarming sound using loudspeaker, and/or utilize and light instruction Lamp, and/or the alerting patterns such as text importing are carried out on the display screen of electronic equipment using GUI, notify user now at computer It is in running order in battery-powered state, i.e., the internal memory of described electronic equipment.
Preferably, electronic equipment can also set preset time, and according to the preset time, remind electronics described in user Equipment is battery-powered state, i.e., the internal memory of described electronic equipment is in running order.
Specifically, electronic equipment can be preset after computer is in battery powered, once warned every the set time Show prompting, to remind user to connect external power supply immediately after electronic equipment is transferred at power supply.
Preferably, electronic equipment can be transferred to elsewhere with built-in gravity sensor in electronic equipment, and After not shaking, the prompting module of electronic equipment starts to remind consumer electronic devices to be in battery-powered state, i.e., described electricity The internal memory of sub- equipment is in running order.
After the startup battery is the internal memory power supply of the electronic equipment, in addition to step S1032.
S1032, when the power supply adaptor for detecting the electronic equipment connects, and the working condition of the electronic equipment is During open state, stop the battery powered, and it is the power electronic equipment to start the power supply adaptor.
The present embodiment will illustrate the power-supplying method for battery by taking computer as an example, when detect computer power supply adaptor disconnect, And the working condition of the computer starts battery and powered for the internal memory of the computer when being open state.
It should be noted that when computer external power supply disconnects, and is battery powered, at the core processor CPU of computer In stop working state, therefore, in addition to connecting external power supply, user can not by touch screen, by power key, rock the side such as mouse Formula makes computer resume work state, and this mode is used for the volume in order to weaken demand of the user to battery, controlling battery and again Amount, and then the overall volume and weight of desktop computer are reduced, brought convenience for user, while the cost of computer can also be reduced.
Electric device battery method of supplying power to provided in an embodiment of the present invention, by including a power supply electricity in the electronic device Pond, the supplying cell are that the internal memory of electronic equipment is powered, it is achieved thereby that the work of electronic equipment when electronic equipment powers off Making data will not lose, and ensure that the data safety of user.
Embodiment two
As shown in Fig. 2 the embodiments of the invention provide a kind of electronic equipment battery powdered device 200, including:Battery 203, First detection module 201, the second detection module 202 and power switching module 204, wherein,
First detection module 201, for detecting the power supply adaptor connection status of electronic equipment;
Second detection module 202, for detecting the working condition of the electronic equipment;
Power switching module 204, for being disconnected when the power supply adaptor for detecting the electronic equipment, and the electronics is set When standby working condition is open state, starts battery 203 and powered for the internal memory of the electronic equipment.
In addition, power switching module 204 is additionally operable to:Start the prompting module that the battery 203 is the electronic equipment to supply Electricity, to cause the prompting module to notify electronic equipment described in user as battery-powered state, the prompting module includes following One of or combination:Indicator lamp, loudspeaker, graphical user interface displays (GUI).
In addition, electric device battery electric supply installation 200 also includes time setting module 205, for setting preset time, and According to the preset time, it is battery-powered state to remind electronic equipment described in user.
Power switching module 204 is additionally operable to, when the power supply adaptor for detecting the electronic equipment connects, and the electronics When the working condition of equipment is open state, stop the battery powered, and start the power supply adaptor and set for the electronics Available electricity.
The operation principle and the course of work of the modules of the electric device battery electric supply installation of the present embodiment are the same as this implementation The method of example one, will not be repeated here.
In the embodiment of the present invention, the battery 203 of the offer is the battery of low capacity, can be rechargeable lithium battary, It can also be dry cell, for the internal memory power supply for electronic equipment, ensure that when power-off, the data in internal memory are not lost Lose.
As shown in figure 3, the embodiment of the present invention additionally provides a kind of desktop computer 300, including:Power supply adaptor 301, internal memory 302nd, battery 303 and battery powdered device 304, wherein,
Power supply adaptor 301 is used to provide external power source to the electronic equipment;
Internal memory 302 is used to temporarily deposit operational data and the data exchanged with external memory storage;
Battery 303 is used to power to internal memory 302.
The operation principle and the course of work of the modules of the desktop computer of the present embodiment with the present embodiment one method, This is repeated no more.
Battery powdered device 304 is used for the power supply adaptor connection status for detecting electronic equipment, and detects the electronics and set Standby working condition, when detecting that the power supply adaptor 301 disconnects, and when the working condition of electronic equipment is open state, Start the battery 303 to power for the internal memory 302.
Electric device battery electric supply installation provided in an embodiment of the present invention, by including a power supply electricity in the electronic device Pond, the supplying cell are that the internal memory of electronic equipment is powered, it is achieved thereby that the work of electronic equipment when electronic equipment powers off Making data will not lose, and ensure that the data safety of user.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (7)

1. a kind of electronic equipment power-supplying method for battery, the electronic equipment only provides operation by power supply adaptor, it is characterised in that Including:
The electronic equipment also includes a battery;
Detect the power supply adaptor connection status of electronic equipment;
Detect the working condition of the electronic equipment;
When the power supply adaptor disconnection for detecting the electronic equipment, and the working condition of the electronic equipment is open state When, start battery and powered for the internal memory of the electronic equipment, now, the core processor of the electronic equipment, which is in, to be stopped State;
After the startup battery is the internal memory power supply of the electronic equipment, in addition to:It is the electronics to start the battery The prompting module power supply of equipment, to cause the prompting module to notify electronic equipment described in user as battery-powered state, and is carried The user that wakes up connects external power supply after the electronic equipment is transferred at power supply, and the prompting module includes one below or group Close:Indicator lamp, loudspeaker, graphical user interface displays (GUI).
2. according to the method for claim 1, it is characterised in that also include:
Preset time is set, and according to the preset time, it is battery-powered state to remind electronic equipment described in user.
3. according to the method for claim 1, it is characterised in that supplied in the startup battery for the internal memory of the electronic equipment After electricity, in addition to:
When the power supply adaptor connection for detecting the electronic equipment, and the working condition of the electronic equipment is open state When, stop the battery powered, and it is the power electronic equipment to start the power supply adaptor.
4. a kind of electronic equipment battery powdered device, the electronic equipment is only by power supply adaptor powered operation, it is characterised in that Also include:
The electronic equipment also includes a battery;
The battery powdered device includes:
First detection module, for detecting the power supply adaptor connection status of electronic equipment;
Second detection module, for detecting the working condition of the electronic equipment;
Power switching module, for being disconnected when the power supply adaptor for detecting the electronic equipment, the work of the electronic equipment When state is open state, starts battery and powered for the internal memory of the electronic equipment, now, the core processing of the electronic equipment Device is in stop working state;
The power switching module is additionally operable to:Start the prompting module that the battery is the electronic equipment to power, to cause State prompting module and notify that electronic equipment described in user is battery-powered state, and remind user to be transferred to electricity in the electronic equipment External power supply is connected after at source, the prompting module includes one below or combination:Indicator lamp, loudspeaker, graphic user interface Show (GUI).
5. the electric device battery electric supply installation according to right wants 4, it is characterised in that also include:
Time setting module, for setting preset time, and according to the preset time, electronic equipment described in user is reminded as electricity Pond power supply state.
6. the electric device battery electric supply installation according to right wants 4, it is characterised in that the power switching module is also used In,
When the power supply adaptor connection for detecting the electronic equipment, and the working condition of the electronic equipment is open state When, stop the battery powered, and it is the power electronic equipment to start the power supply adaptor.
7. a kind of electronic equipment, it is characterised in that including:Power supply adaptor, internal memory, battery and battery powdered device,
The power supply adaptor is used to provide external power source to the electronic equipment;
The internal memory is used to temporarily deposit operational data and the data exchanged with external memory storage;
The battery is used to power to the internal memory;
The battery powdered device is used for the power supply adaptor connection status for detecting electronic equipment, and detects the electronic equipment Working condition, when detecting that the power supply adaptor disconnects, and when the working condition of electronic equipment is open state, described in startup Battery is powered for the internal memory, and now, the core processor of the electronic equipment is in stop working state;
The battery powdered device is additionally operable to after battery is started as the internal memory power supply of the electronic equipment, is set for the electronics Standby prompting module power supply, to cause the prompting module to notify electronic equipment described in user as battery-powered state, and is reminded User connects external power supply after the electronic equipment is transferred at power supply.
CN201210047860.1A 2012-02-27 2012-02-27 A kind of electronic equipment power-supplying method for battery and device Active CN103294148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210047860.1A CN103294148B (en) 2012-02-27 2012-02-27 A kind of electronic equipment power-supplying method for battery and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210047860.1A CN103294148B (en) 2012-02-27 2012-02-27 A kind of electronic equipment power-supplying method for battery and device

Publications (2)

Publication Number Publication Date
CN103294148A CN103294148A (en) 2013-09-11
CN103294148B true CN103294148B (en) 2017-12-26

Family

ID=49095185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210047860.1A Active CN103294148B (en) 2012-02-27 2012-02-27 A kind of electronic equipment power-supplying method for battery and device

Country Status (1)

Country Link
CN (1) CN103294148B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104821649A (en) * 2015-04-30 2015-08-05 上海闻泰电子科技有限公司 Mobile phone equipment power supply management method
CN106681473A (en) * 2016-06-24 2017-05-17 乐视控股(北京)有限公司 Mobile terminal shutdown method and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002132389A (en) * 2000-10-19 2002-05-10 Canon Inc Electronic equipment
CN2588443Y (en) * 2002-11-25 2003-11-26 孙斌 Power source of desk computer
TW200801918A (en) * 2006-06-19 2008-01-01 Elitegroup Computer Sys Co Ltd Backup power supply and desktop computer and method for protecting the data thereof
CN201859391U (en) * 2010-11-08 2011-06-08 天津三星电子显示器有限公司 Desktop computer with internal spare battery
CN102360244A (en) * 2011-09-28 2012-02-22 深圳市卓怡恒通电脑科技有限公司 Standby method for lengthening standby time of computer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040190210A1 (en) * 2003-03-26 2004-09-30 Leete Brian A. Memory back up and content preservation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002132389A (en) * 2000-10-19 2002-05-10 Canon Inc Electronic equipment
CN2588443Y (en) * 2002-11-25 2003-11-26 孙斌 Power source of desk computer
TW200801918A (en) * 2006-06-19 2008-01-01 Elitegroup Computer Sys Co Ltd Backup power supply and desktop computer and method for protecting the data thereof
CN201859391U (en) * 2010-11-08 2011-06-08 天津三星电子显示器有限公司 Desktop computer with internal spare battery
CN102360244A (en) * 2011-09-28 2012-02-22 深圳市卓怡恒通电脑科技有限公司 Standby method for lengthening standby time of computer

Also Published As

Publication number Publication date
CN103294148A (en) 2013-09-11

Similar Documents

Publication Publication Date Title
US8841798B2 (en) Method, apparatus for emergency power supply and device associated thereto
JP6799754B2 (en) Battery control devices, electronic devices, battery packs and battery control methods
CN101655733A (en) Method and device for collocating uninterruptible power supply to enable computer to safely hibernate during power cut
CN102130488A (en) Intelligent low power consumption power adapter
CN102148409B (en) Battery charging device, terminal equipment and method for controlling charging of terminal equipment
CN103294148B (en) A kind of electronic equipment power-supplying method for battery and device
CN202334434U (en) High-performance vector frequency converter
CN201859391U (en) Desktop computer with internal spare battery
CN202524140U (en) Power supply device box body with display screen
CN201345558Y (en) Off-line UPS
CN210041395U (en) Wireless earphone charging equipment and wireless earphone
CN101022623A (en) Hand electronic device power supply device
CN204578120U (en) The electric energy supervision system of Mobile electric power
CN204425008U (en) A kind of interchangeable electric-type charging pile
CN106371543A (en) Intelligent computer power system and power-off protection method
CN202565006U (en) Static zero-power energy-saving charging power supply with charging protection function
CN202948397U (en) Computer and external type power supply module
CN203278320U (en) Combined rack lithium power supply
CN202711142U (en) UPS uninterrupted power source-equipped computer case
CN201570893U (en) Power supply device
CN201222747Y (en) Wireless mobile network data terminal unit with power supply monitoring function
CN201417425Y (en) Notebook type computer
CN111596729A (en) Miniature high-performance computer host system and use method
CN206470691U (en) A kind of trip protector for computer
CN202548752U (en) Desktop computer power-off protection system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant