CN101794232A - Method for quickly starting system - Google Patents

Method for quickly starting system Download PDF

Info

Publication number
CN101794232A
CN101794232A CN200910303541A CN200910303541A CN101794232A CN 101794232 A CN101794232 A CN 101794232A CN 200910303541 A CN200910303541 A CN 200910303541A CN 200910303541 A CN200910303541 A CN 200910303541A CN 101794232 A CN101794232 A CN 101794232A
Authority
CN
China
Prior art keywords
image file
spot image
memory device
detection
quick start
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.)
Pending
Application number
CN200910303541A
Other languages
Chinese (zh)
Inventor
卢赛文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netac Technology Co Ltd
Original Assignee
Netac Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Netac Technology Co Ltd filed Critical Netac Technology Co Ltd
Priority to CN200910303541A priority Critical patent/CN101794232A/en
Publication of CN101794232A publication Critical patent/CN101794232A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a startup method for an electronic equipment system, in particular to a method for quickly starting a system. The method for quickly starting the system comprises the following steps: starting a power supply to finish a basic startup process of the system; detecting whether a field mirror image file is stored in storage equipment, and if so, reading the field mirror image file; and detecting whether the system has a modification item, and if no, reducing a system field recorded by the field mirror image file, otherwise, reducing the system field recorded by the field mirror image file and then further starting the modification item or directly starting the system according to a normal program. The embodiment of the invention achieves the purpose of quickly starting the system.

Description

The method of quick start system
Technical field
The present invention relates to starting up's method of electronic apparatus system, relate in particular to a kind of method of quick start system.
Background technology
Prior art as electronic equipments such as computing machines, after start powers on, detect earlier and initiating hardware equipment success back start-up loading operating system, application program starts successively one by one.Cause the on time long thus, system start-up speed is slow.
In order to accelerate the toggle speed of system, people adopt sleep mode to come the accelerating system start-up course more in the prior art.When system entered dormant state, operating system was the state of RAM and content of registers and system, be included in computer system power source close before the state of all application programs of opening all be saved in the hard disk, form a hibernation file.During system restart, operating system reads described hibernation file, and it is loaded in RAM and the register, the state when computing machine is returned to preservation, and it is invalid then hibernation file to be changed to.Owing to have only when system enters dormant state, could form hibernation file, and the dormant state of each system is all inequality, accelerates system start-up speed so can not directly reuse same hibernation file.How to generate the startup file that can reuse, and utilize this startup file quickening system boot speed to become letter problem to be solved.
Summary of the invention
One of purpose of the present invention is for providing a kind of method of quick start system, in order to accelerate starting up's speed of system.
The present invention proposes a kind of method of quick start system, and the method for described quick start system comprises step:
Power-on, the start-up course that the system that finishes is basic;
Whether preserve on-the-spot image file in the detection of stored equipment, if having then read described on-the-spot image file;
Whether detection system exists modification item, if not then reduce the system for field of described on-the-spot image file record, further starts modification item behind the system for field of described on-the-spot image file record or directly by the normal procedure start-up system otherwise reduce.
Preferably, also comprise step in further startup modification item behind the system for field of the described on-the-spot image file record of described reduction or after: generate new on-the-spot image file directly by the step of normal procedure start-up system.
Preferably, the step of the new on-the-spot image file of described generation specifically comprises: it is invalid that the described on-the-spot image file of preserving in the described memory device is changed to; Scene after system start-up finished is stored as new on-the-spot image file to memory device.
Preferably, when the result who whether preserves on-the-spot image file in the detection of stored equipment for not the time: press the normal procedure start-up system, and the scene of storage system startup after finishing is that on-the-spot image file is to memory device.
Preferably, whether the step of whether preserving on-the-spot image file in detection of stored equipment: it is correct to detect described on-the-spot image file if also comprising step afterwards, if correct, then read described on-the-spot image file.
Preferably, when detecting the whether correct result of described on-the-spot image file for not the time: press the normal procedure start-up system, and the scene of storage system startup after finishing is that on-the-spot image file is to memory device.
From the above, the embodiment of the invention is utilized the system for field reduction recovery system of described on-the-spot image file record by after finishing basic start-up course in system, reaches the purpose of quick turn-on start-up system.
Description of drawings
Fig. 1 is the schematic flow sheet of the method for a kind of quick start system of one embodiment of the invention;
Fig. 2 is the schematic flow sheet of the method for a kind of quick start system of another embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the method for a kind of quick start system of another embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the method for a kind of quick start system of another embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
With reference to Fig. 1, the present invention proposes the method for a kind of quick start system of an embodiment, and the method for described quick start system comprises step:
S1, power-on, the start-up course that the system that finishes is basic;
Whether preserve on-the-spot image file in S2, the detection of stored equipment, if having then read described on-the-spot image file;
Whether S3, detection system have modification item, if not then reduce the system for field that described on-the-spot image file keeps, further start modification item behind the system for field that described on-the-spot image file keeps or directly by the normal procedure start-up system otherwise reduce.
As described in step S1, power-on, the start-up course that the system that finishes is basic.Described system can be computer system, cell phone system, can also be any electronic apparatus system; Described basic start-up course includes but not limited to power-on self-test, hardware identification and startup, reads Main Boot Record, the one or any combination in the initialization.As an embodiment of the invention, with the computer system is example, can whether computing machine will carry out power-on self-test after the power-on, and the hardware device of computing machine is carried out slap-up check and test, exist and operate as normal in order to the hardware device in the detection system.If above-mentioned power-on self-test passes through smoothly, BIOS (Basic Input Output System, Basic Input or Output System (BIOS)) continues to detect CPU (CentralProcessing Unit, CPU (central processing unit)) type, test all RAM (Random Access Memory, random access memory), some the standard hardware equipment installed in the detection computations machine successively and the described hardware device of initialization comprise equipment such as hard disk, CD-ROM drive, serial ports, parallel port, floppy drive.After standard device detects and finishes, BIOS will begin to detect with configuration-system in the PnP device installed, be resources such as this devices allocation interruption, DMA (Direct Memory Access, direct memory access) passage and I/O (input/output, input/output port) port.Next BIOS will read and carry out the Main Boot Record on the hard disk, and some important system datas of initialization load described operating system.
As described in step S2, after the basic start-up course of system is finished, whether preserve on-the-spot image file in the detection of stored equipment, if have then read described on-the-spot image file, if not then according to the prior art system setting up procedure, according to starting a startup project of record, start successively one by one.As an embodiment of the invention, described memory device can be a hard disk.Described on-the-spot image file can be with system for field, is kept at file in the memory device with the form of file.Described system for field includes but not limited to the system data of current storage in the program of the current operation of system and the residing state of program, RAM and the internal memory.As an embodiment of the invention, be example with the computer system, the mailbox of opening, immediate communication tool, the WORD document that downloads, opens are system for field.Described on-the-spot image file can be to preserve the file that forms after last time, system start-up was finished automatically, also can be the file that the user in use initiatively is provided with preservation.
As described in step S3, whether detection system exists modification item, if not then reduce the system for field that described on-the-spot image file keeps, further start modification item behind the system for field of described on-the-spot image file record or directly by the normal procedure start-up system otherwise reduce.Described modification item can be the new program of installing or unloading, installation newly or the hardware device of unloading or the starting up's item that increases newly or delete; As an embodiment of the invention, whether detection system has the mode of modification item can be program, installation newly or the hardware device of unloading or the starting up's item that increases newly or delete whether detection system is newly installed or unloaded; Whether have as the another embodiment of the invention detection system mode of modification item can be whether detection system exists system's revised file, described system revised file has been put down in writing the new program of installing or unloading of system, installation newly or the hardware device of unloading or the starting up's item that increases newly or delete.
In step S3, if being system, testing result do not have modification item, the system for field that the described on-the-spot image file that then reduces keeps.Program and the residing state of program according to the operation of described on-the-spot image file record start corresponding working procedure and working procedure are returned to residing state, and the system data information of recovering to store in the RAM of described on-the-spot image file record and the internal memory is in RAM and internal memory.
In step S3, if being system, testing result has modification item, then can be according to described on-the-spot image file restoring system scene.The program and the residing state of program of the operation of the described on-the-spot image file record of foundation start corresponding working procedure and working procedure are returned to residing state, recover the system data stored in the RAM of described on-the-spot image file record and the internal memory in RAM and internal memory after, the starting up's item that continues to start new program of installing in the modification item, new installed hardware equipment or increase newly; Perhaps close the program, the hardware device of unloading or the starting up's item of deletion that start unloading in the item.
In step S3, if being system, testing result has modification item, then can also according to starting a startup project of record, start successively one by one according to the prior art system setting up procedure.
The on-the-spot image file recovery system scene of the embodiment of the invention by preserving in the memory device, the toggle speed of quickening system.
With reference to Fig. 2, another embodiment of the present invention proposes a kind of method of quick start system based on the foregoing description, and than embodiment shown in Figure 1, present embodiment further comprises step:
S4, the new on-the-spot image file of generation.
As described in step S4, described new on-the-spot image file can be that the automatic current system for field of system is preserved the file that forms system start-up is finished after, also can be that user's active in use is provided with current system for field is saved as new on-the-spot image file.Next time the starting up system then according to the new on-the-spot image file of described storage, recovery system is to current state.
With reference to Fig. 3, the step of the described on-the-spot image file of described renewal specifically comprises step:
S41, the described on-the-spot image file of preserving in the described memory device is changed to invalid;
S42, the scene after system start-up finished are stored as new on-the-spot image file to memory device.
As described in step S41, it is invalid that the described on-the-spot image file of preserving in the described memory device is changed to, described the described on-the-spot image file of preserving in the described memory device is changed to invalid mode can be for deleting described on-the-spot image file, can also be with the described on-the-spot image file of sign whether effectively flag be revised as invalid.For example, be effectively with the described on-the-spot image file of data 01 sign, it is invalid that data 00 identify described on-the-spot image file, then described flag is revised as 00 be about to described on-the-spot image file be designated invalid.
As described in step S42, scene after system start-up finished is stored as new on-the-spot image file to memory device, described new on-the-spot image file includes but not limited to the system data of current storage in the program of the current operation of system and the residing state of program, RAM and the internal memory, and start next time is then according to the new on-the-spot image file start-up system of described storage.
The embodiment of the invention is revised the on-the-spot image file of preserving in the memory device by self-adaptation, and utilizes described on-the-spot image file recovery system scene, accelerates the toggle speed of system.
With reference to Fig. 4, another embodiment of the present invention proposes a kind of method of quick start system based on the foregoing description, and than embodiment shown in Figure 2, present embodiment further comprises step:
S5, when the result who whether preserves on-the-spot image file in the detection of stored equipment for not the time, press the normal procedure start-up system, and the scene of storage system startup after finishing is that on-the-spot image file is to memory device.
As described in step S5, when the result who whether preserves on-the-spot image file in the detection of stored equipment for not the time, according to the prior art system setting up procedure,, start successively one by one according to starting a startup project of record.It is that new on-the-spot image file is to memory device that storage system starts scene after finishing, described new on-the-spot image file includes but not limited to the system data of current storage in the program of the current operation of system and the residing state of program, RAM and the internal memory, and start next time is then according to the new on-the-spot image file start-up system of described storage.
Another embodiment of the present invention proposes a kind of method of quick start system based on the foregoing description, and than embodiment shown in Figure 2, whether present embodiment is preserved in detection of stored equipment further comprises step after the step of on-the-spot image file:
S6, whether correct, if correct, then read described on-the-spot image file if detecting described on-the-spot image file.
S7, when detecting the whether correct result of described on-the-spot image file for not the time, press the normal procedure start-up system, and the scene of storage system startup after finishing is that on-the-spot image file is to memory device.
As described in step S6, whether correct mode can be that whether whether correct flag preserves correct data to the described on-the-spot image file of detection sign to the described on-the-spot image file of described detection.For example use special data, as 0x55aa55aa, only detect that flag deposits be these data in think that just described on-the-spot image file is correct.
As described in step S7, when detecting the whether correct result of described on-the-spot image file for not the time, press the normal procedure start-up system, and the scene of storage system startup after finishing is that on-the-spot image file is to memory device.According to the prior art system setting up procedure,, start successively one by one according to starting a startup project of record.It is that new on-the-spot image file is to memory device that storage system starts scene after finishing, described new on-the-spot image file includes but not limited to the system data of current storage in the program of the current operation of system and the residing state of program, RAM and the internal memory, and start next time is then according to the new on-the-spot image file start-up system of described storage.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (6)

1. the method for a quick start system is characterized in that, the method for described quick start system comprises step:
Power-on, the start-up course that the system that finishes is basic;
Whether preserve on-the-spot image file in the detection of stored equipment, if having then read described on-the-spot image file;
Whether detection system exists modification item, if not then reduce the system for field of described on-the-spot image file record, further starts modification item behind the system for field of described on-the-spot image file record or directly by the normal procedure start-up system otherwise reduce.
2. the method for quick start system as claimed in claim 1 is characterized in that, also comprises step in further startup modification item behind the system for field of the described on-the-spot image file record of described reduction or after directly by the step of normal procedure start-up system:
Generate new on-the-spot image file.
3. the method for quick start system as claimed in claim 2 is characterized in that, the step of the on-the-spot image file that described generation is new specifically comprises:
It is invalid that the described on-the-spot image file of preserving in the described memory device is changed to;
Scene after system start-up finished is stored as new on-the-spot image file to memory device.
4. as the method for each described quick start system of claim 1 to 3, it is characterized in that, when the result who whether preserves on-the-spot image file in the detection of stored equipment for not the time:
Press the normal procedure start-up system, and the scene that storage system starts after finishing is that on-the-spot image file is to memory device.
5. the method for quick start system as claimed in claim 4 is characterized in that, the step of whether preserving on-the-spot image file in detection of stored equipment also comprises step afterwards:
Whether correct, if correct, then read described on-the-spot image file if detecting described on-the-spot image file.
6. the method for quick start system as claimed in claim 5 is characterized in that, when detecting the whether correct result of described on-the-spot image file for not the time:
Press the normal procedure start-up system, and the scene that storage system starts after finishing is that on-the-spot image file is to memory device.
CN200910303541A 2009-06-23 2009-06-23 Method for quickly starting system Pending CN101794232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910303541A CN101794232A (en) 2009-06-23 2009-06-23 Method for quickly starting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910303541A CN101794232A (en) 2009-06-23 2009-06-23 Method for quickly starting system

Publications (1)

Publication Number Publication Date
CN101794232A true CN101794232A (en) 2010-08-04

Family

ID=42586945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910303541A Pending CN101794232A (en) 2009-06-23 2009-06-23 Method for quickly starting system

Country Status (1)

Country Link
CN (1) CN101794232A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750579A (en) * 2015-04-14 2015-07-01 华为技术有限公司 Method and device for manufacturing memory mirroring
US9600369B2 (en) 2013-12-10 2017-03-21 Huawei Technologies Co., Ltd. Operating system recovery method and apparatus, and terminal device
CN106886393A (en) * 2015-12-16 2017-06-23 芋头科技(杭州)有限公司 The method and intelligent electronic device of a kind of quick start system
CN103729211B (en) * 2013-12-10 2017-08-04 华为技术有限公司 A kind of operating system recovery method, device and terminal device
CN107861763A (en) * 2017-12-01 2018-03-30 天津麒麟信息技术有限公司 A kind of interruption routed environment restoration methods towards Feiteng processor sleep procedure
CN107918521A (en) * 2016-10-09 2018-04-17 深圳市深信服电子科技有限公司 The reduction method and device of virtual disk
CN108829460A (en) * 2018-06-12 2018-11-16 深圳市众鸿科技股份有限公司 The method, apparatus and car-mounted terminal of car-mounted terminal quick start
WO2021077916A1 (en) * 2019-10-24 2021-04-29 华为技术有限公司 Method and device for acquiring mirror image file

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9600369B2 (en) 2013-12-10 2017-03-21 Huawei Technologies Co., Ltd. Operating system recovery method and apparatus, and terminal device
CN103729211B (en) * 2013-12-10 2017-08-04 华为技术有限公司 A kind of operating system recovery method, device and terminal device
CN104750579A (en) * 2015-04-14 2015-07-01 华为技术有限公司 Method and device for manufacturing memory mirroring
CN104750579B (en) * 2015-04-14 2017-12-29 华为技术有限公司 The method and apparatus for making memory mirror
CN106886393A (en) * 2015-12-16 2017-06-23 芋头科技(杭州)有限公司 The method and intelligent electronic device of a kind of quick start system
CN107918521A (en) * 2016-10-09 2018-04-17 深圳市深信服电子科技有限公司 The reduction method and device of virtual disk
CN107861763A (en) * 2017-12-01 2018-03-30 天津麒麟信息技术有限公司 A kind of interruption routed environment restoration methods towards Feiteng processor sleep procedure
CN107861763B (en) * 2017-12-01 2022-03-11 麒麟软件有限公司 Interrupt routing environment recovery method for dormancy process of Feiteng processor
CN108829460A (en) * 2018-06-12 2018-11-16 深圳市众鸿科技股份有限公司 The method, apparatus and car-mounted terminal of car-mounted terminal quick start
WO2021077916A1 (en) * 2019-10-24 2021-04-29 华为技术有限公司 Method and device for acquiring mirror image file

Similar Documents

Publication Publication Date Title
CN101794232A (en) Method for quickly starting system
US8028177B2 (en) Method for changing power states of a computer
CN1261868C (en) Method of rapid computer start-up
US9317299B2 (en) Method and device for cold starting android mobile terminal
CN1323354C (en) Detecting modifications made to code placed in memory by the POST BIOS
US20110213954A1 (en) Method and apparatus for generating minimum boot image
CN102722394B (en) Start upgrading method of embedded equipment
TW201502764A (en) Specialized boot path for speeding up resume from sleep state
CN104102506A (en) ARM (Advanced RISC Machine) platform based Android startup acceleration method
CN101634960A (en) Method for revising BIOS parameter and regenerating checksum
CN103577212A (en) System starting preloading method and device
CN105786544A (en) Method for booting computer system rapidly and booting system of computer
CN103336736A (en) System log acquisition method and device
CN101446915B (en) Method and device for recording BIOS level logs
US20060031669A1 (en) Boot method and system
CN102622281A (en) Intelligent terminal and method of data backup and restore thereof
CN111898132A (en) Method for accelerating active measurement speed of trusted computer
EP2827241B1 (en) Electronic device that executes hibernation, suspend control method and a non-transitory computer-readable recording medium
CN105786545A (en) Breakpoint restoration method and system based on heterogeneous hybrid memories
CN101140535A (en) Method for preventing BIOS chip data from missing
CN101546283A (en) Restoration method based on input output system and computer device therefor
CN101436097A (en) Electronic device and wake-up method thereof
CN105630523A (en) Computer BIOS data recovery system and method
US8209443B2 (en) System and method for identifying lost/stale hardware in a computing system
CN108009039B (en) Terminal information recording method, device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100804