This application claims the priority benefit of China application serial No. 201210003471.9, filed on Jan. 6, 2012. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of specification.
1. Field of the Invention
The invention relates to a quick booting method and, more particularly, to a quick booting method of a computer.
2. Description of the Related Art
As information technology develops, computers are widely used. In a conventional booting process of a computer, the computer loads the basic input/output system (BIOS) and the BIOS executes many steps after the computer is powered on, such as the steps of running the power-on self-test (POST), detecting hardware status, installing drive programs and loading the operation system.
However, since functions of the operation system are more powerful and auto-start applications in booting procedure become more, it takes longer time to load the operation system, and the user wastes more time in waiting for the computer booting, which is rather inconvenient.
Furthermore, as performance of the computer improves, an advanced configuration and power interface (ACPI) is used. A power management system of the computer divides operation states into six states, S0 to S5, according to an ACPI specification. At state S0, the computer operates normally and all of hardware devices are in operation. That is, the computer is in a normal booting state, and the central processing unit (CPU) and the applications are in operation. At state S1, the CPU stops operating and other hardware devices still operate normally. State S1 is also called power on suspend (POS). At state S2, the CPU is shutdown and other hardware devices still operate normally. At state S3, the computer stores operation states of the operation system and the applications to a random access memory (RAM), the RAM is still power on by a power supply and the hard disk drive (HDD) is shutdown. State S3 is usually called suspend to RAM (STR). At state S4, the computer stores the operation states of the operation system and the applications to a non-volatile memory (such as a hard disk), which means the operation status data stored in the RAM are write to the HDD. Then, all of components stop operating and the power supply stops providing power to the RAM, but the HDD still can be woken up. State S4 is also called suspend to disk (STD). At state S5, the computer is in a normal shutdown state and all of the hardware devices (including the power supply) are shutdown.
A quick booting method of a computer is disclosed. The quick booting method includes following steps: storing operation status data of the computer to a volatile memory when the computer executes a shutdown process, continuing providing power to the volatile memory after the shutdown process is finished, reading the operation status data from the volatile memory and initializing the computer according to the operation status data when the computer executes a booting process.
A computer is disclosed. The computer includes a CPU, a volatile memory, a BIOS and a power module. The volatile memory is coupled to the CPU and is used for storing operation status data before the computer executes a shutdown process. The BIOS is coupled to the CPU and is used for reading the operation status data from the volatile memory and initializing the computer according to the operation status data when the computer executes a booting process. The power module is coupled to the volatile memory and provides power to the volatile memory when the computer finishes the shutdown process.
These and other features, aspects and advantages of the present invention will become better understood with regard to the following description, appended claims, and accompanying drawings.
The CPU 110 executes commands and controls the operation of other components of the computer 100. The volatile memory 120 is coupled to the CPU 110 and at least stores operation status data 170 when the computer is working before the computer 100 executes a shutdown process. The shutdown process may be states entering state S4 or state S5, and the operation status data 170 before the shutdown process may be relating parameters at state S0, state S1, state S2 or state S3, which is not limited herein. In other words, the volatile memory 120 not only stores the operation status data 170, but it also may store other information or program codes. In an embodiment, the volatile memory 120 is a dynamic random access memory (DRAM), and in another embodiment, the volatile memory 120 is a double operation status data rate synchronous dynamic random access memory (DDR SDRAM), which is not limited herein. The volatile memory 120 may be a volatile storage of any kinds, and operation status data stored therein disappear when it is power off. In an embodiment, the volatile memory 120 includes at least a dual inline memory module (DIMM) coupled to the CPU 110 of the computer 100.
The BIOS 130 is coupled to the CPU 110, reads the operation status data 170 from the volatile memory 120 and initializes the computer 100 according to the operation status data 170 when the computer 100 executes a booting process. Since the operation status data 170 are operation status data before the computer 100 enters state S4 or state S5, when the computer 100 boots up (such as switching from state S5 to state S0), the BIOS 130 can make the computer 100 to restore to a state before shutdown rapidly according to the operation status data 170 stored in the volatile memory 120, and shorten the booting time of the computer 100.
The BIOS 130 may be a conventional legacy BIOS. In an embodiment, the BIOS 130 is an extensible firmware interface BIOS, (EFI BIOS), and the EFI BIOS may be a unified extensible firmware interface BIOS (UEFI BIOS), which is not limited herein.
When the CPU 110 executes the booting process for the first time, since the volatile memory 120 does not store the operation status data 170, the BIOS 130 initializes the computer 100 in a conventional booting process.
The power module 140 is coupled to the volatile memory 120 and provides power to the volatile memory 120 after the computer 100 enters state S4 or state S5. Thus, when the computer 100 enters state S4 or state S5, the volatile memory 120 is continuously powered by the power module 140, and the operation status data 170 stored in the volatile memory 120 do not disappear. In the embodiment, the power module 140 includes a battery 142 for providing power to the volatile memory 120 after the computer 100 finishes the shutdown process and enters state S4 or state S5.
In the embodiment, the power module 140 includes a first power supply unit and a second power supply unit. Please refer to
In the embodiment, the computer 100 includes a north bridge chip (not shown) coupled between the CPU 110 and the volatile memory 120, and the north bridge chip controls the access to the volatile memory 120. The computer 100 also includes a south bridge chip (not shown) coupled between the north bridge chip and a peripheral bus (such as a peripheral component interconnect (PCI) bus or a universal serial bus (USB)) for processing and transferring operation status data of components connected to the peripheral bus. The operation clock of the peripheral bus is usually lower than that of the volatile memory 120. In another embodiment, the north bridge chip and the south bridge chip can be integrated into the CPU 110.
Since the computer 100 includes the volatile memory 120 and the power module 140, the operation status data 170 can be stored to the volatile memory 120 after the computer 100 enters state S4 or state S5. Thus, the computer 100 can boot up rapidly according to the operation status data 170 stored in the volatile memory 120 without a solid HDD.
The volatile memory 120 includes a first block and a second block in an embodiment. Please refer to
Please refer to
In the embodiment in
In sum, since the operation status data stored in the volatile memory do not disappear when the computer executes the shutdown process, they can be used to boot up the computer rapidly.
Although the present invention has been described in considerable detail with reference to certain preferred embodiments thereof, the disclosure is not for limiting the scope. Persons having ordinary skill in the art may make various modifications and changes without departing from the scope. Therefore, the scope of the appended claims should not be limited to the description of the preferred embodiments described above.
Number | Date | Country | Kind |
---|---|---|---|
201210003471.9 | Jan 2012 | CN | national |