CN1293461C - A method for suspending computer system state - Google Patents
A method for suspending computer system state Download PDFInfo
- Publication number
- CN1293461C CN1293461C CNB991110633A CN99111063A CN1293461C CN 1293461 C CN1293461 C CN 1293461C CN B991110633 A CNB991110633 A CN B991110633A CN 99111063 A CN99111063 A CN 99111063A CN 1293461 C CN1293461 C CN 1293461C
- Authority
- CN
- China
- Prior art keywords
- state
- state value
- memory
- computer system
- power supply
- 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
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000011084 recovery Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 abstract description 5
- 230000000694 effects Effects 0.000 abstract description 2
- 239000000725 suspension Substances 0.000 abstract 2
- 238000012545 processing Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Power Sources (AREA)
Abstract
The invention relates to a method for suspending the state of a computer system, which combines the functions of suspending to a memory and suspending to a disk, saves the state of the system before suspension in the memory of the system, and then turns off the power supply. When the system is in the suspend state, various state values before suspension are read from the system memory and supplied to each circuit device, so that the operation state of the original system before shutdown can be quickly recovered. The system memory is powered by an independent power supply and can be automatically refreshed, so that the power supply of the computer system can be completely cut off. The method can not only save the time for starting and loading the operating system, achieve the effect of using at once, but also reduce the power consumption.
Description
The present invention relates to a kind of control method of computer system, especially relate to a kind of method that state of computer system is hung up.Greatly
In general, when using computer, must be after the start through start test and tediously long operating system load time.If the user just will inquire about a bit of data, when waiting for start, loading of operating system, will lose many times so.And, after system state is hung up, when system restarts behind power-off, also need again process to wait as long for being written into of start and wait operating system, the mode of operation of system before just can recovering to shut down, and can not use with opening promptly.In present computer system, all power management functions all have the function that suspends to internal memory (suspend toRAM) and suspend to disk (suspend to disc).With regard to the mode that suspends to internal memory, its processing time is very fast, but has more chip not cut off the electricity supply, and therefore still has a large amount of power consumption problems.With regard to the mode that suspends to disk, though total system is to be in the electric energy closing state, owing to the status data of necessity all must be stored on the disk, so the time of handling can be long.
The object of the present invention is to provide a kind of method that state of computer system is hung up, this method can not only save start, be written into the time of operating system, reaches with opening the i.e. effect of usefulness, and can also reduce power consumption.
For achieving the above object, the method that computer system is hung up of the present invention comprises the steps: that the step of execution is as follows when computer system is normally moved: the state value of CPU is stored in the Installed System Memory; The storage mode and the amount of capacity of Installed System Memory are stored among the CMOS; The content of VGA internal memory, the state of VGA are stored in the Installed System Memory; The state value of all necessary circuitry devices is stored in the Installed System Memory; Close the power supply of computer system then.
After the power supply of restarting systems, carry out following steps: the storage mode of reading system internal memory and amount of capacity from CMOS; CPU enters the System Management Mode operation; Recover the state value before all necessary circuitry devices are hung up; The content of recovery VGA internal memory before system hangs up, the state value of VGA; Recover the state value of CPU; Leave System Management Mode then.
The method applied in the present invention will suspend to internal memory and combine with the function that suspends to disk, utilize the internal memory that refreshes (self-refresh) form automatically, power up for the said system internal memory by power supply independently, the state before system is hung up is kept in the Installed System Memory, and then powered-down.Owing to state value need not be kept in the disk, can save the operation processing time.And because the Installed System Memory of storing state data is to be powered up by power supply independently, so the power supply of computer system can be cut off fully, thus power consumption reduced.When jumping out suspended state (being the restarting systems power supply), then from Installed System Memory, read the various state values before hanging up, supply with each circuit arrangement, the mode of operation before the quick-recovery original system shutdown is soon avoided tediously long start, is written into the process of operating system.
Below in conjunction with accompanying drawing the method that state of computer system is hung up of the present invention is described in further detail.
Fig. 1 is a workflow diagram of hanging up program in the embodiment of the invention;
Fig. 2 jumps out the workflow diagram of suspended state restarting systems for the embodiment of the invention.
In Fig. 1, when computer system was normally moved, if the hang-up program (suspendprocess) of execution, this hang-up program can be triggered by hardware (for example closing power supply) or software, and system carries out following step, thereby computer system is hung up.
Hang up after the action launching, at first just the state value of CPU is stored in (step 11) in the Installed System Memory; Then storage mode and the amount of capacity with Installed System Memory is stored in (step 12) among the CMOS; Again the content (as picture file) of VGA internal memory, the state value of VGA are stored in (step 13) in the Installed System Memory.
Then, the state value with all necessary circuitry devices is stored in (step 14) in the Installed System Memory; For example, the state value 14a that stores all control device stores the state value (step 14b) of the LPT etc. of keyboard, communication port, printer; Store the state value (step 14c) of real-time clock, interruptable controller (for example 8259) and timer (for example 8254).At last, with the power-off of computer system (step 15), thus finish the hang-up of state of computer system.
When the user re-uses computer system, but the power supply of restarting systems then carries out step as shown in Figure 2, so that the state of quick recovery system before not being suspended.
After the power supply of restarting systems, the at first storage mode of reading system internal memory and amount of capacity (step 21) from CMOS; Then, make CPU enter System Management Mode (systemmanagement mode) operation (step 22).
Subsequently, recover the state value (step 23) of all necessary devices before hanging up, for example, recover the state value (step 23a) of all control device; The state value (step 23b) of the LPT of recovery keyboard, communication port, printer etc.; And the state value (step 23c) that recovers real-time clock, interruptable controller and timer.
Then, recover the content of VGA internal memory before system hangs up, the state value (step 24) of VGA again; Recover the state value (step 25) of CPU.At last, make CPU leave System Management Mode (step 26), promptly finish the action of restarting computer system.
In the present invention, the power supply of Installed System Memory is provided by a voltage source (for example battery) that is independent of system power supply.Therefore, when system power supply was closed, the data that are stored in the Installed System Memory can not lost.And employed Installed System Memory is for refreshing type automatically.
In the present invention, when computer system enters suspended state, because state values such as CPU, peripheral hardware, control device are stored in the Installed System Memory, therefore has the processing advantage fast that suspends to internal memory.Provided by a power supply that is independent of system power supply owing to Installed System Memory again, thus when suspended state, system power supply can be closed, thus reduce power consumption, so also have the advantage that suspends to the disk function.
When restarting the computer system power supply, and when making computer system jump out suspended state, because after the various states before only needing system hung up be read by Installed System Memory, supply with each corresponding intrument to get final product, no longer need to wait for start and wait for being written into of operating system, therefore can save a lot of time.
Though the present invention has described preferred embodiment, be not in order to qualification the present invention, any those of ordinary skill in the art without departing from the spirit and scope of the present invention, can make and changing or modification, all in claim protection domain of the present invention.
Claims (3)
1. the method that state of computer system is hung up is characterized in that comprising the steps:
(1) when computer system is normally moved, carry out following step:
The state value of CPU is stored in the Installed System Memory of being powered by an independent current source;
The storage mode and the amount of capacity of Installed System Memory are stored among the CMOS;
The content of VGA internal memory, the state value of VGA are stored in the Installed System Memory;
The state value of all necessary circuitry devices is stored in the Installed System Memory; And
The power supply of shutdown system;
(2) after the power supply of restarting systems, carry out following step:
The storage mode of reading system internal memory and amount of capacity from CMOS;
CPU enters the System Management Mode operation;
Recover the state value of all necessary circuitry devices before system hangs up;
The content of recovery VGA internal memory before system hangs up and the state value of VGA;
Recover the state value of CPU; And
Leave System Management Mode.
2. the method that state of computer system is hung up according to claim 1 is characterized in that described Installed System Memory is to be powered up by the voltage source outside the power supply that is independent of described system for refreshing type automatically.
3. the method that state of computer system is hung up according to claim 1, it is characterized in that, the step of all necessary circuitry unit state values of described storage comprises: store the state of all control device, store the state value of the LPT of keyboard, communication port, printer; And the state value that stores real-time clock, interruptable controller and timer;
The step of recovering the state value of all necessary circuitry devices before system hangs up comprises: the state that recovers all control device, recover the state value of keyboard, communication port, printer prints mouth, and the state value that recovers real-time clock, interruptable controller and timer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB991110633A CN1293461C (en) | 1999-07-30 | 1999-07-30 | A method for suspending computer system state |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB991110633A CN1293461C (en) | 1999-07-30 | 1999-07-30 | A method for suspending computer system state |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1282911A CN1282911A (en) | 2001-02-07 |
| CN1293461C true CN1293461C (en) | 2007-01-03 |
Family
ID=5274854
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB991110633A Expired - Fee Related CN1293461C (en) | 1999-07-30 | 1999-07-30 | A method for suspending computer system state |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1293461C (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7210048B2 (en) * | 2003-02-14 | 2007-04-24 | Intel Corporation | Enterprise power and thermal management |
| CN100405337C (en) * | 2004-12-31 | 2008-07-23 | 技嘉科技股份有限公司 | Data transmission device and method and computer quick starting method thereof |
| CN100458645C (en) * | 2005-10-07 | 2009-02-04 | 株式会社东芝 | Information processing device and start control method |
| CN100409316C (en) * | 2006-07-21 | 2008-08-06 | 无敌科技(西安)有限公司 | Data anti-damage method of magnetic disc type storage medium |
| US8209501B2 (en) * | 2009-05-05 | 2012-06-26 | Microsoft Corporation | Capturing and loading operating system states |
| CN101907918B (en) * | 2009-06-03 | 2012-06-27 | 精拓科技股份有限公司 | Computer system and related method for saving power consumption in standby/off state |
| CN101937344B (en) * | 2009-06-30 | 2014-07-30 | 联想(北京)有限公司 | Computer and method for quickly starting same |
| KR20150104695A (en) * | 2014-03-06 | 2015-09-16 | 삼성전자주식회사 | display apparatus and method for controling thereof |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1071770A (en) * | 1991-10-18 | 1993-05-05 | 国际商业机器公司 | Be used for time zero according to the method and apparatus of backing up |
| US5485623A (en) * | 1993-03-10 | 1996-01-16 | Hitachi, Ltd. | Information processor having high speed and safety resume system |
| CN1139771A (en) * | 1994-09-07 | 1997-01-08 | 国际商业机器公司 | Multifunction power switch and feedback LED for suspending the system |
| US5925129A (en) * | 1993-07-26 | 1999-07-20 | International Business Machines Corporation | Desktop computer system having compressed suspend to hardfile |
-
1999
- 1999-07-30 CN CNB991110633A patent/CN1293461C/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1071770A (en) * | 1991-10-18 | 1993-05-05 | 国际商业机器公司 | Be used for time zero according to the method and apparatus of backing up |
| US5485623A (en) * | 1993-03-10 | 1996-01-16 | Hitachi, Ltd. | Information processor having high speed and safety resume system |
| US5925129A (en) * | 1993-07-26 | 1999-07-20 | International Business Machines Corporation | Desktop computer system having compressed suspend to hardfile |
| CN1139771A (en) * | 1994-09-07 | 1997-01-08 | 国际商业机器公司 | Multifunction power switch and feedback LED for suspending the system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1282911A (en) | 2001-02-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107210057B (en) | Solid state drive with self-refresh energy-saving mode | |
| CN102707784B (en) | For power control so that the minimum method and system of power consumption | |
| CN103942160B (en) | Storage system, storage device and date storage method | |
| US20110185208A1 (en) | Memory power reduction in a sleep state | |
| CN101634884B (en) | Power management controller and method | |
| CN102375529B (en) | Messaging device, Poewr control method and program | |
| CN111506351A (en) | Deep sleep method, wake-up method and sleep and wake-up method for system on chip | |
| US20040054941A1 (en) | Management of data before zero volt suspend in computer power management | |
| TWI567541B (en) | Implementing a power off state in a computing device | |
| US11861781B2 (en) | Graphics processing units with power management and latency reduction | |
| CN102360244A (en) | Standby method for lengthening standby time of computer | |
| EP0487900A1 (en) | Portable computer resetting resume error caused from HDD loaded condition being changed and starting OS | |
| CN1293461C (en) | A method for suspending computer system state | |
| CN107168798A (en) | A kind of device sleeps method and device, device sleeps awakening method and device | |
| CN102736928A (en) | Quickly wake up computer system method and computer system | |
| CN102681650B (en) | The storage system of a kind of Energy control power-economizing method and correspondence thereof | |
| CN101042608A (en) | Portable electronic device with save electricity function and implementing method thereof | |
| CN103546648B (en) | Method for managing timing information of terminal and terminal | |
| CN100371858C (en) | Power supply backup system of memory | |
| CN112148365B (en) | Control module, method and microcontroller chip | |
| CN108984347A (en) | A kind of embedded device rebooting status recording method based on linux system | |
| CN112506686A (en) | Method and device for realizing log system of DCS (distributed control system) controller | |
| TW541453B (en) | Power saving device for computer and method thereof | |
| CN205540689U (en) | A Circuit Structure of Low Power Consumption FIFO | |
| JPH06149483A (en) | Computer system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C06 | Publication | ||
| PB01 | Publication | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070103 Termination date: 20110730 |