KR101460452B1 - Apparatus of generating snapshot image based on hibernation and method of the same - Google Patents

Apparatus of generating snapshot image based on hibernation and method of the same Download PDF

Info

Publication number
KR101460452B1
KR101460452B1 KR1020130111855A KR20130111855A KR101460452B1 KR 101460452 B1 KR101460452 B1 KR 101460452B1 KR 1020130111855 A KR1020130111855 A KR 1020130111855A KR 20130111855 A KR20130111855 A KR 20130111855A KR 101460452 B1 KR101460452 B1 KR 101460452B1
Authority
KR
South Korea
Prior art keywords
partition
file
snapshot image
closeable
management unit
Prior art date
Application number
KR1020130111855A
Other languages
Korean (ko)
Other versions
KR20140040017A (en
Inventor
이수봉
김남선
Original Assignee
주식회사 티엘아이
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 주식회사 티엘아이 filed Critical 주식회사 티엘아이
Publication of KR20140040017A publication Critical patent/KR20140040017A/en
Application granted granted Critical
Publication of KR101460452B1 publication Critical patent/KR101460452B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/128Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 발명은 컴퓨팅 시스템에서 하이버네이션 기반 스냅샷 이미지를 생성 시 파일 시스템의 일관성을 보장할 수 있는 기술적 사상에 관한 것으로서, 클로즈 불가능 파일을 격리하는 파티션을 할당하는 파티션 관리부, 및 상기 할당된 파티션을 제외한 적어도 하나의 파티션을 언마운트하는 파일 관리부를 포함할 수 있다.The present invention relates to a technical idea for ensuring consistency of a file system when a hibernation-based snapshot image is created in a computing system, and more particularly, to a partition management apparatus for allocating a partition for isolating a non-closeable file, And a file management unit for unmounting one partition.

Description

하이버네이션 기반 스냅샷 이미지 생성 장치 및 방법{APPARATUS OF GENERATING SNAPSHOT IMAGE BASED ON HIBERNATION AND METHOD OF THE SAME}[0001] APPARATUS OF GENERATING SNAPSHOT IMAGE BASED ON HIBERNATION AND METHOD OF THE SAME [0002]

컴퓨팅 시스템에서 하이버네이션 기반 스냅샷 이미지를 생성 시 파일 시스템의 일관성을 보장할 수 있는 기술적 사상에 관한 것이다.The present invention relates to a technical idea capable of ensuring consistency of a file system when a hibernation-based snapshot image is created in a computing system.

컴퓨터 파일 시스템에서 스냅샷(snapshot)은 이전 시점에서의 시스템 상태에 대한 정보를 포함하는 것으로서, 컴퓨터 파일과 디렉터리의 모임이다.In a computer file system, a snapshot is a collection of computer files and directories that contains information about the state of the system at a previous point in time.

일반적으로 용량이 큰 데이터를 완전히 백업할 경우 계산에 오랜 시간이 걸릴 수 있다. 또한, 다중 작업을 하는 시스템이나 여러 사용자가 함께 쓰는 시스템에서는 백업을 하는 동안 해당 데이터에 기록이 있을 수 있으며, 이 경우에는 데이터를 손상시키는 결과를 초래할 수 있다.Generally, full backups of large amounts of data can take a long time. Also, in a multi-tasking system or a system in which multiple users are used together, the data may be recorded during backup, which may result in data corruption.

데이터를 안전하게 백업하는 방법은 백업하는 동안 응용 프로그램의 접근을 중단하거나, 예외 읽기 접근을 강제하기 위해 운영 체제가 제공하는 잠금 API(Application Program Interface)를 사용함으로써 일시적으로 데이터 쓰기 접근을 비활성화하는 것이다. 이 경우 데스크톱 컴퓨터나 소형 워크그룹 서버와 같은 이용성이 떨어지는 시스템에는 큰 문제가 없지만, 고성능 시스템에서는 서비스 정지를 감당할 수 없다.A safe way to back up data is to temporarily disable data write access by using the lock API (application program interface) provided by the operating system to stop access to the application during backup or to force read access to the exception. In this case, there are no major problems with unavailable systems, such as desktop computers or small workgroup servers, but high-performance systems can not afford to stop service.

시스템 다운을 피하기 위해, 고성능 시스템은 스냅샷 이미지를 기반으로 한 백업을 수행할 수 있다.To avoid system crashes, high-performance systems can perform backups based on snapshot images.

이러한 스냅샷 기법은 근래 빠른 처리 성능을 요구하는 장치로서 모바일 단말기 등의 부팅에 이용되고 있다. Such a snapshot technique has recently been used for booting a mobile terminal or the like as a device requiring fast processing performance.

하이버네이션 기법은 컴퓨팅 시스템(Computing system)의 전원이 꺼짐과 동시에 직전까지 실행하던 작업 내용을 스토리지, 이를테면 하드 디스크 드라이브(HDD) 등에 자동적으로 보존하는 기능을 제공한다.The hibernation technique provides a function to automatically save the work that has been executed up to the present time, such as a hard disk drive (HDD), at the same time the power of the computing system is turned off.

통상적인 절전모드 등에서는 데이터의 유지를 위해 어느 정도의 전력을 소비하며, 또한 절전모드 상태로 오랫동안 방치하는 경우 데이터의 소실로 인해 이전 상태로의 복구 실패가 발생되기도 한다.In a normal power saving mode, a certain amount of power is consumed to maintain the data, and when the power saving mode is left for a long time, the recovery to the previous state may occur due to the loss of data.

그러나 하이버네이션 기법에 따르면, 컴퓨팅 시스템의 상태나 데이터의 스냅샷(Snapshot) 이미지를 생성한 다음 전력을 완전히 차단할 수 있어, 전력의 관점에서 유리하며, 데이터 소실 염려도 매우 작다.However, according to the hibernation technique, a state of a computing system or a snapshot image of data can be generated and then the power can be completely shut off, which is advantageous from the viewpoint of power, and data loss is very small.

이러한 하이버네이션 기법은 Microsoft 사의 OS(Operating system)에서는 최대절전모드로, Apple 사의 OS에서는 재우기 등의 기술에 연관될 수 있다.Such a hibernation technique may be related to technologies such as a hibernation mode in an OS (Operating System) of Microsoft, and a sleeping in an OS of an Apple company.

한편, 종래에는 컴퓨팅 시스템의 종료 시점에 이미지를 생성하고 저장하여 종료 시간이 길어지거나, 갑작스러운 종료 시에 이미지 생성을 못하는 점, 나아가 임의의 시점에 스냅샷을 만들게 되어 시스템 안정성이 저해되는 문제가 있었다.Meanwhile, conventionally, an image is generated and stored at the end of a computing system, resulting in a long end time, or an image can not be generated at the end of a sudden shutdown. Furthermore, a snapshot is created at a certain point in time, there was.

또한, 이러한 점을 개선하고자 제안되었던 최초 부팅 후 안정된 단일의 스냅샷 이미지를 이용하는 방법이 있으나, 이미지 생성 시점 이후의 시스템 상태 변경은 잃어버리게 되는 문제가 지적되었다.In addition, there is a method of using a stable single snapshot image after the initial boot, which is proposed to improve this point, but pointed out that the system state change after the image creation time is lost.

따라서, 시스템의 안정성을 유지하면서도 효율적으로 스냅샷 이미지를 생성하고 이를 이용하여 빠르고 안정적인 부팅을 제공할 수 있는 기술이 요구된다.Accordingly, there is a need for a technique that can efficiently and quickly create a snapshot image while maintaining the stability of the system, thereby providing a quick and stable boot.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는, 클로즈 불가능 파일을 격리하는 파티션을 할당하는 파티션 관리부, 및 상기 할당된 파티션을 제외한 적어도 하나의 파티션을 언마운트하는 파일 관리부를 포함할 수 있다.The apparatus for generating a hibernation based snapshot image according to an embodiment may include a partition management unit for allocating a partition for isolating a non-closeable file, and a file management unit for unmounting at least one partition excluding the allocated partition.

일실시예에 따른 상기 파티션 관리부는, 상기 클로즈 불가능 파일을 포함하는 제1 파티션, 상기 클로즈 불가능 파일을 격리하는 제2 파티션, 및 상기 제2 파티션의 미러 파티션인 제3 파티션을 할당할 수 있다.The partition management unit may allocate a first partition including the non-closeable file, a second partition for isolating the non-closeable file, and a third partition, which is a mirror partition of the second partition, according to one embodiment.

일실시예에 따른 상기 파일 관리부는, 상기 제1 파티션의 클로즈 불가능 파일을 상기 제2 파티션으로 이동시켜 격리할 수 있다.The file manager according to an exemplary embodiment may isolate the non-closeable file of the first partition by moving the file to the second partition.

일실시예에 따른 상기 파일 관리부는, 상기 제2 파티션의 클로즈 불가능 파일을 제3 파티션으로 미러링할 수 있다.The file manager according to an embodiment may mirror the non-closeable file of the second partition to the third partition.

일실시예에 따른 상기 파일 관리부는, 상기 제1 파티션 및 상기 제3 파티션을 언마운트할 수 있다.The file management unit according to an embodiment may unmount the first partition and the third partition.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는 상기 적어도 하나의 파티션의 언마운트 이후에 컴퓨팅 시스템의 스냅샷 이미지를 생성하는 이미지 생성부를 더 포함할 수 있다.The apparatus for generating a hibernation-based snapshot image according to an exemplary embodiment may further include an image generating unit for generating a snapshot image of the computing system after unmounting the at least one partition.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는 상기 제1 파티션 및 상기 제3 파티션의 언마운트 이후에 컴퓨팅 시스템의 스냅샷 이미지를 생성하는 이미지 생성부를 더 포함할 수 있다.The apparatus for generating a hibernation based snapshot image according to an embodiment may further include an image generating unit for generating a snapshot image of the computing system after unmounting the first partition and the third partition.

일실시예에 따른 상기 이미지 생성부는, 상기 제2 파티션을 언마운트하지 않은 상태로 상기 스냅샷 이미지를 생성할 수 있다.The image generation unit may generate the snapshot image without unmounting the second partition.

일실시예에 따른 상기 파일 관리부는 상기 제3 파티션에 상기 클로즈 불가능 파일의 미러링된 복사본이 존재하도록 파일을 관리할 수 있다.The file management unit according to an embodiment may manage a file so that a mirrored copy of the non-closeable file exists in the third partition.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는, 스냅샷 이미지를 이용하여 복원을 진행하되, 상기 제1 파티션 및 상기 제3 파티션을 상기 스냅샷 이미지를 이용하여 복원하고, 상기 제3 파티션을 상기 제2 파티션으로 역방향 미러링하여 복원을 수행하는 복원부를 더 포함할 수 있다.The hibernation-based snapshot image creating apparatus according to an embodiment of the present invention restores the first partition and the third partition using the snapshot image by using the snapshot image, restores the first partition and the third partition using the snapshot image, And a restoring unit for performing a backward mirroring on the second partition to perform restoration.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 방법은 클로즈 불가능 파일을 격리하는 파티션을 할당하는 단계, 및 상기 할당된 파티션을 제외한 적어도 하나의 파티션을 언마운트하여 파일을 관리하는 단계를 포함할 수 있다.The method of generating a hibernation-based snapshot image according to an embodiment may include allocating a partition isolating the non-closeable file, and managing files by unmounting at least one partition excluding the allocated partition .

일실시예에 따른 상기 파티션을 할당하는 단계는, 상기 클로즈 불가능 파일을 포함하는 제1 파티션, 상기 클로즈 불가능 파일을 격리하는 제2 파티션, 및 상기 제2 파티션의 미러 파티션인 제3 파티션을 할당하는 단계를 포함할 수 있다.The step of allocating the partition according to an embodiment may include allocating a first partition including the non-closeable file, a second partition isolating the non-closeable file, and a third partition that is a mirror partition of the second partition Step < / RTI >

일실시예에 따른 상기 파일을 관리하는 단계는, 상기 제1 파티션의 클로즈 불가능 파일을 상기 제2 파티션으로 이동시켜 격리하고, 상기 제2 파티션의 클로즈 불가능 파일을 제3 파티션으로 미러링할 수 있다.The managing of the file according to an embodiment may isolate the non-closable file of the first partition to the second partition and isolate the non-closable file of the second partition to the third partition.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 방법은 상기 적어도 하나의 파티션의 언마운트 이후에 스냅샷 이미지를 생성하는 단계를 더 포함할 수 있다.The method of generating a hibernation based snapshot image according to an exemplary embodiment may further include generating a snapshot image after unmounting the at least one partition.

일실시예에 따른 상기 파일을 관리하는 단계는, 상기 제3 파티션에 상기 클로즈 불가능 파일의 미러링된 복사본이 존재하도록 파일을 관리하는 단계를 포함할 수 있다.The managing of the file according to an embodiment may include managing the file so that the mirrored copy of the non-closeable file exists in the third partition.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 방법은 스냅샷 이미지를 이용하여 복원을 진행하되, 상기 제1 파티션 및 상기 제3 파티션을 상기 스냅샷 이미지를 이용하여 복원하고, 상기 제3 파티션을 상기 제2 파티션으로 역방향 미러링하여 복원을 수행하는 단계를 더 포함할 수 있다. A method of creating a hibernation-based snapshot image according to an exemplary embodiment of the present invention includes restoring the first partition and the third partition using the snapshot image, restoring the snapshot using the snapshot image, And performing reverse mirroring to the second partition to perform restoration.

일실시예에 따르면, 시스템의 안정성을 유지하면서도 효율적으로 스냅샷 이미지를 생성하고 이를 이용하여 빠르고 안정적인 부팅을 제공할 수 있다.According to one embodiment, a snapshot image can be efficiently generated while maintaining the stability of the system, and using the snapshot image can provide a fast and stable boot.

일실시예에 따르면, 스냅샷 이미지 생성 이전 상태로 클로즈 불가 파일을 안정되게 액세스할 수 있다.According to one embodiment, the non-close file can be stably accessed before the snapshot image is created.

도 1은 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치를 설명하는 도면이다.
도 2는 일실시예에 따른 파티션 생성과 파일 관리를 설명하기 위한 흐름도이다.
도 3은 일실시예에 따른 시스템 복원 과정을 설명하기 위한 흐름도이다.
도 4 내지 도 6은 일실시예에 따른 이미지 생성 내지 복원을 설명하기 위한 예시적 세부 흐름도이다.
도 7은 하이버네이션 기반 스냅샷 이미지 생성 방법을 설명하는 흐름도이다.
1 is a view for explaining a hibernation-based snapshot image generating apparatus according to an embodiment.
FIG. 2 is a flowchart for explaining partition creation and file management according to an embodiment.
3 is a flowchart illustrating a system restoration process according to an embodiment of the present invention.
4 to 6 are exemplary detailed flowcharts for explaining image generation or restoration according to an embodiment.
7 is a flowchart illustrating a method of generating a hibernation-based snapshot image.

이하, 본 발명에 따른 바람직한 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings.

본 발명을 설명함에 있어서, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고, 본 명세서에서 사용되는 용어(terminology)들은 본 발명의 바람직한 실시예를 적절히 표현하기 위해 사용된 용어들로서, 이는 사용자, 운용자의 의도 또는 본 발명이 속하는 분야의 관례 등에 따라 달라질 수 있다. 따라서, 본 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다. 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다.In the following description of the present invention, detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. The terminologies used herein are terms used to properly represent preferred embodiments of the present invention, which may vary depending on the user, the intent of the operator, or the practice of the field to which the present invention belongs. Therefore, the definitions of these terms should be based on the contents throughout this specification. Like reference symbols in the drawings denote like elements.

도 1은 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치(100)를 설명하는 도면이다.FIG. 1 is a diagram for explaining a hibernation-based snapshot image generating apparatus 100 according to an embodiment.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치(100)는 클로즈(close)가 불가능한 파일(이하, 클로즈 불가능 파일)을 미리 할당된 파티션으로 이동시켜 시스템의 안정성을 유지하면서도 효율적으로 스냅샷 이미지를 생성하고 이를 이용하여 빠르고 안정적인 부팅을 제공할 수 있다.The hibernation-based snapshot image generating apparatus 100 according to an embodiment moves a snapshot image efficiently by moving a file that can not be closed (hereinafter referred to as a non-closeable file) to a preassigned partition, You can create and use it to provide fast and reliable booting.

이를 위해, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치(100)는 파티션 관리부(110) 및 파일 관리부(120)를 포함할 수 있다.To this end, the hibernation-based snapshot image generation apparatus 100 according to an embodiment may include a partition management unit 110 and a file management unit 120. [

먼저, 일실시예에 따른 파티션 관리부(110)는 클로즈 불가능 파일을 격리하는 파티션을 할당할 수 있다. 구체적으로, 파티션 관리부(110)는 제1 파티션(101), 제2 파티션(102), 및 제3 파티션(103)을 할당할 수 있다. 이때, 제1 파티션(101)은 언마운트(unmount)하려는 파티션으로서 상기 클로즈 불가능 파일을 포함할 수 있다. 제2 파티션(102)은 격리(isolation)를 위한 것으로서 상기 클로즈 불가능 파일을 격리할 수 있으며, 제3 파티션(103)은 미러링(mirroring)을 위한 것으로서 제2 파티션(102)의 미러 파티션을 포함할 수 있다.First, the partition management unit 110 according to one embodiment can allocate a partition for isolating the non-closeable file. Specifically, the partition management unit 110 may allocate the first partition 101, the second partition 102, and the third partition 103. [ At this time, the first partition 101 may include the non-closeable file as a partition to be unmounted. The second partition 102 is for isolation and can isolate the non-closable file and the third partition 103 is for mirroring and includes a mirror partition of the second partition 102 .

이러한 파티션 할당은 잉여 디스크 영역에서의 새로운 파티션 생성일 수도 있다. 또한, 다른 실시예에서는 기존 파티션 영역의 일부를 재할당하는 과정일 수도 있다.Such a partition allocation may be a new partition creation in the redundant disk area. In another embodiment, it may be a process of reallocating a part of an existing partition area.

일실시예에 따른 파일 관리부(120)는 언마운트 대상에 포함되는 적어도 하나의 파티션을 언마운트할 수 있다. 예를 들어, 파일 관리부(120)는 제1 파티션(101)의 클로즈 불가능 파일을 제2 파티션(102)으로 이동시켜 다른 파일들과 격리시킬 수 있다. 또한, 파일 관리부(120)는 제2 파티션(102)의 클로즈 불가능 파일을 제3 파티션(103)으로 미러링하고, 미러링이 완료되면 제1 파티션 및 상기 제3 파티션을 언마운트할 수 있다.The file management unit 120 according to an embodiment may unmount at least one partition included in the unmount target. For example, the file management unit 120 can move the non-closeable file of the first partition 101 to the second partition 102 and isolate the non-closeable file from other files. In addition, the file management unit 120 may mirror the non-closeable file of the second partition 102 to the third partition 103, and may unmount the first partition and the third partition when the mirroring is completed.

이 과정에서 파일 관리부(120)는 상기 클로즈 불가능 파일의 이동 후에도 액세스가 가능하도록 제1 파티션(101) 내에 파일 링크 정보를 남길 수 있다. 이러한 파일 링크 정보는 심볼릭 링크로 이해될 수도 있다.In this process, the file management unit 120 may leave the file link information in the first partition 101 so that the file management unit 120 can access the file after moving the non-closeable file. Such file link information may be understood as a symbolic link.

이렇게 클로즈 불가 파일이 관리된 이후에 파티션 관리부(110)는 제1 파티션 및 제3 파티션을 언마운트 할 수 있다. 제2 파티션은 클로즈 불가능 파일 때문에 언마운트가 불가능할 수 있으므로, 언마운트하지 못하고 그대로 마운트된 상태로 남아있을 수 있다.After the close disable file is managed, the partition managing unit 110 can unmount the first partition and the third partition. The second partition can not be unmounted because of non-closeable files, so it can remain unmounted without being unmounted.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치(100)는 적어도 하나의 파티션의 언마운트 이후에 컴퓨팅 시스템의 스냅샷 이미지를 생성하는 이미지 생성부(130)를 더 포함할 수 있다.The hibernation-based snapshot image generation apparatus 100 according to an embodiment may further include an image generation unit 130 that generates a snapshot image of the computing system after unmounting at least one partition.

구체적으로, 이미지 생성부(130)는 제1 파티션(101)과 제3 파티션(103)의 언마운트 이후에 컴퓨팅 시스템의 스냅샷 이미지를 생성할 수 있다. 또한, 이미지 생성부(130)는 제2 파티션(102)을 언마운트하지 않은 상태로 스냅샷 이미지를 생성할 수 있어 안정된 스냅샷 이미지를 생성할 수 있다.Specifically, the image generating unit 130 may generate a snapshot image of the computing system after the unmounting of the first partition 101 and the third partition 103. [ In addition, the image generating unit 130 can generate a snapshot image without unmounting the second partition 102, thereby generating a stable snapshot image.

일예로, 이미지 생성부(130)의 스냅샷 이미지 생성은 시스템 운용 중에도 사용자 명령 또는 시스템 설정에 의해 수행될 수 있으나, 다른 실시예에서는 시스템 종료 시에 수행될 수도 있다.For example, the snapshot image generation of the image generating unit 130 may be performed by a user command or a system setting during system operation, but may be performed at the time of system shutdown in another embodiment.

한편, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치(100)는 복원부(140)를 더 포함할 수 있다.Meanwhile, the hibernation-based snapshot image generating apparatus 100 according to the embodiment may further include a restoring unit 140. [

즉, 생성된 스냅샷 이미지를 이용하여 시스템을 복원하는 경우, 복원부(140)는 상기 스냅샷 이미지를 이용하여 상기 제1 파티션 및 상기 제3 파티션을 복원할 수 있다. 보다 구체적으로, 일실시예에 따른 복원부(140)는 스냅샷 이미지를 이용하여 복원을 진행하되, 상기 스냅샷 이미지를 이용하여 제1 파티션(101) 및 제3 파티션(103)을 복원하고, 제2 파티션(102)으로 제3 파티션(103)을 역방향 미러링하여 복원과정을 마무리할 수 있다.That is, when restoring the system using the created snapshot image, the restoring unit 140 may restore the first partition and the third partition using the snapshot image. More specifically, the restoring unit 140 restores the first partition 101 and the third partition 103 using the snapshot image, restoring the snapshot image using the snapshot image, The third partition 103 may be mirrored in the backward direction with the second partition 102 to complete the restoration process.

결국, 상기 클로즈 불가 파일 역시 제1 파티션(101)에 남아 있는 링크 정보를 통해 스냅샷 이미지 생성 이전 상태로 안정되게 액세스 가능하다.As a result, the non-close file is also stably accessible through the link information remaining in the first partition 101 before the snapshot image is created.

일실시예에 따른 파일 관리부(120)는 제1 파티션(101)에 제2 파티션(102)으로 이동된 클로즈 불가능 파일에 대한 파일 링크 정보(심볼릭 링크)를 생성할 수 있다.The file management unit 120 according to an embodiment may generate file link information (symbolic link) for the non-closeable file moved to the second partition 102 in the first partition 101. [

구체적으로, 일실시예에 따른 파일 관리부(120)는 제1 파티션(101)의 클로즈 불가능 파일을 심볼릭 링크로 대체할 수 있다. 또한, 제2 파티션(102)으로 이동시킨 파일들을 대체된 심볼릭 링크를 통해 접근할 수 있다.Specifically, the file management unit 120 according to an exemplary embodiment may replace the non-closeable file of the first partition 101 with a symbolic link. In addition, the files moved to the second partition 102 can be accessed through the replaced symbolic link.

또한, 일실시예에 따른 파일 관리부(120)는 제3 파티션(103)에 상기 클로즈 불가능 파일의 미러링된 복사본이 존재하도록 파일을 관리할 수 있다.In addition, the file management unit 120 according to an embodiment can manage the file so that the mirrored copy of the non-closeable file exists in the third partition 103. [

도 2는 일실시예에 따른 파티션 생성과 파일 관리를 설명하기 위한 흐름도이다.FIG. 2 is a flowchart for explaining partition creation and file management according to an embodiment.

전체의 파티션(200)은 파티션 관리부(110)에 의해 할당된 제1 파티션(210), 제2 파티션(220) 및 제3 파티션(230)을 포함할 수 있다.The entire partition 200 may include a first partition 210, a second partition 220 and a third partition 230 allotted by the partition management unit 110.

이때, 제1 파티션(210)은 언마운트하려는 파티션이나 클로즈 불가능 파일이 존재하는 파티션을 포함할 수 있다.At this time, the first partition 210 may include a partition for unmounting or a partition for which a non-closeable file exists.

제1 파티션(210) 내에 포함된 파일 중 클로즈 불가능 파일로서, File A 및 File B가 존재하는 경우, 파일 관리부(120)는 상기 File A와 상기 File B를 제2 파티션(220)으로 이동시킬 수 있다.If File A and File B exist as a non-closable file among the files included in the first partition 210, the file management unit 120 can move the File A and the File B to the second partition 220 have.

파티션 관리부(110)는 제1 파티션에는 심볼릭 링크인 File A_link와 File B_link가 존재하도록 파일들을 관리할 수 있다.The partition management unit 110 may manage the files so that the file A_link and the file B_link, which are symbolic links, exist in the first partition.

또한, 파일 관리부(120)는 제3 파티션(230)에 제2 파티션(220)을 미러링하여 제3 파티션(230)과 제2 파티션(220)이 동일하도록 관리할 수 있다. 일례로, 미러링은 파티션을 복사하는 동작을 포함할 수 있다.The file management unit 120 may mirror the second partition 220 to the third partition 230 to manage the third partition 230 and the second partition 220 to be the same. As an example, mirroring may involve copying a partition.

미러링 후 제3 파티션(230)과 제2 파티션(220)이 동일한 상태에서 서스펜드 과정을 통해 스냅샷 이미지가 생성될 수 있다. 이미지 생성부(130)는 제1 파티션(210)과 제3 파티션(230)만 언마운트 시키고 제2 파티션(220)은 언마운트 불가능한 상태로 이미지를 생성할 수 있다.After the mirroring, the snapshot image may be generated through the suspend process in a state where the third partition 230 and the second partition 220 are in the same state. The image generating unit 130 can unmount only the first partition 210 and the third partition 230 and generate the image without the second partition 220 being unmountable.

도 3은 일실시예에 따른 시스템 복원 과정을 설명하기 위한 흐름도이다.3 is a flowchart illustrating a system restoration process according to an embodiment of the present invention.

전체의 파티션(300)은 파티션 관리부(110)에 의해 할당된 제1 파티션(310), 제2 파티션(320) 및 제3 파티션(330)을 포함할 수 있다.The entire partition 300 may include a first partition 310, a second partition 320, and a third partition 330 allocated by the partition management unit 110.

도 2를 참조하여 설명한 과정에 따라 이미지가 생성되어 있으면, 복원부(140)는 생성된 스냅샷 이미지를 이용하여 제1 파티션(310) 및 제3 파티션(330)을 복원할 수 있다.If an image is generated according to the process described with reference to FIG. 2, the restoring unit 140 may restore the first partition 310 and the third partition 330 using the generated snapshot image.

제1 파티션(310)은 최초 클로즈 불가능 파일을 포함하는 파티션으로서, 제2 파티션(320)에 이동된 FILE A 및 FILE B는 제1 파티션(310)의 링크를 통해서 접근이 가능하다.The first partition 310 is a partition including the first non-closable file, and the FILE A and FILE B moved to the second partition 320 are accessible through the link of the first partition 310.

복원부(140)가 제3 파티션의 File A 및 File B를 제2 파티션(320)으로 역방향 미러링하고, 제1 파티션(310)의 심볼릭 링크인 File A_link와 File B_link를 통해 제2 파티션으로 정상적인 액세스가 가능하다. 따라서, 제1 파티션(310) 및 제3 파티션(330)의 복원과정에서 제2 파티션(320)에 대한 복원이 불안정한 상태일 수 있는데, 이는 복원부(140)가 역방향 미러링을 수행하기 때문에 무시될 수 있다.The restoring unit 140 performs mirroring of the file A and the file B of the third partition to the second partition 320 and performs normal access to the second partition 320 through the file A_link and the file B_link which are the symbolic links of the first partition 310 Is possible. Therefore, in the restoration process of the first partition 310 and the third partition 330, restoration to the second partition 320 may be in an unstable state, which is neglected because the restoring unit 140 performs the backward mirroring .

참고로, 시스템 운용 중인 동안에는 제3 파티션(330) 내의 File A 및 File B는 항상 제2 파티션(320) 내의 File A 및 File B와 동일하게 미러링되고 있으므로, 복원부(140)에 의해서 시스템 복원이 가능하다.During the system operation, the file A and the file B in the third partition 330 are always mirrored in the same manner as the file A and the file B in the second partition 320, It is possible.

도 4 내지 도 6은 일실시예에 따른 이미지 생성 내지 복원을 설명하기 위한 예시적 세부 흐름도이다.4 to 6 are exemplary detailed flowcharts for explaining image generation or restoration according to an embodiment.

먼저, 도 4는 스냅샷 이미지 생성을 위한 서스펜드 과정을 설명한다.First, FIG. 4 illustrates a suspend process for generating a snapshot image.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는 non-system process에 의해 프로세스가 강제 종료되고(단계 401), mnt 레지스터의 값을 1로 초기화할 수 있다(단계 402). 다음으로, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는 mnt 레지스터의 값과 파티션의 번호가 동일한지 여부를 판단하고(단계 403), 동일한 경우라면, 시스템 상태를 서스펜드할 수 있다(단계 404).The hibernation-based snapshot image generation apparatus according to an exemplary embodiment may forcibly terminate the process by a non-system process (step 401) and initialize the value of the mnt register to 1 (step 402). Next, the hibernation-based snapshot image generating apparatus according to the embodiment may determine whether the value of the mnt register is the same as the partition number (step 403), and if it is the same, the system state may be suspended ).

만약, mnt 레지스터의 값과 파티션의 번호가 동일하지 않다면, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는 파티션을 언마운트할 수 있다(단계 406). 다음으로, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는 언마운트가 성공적으로 처리되었는지를 판단하고(단계 407), 성공적으로 처리되었다면 mnt 레지스터의 값을 1 증가시켜 단계 403으로 분기할 수 있다.If the value of the mnt register and the partition number are not the same, the hibernation based snapshot image creation device according to one embodiment may unmount the partition (step 406). Next, the hibernation-based snapshot image generating apparatus according to an embodiment determines whether the unmount has been successfully processed (step 407), and if successfully processed, increments the value of the mnt register by 1 and branches to step 403 .

성공적으로 처리되지 않았다면, 파일 체크를 오픈한 후 격리를 위한 파티션으로 파일을 이동할 수 있다(단계 408). 또한, 파일을 이동하였다면, 원래의 위치에 해당하는 파티션에 심볼릭 링크를 생성할 수 있다(단계 409). 심볼릭 링크를 생성한 후에는 단계 406으로 분기 후에 해당 파티션을 언마운트할 수 있다.If not successfully processed, the file can be moved to the partition for isolation after opening the file check (step 408). In addition, if the file is moved, a symbolic link can be created in the partition corresponding to the original location (step 409). After creating the symbolic link, the partition can be unmounted after the branching to step 406. [

다음으로, 도 5는 생성된 스냅샷 이미지를 통한 복원을 위한 리줌 과정을 설명한다.Next, FIG. 5 illustrates a resume process for reconstruction through the generated snapshot image.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는 시스템 상태를 재개시하고(단계 501), mnt 레지스터의 값을 1로 초기화할 수 있다(단계 502).The hibernation-based snapshot image generation apparatus according to an exemplary embodiment resumes the system state (step 501) and initializes the value of the mnt register to 1 (step 502).

다음으로, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는 mnt 레지스터의 값과 파티션의 번호가 동일한지 여부를 판단하고(단계 503), 동일한 경우에 격리된 파티션의 파일을 복원할 수 있다(단계 504). 이때, 미러링된 파일을 이용하여, 격리된 파티션의 파일을 복원할 수 있다.Next, the hibernation-based snapshot image generating apparatus according to the embodiment can determine whether the value of the mnt register is the same as the partition number (step 503), and restore the file of the isolated partition in the same case Step 504). At this time, the file of the isolated partition can be restored by using the mirrored file.

만약, 단계 503의 판단결과 mnt 레지스터의 값과 파티션의 번호가 동일하지 않다면, 파티션을 마운트하고(단계 506), mnt 레지스터의 값을 1 증가시킨 후(단계 505)에 단계 503으로 분기하여 mnt 레지스터의 값과 파티션의 번호가 동일한지 여부를 다시 판단할 수 있다.If it is determined in step 503 that the value of the mnt register is not the same as the partition number, the partition is mounted (step 506), the value of the mnt register is incremented by 1 (step 505) And the number of the partition are the same.

다음으로, 도 6은 VFS(virtual file system)에 파일의 읽기와 쓰기를 요청하는 방법을 설명한다.Next, FIG. 6 illustrates a method of requesting reading and writing of a file to a virtual file system (VFS).

도 6에서 보는 바와 같이, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는 파일 위치를 확인하고(단계 601), 확인된 파일의 위치가 격리된 파티션인지를 판단할 수 있다(단계 602).As shown in FIG. 6, the hibernation-based snapshot image generating apparatus according to an exemplary embodiment checks the file location (step 601) and determines whether the location of the identified file is an isolated partition (step 602).

만약, 확인된 파일의 위치가 격리된 파티션이 아니라면, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는 파일을 업데이트할 수 있다(단계 603). 또한, 확인된 파일의 위치가 격리된 파티션이라면, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 장치는 업데이트 콘텐츠를 언마운터블 파티션으로 미러링할 수 있다(단계 604).If the location of the identified file is not an isolated partition, the hibernation-based snapshot image creation device according to one embodiment may update the file (step 603). Also, if the location of the identified file is an isolated partition, the hibernation-based snapshot imaging device according to one embodiment may mirror the updated content to an unmountable partition (step 604).

도 7은 하이버네이션 기반 스냅샷 이미지 생성 방법을 설명하는 흐름도이다.7 is a flowchart illustrating a method of generating a hibernation-based snapshot image.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 방법은 클로즈 불가능 파일을 격리하는 파티션을 할당하고(단계 701), 상기 할당된 파티션을 제외한 적어도 하나의 파티션을 언마운트하여 파일을 관리할 수 있다(단계 702).A method for creating a hibernation-based snapshot image according to an exemplary embodiment may allocate a partition for isolating a non-closeable file (step 701), and may manage files by unmounting at least one partition excluding the allocated partition 702).

구체적으로, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 방법은 제1 파티션, 제2 파티션, 및 제3 파티션을 할당할 수 있다. 예를 들어, 제1 파티션은 클로즈 불가능 파일을 포함하고, 제2 파티션은 상기 클로즈 불가능 파일을 격리하며, 제3 파티션은 상기 제2 파티션의 미러 파티션을 포함할 수 있다.In particular, the method of generating a hibernation-based snapshot image according to an exemplary embodiment may allocate a first partition, a second partition, and a third partition. For example, the first partition may include a non-closeable file, the second partition may isolate the non-closeable file, and the third partition may include a mirror partition of the second partition.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 방법은 파일을 관리하는 단계는, 상기 제1 파티션의 클로즈 불가능 파일을 상기 제2 파티션으로 이동시켜 격리하고, 상기 제2 파티션의 클로즈 불가능 파일을 제3 파티션으로 미러링할 수 있다.A method for creating a habenation-based snapshot image according to an exemplary embodiment of the present invention includes the steps of managing a file by moving a non-closeable file of the first partition to the second partition and isolating the non-closeable file of the second partition, You can mirror to a partition.

또한, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 방법은 상기 적어도 하나의 파티션의 언마운트 이후에 스냅샷 이미지를 생성할 수 있다. 즉, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 방법은 파일링크와 미러링을 통해서 격리된 파티션에 대해서 언마운트하지 않은 상태로 스냅샷 이미지를 생성할 수 있어 안정된 스냅샷 이미지를 생성할 수 있다.In addition, the method of generating a hovernation-based snapshot image according to an exemplary embodiment may generate a snapshot image after unmounting the at least one partition. That is, in the method of generating a habonation-based snapshot image according to an embodiment, a snapshot image can be generated without unmounting an isolated partition through a file link and mirroring, and a stable snapshot image can be generated.

이를 위해, 일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 방법은 제3 파티션에 상기 클로즈 불가능 파일의 미러링된 복사본이 존재하도록 파일을 관리할 수 있다.To this end, the hibernation-based snapshot image generation method according to an exemplary embodiment may manage a file such that a mirrored copy of the non-closeable file exists in the third partition.

일예로, 스냅샷 이미지의 생성은 시스템 운용 중에도 사용자 명령 또는 시스템 설정에 의해 수행될 수 있으나, 다른 실시예에서는 시스템 종료 시에 수행될 수도 있다.For example, the creation of the snapshot image may be performed by a user command or a system setting during system operation, but may be performed at the time of system termination in another embodiment.

일실시예에 따른 하이버네이션 기반 스냅샷 이미지 생성 방법은 스냅샷 이미지를 이용하여 복원을 진행하되, 상기 스냅샷 이미지를 이용하여 제1 파티션 및 제3 파티션을 복원하고, 상기 제2 파티션으로 역방향 미러링하여 상기 제3 파티션을 복원할 수 있다.The method of generating a hibernation-based snapshot image according to an exemplary embodiment of the present invention includes restoring a first partition and a third partition using the snapshot image, performing mirroring on the second partition, The third partition can be restored.

결국, 본 발명에 따르면, 시스템의 안정성을 유지하면서도 효율적으로 스냅샷 이미지를 생성하고 이를 이용하여 빠르고 안정적인 부팅을 제공할 수 있고, 스냅샷 이미지 생성 이전 상태로 클로즈 불가 파일을 안정되게 액세스할 수 있다.As a result, according to the present invention, it is possible to efficiently create a snapshot image while maintaining the stability of the system, to provide a fast and stable boot using the snapshot image, and to stably access the non-closeable file before the snapshot image is created .

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다. The method according to an embodiment may be implemented in the form of a program command that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions to be recorded on the medium may be those specially designed and configured for the embodiments or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. For example, it is to be understood that the techniques described may be performed in a different order than the described methods, and / or that components of the described systems, structures, devices, circuits, Lt; / RTI > or equivalents, even if it is replaced or replaced.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.

100: 하이버네이션 기반 스냅샷 이미지 생성 장치
101: 제1 파티션 102: 제2 파티션
103: 제3 파티션 110: 파티션 관리부
120: 파일 관리부 130: 이미지 생성부
140: 복원부
100: Hibernation-based Snapshot Image Generator
101: first partition 102: second partition
103: Third partition 110: Partition management unit
120: file management unit 130: image generation unit
140:

Claims (17)

클로즈 불가능 파일을 격리하는 파티션을 할당하는 파티션 관리부; 및
상기 할당된 파티션을 제외한 적어도 하나의 파티션을 언마운트하는 파일 관리부
를 포함하는 하이버네이션 기반 스냅샷 이미지 생성 장치.
A partition management unit for allocating a partition for isolating the non-closeable file; And
A file manager for unmounting at least one partition excluding the allocated partition,
Based snapshot image generation device.
제1항에 있어서,
상기 파티션 관리부는,
상기 클로즈 불가능 파일을 포함하는 제1 파티션, 상기 클로즈 불가능 파일을 격리하는 제2 파티션, 및 상기 제2 파티션의 미러 파티션인 제3 파티션을 할당하는 하이버네이션 기반 스냅샷 이미지 생성 장치.
The method according to claim 1,
The partition management unit,
And a third partition that is a mirror partition of the second partition, wherein the first partition includes the non-closeable file, the second partition isolates the non-closeable file, and the third partition is a mirror partition of the second partition.
제2항에 있어서,
상기 파일 관리부는, 상기 제1 파티션의 클로즈 불가능 파일을 상기 제2 파티션으로 이동시켜 격리하고,
상기 제1 파티션의 클로즈 불가능 파일을, 상기 제2 파티션으로 이동된 상기 클로즈 불가능 파일에 접근하는 심볼릭 링크로 대체하는 하이버네이션 기반 스냅샷 이미지 생성 장치.
3. The method of claim 2,
Wherein the file management unit moves the non-closeable file of the first partition to the second partition and isolates the non-
And replacing the non-closeable file of the first partition with a symbolic link for accessing the non-closeable file moved to the second partition.
제2항에 있어서,
상기 파일 관리부는, 상기 제2 파티션의 클로즈 불가능 파일을 제3 파티션으로 미러링하는 하이버네이션 기반 스냅샷 이미지 생성 장치.
3. The method of claim 2,
Wherein the file management unit mirrors the non-closeable file of the second partition to a third partition.
제2항에 있어서,
상기 파일 관리부는, 상기 제1 파티션 및 상기 제3 파티션을 언마운트하는 하이버네이션 기반 스냅샷 이미지 생성 장치.
3. The method of claim 2,
Wherein the file management unit unmounts the first partition and the third partition.
제1항에 있어서,
상기 적어도 하나의 파티션의 언마운트 이후에 컴퓨팅 시스템의 스냅샷 이미지를 생성하는 이미지 생성부
를 더 포함하는 하이버네이션 기반 스냅샷 이미지 생성 장치.
The method according to claim 1,
A snapshot image of the computing system after unmounting of the at least one partition;
Based snapshot image generation device.
제5항에 있어서,
상기 제1 파티션 및 상기 제3 파티션의 언마운트 이후에 컴퓨팅 시스템의 스냅샷 이미지를 생성하는 이미지 생성부
를 더 포함하는 하이버네이션 기반 스냅샷 이미지 생성 장치.
6. The method of claim 5,
An image generating unit for generating a snapshot image of the computing system after unmounting of the first partition and the third partition,
Based snapshot image generation device.
제7항에 있어서,
상기 이미지 생성부는, 상기 제2 파티션을 언마운트하지 않은 상태로 상기 스냅샷 이미지를 생성하는 하이버네이션 기반 스냅샷 이미지 생성 장치.
8. The method of claim 7,
Wherein the image generating unit generates the snapshot image without unmounting the second partition.
제2항에 있어서,
상기 파일 관리부는,
상기 제3 파티션에 상기 클로즈 불가능 파일의 미러링된 복사본이 존재하도록 파일을 관리하는 하이버네이션 기반 스냅샷 이미지 생성 장치.
3. The method of claim 2,
The file management unit,
And the file is managed so that the mirrored copy of the non-closeable file exists in the third partition.
제2항에 있어서,
스냅샷 이미지를 이용하여 복원을 진행하되, 상기 제1 파티션 및 상기 제3 파티션을 상기 스냅샷 이미지를 이용하여 복원하고, 상기 제3 파티션을 상기 제2 파티션으로 역방향 미러링하여 복원을 수행하는 복원부
를 더 포함하는 하이버네이션 기반 스냅샷 이미지 생성 장치.
3. The method of claim 2,
Restoring the first partition and the third partition using the snapshot image and performing a restoration by mirroring the third partition to the second partition using the snapshot image,
Based snapshot image generation device.
클로즈 불가능 파일을 격리하는 파티션을 할당하는 단계; 및
상기 할당된 파티션을 제외한 적어도 하나의 파티션을 언마운트하여 파일을 관리하는 단계
를 포함하는 하이버네이션 기반 스냅샷 이미지 생성 방법.
Allocating a partition to isolate the non-closeable file; And
Managing files by unmounting at least one partition excluding the allocated partition
Based snapshot image.
제11항에 있어서,
상기 파티션을 할당하는 단계는,
상기 클로즈 불가능 파일을 포함하는 제1 파티션, 상기 클로즈 불가능 파일을 격리하는 제2 파티션, 및 상기 제2 파티션의 미러 파티션인 제3 파티션을 할당하는 단계
를 포함하는 하이버네이션 기반 스냅샷 이미지 생성 방법.
12. The method of claim 11,
Wherein the step of allocating the partition comprises:
Allocating a first partition that includes the non-closeable file, a second partition that isolates the non-closeable file, and a third partition that is a mirror partition of the second partition,
Based snapshot image.
제12항에 있어서,
상기 파일을 관리하는 단계는,
상기 제1 파티션의 클로즈 불가능 파일을 상기 제2 파티션으로 이동시켜 격리하고, 상기 제2 파티션의 클로즈 불가능 파일을 제3 파티션으로 미러링하는 하이버네이션 기반 스냅샷 이미지 생성 방법.
13. The method of claim 12,
Wherein the managing the file comprises:
Wherein the non-closeable file of the first partition is moved to the second partition and the closeable file of the second partition is mirrored to the third partition.
제11항에 있어서,
상기 적어도 하나의 파티션의 언마운트 이후에 스냅샷 이미지를 생성하는 단계
를 더 포함하는 하이버네이션 기반 스냅샷 이미지 생성 방법.
12. The method of claim 11,
Creating a snapshot image after unmounting of said at least one partition
Based on the snapshot image.
제12항에 있어서,
상기 파일을 관리하는 단계는,
상기 제3 파티션에 상기 클로즈 불가능 파일의 미러링된 복사본이 존재하도록 파일을 관리하는 단계
를 포함하는 하이버네이션 기반 스냅샷 이미지 생성 방법.
13. The method of claim 12,
Wherein the managing the file comprises:
Managing the file so that the mirrored copy of the non-closable file exists in the third partition
Based snapshot image.
제12항에 있어서,
스냅샷 이미지를 이용하여 복원을 진행하되, 상기 제1 파티션 및 상기 제3 파티션을 상기 스냅샷 이미지를 이용하여 복원하고, 상기 제3 파티션을 상기 제2 파티션으로 역방향 미러링하여 복원을 수행하는 단계
를 더 포함하는 하이버네이션 기반 스냅샷 이미지 생성 방법.
13. The method of claim 12,
Restoring the first partition and the third partition using the snapshot image, and restoring the third partition to the second partition by mirroring the first partition and the third partition,
Based on the snapshot image.
제12항 내지 제16항 중에서 어느 한 항의 방법을 수행하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체.
A computer-readable recording medium having recorded thereon a program for performing the method according to any one of claims 12 to 16.
KR1020130111855A 2012-09-25 2013-09-17 Apparatus of generating snapshot image based on hibernation and method of the same KR101460452B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20120106764 2012-09-25
KR1020120106764 2012-09-25

Publications (2)

Publication Number Publication Date
KR20140040017A KR20140040017A (en) 2014-04-02
KR101460452B1 true KR101460452B1 (en) 2014-11-12

Family

ID=50650482

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130111855A KR101460452B1 (en) 2012-09-25 2013-09-17 Apparatus of generating snapshot image based on hibernation and method of the same

Country Status (1)

Country Link
KR (1) KR101460452B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023101294A1 (en) * 2021-11-30 2023-06-08 삼성전자 주식회사 Electronic device for managing storage space, and method for operating electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110025053A (en) * 2009-09-01 2011-03-09 엘에스아이 코포레이션 A method for implementing continuous data protection utilizing allocate-on-write snapshots
KR20120041582A (en) * 2010-10-21 2012-05-02 삼성전자주식회사 Snapshot image segmentation apparatus and snapshot image segmentation method
KR20130038532A (en) * 2011-10-10 2013-04-18 한국전자통신연구원 Apparatus and method for storing snapshot image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110025053A (en) * 2009-09-01 2011-03-09 엘에스아이 코포레이션 A method for implementing continuous data protection utilizing allocate-on-write snapshots
KR20120041582A (en) * 2010-10-21 2012-05-02 삼성전자주식회사 Snapshot image segmentation apparatus and snapshot image segmentation method
KR20130038532A (en) * 2011-10-10 2013-04-18 한국전자통신연구원 Apparatus and method for storing snapshot image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023101294A1 (en) * 2021-11-30 2023-06-08 삼성전자 주식회사 Electronic device for managing storage space, and method for operating electronic device

Also Published As

Publication number Publication date
KR20140040017A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
US11762740B2 (en) Systems and methods for efficient backup restoration
US8635395B2 (en) Method of suspending and resuming virtual machines
CN104685476B (en) For restoring the method, system and product of virtual machine
EP2731013B1 (en) Backing up method, device, and system for virtual machine
EP3008600B1 (en) Virtual machine backup from storage snapshot
US10296423B2 (en) System and method for live virtual incremental restoring of data from cloud storage
US9354907B1 (en) Optimized restore of virtual machine and virtual disk data
US8209290B1 (en) Generic granular restore of application data from a volume image backup
US8930654B1 (en) Method and apparatus for mapping virtual drives
US8639973B2 (en) System reset
EP2318927B1 (en) Systems and methods for tracking changes to a volume
US11698808B2 (en) System and method of selectively restoring a computer system to an operational state
CN105446826A (en) Virtual machine backup and recovery method and device
CN102314378A (en) Use the technology that virtual machine is moved in storage of sharing
US8589647B2 (en) Apparatus and method for synchronizing a snapshot image
CN106062742A (en) Systems and methods for improving snapshot performance
US9524215B1 (en) Systems and methods for managing virtual machine backups
US9003139B1 (en) Systems and methods for recovering virtual machines after disaster scenarios
EP2639698B1 (en) Backup control program, backup control method, and information processing device
CN104424115A (en) Method for restoring preset status of electronic device, memory device and electronic device
WO2009031157A2 (en) Method and apparatus for grid based data recovery
KR101460452B1 (en) Apparatus of generating snapshot image based on hibernation and method of the same
KR20230122406A (en) Method for synchronously and asynchronously backing up virtual desktop image on a multi-Virtual Machine operational management platform
US20140208023A1 (en) Storage system and control method for storage system
KR20140040018A (en) Apparatus of generating snapshot image based on hibernation and booting and method of the same

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20171102

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20181019

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20191001

Year of fee payment: 6