CN1285990C - Method for saving and restoring computer system operation state - Google Patents
Method for saving and restoring computer system operation state Download PDFInfo
- Publication number
- CN1285990C CN1285990C CN 03119418 CN03119418A CN1285990C CN 1285990 C CN1285990 C CN 1285990C CN 03119418 CN03119418 CN 03119418 CN 03119418 A CN03119418 A CN 03119418A CN 1285990 C CN1285990 C CN 1285990C
- Authority
- CN
- China
- Prior art keywords
- power supply
- internal memory
- computer
- data
- computing machine
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
The present invention discloses a method for saving and quickly restoring the operating state of a computer system, which at least comprises the following steps: when the computer is shut down, current memory data and the operating state of computer equipment are stored in a memory unit and enter memory unit sleep state, and then the computer is shut down; when the computer is started, a memory is woken up from the sleep state, and the data saved in the memory unit is restored in the memory and the computer equipment. Through the proposal of the present invention, that the computer is started or shut down instantly can be realized without the intervention of a user, the time spent on starting or shutting down the computer is very effectively reduced, when power failure happens accidentally, the current state of the system can also be saved in time, so that data loss, data damage or system crash are avoided, and the work efficiency and the security of the system are improved.
Description
Technical field
The present invention relates to computer realm, be meant a kind of method of preserving also fast quick-recovery computer working state especially.
Background technology
Present computer system is when the user opens computer power supply, need startup self-detection, the loading of operating system and the processes such as loading of application program through BIOS, the general on time needs 2~3 minutes, this very long wait allows the user that the PC system is produced weary mood easily, reduces the enthusiasm of using the PC system.Equally, when shutdown system, need preserve backup etc. to the work at present data.This is extremely inconvenient concerning the user, loses time, and causes inefficiency.
In addition, if unexpected the power failure, existing technology can't be preserved the current state of computing machine, data, causes loss of data, system destruction easily, even the initiating system collapse.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method of preserving also fast quick-recovery computer working state, can save the computer on/off time, and can to return to once shutdown when starting shooting next time rapidly be the duty of computer system, and power failure also can make system and data in time back up for accident, avoids data and system destroyed.
A kind of method of preserving also fast quick-recovery computer working state of the present invention may further comprise the steps at least:
In computing machine, add interim power supply;
Computing machine is in when the internal memory sleep mode state is unexpected to have a power failure, starting interim power supply is each hardware device power supply of computing machine, the data and the computer equipment duty that are kept in the internal memory are write back in each hardware device, then current internal storage data and computer equipment duty are saved in the hard disk, and make computing machine enter the hard disk dormant state;
When external power supply restores electricity, Auto Power On, the data that are kept in the hard disk are returned in each hardware device of internal memory and computing machine, then current internal storage data and computer equipment duty are kept in the internal memory, close all electric power systems except that the internal memory electric power system.
This method further comprises, after computing machine enters the hard disk dormant state, stops the power supply of interim power supply.
Describedly will be kept at the step that data in the internal memory and computer equipment duty write back in each hardware device and comprise, it is the internal memory sleep mode state that BIOS judges the computing machine current state, and data and computer equipment duty that the notifying operation system will be kept in the internal memory write back in each hardware device.The described step that current internal storage data and computer equipment duty are saved in the hard disk comprises, when judging current power supply and be interim power supply and providing, produce look-at-me notifying operation system, when operating system detects this look-at-me current internal storage data and computer equipment duty are saved in the hard disk.
But the rechargeable battery that the described interim power supply of this method is a recharge when having external power supply, is charged to rechargeable battery at any time by external power supply.
By such scheme as can be seen, the method for preservation provided by the present invention and fast quick-recovery computer working state need not user's interference can realize the instant on switch computing machine, the time that very effective minimizing switching on and shutting down are spent.And also timely saved system current state when accident has a power failure is avoided loss of data, destruction or system crash, has improved the security of work efficiency and system.
Description of drawings
Fig. 1 is the workflow diagram of the inventive method preferred embodiment.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The present invention program's thinking is when the user presses the shutdown of computer power switch key, fast data in the current internal memory and computer equipment duty is kept in the storage unit, cuts off the electric power system of computer equipment then; When opening computing machine, recover to go back in the data that will be kept in the storage unit.So computing machine one start can return to the duty before computing machine cuts out rapidly, interferes and need not the user.
Below the preferable embodiment of the present invention is described in detail explanation.
Storage unit of the present invention can adopt various memory devices, as: portable hard drive, the flash memory of band USB interface, and the hard disk of computing machine self etc.Factor such as combination property, cost considers to adopt the computing machine self EMS memory as storage unit in the present embodiment, because internal memory needs continued power, therefore need power supply to be provided for internal memory separately, or existing computer power supply system transformed, make it under off-mode, also can be continuously the internal memory power supply.
In addition, in order to deal with the generation of unexpected power-off condition, also need to provide an interim power supply, when having a power failure, by the power supply of interim power supply, cut off interim power supply again after transferring to the data in the internal memory in the hard disc of computer, interim power supply can adopt the rechargeable battery of common capacity.A hardware controls module also to be arranged simultaneously, realize that instant reflection power environment changes, provide power supply timely blocked operation, and send look-at-me notice computer operating system.The hardware controls module can have multiple production program, such as being made of voltage comparator, power change-over switch and a diode.
And in BIOS, implant corresponding software control module, control BIOS carries out various dormancy, arousal function, the reflection external power supply state variation look-at-me that the action of responsive computer power switch key and hardware controls module are sent, and impel operating system to enter corresponding work mode.
The workflow that present embodiment is concrete, referring to shown in Figure 1:
The user when for the first time plugging the external power supply start, when promptly computing machine starts for the first time, this moment storage unit be in the internal memory without any information, then operating system can start i.e. BIOS self check, and pilot operationp system, loading application programs automatically according to normal sequence.
When the user presses the shutdown of computer switch key, it is to supress power switch key that BIOS detects, so send system's control interruptive command to operating system, operating system stops current all programs of moving at once, the duty of current device is saved in the internal memory, enter the internal memory sleep mode state, and notice BIOS, BIOS cuts off the electric power system of all internal memories with external equipment.The needed time of this process probably is 1~2 second, and by comparison the unused time of general case operating system be 10~40 seconds, and need the user to interfere.
Wherein, the internal memory sleep mode state is meant internal memory by power supply power supply and enter the self-refresh state, to protect the data in the current internal memory.The power supply this moment required power consumption of self-refresh for the memory modules power supply and when providing internal memory to preserve data only, this power consumption is very low, only needs 0.2W usually.When cutting off computer power support system, can adopt the open mode of software control reserved memory electric power system, also the electric power system of internal memory directly can be linked to each other with external power supply, make it not be subjected to the restriction of computer on/off.
When the user presses the power switch key start, all devices restores electricity, the state that the BIOS self check is judged before the start is the internal memory sleep mode state, so notifying operation system, operating system will originally be kept in the internal memory corresponding data and write back in the equipment, allow the equipment full recovery to original duty.The needed deficiency of time of this process 1 second, be 1~2 minute the normal start-up time of comparing the normal operations system.
This process need not to be provided with especially for the general operation system just can be finished automatically.Usually BIOS judges internal memory and is in dormant state in self check, can be automatic the notifying operation system carry out wake operation, so system with regard to moment ground get back to user's preceding duty of shutting down.
As long as external power supply exists, user's switching on and shutting down action will be carried out according to step 2,3 always, so realizes the instant on switch machine of this operating system, all preservations and recovery action need not the user be interfered, the user only need click the computer switch key and get final product, and simple and fast is safe and reliable.
Two kinds of possible fortuitous events more below:
The unexpected power failure when operating system is moved.The hardware controls module will be enabled interim power supply automatically and be kept current power supply and produce a look-at-me notifying operation system, operating system detects the generation of this look-at-me, the duty and the data in the internal memory of current each equipment are saved in the hard disk, notify BIOS after entering the hard disk dormant state, close all electric power systems by BIOS.
Up to when external power supply restores electricity, computing machine after the operation BIOS self check, is returned Auto Power On with the recovering state before the power failure that is kept in the hard disk, continue the task before operation has a power failure.
Wherein, in order to save the power consumption of interim power supply, also can make interim power supply not to power devices such as displays, specifically can not realize by making interim power supply with modes such as display are connected, a switch also can be set, select whether to need to be monitor power supply by the user.The sign of dormant state can be added with when hard disk is in dormant state usually in inside, when operating system detects this sign, wake operation will be automatically performed.For the operating system that does not have the hard disk dormant state, can in BIOS, the implant procedure section allow BIOS carry out this operation.
The unexpected power failure when system is in the internal memory sleep mode state, just system is in off-mode unexpected power failure of following time.The hardware controls module will start the power supply of interim each hardware device of power up computing machine automatically, wherein also can make it not open display by setting, BIOS judges before this, and state is the internal memory sleep mode state, so the data that the notifying operation system will originally be kept in the internal memory write back in the equipment, allow the equipment full recovery to original duty, to judge current power supply be that interim power supply provides to the hardware controls module then, so produce a look-at-me notifying operation system, operating system detects the generation of this look-at-me, the duty and the data in the internal memory of current each equipment are saved in the hard disk, notify BIOS after entering the hard disk dormant state, BIOS closes all electric power systems.
Up to when external power supply restores electricity, the computing machine Auto Power On, BIOS finishes the recovering state before this that self check and notifying operation system will be kept in the hard disk and returns, BIOS forces to allow operating system enter the internal memory sleep mode state then, be that operating system stops current all programs of moving at once, the duty of current device is saved in the internal memory, enter the internal memory sleep mode state, and notice BIOS, BIOS cuts off the electric power system of all internal memories with external equipment.When thereby the user pressed on ﹠ off switch next time, moment can be got back to the preceding one action state of user by the assurance system.
The method of the previous state of preservation provided by the invention and fast quick-recovery computer working is applicable to most computing machine and computer operating system.By the time that simple equipment adds and software setting just can very effective minimizing switching on and shutting down be spent, the user only need press power switch key can realize the high-speed switch machine, avoid shut down needed manual-lock application program and preserve data of user, reduce period of reservation of number.And saved system current state at any time when accident has a power failure is avoided loss of data, destruction or system crash, increases work efficiency and the security of system.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1, a kind of method of preserving also fast quick-recovery computer working state is characterized in that may further comprise the steps:
In computing machine, add interim power supply;
Computing machine is in when the internal memory sleep mode state is unexpected to have a power failure, starting interim power supply is each hardware device power supply of computing machine, the data and the computer equipment duty that are kept in the internal memory are write back in each hardware device, then current internal storage data and computer equipment duty are saved in the hard disk, and make computing machine enter the hard disk dormant state, stop the power supply of interim power supply;
When external power supply restores electricity, Auto Power On, the data that are kept in the hard disk are returned in each hardware device of internal memory and computing machine, then current internal storage data and computer equipment duty are kept in the internal memory, close all electric power systems except that the internal memory electric power system.
2, method according to claim 1, it is characterized in that, describedly will be kept at the step that data in the internal memory and computer equipment duty write back in each hardware device and comprise, it is the internal memory sleep mode state that BIOS judges the computing machine current state, and data and computer equipment duty that the notifying operation system will be kept in the internal memory write back in each hardware device.
3, method according to claim 1, it is characterized in that, the described step that current internal storage data and computer equipment duty are saved in the hard disk comprises, when judging current power supply and be interim power supply and providing, produce look-at-me notifying operation system, when operating system detects this look-at-me current internal storage data and computer equipment duty are saved in the hard disk.
4, method according to claim 1 is characterized in that, but the rechargeable battery that described interim power supply is a recharge when having external power supply, is charged to rechargeable battery at any time by external power supply.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03119418 CN1285990C (en) | 2003-03-12 | 2003-03-12 | Method for saving and restoring computer system operation state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03119418 CN1285990C (en) | 2003-03-12 | 2003-03-12 | Method for saving and restoring computer system operation state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1530795A CN1530795A (en) | 2004-09-22 |
CN1285990C true CN1285990C (en) | 2006-11-22 |
Family
ID=34285096
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 03119418 Expired - Fee Related CN1285990C (en) | 2003-03-12 | 2003-03-12 | Method for saving and restoring computer system operation state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1285990C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346188A (en) * | 2013-08-07 | 2015-02-11 | 英业达科技有限公司 | Updating method of substrate management controller and updating system of substrate management controller |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100375034C (en) * | 2005-01-05 | 2008-03-12 | 联想(新加坡)私人有限公司 | Method and system for implementing thread sleep in computer system |
US7523323B2 (en) * | 2005-09-15 | 2009-04-21 | Intel Corporation | Method and apparatus for quick resumption |
CN101620539B (en) * | 2008-07-01 | 2013-12-25 | 联想(北京)有限公司 | Method for start-up and shutdown and computer |
CN102033823B (en) * | 2009-09-27 | 2014-03-19 | 中兴通讯股份有限公司 | Method and device for storing data |
CN101833461A (en) * | 2010-03-30 | 2010-09-15 | 张国栋 | Method for improving work efficiency of computer and novel computer system thereof |
CN103995711B (en) * | 2010-03-30 | 2018-02-02 | 鸿富锦精密工业(深圳)有限公司 | Electronic calculator device and its method for restarting |
CN101977272A (en) * | 2010-10-26 | 2011-02-16 | 浙江大学 | Electric quantity protection method for mobile phone adopting Android operating system |
CN101980162B (en) * | 2010-11-05 | 2013-01-16 | 福建新大陆通信科技股份有限公司 | Method for automatically starting transmitter under power off |
US8370667B2 (en) * | 2010-12-22 | 2013-02-05 | Intel Corporation | System context saving based on compression/decompression time |
JP5971925B2 (en) | 2011-11-21 | 2016-08-17 | キヤノン株式会社 | Information processing apparatus, information processing apparatus control method, and information processing apparatus program |
CN102611186A (en) * | 2012-03-08 | 2012-07-25 | 华为技术有限公司 | Power supply method and power supply device |
CN103309691A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Information processing equipment and quick startup method thereof |
CN102722389B (en) * | 2012-05-31 | 2017-08-25 | Tcl集团股份有限公司 | A kind of electronic equipment and its boot system |
CN103454935B (en) * | 2013-08-23 | 2016-08-10 | 广州中智融通金融科技有限公司 | A kind of delay shutdown of electronic equipment method, Apparatus and system |
CN103731548A (en) * | 2013-12-10 | 2014-04-16 | 上海斐讯数据通信技术有限公司 | Method for saving and reading current state of mobile phone |
KR20150104695A (en) * | 2014-03-06 | 2015-09-16 | 삼성전자주식회사 | display apparatus and method for controling thereof |
CN103984543A (en) * | 2014-04-24 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Method for implementing standby, hibernation and wake-up on domestic FeiTeng processor |
TWI645296B (en) * | 2017-10-17 | 2018-12-21 | 慧榮科技股份有限公司 | Data storage device and control method for non-volatile memory |
CN109976490B (en) * | 2017-12-22 | 2021-03-09 | 浙江宇视科技有限公司 | Power supply control method and electronic equipment |
CN108958811A (en) * | 2018-05-23 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of closedown method, device, equipment and computer readable storage medium |
CN109471758A (en) * | 2018-11-22 | 2019-03-15 | 北京同有飞骥科技股份有限公司 | Storing data power-off protection method and system |
CN115061561A (en) * | 2022-07-01 | 2022-09-16 | 深圳市创智成科技股份有限公司 | Power saving method, device and system for equipment and storage medium |
-
2003
- 2003-03-12 CN CN 03119418 patent/CN1285990C/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346188A (en) * | 2013-08-07 | 2015-02-11 | 英业达科技有限公司 | Updating method of substrate management controller and updating system of substrate management controller |
Also Published As
Publication number | Publication date |
---|---|
CN1530795A (en) | 2004-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1285990C (en) | Method for saving and restoring computer system operation state | |
CN1095111C (en) | Network hibernation system | |
US8028177B2 (en) | Method for changing power states of a computer | |
CN1460210A (en) | Apparatus and method for protecting failure of computer operating system | |
CN101673216A (en) | Method and device for closing application program | |
CN101788936A (en) | Snapshot backup and restoration method and device when in running of mobile terminal | |
CN101702533B (en) | Power supply method and equipment | |
US7240189B2 (en) | Fast resume to normal operation of a computer in a power saving mode | |
CN115793995B (en) | Pflash-only data storage method for traditional MCU | |
US20040078655A1 (en) | Apparatus and method for power integrated control | |
CN101593141B (en) | Data protection method of nonvolatile memory device and computer device thereof | |
JP4411014B2 (en) | Computer and power supply backup method thereof | |
CN1595375A (en) | Computer data protecting method and apparatus | |
CN1873620A (en) | Portable computer, and data back up method | |
CN107391776B (en) | Data destruction device and method and blade server | |
CN217388303U (en) | Embedded system power-down protection device based on super capacitor | |
CN101098075A (en) | Protection system and method | |
CN100461106C (en) | Multiple protection method of start-up program | |
CN1402105A (en) | Computer power supply device | |
EP1229430B1 (en) | Power management system and method | |
CN1261844C (en) | Self-restoring apparatus and method for computer interruption | |
CN1296796C (en) | Interface card with power supply and method for supplying back-up battery | |
CN1601441A (en) | Method and appts for defectless printing bill when abnormal cut off of tax control of cash register | |
CN101364194A (en) | Electronic device and management method thereof | |
JPH0728572A (en) | Automatic data preserving device at power interruption |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20061122 Termination date: 20210312 |
|
CF01 | Termination of patent right due to non-payment of annual fee |