CN107229536A - A kind of startup method and system for terminal device - Google Patents

A kind of startup method and system for terminal device Download PDF

Info

Publication number
CN107229536A
CN107229536A CN201710392086.0A CN201710392086A CN107229536A CN 107229536 A CN107229536 A CN 107229536A CN 201710392086 A CN201710392086 A CN 201710392086A CN 107229536 A CN107229536 A CN 107229536A
Authority
CN
China
Prior art keywords
snapshot
default
block
snapshot block
volatile memory
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
CN201710392086.0A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710392086.0A priority Critical patent/CN107229536A/en
Publication of CN107229536A publication Critical patent/CN107229536A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a kind of startup method and system for terminal device, this method includes:Corresponding snapshot is generated previously according to the system status information of target terminal equipment;Snapshot is separated into some snapshot blocks;Each snapshot block is stored to default nonvolatile memory;Judge whether the target terminal equipment for being currently at closed mode will carry out system reboot;If so, the snapshot block that then will be stored in default nonvolatile memory is loaded onto in default volatile memory;System reboot is carried out to target terminal equipment.The system status information of terminal device is preserved by generating snapshot, by snapshot storage in the nonvolatile memory, avoid the loss that power-off causes system status information, the security of system signal is ensured, and when needing to carry out system reboot, snapshot in nonvolatile memory is loaded into volatile memory, original position is reduced to system status information to be stored, realization is quickly restarted.

Description

A kind of startup method and system for terminal device
Technical field
The present invention relates to operation system technology field, more particularly to a kind of startup method for terminal device and it is System.
Background technology
Because the complexity and species of operating system are continuously increased, its system kernel and answering based on software platform thereon Miscellaneous degree also constantly increases with magnitude.Large-scale system kernel is with software platform because needing substantial amounts of initialization flow to add with file Carry, the delay for often causing system to start.
To solve the above problems, such as sleep mode has been suggested with suspending to the method for hard disk etc.Sleep mode Random access memory can be stored by the system of closing in non-volatile media such as disk, flash memory by hanging up method with hard disk (RAM) status information with CPU carrys out the function that imparting system quickly starts;Stored status information can quilt in system reboot Original position is restored to, wherein, stored status information is commonly referred to as snapshot.
The principle of dormancy is preserved system current state in a hibernation file in a hard disk, and then all devices are closed Close, the automatic file for calling hard disk to preserve when restarting, the state returned to before shutdown, but resume speed is slower;Hang-up is ought Preceding state is all loaded onto internal memory, and hard disk is stopped power supply, although such a method resume speed is very fast, but if power-off, then system State is all lost, and can only be restarted.
Therefore, the security of system information how had both been can guarantee that, the speed of system reboot is can guarantee that again, has been art technology The current technical issues that need to address of personnel.
The content of the invention
It is an object of the invention to provide a kind of startup method and system for terminal device, system information both can guarantee that Security, can guarantee that the speed of system reboot again.
In order to solve the above technical problems, the invention provides following technical scheme:
A kind of startup method for terminal device, including:
Corresponding snapshot is generated previously according to the system status information of target terminal equipment;
The snapshot is separated into some snapshot blocks;
Each snapshot block is stored to default nonvolatile memory;
Judge whether the target terminal equipment for being currently at closed mode will carry out system reboot;
If so, the snapshot block that then will be stored in the default nonvolatile memory is loaded onto default volatile storage In device;
System reboot is carried out to the target terminal equipment.
Preferably, it is described to store each snapshot block to default nonvolatile memory, including:Judge each snapshot Whether block meets default contractive condition;If so, being then compressed to the snapshot block for meeting default contractive condition;By each compression Rear snapshot block and do not meet the snapshot block of default contractive condition and store to default nonvolatile memory;
Correspondingly, the snapshot block that will be stored in the default nonvolatile memory is loaded onto default volatibility In memory, including:The snapshot block that will be stored in the default nonvolatile memory is loaded onto default volatile storage In device, and each snapshot block compressed being loaded onto in the default volatile memory is decompressed.
Preferably, the snapshot block that will be stored in the default nonvolatile memory is loaded onto default volatibility In memory, and each snapshot block compressed being loaded onto in the default volatile memory is decompressed, including:
The snapshot block that will be stored in the default nonvolatile memory is loaded onto in default volatile memory;
Whether be stored with the snapshot block of loaded in default volatile memory described in real-time judge;
If so, whether the snapshot block for then judging loaded is the snapshot block compressed;
If so, the snapshot block then compressed in real time to this is decompressed.
Preferably, it is described to judge whether each snapshot block meets default contractive condition, including:
Judge whether the compression time and load time sum of each snapshot block are less than the deadline of the snapshot block;
Judge the compression ratio of each snapshot block whether in default threshold range.
Preferably, the snapshot block that will be stored in the default nonvolatile memory is loaded onto default volatibility In memory, including:
Judge whether each snapshot block being stored in the default nonvolatile memory must comprising system reboot The data wanted;
If so, then the snapshot block is loaded onto in default volatile memory.
A kind of activation system for terminal device, including:
Snapshot generation module, corresponding snapshot is generated previously according to the system status information of target terminal equipment;
Snapshot separation module, for the snapshot to be separated into some snapshot blocks;
Non-volatile memory module, for storing each snapshot block;
Whether judge module, the target terminal equipment for judging to be currently at closed mode will carry out system weight Open;
Volatile memory module, for judging to be currently at the target terminal equipment of closed mode in the judge module When carrying out system reboot, snapshot block of the load store in the non-volatile memory module;
Starting module, for being to the target terminal equipment according to the snapshot block of the volatile memory module loading System is restarted.
Preferably, the non-volatile memory module includes:First judging unit, for judging whether each snapshot block accords with Close default contractive condition;Compression unit, for judging that each snapshot block meets default pressure in first judging unit During contracting condition, the snapshot block for meeting default contractive condition is compressed;First memory cell, for storing after each compression Snapshot block and the snapshot block for not meeting default contractive condition;
Correspondingly, the volatile memory module includes:Loading unit, for will be stored in the non-volatile memory module Snapshot block be loaded onto the second memory cell;Second memory cell, the snapshot block for storing the loading unit loading; Decompression units, for being decompressed to each snapshot block compressed in second memory cell.
Preferably, the volatile memory module also includes:
Second judging unit, the snapshot for the loaded of whether being stored with the second memory cell described in real-time judge Block;
3rd judging unit, has been loaded for being stored with judging second memory cell in second judging unit During the snapshot block finished, whether the snapshot block for judging loaded is the snapshot block compressed;
Wherein, the decompression units are used to judge that the snapshot block of loaded is to be compressed in the 3rd judging unit Snapshot block when, the snapshot block compressed in real time to this is decompressed.
Preferably, first judging unit includes:
First judgment sub-unit, is somebody's turn to do for judging whether the compression time and load time sum of each snapshot block are less than The deadline of snapshot block;
Second judgment sub-unit, for judging whether the compression ratio of each snapshot block is in default threshold range It is interior.
Preferably, the volatile memory module also includes:
Whether the 4th judging unit, each snapshot block for judging to be stored in the non-volatile memory modules wraps Containing data necessary to system reboot;
Wherein, the loading unit is additionally operable to judge to be stored in the non-volatile memories mould in the 4th judging unit Each snapshot block in block is included necessary to system reboot during data, and it is single that the snapshot block is loaded onto into second storage Member.
Compared with prior art, above-mentioned technical proposal has advantages below:
A kind of startup method for terminal device provided by the present invention, including:Previously according to target terminal equipment System status information generates corresponding snapshot;Snapshot is separated into some snapshot blocks;Each snapshot block is stored to default non-volatile Property memory;Judge whether the target terminal equipment for being currently at closed mode will carry out system reboot;If so, then will be stored in Snapshot block in default nonvolatile memory is loaded onto in default volatile memory;System is carried out to target terminal equipment Restart.The system status information of terminal device is preserved by generating snapshot, by snapshot storage in the nonvolatile memory, is kept away Exempt from the loss that power-off causes system status information, ensure the security of system signal, and when needing to carry out system reboot, Snapshot in nonvolatile memory is loaded into volatile memory, original is reduced to system status information to be stored The position come, realization is quickly restarted, and both ensure that the security of system information, in turn ensure that the speed of system reboot.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
The startup method flow diagram for terminal device that Fig. 1 is provided by a kind of embodiment of the invention;
The snapshot that Fig. 2 is provided by a kind of embodiment of the invention separates schematic diagram figure;
The activation system structural representation for terminal device that Fig. 3 is provided by a kind of embodiment of the invention.
Embodiment
The core of the present invention is to provide a kind of startup method and system for terminal device, both can guarantee that system information Security, can guarantee that the speed of system reboot again.
In order that the above objects, features and advantages of the present invention can become apparent it is understandable, below in conjunction with the accompanying drawings to this hair Bright embodiment is described in detail.
Detail is elaborated in the following description to fully understand the present invention.But the present invention can with it is a variety of not It is same as other manner described here to implement, those skilled in the art can do class in the case of without prejudice to intension of the present invention Like popularization.Therefore the present invention is not limited to the specific embodiments disclosed below.
It refer to Fig. 1 and Fig. 2, the startup for terminal device that Fig. 1 is provided by a kind of embodiment of the invention Method flow diagram;The snapshot that Fig. 2 is provided by a kind of embodiment of the invention separates schematic diagram figure.
A kind of embodiment of the present invention provides a kind of startup method for terminal device, including:
S11:Corresponding snapshot is generated previously according to the system status information of target terminal equipment.
In the present embodiment, the system status information that snapshot is included contains the processor, interior of target terminal equipment Deposit and all information relevant with terminal such as I/O device.System mode after can for the first time being started according to target terminal equipment is believed Breath generation snapshot.
S12:Snapshot is separated into some snapshot blocks.
In one embodiment of the invention, snapshot is divided into multiple pages, each snapshot block contain one or Multiple pages, as shown in Fig. 2 a snapshot is divided into multiple snapshot blocks, in the present embodiment, are divided into n+1 by snapshot Snapshot block, n is the integer more than 0, and each snapshot block is numbered, and is numbered from BLOCK#0 to BLOCK#n.
S13:Each snapshot block is stored to default nonvolatile memory.
So-called nonvolatile memory refers to the storage devices such as hard disk and disk, even if nonvolatile memory is disconnected Also the data itself preserved will not be lost in the case of electricity because of power-off.To realize the security of system status information storage.
S14:Judge whether the target terminal equipment for being currently at closed mode will carry out system reboot.
S15:If so, the snapshot block that then will be stored in default nonvolatile memory is loaded onto default volatile storage In device.
In the present embodiment, volatile memory refers to the memories such as internal memory.
S16:System reboot is carried out to target terminal equipment.
Snapshot block in volatile memory is restarted to realize to target terminal equipment.
The startup method for terminal device that present embodiment is provided, terminal device pass is preserved by generating snapshot System status information before closing, by snapshot storage in the nonvolatile memory, it is to avoid power-off causes system status information Lose, ensured the security of system signal, and when needing to carry out system reboot, the snapshot in nonvolatile memory is added Volatile memory is downloaded to, original position is reduced to system status information to be stored, realization is quickly restarted, both The security of system information is ensure that, the speed of system reboot is in turn ensure that.
In one embodiment of the invention, each snapshot block is stored to default nonvolatile memory, including:Judge Whether each snapshot block meets default contractive condition;If so, being then compressed to the snapshot block for meeting default contractive condition;Will Snapshot block after each compression and do not meet the snapshot block of default contractive condition and store to default nonvolatile memory;
Correspondingly, the snapshot block that will be stored in default nonvolatile memory is loaded onto default volatile memory In, including:The snapshot block that will be stored in default nonvolatile memory is loaded onto in default volatile memory, and pair plus Each snapshot block compressed being loaded onto in default volatile memory is decompressed.
In the present embodiment, restart speed in order to further improve target terminal equipment, snapshot block is pressed Contracting, to improve the efficiency being loaded onto snapshot block in volatile memory.Further, judge whether each snapshot block meets default Contractive condition, including:When judging whether the compression time and load time sum of each snapshot block are less than the cut-off of the snapshot block Between;Judge the compression ratio of each snapshot block whether in default threshold range.I.e. according to the decompression time of each snapshot block, The factors such as load time, deadline and block compression ratio decide whether to compress each snapshot block.If solution pressurization contracting overlong time The efficiency of fast system reboot can then be reduced.
, can be by comparing the compression time of recent snapshot block and upper one fast if snapshot block is loaded in system initial start stage Decide whether to compress recent snapshot block according to the load time of block, if the compression time of recent snapshot block is more than upper snapshot block Load time need not then compress the snapshot block, otherwise, can be compressed.Compression ratio can also be compared simultaneously and snapshot is default Whether threshold value is together decided on compresses recent snapshot block.Further, can also be by comparing compression time and the loading of snapshot block The deadline of time sum and the snapshot block and decide whether compression, if compression time and load time sum are not above cut-off Time, then it can compress the snapshot block.
In the present embodiment, in order to further improve starting efficiency, further, it will be stored in default non-volatile deposit Snapshot block in reservoir is loaded onto in default volatile memory, and to being loaded onto being pressed in default volatile memory Each snapshot block of contracting is decompressed, including:The snapshot block that will be stored in default nonvolatile memory is loaded onto default In volatile memory;Whether be stored with the snapshot block of loaded in the default volatile memory of real-time judge;If so, Whether the snapshot block for then judging loaded is the snapshot block compressed;If so, the snapshot block then compressed in real time to this enters Row decompression.The loading and the decompression of another snapshot block of a snapshot block can be carried out simultaneously, for example, n+1 as shown in Figure 2 Individual snapshot block is the snapshot block compressed, and BLOCK#0 is loaded onto in volatile memory, in follow-up cyclic process, BLOCK#0 is decompressed while BLOCK#1 is loaded, and follow-up snapshot block located in a parallel fashion according to this Reason.Certainly, in the present embodiment, it can come to be compressed part or all of snapshot block as needed, if loading is current Snapshot block is simultaneously uncompressed, and is directly loaded.
It should be noted that the so-called load time refers to snapshot block by nonvolatile memory to volatile memory Time.The deadline of each snapshot block refers to that correspondence snapshot block needs the time loaded completely, in present embodiment In, snapshot block need loaded completely within itself corresponding deadline so that terminal device from off-mode run to Normal operation condition.The compression ratio of each snapshot block indicates the degree for the amount of capacity that each snapshot block needs are cut in.
In one embodiment of the invention, the snapshot block that will be stored in default nonvolatile memory is loaded onto pre- If volatile memory in, including:Judge whether each snapshot block being stored in default nonvolatile memory includes system Restart necessary data;If so, then the snapshot block is loaded onto in default volatile memory.
In the present embodiment, the data page for needing to load when system starts whether can be contained according to recent snapshot block Determine whether recent snapshot block is a necessary snapshot block etc. information.If needing to add when recent snapshot block does not start comprising system The information such as the data page of load, then recent snapshot block is exactly an inessential snapshot block, then even without being loaded onto volatile storage In device, the quantity of the snapshot block of loading can be so reduced, so as to reduce the load time.
Such as block#0 is a necessary snapshot block, compare block#0 the decompression time and block#n loading when Between, that is, last block load time, if block#0 decompression the time be less than block#n load time, enter One step decides whether block#0 being compressed higher than speed set in advance with one, however, it is determined that block#0 is high with one It is compressed in speed set in advance, then decision-making is finished, block#0 can be compressed.
The loading and decompression of snapshot block may be carried out synchronously.For example, block#0 is loaded in time t, block#1 exists Time, (t+1) was loaded, if block#0 is a compression snapshot block, block#1 loading and block#0 decompression It may carry out simultaneously;For another example if block#1 is not compression snapshot block, block#1 decompression may not be run;Phase With, if block#1 is a compression snapshot block, block#2 loading and block#1 decompression may be in time (t+ 2) carry out simultaneously.
It should be noted that this synchronization process mode needs terminal to configure multiple processors.If for example, terminal is configured Two processors and two processor independent operatings, then a processor can be configured to handle the loading of snapshot block, separately One processor is arranged to handle the decompression of snapshot block.
It refer to Fig. 3, the activation system knot for terminal device that Fig. 3 is provided by a kind of embodiment of the invention Structure schematic diagram.
Correspondingly, one embodiment of the present invention additionally provides a kind of activation system for terminal device, including:Snapshot Generation module 31, corresponding snapshot is generated previously according to the system status information of target terminal equipment;Snapshot separation module 32, is used In snapshot is separated into some snapshot blocks;Non-volatile memory module 33, for storing each snapshot block;Judge module 34, for sentencing Whether the disconnected target terminal equipment for being currently at closed mode will carry out system reboot;Volatile memory module 35, for judging When module judges that the target terminal equipment for being currently at closed mode will carry out system reboot, load store is in non-volatile memory mould Snapshot block in block 33;Starting module 36, the snapshot block for being loaded according to volatile memory module 35 enters to target terminal equipment Row system reboot.
Further, non-volatile memory module includes:First judging unit, for judging whether each snapshot block meets default Contractive condition;Compression unit, for when the first judging unit judges that each snapshot block meets default contractive condition, to meeting The snapshot block of default contractive condition is compressed;First memory cell, for storing the snapshot block after each compression and not being inconsistent Close the snapshot block of default contractive condition;Correspondingly, volatile memory module includes:Loading unit, it is non-volatile for will be stored in Snapshot block in memory module is loaded onto the second memory cell;Second memory cell, the snapshot for storing loading unit loading Block;Decompression units, for being decompressed to each snapshot block compressed in the second memory cell.
Volatile memory module also includes:Second judging unit, for whether being stored with the memory cell of real-time judge second The snapshot block of loaded;3rd judging unit, for judging to be stored with the second memory cell in the second judging unit During the snapshot block of loaded, whether the snapshot block for judging loaded is the snapshot block compressed;Wherein, decompression units are used When it is the snapshot block compressed that the snapshot block of loaded is judged in the 3rd judging unit, in real time to snapshot that this is compressed Block is decompressed.
First judging unit includes:First judgment sub-unit, compression time and load time for judging each snapshot block Whether sum is less than the deadline of the snapshot block;Second judgment sub-unit, for judge each snapshot block compression ratio whether In default threshold range.
Volatile memory module also includes:4th judging unit, is stored in each in non-volatile memory modules for judgement Whether snapshot block includes data necessary to system reboot;Wherein, loading unit is additionally operable to judge to store in the 4th judging unit Each snapshot block in non-volatile memory modules is included necessary to system reboot during data, and the snapshot block is loaded onto into second Memory cell
The activation system for terminal device that present embodiment is provided, terminal device pass is preserved by generating snapshot System status information before closing, by snapshot storage in the nonvolatile memory, it is to avoid power-off causes system status information Lose, ensured the security of system signal, and when needing to carry out system reboot, the snapshot in nonvolatile memory is added Volatile memory is downloaded to, original position is reduced to system status information to be stored, realization is quickly restarted, both The security of system information is ensure that, the speed of system reboot is in turn ensure that.
In summary, the startup method and system provided by the present invention for terminal device, when target terminal equipment is needed When restarting, call the form of snapshot into volatile memory from nonvolatile memory, both ensure that speed, ensure again Security;Snapshot is separated into some snapshot blocks, and snapshot block is carried out to compress and decompress accordingly, further improves fast According to storage efficiency, the necessity of snapshot block is judged and loading and decompression opportunity judgement and processing, further carry High terminal device restarts speed.
A kind of startup method and system for terminal device provided by the present invention is described in detail above.This Apply specific case in text to be set forth the principle and embodiment of the present invention, the explanation of above example is only intended to Help to understand method and its core concept of the invention.It should be pointed out that for those skilled in the art, Without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls Enter in the protection domain of the claims in the present invention.

Claims (10)

1. a kind of startup method for terminal device, it is characterised in that including:
Corresponding snapshot is generated previously according to the system status information of target terminal equipment;
The snapshot is separated into some snapshot blocks;
Each snapshot block is stored to default nonvolatile memory;
Judge whether the target terminal equipment for being currently at closed mode will carry out system reboot;
If so, the snapshot block that then will be stored in the default nonvolatile memory is loaded onto default volatile memory In;
System reboot is carried out to the target terminal equipment.
2. according to the method described in claim 1, it is characterised in that described to store each snapshot block to default non-volatile Memory, including:Judge whether each snapshot block meets default contractive condition;If so, then to meeting default compressor bar The snapshot block of part is compressed;By the snapshot block after each compression and do not meet default contractive condition snapshot block store to Default nonvolatile memory;
Correspondingly, the snapshot block that will be stored in the default nonvolatile memory is loaded onto default volatile storage In device, including:The snapshot block that will be stored in the default nonvolatile memory is loaded onto in default volatile memory, And each snapshot block compressed being loaded onto in the default volatile memory is decompressed.
3. method according to claim 2, it is characterised in that described to will be stored in the default nonvolatile memory Snapshot block be loaded onto in default volatile memory, and to being loaded onto being compressed in the default volatile memory Each snapshot block decompressed, including:
The snapshot block that will be stored in the default nonvolatile memory is loaded onto in default volatile memory;
Whether be stored with the snapshot block of loaded in default volatile memory described in real-time judge;
If so, whether the snapshot block for then judging loaded is the snapshot block compressed;
If so, the snapshot block then compressed in real time to this is decompressed.
4. method according to claim 3, it is characterised in that described to judge whether each snapshot block meets default pressure Contracting condition, including:
Judge whether the compression time and load time sum of each snapshot block are less than the deadline of the snapshot block;
Judge the compression ratio of each snapshot block whether in default threshold range.
5. the method according to any one of Claims 1-4, it is characterised in that it is described will be stored in it is described default non-volatile Snapshot block in property memory is loaded onto in default volatile memory, including:
Whether judgement is stored in each snapshot block in the default nonvolatile memory comprising necessary to system reboot Data;
If so, then the snapshot block is loaded onto in default volatile memory.
6. a kind of activation system for terminal device, it is characterised in that including:
Snapshot generation module, corresponding snapshot is generated previously according to the system status information of target terminal equipment;
Snapshot separation module, for the snapshot to be separated into some snapshot blocks;
Non-volatile memory module, for storing each snapshot block;
Whether judge module, the target terminal equipment for judging to be currently at closed mode will carry out system reboot;
Volatile memory module, for judging that the target terminal equipment for being currently at closed mode will be entered in the judge module During row system reboot, snapshot block of the load store in the non-volatile memory module;
Starting module, the snapshot block for being loaded according to the volatile memory module carries out system weight to the target terminal equipment Open.
7. system according to claim 6, it is characterised in that the non-volatile memory module includes:First judging unit, For judging whether each snapshot block meets default contractive condition;Compression unit, for sentencing in first judging unit When fixed each snapshot block meets default contractive condition, the snapshot block for meeting default contractive condition is compressed;First Memory cell, for storing the snapshot block after each compression and not meeting the snapshot block of default contractive condition;
Correspondingly, the volatile memory module includes:Loading unit, it is fast in the non-volatile memory module for will be stored in The second memory cell is loaded onto according to block;Second memory cell, the snapshot block for storing the loading unit loading;Decompression Unit, for being decompressed to each snapshot block compressed in second memory cell.
8. system according to claim 7, it is characterised in that the volatile memory module also includes:
Second judging unit, the snapshot block for the loaded of whether being stored with the second memory cell described in real-time judge;
3rd judging unit, for the loaded that is stored with judging second memory cell in second judging unit Snapshot block when, whether the snapshot block for judging loaded is the snapshot block compressed;
Wherein, the decompression units are used to judge that the snapshot block of loaded is compressed fast in the 3rd judging unit During according to block, the snapshot block compressed in real time to this is decompressed.
9. system according to claim 8, it is characterised in that first judging unit includes:
First judgment sub-unit, for judging whether the compression time and load time sum of each snapshot block are less than the snapshot The deadline of block;
Second judgment sub-unit, for judging the compression ratio of each snapshot block whether in default threshold range.
10. the system according to any one of claim 7 to 9, it is characterised in that the volatile memory module also includes:
4th judging unit, whether each snapshot block for judging to be stored in the non-volatile memory modules, which includes, is System restarts necessary data;
Wherein, the loading unit is additionally operable to judge to be stored in the non-volatile memory modules in the 4th judging unit Each snapshot block include necessary to system reboot during data, the snapshot block is loaded onto second memory cell.
CN201710392086.0A 2017-05-27 2017-05-27 A kind of startup method and system for terminal device Pending CN107229536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710392086.0A CN107229536A (en) 2017-05-27 2017-05-27 A kind of startup method and system for terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710392086.0A CN107229536A (en) 2017-05-27 2017-05-27 A kind of startup method and system for terminal device

Publications (1)

Publication Number Publication Date
CN107229536A true CN107229536A (en) 2017-10-03

Family

ID=59934325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710392086.0A Pending CN107229536A (en) 2017-05-27 2017-05-27 A kind of startup method and system for terminal device

Country Status (1)

Country Link
CN (1) CN107229536A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837343A (en) * 2019-09-27 2020-02-25 华为技术有限公司 Snapshot processing method and device and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1886729A (en) * 2003-09-24 2006-12-27 T1科技有限公司 Method and device for starting a computer system
CN101146191A (en) * 2007-10-15 2008-03-19 晨星半导体股份有限公司 Data processing method applied into built-in system
US20090271432A1 (en) * 2004-12-27 2009-10-29 Brocade Communications Systems, Inc. Template-based development of servers
CN101866307A (en) * 2010-06-24 2010-10-20 杭州华三通信技术有限公司 Data storage method and device based on mirror image technology
CN102479098A (en) * 2010-11-23 2012-05-30 三星电子株式会社 Apparatus and method for booting based on a snapshot image
CN103197934A (en) * 2012-01-09 2013-07-10 联咏科技股份有限公司 Method for starting multimedia device and multimedia device
CN103927196A (en) * 2013-01-11 2014-07-16 三星电子株式会社 Apparatus And Method For Booting

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1886729A (en) * 2003-09-24 2006-12-27 T1科技有限公司 Method and device for starting a computer system
US20090271432A1 (en) * 2004-12-27 2009-10-29 Brocade Communications Systems, Inc. Template-based development of servers
CN101146191A (en) * 2007-10-15 2008-03-19 晨星半导体股份有限公司 Data processing method applied into built-in system
CN101866307A (en) * 2010-06-24 2010-10-20 杭州华三通信技术有限公司 Data storage method and device based on mirror image technology
CN102479098A (en) * 2010-11-23 2012-05-30 三星电子株式会社 Apparatus and method for booting based on a snapshot image
CN103197934A (en) * 2012-01-09 2013-07-10 联咏科技股份有限公司 Method for starting multimedia device and multimedia device
CN103927196A (en) * 2013-01-11 2014-07-16 三星电子株式会社 Apparatus And Method For Booting

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837343A (en) * 2019-09-27 2020-02-25 华为技术有限公司 Snapshot processing method and device and terminal

Similar Documents

Publication Publication Date Title
CN103425506B (en) Closedown method and starting-up method and communication terminal
US7809363B2 (en) Mobile phone terminal, program management method, and computer program for the same
CN106354562A (en) Memory cleaning system and memory cleaning method
CN101673216A (en) Method and device for closing application program
CN103902399B (en) Software system repair processing method and software system repair processing device
CN105786547A (en) Operation system restarting method and apparatus
CN105138362A (en) Method and device for saving user configuration under Linux system
US20170147363A1 (en) System and method for reducing hibernate and resume time
CN104156279A (en) Backup method for configuration data of router
CN102880477A (en) Method for realizing computer start and computer
CN104750492A (en) Startup control method and device for mobile device on basis of embedded operating system
JPH07175728A (en) Disk cache data maintenance system
CN109344004A (en) A kind of memory database backup management method, device, terminal and storage medium
CN107229536A (en) A kind of startup method and system for terminal device
CN108445802A (en) Robot dormancy control method and circuit, communication device, robot
CN110673956B (en) Recovery thread creating method and device, computer equipment and storage medium
CN104102498A (en) Mobile terminal and booting method thereof
CN103942120B (en) A kind of reading/writing method and system based on Intel Virtualization Technology
CN107193603A (en) The upgrade method and device of a kind of intelligent appliance
CN101714120A (en) Data storage system and method
CN103699412B (en) The quick start method and system of terminal
CN104950703B (en) Industrial robot controller quick start method based on embedded system
CN108958769A (en) A kind of embedded device software systems restorative procedure and system
CN115454617A (en) Processor performance adjusting method and device, electronic equipment and storage medium
CN114721876A (en) Data backup method, device and medium

Legal Events

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

Application publication date: 20171003

RJ01 Rejection of invention patent application after publication