Method, device and system for closing down and starting up computer system

A computer system and operating system technology, applied in the field of computer systems, can solve the problems of slow startup speed of the computer system and long recovery time of the computer system, and achieve the effects of shortening time consumption, improving startup speed, and high reading efficiency

Active Publication Date: 2013-07-17
INST OF MICROELECTRONICS CHINESE ACAD OF SCI
View PDF4 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a computer system shutdown method, startup method, device and system to solve the problem that when the computer system in the prior art adopts sleep wake-up technology, the recovery time of the computer system is still very long, and there is no Really solve the problem that the computer system startup speed is relatively slow, its technical solution is as follows:

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device and system for closing down and starting up computer system
  • Method, device and system for closing down and starting up computer system
  • Method, device and system for closing down and starting up computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] In the process of realizing the invention, the inventor found that some performances of phase change memory PCM are better than traditional DRAM, for example, it does not need periodic refreshing to maintain the data stored therein, and after the device is powered off, the stored data The data will not be lost; the PCM has a long life and can be rewritten more than 100,000 times; the read and write speed is fast, which can reach 1000 times that of the existing flash memory; the write and read voltage is small, and there is no need for complex and costly booster circuits. It has the characteristics of low power consumption and low voltage.

[0059] Table 1 compares the performance of DRAM and PCM through specific data:

[0060] Table 1

[0061] feature

DRAM

PCM

read latency

15ns

28ns

write delay

22ns

150ns

Read power consumption

21mW

78mW

Write power consumption

195mW

773mW

volatility

...

Embodiment 2

[0072] Embodiment 2 of the present invention provides a shutdown method of a computer system, the memory of the computer system includes phase change memory PCM and DRAM, figure 2 A schematic flow chart of the method is shown, and the shutdown method provided in this embodiment may include:

[0073] Step S201: Obtain a shutdown instruction for shutting down the computer system.

[0074] Step S202: Freeze the active process through the operating system.

[0075] Step S203: Save the register data and cache data related to the active process to the DRAM.

[0076] Step S204: Save the entire DRAM image to the first storage area of ​​the PCM, so that when the computer system starts, it can directly read data from the first storage area of ​​the PCM, restore register data and cache data, and activate frozen active processes.

[0077] Wherein, the first storage area may be a storage space dynamically opened every time the shutdown operation is performed, and is used for storing the...

Embodiment 3

[0083] Embodiment 3 of the present invention provides a method for shutting down a computer system. The memory of the computer system includes a phase-change memory PCM and a DRAM, wherein two storage spaces are pre-opened for the PCM as the first storage area and the second storage area. , the storage areas in the PCM except the first storage area and the second storage area can be used for routine work, such as storing the data required during the running of the program, image 3 It shows a schematic flowchart of the shutdown method provided by Embodiment 3 of the present invention, and the method may include:

[0084] Step S301: Obtain a shutdown instruction for shutting down the computer system.

[0085] Step S302: Freeze the active process through the operating system.

[0086] Step S303: Save the register data and cache data related to the active process to the DRAM.

[0087] Step S304: Save the entire DRAM image to the first storage area of ​​the PCM so that when the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method, a device and a system for closing down and starting up a computer system. An internal memory of the computer system comprises a phase changing memory (PCM) and a dynamic random access memory (DRAM). The closing down method comprises the following steps of acquiring a closing-down order for closing down the computer system, freezing an active process through an operating system, storing the register data and the cache data, related to the active process, to the DRAM, storing an entire DRAM mirror image to the PCM, and turning off the device power supply so as to close down the computer. The starting up method comprises the following steps of receiving a starting-up order for starting up the computer system, activating the operating system, reading the data directly from the PCM through the operating system, restoring the register data and the cache data, and activating the frozen active process. Compared with the prior art, by utilizing the nonvolatile and high reading efficiency of the PCM, the data can be directly read from the PCM when a computer is started, and the DRAM mirror image no longer needs to be copied from a disk into the DRAM, so that the consumed time can be shortened, and the starting-up speed can be increased.

Description

technical field [0001] The invention belongs to the technical field of computer systems, and in particular relates to a computer system shutdown method, startup method, device and system. Background technique [0002] The startup process of a computer system is a complicated process. Starting from pressing the power button, the hardware and software in the computer system need to go through the boot stage, kernel loading stage, and kernel initialization stage to provide the user with an operating system login interface. Too many programs need to be loaded, and this process will require the user to wait for several minutes, that is, the startup speed of the computer system is slow. [0003] In order to avoid troubles caused by frequent startup and shutdown of computing, many users are accustomed to keeping the computer system in a dormant state. However, when the computer system enters the dormant state, it is necessary to copy all the system images in the Dynamic Random Acc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
Inventor 刘文俊陈岚郝晓冉
Owner INST OF MICROELECTRONICS CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products