KR20140073152A - Apparatus and method for processing snapshot image by using memory fault information - Google Patents
Apparatus and method for processing snapshot image by using memory fault information Download PDFInfo
- Publication number
- KR20140073152A KR20140073152A KR1020120140960A KR20120140960A KR20140073152A KR 20140073152 A KR20140073152 A KR 20140073152A KR 1020120140960 A KR1020120140960 A KR 1020120140960A KR 20120140960 A KR20120140960 A KR 20120140960A KR 20140073152 A KR20140073152 A KR 20140073152A
- Authority
- KR
- South Korea
- Prior art keywords
- snapshot
- memory
- snapshot image
- loaded
- image
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/22—Microcontrol or microprogram arrangements
- G06F9/24—Loading of the microprogram
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
The present invention relates to an apparatus and method for processing a snapshot image, and more particularly, to an apparatus and method for processing a snapshot image using memory fault information.
2. Description of the Related Art [0002] With the recent development of electric / electronic devices, various portable terminals such as a PMP, a PDA, and a smart phone have been widely used as well as conventional personal computers (PCs) and laptops.
These various electric / electronic devices are becoming more and more indistinguishable from computers, and thus various electric / electronic devices including portable terminals are collectively referred to as a kind of computer and can be referred to as a computing device.
Meanwhile, as various electric / electronic devices function as a computing device, an operating system (OS) is installed.
In addition, since the operating system is installed in various electric / electronic devices, there is a problem that the user has to wait for the boot time, which is the initial start time, in order to use the corresponding electric / electronic devices, and various boot methods for shortening the boot time are presented .
Conventional booting methods require a lot of time in the process of sequentially loading each software component required for booting, which results in a long boot time.
A snapshot-based boot method has been proposed as a way to bypass this intermediate time-consuming process.
In this snapshot-based boot method, the snapshot image is stored in the snapshot storage unit and the stored snapshot image is loaded into the memory in order to generate the initial screen, so that the booting can be performed without initialization .
On the other hand, the process of loading the snapshot image into the memory includes loading the snapshot image into the memory where the data processed by the central processing unit (CPU) of the computing device is loaded in the snapshot storage unit in which the snapshot image is separately stored, The snapshot image is preferentially displayed on the screen of the computing device, thereby shortening the boot time.
However, this snapshot-based boot method also increases the number of services running at the system runtime, increasing the size of the snapshot image, which increases the time taken to load the snapshot image into memory There is a problem that the boot time is increased.
In addition, in the conventional snapshot-based boot method, snapshot images stored in the snapshot storage unit are recovered in order. Therefore, if a snapshot image such as a screen update is changed, The display of the updated screen is slowed down and the usability of the user is deteriorated.
According to an aspect of the present invention, there is provided a method of processing a snapshot image using a snapshot image memory loading method that can shorten a boot time even when the size of a snapshot image is increased will be.
In addition, the present invention proposes a snapshot image processing method using a memory loading method of a snapshot image that can display an updated screen immediately even when a screen is updated or the like, thereby improving usability of a user.
Other objects of the present invention will become readily apparent from the following description of the embodiments.
According to an aspect of the present invention, an apparatus for processing a snapshot image is provided.
According to a preferred embodiment of the present invention, there is provided a computing device including a snapshot storage in which a snapshot image is stored and a memory in which the snapshot image is loaded, A memory fault information storage unit for storing memory fault information generated when loading the snapshot image from the snapshot storage unit to the memory; An initial snapshot determination unit for determining an initial snapshot image using the memory fault information; And a control unit for controlling the initial snapshot image determined by the initial snapshot determination unit to be loaded into the memory from the snapshot storage unit.
The control unit may control the snapshot image other than the initial snapshot image determined by the initial snapshot determination unit to be loaded into the memory after the initial snapshot image is loaded into the memory.
The memory fault information stored in the memory fault information storage unit may include information on whether the memory fault has occurred and information on the order of occurrence of the memory fault.
The control unit controls the initial snapshot image determined by the initial snapshot determination unit to be loaded into the memory from the snapshot storage unit to be loaded into the memory according to the storage order stored in the snapshot storage unit have.
Wherein the initial snapshot determination unit further uses the time at which the snapshot image is loaded into the memory from the snapshot storage unit and the time at which the computing device processes the snapshot image loaded in the memory, You can decide.
According to another aspect of the present invention, a method for processing a snapshot image is provided.
According to a preferred embodiment of the present invention, there is provided a method for processing a snapshot image in a computing device including a snapshot storage unit in which a snapshot image is stored and a memory in which the snapshot image is loaded The method comprising: storing memory fault information generated when loading the snapshot image from the snapshot storage unit to the memory; Determining an initial snapshot image according to the memory fault information; And causing the determined initial snapshot image to be loaded from the snapshot storage into the memory.
Wherein in the step of causing the determined initial snapshot image to be loaded into the memory in the snapshot storage, the remaining snapshot image, except for the determined initial snapshot image, is stored in the memory after the initial snapshot image is loaded into the memory To be loaded.
The memory fault information may include whether the memory fault has occurred and information on the order of occurrence of the memory fault.
Causing the determined initial snapshot image to be loaded into the memory in the snapshot storage, and causing the determined initial snapshot image to be loaded into the memory in the snapshot storage, And may be loaded into the memory according to the storage order.
Wherein determining the initial snapshot image comprises determining a time at which the snapshot image is loaded into the memory from the snapshot storage and a time at which the snapshot is loaded into the memory, The initial snapshot image may be determined by further utilizing the processing time of the image at the computing device.
According to another aspect of the present invention, there is provided a recording medium on which a program for implementing a snapshot image processing method is recorded.
According to a preferred embodiment of the present invention, there is provided a method for processing a snapshot image in a computing device including a snapshot storage unit in which a snapshot image is stored and a memory in which the snapshot image is loaded The method comprising: storing memory fault information generated when loading the snapshot image from the snapshot storage unit to the memory; Determining an initial snapshot image according to the memory fault information; And causing the determined initial snapshot image to be loaded into the memory from the snapshot storage unit. The recording medium records the program for implementing the snapshot image processing method.
Wherein in the step of causing the determined initial snapshot image to be loaded into the memory in the snapshot storage, the remaining snapshot image, except for the determined initial snapshot image, is stored in the memory after the initial snapshot image is loaded into the memory To be loaded.
The memory fault information may include whether the memory fault has occurred and information on the order of occurrence of the memory fault.
Causing the determined initial snapshot image to be loaded into the memory in the snapshot storage, and causing the determined initial snapshot image to be loaded into the memory in the snapshot storage, And may be loaded into the memory according to the storage order.
Wherein determining the initial snapshot image comprises determining a time at which the snapshot image is loaded into the memory from the snapshot storage and a time at which the snapshot is loaded into the memory, The initial snapshot image may be determined by further utilizing the processing time of the image at the computing device.
As described above, according to the apparatus and method for processing a snapshot image using the memory fault information according to the present invention, it is possible to shorten the loading time of the snapshot image into the memory even when the size of the snapshot image is increased have.
In addition, even when an update of the screen occurs, the updated screen can be displayed immediately, and the usability of the user can be improved.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a configuration of a snapshot image processing apparatus according to a preferred embodiment of the present invention. FIG.
2 is a flowchart illustrating a process of applying a snapshot image processing method according to an embodiment of the present invention.
3 is a diagram illustrating snapshot images loaded in a memory by a snapshot image processing method according to a preferred embodiment of the present invention.
While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.
Like reference numerals are used for like elements in describing each drawing. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another.
For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component.
And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.
It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, .
On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.
The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention.
The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present application, the terms "comprises" or "having" and the like are used to specify that there is a feature, a number, a step, an operation, an element, a component or a combination thereof described in the specification, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.
Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
Terms such as those defined in commonly used dictionaries are to be interpreted as having a meaning consistent with the contextual meaning of the related art and are to be interpreted as either ideal or overly formal in the sense of the present application Do not.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings, wherein like or corresponding elements are denoted by the same reference numerals, and a duplicate description thereof will be omitted.
Meanwhile, in the present invention, a method of generating the snapshot image itself can be performed by various methods, and the present invention is not limited thereto.
For example, it may be possible, but not limited, to generate an optimized snapshot image from library information having dependencies on processes and processes for booting based on system resource information.
First, a configuration of a snapshot image processing apparatus according to a preferred embodiment of the present invention will be described with reference to FIG.
1 is a block diagram of a snapshot image processing apparatus according to an embodiment of the present invention.
1, the
The snapshot image is generated in the snapshot
Thereafter, when a signal for restoring the data is inputted, the snapshot
In this manner, the user can easily restore the data used at a specific point in time ('when the signal for executing the snapshot function is input') by using the snapshot function, thereby shortening the boot time of the computing device .
1, the snapshot image processing apparatus according to the present invention is also connected to the
And the snapshot
The
A snapshot image is stored in the
The snapshot image stored in the
In addition, when there are a plurality of snapshot images, the snapshot image is not divided, and information on the presence or absence of memory faults and the order of memory faults can be matched and stored, respectively.
If the snapshot image is divided and stored, it can be divided evenly according to the size of the snapshot image. If the snapshot image is composed of a plurality of pages, it can be divided and stored according to the page. There is no restriction on.
In the following description, however, the divided snapshot images are also referred to as snapshot images. The snapshot images may be divided into one snapshot image or a plurality of snapshot images, same.
In the present invention, when the snapshot image is stored in the
When loading a snapshot image stored in the
However, in the present invention, instead of loading the snapshot image into the
When the initial snapshot image is first loaded into the
Meanwhile, the pre-snapshot image loaded in the
The memory fault information includes whether or not a memory fault has occurred and information on the occurrence order of the memory fault.
Generally, a memory fault occurs when the CPU reads data from the
Accordingly, it is possible to make the snapshot image processed by the CPU since it is more efficient in comparison with the case of loading according to the order stored in the
On the other hand, if a memory fault occurs, it takes a long time to recover the memory fault.
Taking this into consideration, the snapshot image in which a memory fault occurs is determined as an initial snapshot image first.
Thus, when determining the initial snapshot image according to the memory fault information, it is more accurate and certain that the snapshot image is displayed through the computing device than simply by the order in which the snapshot image is loaded into the
For example, if the snapshot images are simply loaded into the
If a change or update of the snapshot image occurs, such as a desktop change, the change or update of the snapshot image can be immediately reflected according to the memory fault information.
The initial
For example, if eight snapshot images are stored in the
The
Also, the memory fault information is stored in the memory fault
Meanwhile, the
For example, the memory fault
Hereinafter, a snapshot image processing method according to a preferred embodiment of the present invention will be described with reference to FIG.
FIG. 2 is a flowchart illustrating a process of applying a snapshot image processing method according to an exemplary embodiment of the present invention.
2, in the snapshot image processing method according to the preferred embodiment of the present invention, when a snapshot image is stored in the
The initial snapshot image is determined based on the memory fault information (S202).
The memory fault information includes information on whether a memory fault has occurred and the order in which a memory fault occurs, as described above.
The determination of the initial snapshot image can also determine the initial snapshot image, taking into account the loading time of the snapshot image into memory and the time taken by the CPU to process the snapshot image loaded in memory.
When the initial snapshot image is determined and a data restoration signal is received from the CPU of the computing device, the initial snapshot image is loaded into the memory first (S204).
The remaining snapshot image (post-snapshot image) is loaded into memory after loading the initial snapshot image (S206).
It is obvious that the snapshot image processing method according to the present invention can be implemented in the form of a program.
The snapshot image processing method according to the present invention will now be described in comparison with a conventional snapshot image processing method by way of example.
FIG. 3 is a diagram illustrating snapshot images loaded in a memory by the snapshot image processing method according to an exemplary embodiment of the present invention. Referring to FIG.
Assume that the snapshot images are a, b, c, d, and e as in the example of FIG.
The snapshot image a is first, the snapshot image b is first, the snapshot image c is fourth, the snapshot image d is fifth, and the snapshot image e is 3 Th < / RTI >
However, according to the present invention, the snapshot image a is the second, the snapshot image b is the first, the snapshot image c is the fourth, the snapshot image d is the fifth , And the snapshot image e is determined to be the third.
If snapshot image a is loaded to
However, in FIG. 3, it is assumed that a memory fault occurs for all the snapshot images.
Conventionally, when a snapshot image is stored, a method of storing the snapshot in the order of a, b, c, d, and e is generally performed in accordance with the generation order or the partitioning order of the snapshot image.
As another method, it is possible to sequentially store the data in the order of b, a, e, c, and d in the
According to the present invention, when the snapshot image is stored in the
When a snapshot image is stored in the
However, when all of these methods are stored in the
In particular, considering that the size of the
That is, according to the present invention, the
Accordingly, it is possible to reduce the time required for sequentially searching the physical addresses of the
In the past, the snapshot images are prioritized and stored in the
However, in the present invention, the initial snapshot image is determined according to the order of memory faults and memory faults.
In general, since the loading order to the memory does not match the order in which the CPU reads the data from the
It will be apparent to those skilled in the relevant art that various modifications, additions and substitutions are possible, without departing from the spirit and scope of the invention as defined by the appended claims. The appended claims are to be considered as falling within the scope of the following claims.
100: snapshot image processing apparatus 110: memory fault information storage unit
120: Initial snapshot determination unit 130:
200: snapshot storage unit 210: memory
Claims (11)
A memory fault information storage unit for storing memory fault information generated when the snapshot image is loaded from the snapshot storage unit to the memory;
An initial snapshot determination unit for determining an initial snapshot image using the memory fault information; And
And a control unit for controlling the initial snapshot image determined by the initial snapshot determination unit to be loaded into the memory from the snapshot storage unit.
Wherein the control unit controls the snapshot image other than the initial snapshot image determined by the initial snapshot determination unit to be loaded into the memory after the initial snapshot image is loaded into the memory. .
Wherein the memory fault information stored in the memory fault information storage unit includes information on whether the memory fault has occurred and information on occurrence order of the memory fault.
The controller controls the initial snapshot image determined by the initial snapshot determination unit to be loaded into the memory from the snapshot storage unit to be loaded into the memory according to the storage order stored in the snapshot storage unit Characterized in that the snapshot image processing device is a snapshot image processing device.
Wherein the initial snapshot determination unit further uses the time at which the snapshot image is loaded into the memory from the snapshot storage unit and the time at which the computing device processes the snapshot image loaded in the memory, The snapshot image processing apparatus comprising:
Storing memory fault information generated when loading the snapshot image from the snapshot storage unit into the memory;
Determining an initial snapshot image according to the memory fault information; And
And causing the determined initial snapshot image to be loaded from the snapshot storage into the memory.
Causing the determined initial snapshot image to be loaded into the memory in the snapshot storage,
Wherein the snapshot image other than the determined initial snapshot image causes the initial snapshot image to be loaded into the memory after being loaded into the memory.
Wherein the memory fault information includes whether or not the memory fault has occurred and information on the occurrence order of the memory fault.
Causing the determined initial snapshot image to be loaded into the memory in the snapshot storage,
And causing the determined initial snapshot image to be loaded into the memory from the snapshot storage unit to be loaded into the memory according to a storage order stored in the snapshot storage unit.
Determining an initial snapshot image according to the memory fault information,
Wherein determining the initial snapshot image further utilizes the time at which the snapshot image is loaded into the memory at the snapshot store and the time at which the computing device processes the snapshot image loaded into the memory, And determining a shot image.
And a program for implementing the snapshot image processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120140960A KR20140073152A (en) | 2012-12-06 | 2012-12-06 | Apparatus and method for processing snapshot image by using memory fault information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120140960A KR20140073152A (en) | 2012-12-06 | 2012-12-06 | Apparatus and method for processing snapshot image by using memory fault information |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20140073152A true KR20140073152A (en) | 2014-06-16 |
Family
ID=51126780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020120140960A KR20140073152A (en) | 2012-12-06 | 2012-12-06 | Apparatus and method for processing snapshot image by using memory fault information |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20140073152A (en) |
-
2012
- 2012-12-06 KR KR1020120140960A patent/KR20140073152A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9558016B2 (en) | Platform system, method for changing support hardware configuration of universal extensible firmware interface basic input output system and computer program product | |
EP2840495A1 (en) | Container-based processing method, device and system | |
US9658863B2 (en) | Information processing apparatus and control method therefor | |
US9262283B2 (en) | Method for reading kernel log upon kernel panic in operating system | |
CN102707966A (en) | Method and device for acceleratively starting operating system, and method, device and terminal for generating prefetched information | |
US20160314002A1 (en) | Caching unified extensible firmware interface (uefi) and/or other firmware instructions in a non-volatile memory of an information handling system (ihs) | |
WO2012161777A2 (en) | Multi-phase resume from hibernate | |
JP2013520744A (en) | Method and apparatus for generating minimum boot image | |
KR101673299B1 (en) | Operating system recovery method and apparatus, and terminal device | |
US20030145191A1 (en) | Computer system and method of controlling the same | |
US10866881B1 (en) | Firmware debug trace capture | |
US8688946B2 (en) | Selecting an auxiliary storage medium for writing data of real storage pages | |
CN114942863A (en) | Cascade snapshot processing method, device and equipment and storage medium | |
US8145819B2 (en) | Method and system for stealing interrupt vectors | |
US7849300B2 (en) | Method for changing booting sources of a computer system and a related backup/restore method thereof | |
US8726101B2 (en) | Apparatus and method for tracing memory access information | |
US9934100B2 (en) | Method of controlling memory swap operation and data processing system using same | |
US20120144390A1 (en) | Customized computer image preparation and deployment including virtual machine mode | |
CN111338831B (en) | Processing method and device for multithreading operation performance, medium and electronic equipment | |
US10838737B1 (en) | Restoration of memory content to restore machine state | |
KR101395007B1 (en) | Apparatus and method for processing snapshot image by using snapshot image compression | |
KR20140073152A (en) | Apparatus and method for processing snapshot image by using memory fault information | |
US10592329B2 (en) | Method and electronic device for continuing executing procedure being aborted from physical address where error occurs | |
US20080072009A1 (en) | Apparatus and method for handling interrupt disabled section and page pinning apparatus and method | |
CN111158733A (en) | BMC upgrading method, device, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |