CN1293461C - Method for suspending state of computer system - Google Patents
Method for suspending state of computer system 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
- computer
- 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 relates to a method for suspending a state of a computer system. In the method, a function of suspending to a memory and a function of suspending a disk are combined; a state before a system is suspended is reserved in the system memory; then an electric source is turned off. When a suspended state is released, various state values before suspension can be read from the system memory to supply each circuit device; therefore, an operation state of an original system before a computer is turned off can be quickly restored. Because the system memory is provided with power by an independent electric source, and can automatically refresh, an electric source of the computer system can be completely cut off. The method not only can save time for turning on a computer and loading an operation system, and reach an effect that the computer can be used as soon as the computer is turned on, but also can reduce 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 | Method for suspending state of computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB991110633A CN1293461C (en) | 1999-07-30 | 1999-07-30 | Method for suspending state of computer system |
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 | Method for suspending state of computer system |
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 quick starting method for computer |
CN100458645C (en) * | 2005-10-07 | 2009-02-04 | 株式会社东芝 | Information processing apparatus and power on 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 for saving power consumption in standby/power-off state and related method thereof |
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 | 国际商业机器公司 | Multi-function power switch and feedback light emitting diode for hanging-up 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 | 国际商业机器公司 | Multi-function power switch and feedback light emitting diode for hanging-up system |
Also Published As
Publication number | Publication date |
---|---|
CN1282911A (en) | 2001-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6334828B2 (en) | Solid state drive with self-refresh power saving mode | |
CN104850435B (en) | Power source management controller and method | |
CN102707784B (en) | For power control so that the minimum method and system of power consumption | |
US6647472B2 (en) | Fast suspend to disk | |
US7519808B2 (en) | Method and apparatus for quickly reanimating devices from hibernation | |
US6618812B2 (en) | Management of data before zero volt suspend in computer power management | |
CN102841674B (en) | Embedded system based on novel memory and hibernation and awakening method for process of embedded system | |
CN103942160B (en) | Storage system, storage device and date storage method | |
US20090217026A1 (en) | Method for changing power states of a computer | |
EP2513753A1 (en) | Memory power reduction in a sleep state | |
CN102360244A (en) | Standby method for lengthening standby time of computer | |
TWI567541B (en) | Implementing a power off state in a computing device | |
US20130268781A1 (en) | State control device, information processing device, computer program product, and semiconductor device | |
US5339444A (en) | Portable computer resetting resume error caused from HDD loaded condition being changed and starting OS | |
JPH0744437A (en) | Information processing system | |
CN102866934A (en) | Dormancy and wake-up system for embedded device based on non-volatile random access memory | |
KR101799292B1 (en) | Electronic device and booting method thereof | |
CN1293461C (en) | Method for suspending state of computer system | |
CN111506351A (en) | Deep sleep method, wake-up method and sleep and wake-up method for system on chip | |
JP2688164B2 (en) | Information processing system | |
CN102736928A (en) | Method for fast resuming computer system and computer system | |
US11861781B2 (en) | Graphics processing units with power management and latency reduction | |
GB2477417A (en) | Memory power reduction in a sleep state | |
US20090103404A1 (en) | Optic disk drive power management method for computer system | |
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 |