KR20200094619A - Method and apparatus for backing up information - Google Patents

Method and apparatus for backing up information Download PDF

Info

Publication number
KR20200094619A
KR20200094619A KR1020190141696A KR20190141696A KR20200094619A KR 20200094619 A KR20200094619 A KR 20200094619A KR 1020190141696 A KR1020190141696 A KR 1020190141696A KR 20190141696 A KR20190141696 A KR 20190141696A KR 20200094619 A KR20200094619 A KR 20200094619A
Authority
KR
South Korea
Prior art keywords
information
meta information
meta
node
lost
Prior art date
Application number
KR1020190141696A
Other languages
Korean (ko)
Other versions
KR102207727B1 (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 KR20200094619A publication Critical patent/KR20200094619A/en
Application granted granted Critical
Publication of KR102207727B1 publication Critical patent/KR102207727B1/en

Links

Images

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/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • 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
    • G06F11/1453Management of the data involved in backup or backup restore using de-duplication of the data
    • 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/1458Management of the backup or restore process
    • G06F11/1461Backup scheduling policy
    • 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/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Retry When Errors Occur (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

According to an embodiment of the present invention, disclosed are an information backup method and a device thereof. One specific embodiment of the information backup method comprises the steps of: obtaining a meta-information record table of an information system at a first time period interval; transmitting a first meta-information acquisition command to a node among one or more nodes in accordance with the meta-information record table; and responding to the reception of at least one first feedback information corresponding to the first meta-information acquisition command transmitted by a node among the at least one node, and storing the at least one first feedback information in a first storage area. The embodiment reduces the amount of data to be backed up and increases the efficiency and stability of backing up the data.

Description

정보 백업 방법 및 장치{METHOD AND APPARATUS FOR BACKING UP INFORMATION}Information backup method and device{METHOD AND APPARATUS FOR BACKING UP INFORMATION}

본 발명의 실시예는 컴퓨터 기술분야에 관한 것으로, 구체적으로 정보 백업 방법 및 장치에 관한 것이다.Embodiments of the present invention relate to the field of computer technology, specifically to a method and apparatus for backing up information.

정보 기술의 발전에 따라, 대량의 정보가 정보 시스템에 존재하고, 시간이 흐름에 따라 신속하게 증가하고 있다. 정보의 안전을 보장하기 위하여, 정보 시스템은 정보 손실을 방지하도록 정보 시스템 내의 정보를 백업해야 한다. 정보 시스템 내의 정보가 손실될 경우, 정보 시스템은 백업을 통해 손실된 정보를 복원할 수 있다.With the development of information technology, a large amount of information exists in the information system, and it is rapidly increasing with time. In order to ensure the safety of information, the information system must back up information in the information system to prevent information loss. When information in the information system is lost, the information system can restore the lost information through backup.

본 발명의 실시예는 정보 백업 장치 및 방법을 제공한다.An embodiment of the present invention provides an information backup apparatus and method.

제1 양태에 있어서, 본 발명의 실시예는 정보 백업 방법을 제공하고, 상기 방법은, 제1 시간 주기 간격으로 정보 시스템의 메타 정보 기록표를 획득하는 단계 - 상기 메타 정보 기록표에는 정보 시스템 내 적어도 하나의 노드에 저장된 메타 정보의 명칭 정보가 기록되어 있음 - ; 상기 메타 정보 기록표에 따라 상기 적어도 하나의 노드 중의 노드에 제1 메타 정보 획득 명령어를 전송하는 단계 - 상기 제1 메타 정보 획득 명령어는 대응되는 노드에 저장된 메타 정보를 획득하도록 지시하기 위한 것임 - ; 및 상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제1 메타 정보 획득 명령어에 대응되는 적어도 하나의 제1 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제1 피드백 정보를 제1 저장 영역에 저장하는 단계 - 제1 피드백 정보는 대응되는 노드에 저장된, 상기 제1 메타 정보 획득 명령어가 지시하는 메타 정보를 포함함 - ;를 포함한다.In a first aspect, an embodiment of the present invention provides a method for backing up information, the method comprising: obtaining a meta information record table of an information system at a first time period interval-at least one of the meta information record tables in the information system -The name information of meta information stored in the node of is recorded; Transmitting a first meta information acquisition command to a node among the at least one node according to the meta information record table, wherein the first meta information acquisition command is for instructing to acquire meta information stored in a corresponding node; And in response to receiving at least one first feedback information corresponding to the first meta information acquisition command transmitted by a node among the at least one node, the at least one first feedback information in a first storage area. And storing the first feedback information including meta information indicated by the first meta information acquisition command stored in a corresponding node.

일부 실시예에 있어서, 상기 메타 정보 기록표에 따라 상기 적어도 하나의 노드 중의 노드에 제1 메타 정보 획득 명령어를 전송하는 단계는, 상기 메타 정보 기록표에 따라 메타 정보의 제1 분포 정보를 결정하는 단계 - 상기 제1 분포 정보는 메타 정보의 명칭 정보 및 메타 정보가 위치하는 노드를 포함함 - ; 및 상기 적어도 하나의 노드 중의 노드에 대해, 상기 제1 분포 정보에 따라 상기 노드에 대응되는 제1 메타 정보 획득 명령어를 생성하는 단계를 포함한다.In some embodiments, transmitting a first meta information acquisition command to a node among the at least one node according to the meta information record table comprises: determining first distribution information of meta information according to the meta information record table − The first distribution information includes the name information of the meta information and the node where the meta information is located; And generating a first meta information acquisition command corresponding to the node according to the first distribution information, for a node among the at least one node.

일부 실시예에 있어서, 상기 정보 백업 방법은, 상기 제1 시간 주기 내에 메타 정보를 저장하는 단계를 더 포함하고, 상기 제1 시간 주기 내에 메타 정보를 저장하는 단계는, 제2 시간 주기 간격으로 메타 정보의 증분 정보를 획득하는 단계 - 상기 증분 정보는 상기 제2 시간 주기 내에 변화된 메타 정보를 나타내고, 상기 제2 시간 주기는 상기 제1 시간 주기보다 작음 - ; 상기 증분 정보에 따라 메타 정보의 제2 분포 정보를 결정하는 단계 - 상기 제2 분포 정보는 상기 증분 정보에 대응되는 메타 정보의 명칭 정보 및 메타 정보가 위치하는 노드를 포함함 - ; 상기 적어도 하나의 노드 중의 노드에 대해, 상기 제2 분포 정보에 따라 상기 노드에 대응되는 제2 메타 정보 획득 명령어를 생성하는 단계 - 상기 제2 메타 정보 획득 명령어는 노드 상에서 상기 증분 정보에 대응되는 메타 정보를 획득하도록 지시하기 위한 것임 - ; 및 상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제2 메타 정보 획득 명령어에 대응되는 적어도 하나의 제2 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제2 피드백 정보를 제2 저장 영역에 저장하는 단계 - 제2 피드백 정보는 대응되는 노드에 저장된, 상기 제2 메타 정보 획득 명령어가 지시하는 메타 정보를 포함함 - ;를 포함한다.In some embodiments, the method of backing up information further includes storing meta information within the first time period, and storing meta information within the first time period comprises meta at second time period intervals. Obtaining incremental information of information-the incremental information represents meta information changed within the second time period, and the second time period is smaller than the first time period-; Determining second distribution information of meta information according to the incremental information, wherein the second distribution information includes a name information and a node in which meta information corresponding to the incremental information is located; Generating a second meta information acquisition command corresponding to the node according to the second distribution information, for a node among the at least one node, wherein the second meta information acquisition command corresponds to the meta information on the node To instruct to acquire information-; And in response to receiving at least one second feedback information corresponding to the second meta information acquisition command, transmitted by a node among the at least one node, the second storage area of the at least one second feedback information. The step of storing in-the second feedback information includes meta information stored in the corresponding node, indicated by the second meta information acquisition command-.

일부 실시예에 있어서, 상기 메타 정보 기록표는 시간 정보를 더 포함하고, 상기 시간 정보는 메타 정보가 노드 상에서의 저장 시간을 표시하며, 상기 제2 시간 주기 간격으로 메타 정보의 증분 정보를 획득하는 단계는, 상기 메타 정보 기록표를 획득하고, 상기 제2 시간 주기에 대응되는 시간 정보에 따라 상기 메타 정보 기록표 내의 메타 정보의 증분 정보를 결정하는 단계를 포함한다.In some embodiments, the meta information record table further includes time information, wherein the time information is a meta information indicating a storage time on a node, and obtaining incremental information of the meta information at the second time period interval Acquiring the meta information record table, and determining the incremental information of the meta information in the meta information record table according to the time information corresponding to the second time period.

일부 실시예에 있어서, 상기 정보 백업 방법은, 메타 정보 손실에 응답하여, 메타 정보를 복원하는 단계를 더 포함하고, 상기 메타 정보 손실에 응답하여, 메타 정보를 복원하는 단계는, 손실된 메타 정보의 데이터 양이 설정된 임계값보다 작고, 또한 손실된 메타 정보에 대응되는 제1 기억 정보가 존재하는 것에 응답하여, 상기 제1 기억 정보를 통해 상기 손실된 메타 정보를 복원하고, 그렇지 않을 경우, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 단계를 포함하며, 기억 정보는 상기 정보 시스템에 저장되었던 메타 정보를 기록하기 위한 것이다.In some embodiments, the method for backing up information further includes restoring meta information in response to loss of meta information, and restoring meta information in response to the loss of meta information, the lost meta information In response to the presence of the first storage information that is smaller than the set threshold and that has the first storage information corresponding to the lost meta information, the lost meta information is restored through the first storage information, and if not, the And retrieving and restoring the lost meta information in the second storage area through the name information of the lost meta information, and the storage information is for recording meta information stored in the information system.

일부 실시예에 있어서, 상기 메타 정보 손실에 응답하여, 메타 정보를 복원하는 단계는, 상기 제2 저장 영역에 상기 손실된 메타 정보가 존재하지 않는 것에 응답하여, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제1 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 단계를 포함한다.In some embodiments, in response to the loss of the meta information, the step of restoring the meta information may include the name information of the lost meta information in response to the missing meta information in the second storage area. And searching and restoring the lost meta information in the first storage area.

일부 실시예에 있어서, 상기 메타 정보 손실에 응답하여, 메타 정보를 복원하는 단계는, 손실된 메타 정보의 데이터 양이 상기 설정된 임계값보다 크거나 같은 것에 응답하여, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 단계를 포함한다.In some embodiments, in response to the loss of the meta information, the step of restoring the meta information may include the name information of the lost meta information in response to a data amount of the lost meta information being greater than or equal to the set threshold value. And searching for and restoring the lost meta information in the second storage area.

일부 실시예에 있어서, 상기 메타 정보 손실에 응답하여, 메타 정보를 복원하는 단계는, 손실된 메타 정보의 데이터 양이 상기 설정된 임계값보다 크거나 같고, 또한 상기 손실된 메타 정보가 상기 제1 저장 영역 및 제2 저장 영역에 저장되어 있지 않는 것에 응답하여, 상기 손실된 메타 정보에 대응되는 제2 기억 정보를 획득하고, 상기 제2 기억 정보를 통해 상기 손실된 메타 정보를 복원하는 단계를 포함한다.In some embodiments, in response to the loss of the meta information, the step of restoring the meta information is that the amount of data of the lost meta information is greater than or equal to the set threshold, and the lost meta information is stored in the first storage. And in response to not being stored in the area and the second storage area, acquiring second storage information corresponding to the lost meta information, and restoring the lost meta information through the second storage information. .

제2 양태에 있어서, 본 발명의 실시예는 정보 백업 장치를 제공하고, 상기 장치는, 제1 시간 주기 간격으로 정보 시스템의 메타 정보 기록표를 획득하는 메타 정보 기록표 획득 유닛 - 상기 메타 정보 기록표에는 정보 시스템 내 적어도 하나의 노드에 저장된 메타 정보의 명칭 정보가 기록되어 있음 - ; 상기 메타 정보 기록표에 따라 상기 적어도 하나의 노드 중의 노드에 제1 메타 정보 획득 명령어를 전송하는 제1 메타 정보 획득 명령어 전송 유닛 - 상기 제1 메타 정보 획득 명령어는 대응되는 노드 상의 메타 정보를 획득하도록 지시하기 위한 것임 - ; 및 상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제1 메타 정보 획득 명령어에 대응되는 적어도 하나의 제1 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제1 피드백 정보를 제1 저장 영역에 저장하는 메타 정보 백업 유닛 - 제1 피드백 정보는 대응되는 노드에 저장된, 상기 제1 메타 정보 획득 명령어가 지시하는 메타 정보를 포함함 - ;을 포함한다.In a second aspect, an embodiment of the present invention provides an information backup apparatus, wherein the apparatus acquires a meta information record table acquisition unit that acquires a meta information record table of an information system at a first time interval interval-information in the meta information record table Name information of meta information stored in at least one node in the system is recorded; A first meta information acquisition command transmission unit that transmits a first meta information acquisition command to a node among the at least one node according to the meta information record table, wherein the first meta information acquisition command instructs to acquire meta information on a corresponding node To do -; And in response to receiving at least one first feedback information corresponding to the first meta information acquisition command transmitted by a node among the at least one node, the at least one first feedback information in a first storage area. Meta information backup unit to store in-the first feedback information is stored in the corresponding node, including the meta information indicated by the first meta information acquisition command-includes.

일부 실시예에 있어서, 상기 제1 메타 정보 획득 명령어 전송 유닛은, 상기 메타 정보 기록표에 따라 메타 정보의 제1 분포 정보를 결정하는 제1 분포 정보 결정 서브 유닛 - 상기 제1 분포 정보는 메타 정보의 명칭 정보 및 메타 정보가 위치하는 노드를 포함함 - ; 및 상기 적어도 하나의 노드 중의 노드에 대해, 상기 제1 분포 정보에 따라 상기 노드에 대응되는 제1 메타 정보 획득 명령어를 생성하는 제1 메타 정보 획득 명령어 생성 서브 유닛을 포함한다.In some embodiments, the first meta information acquisition command transmission unit is a first distribution information determination subunit for determining first distribution information of meta information according to the meta information record table, wherein the first distribution information is meta information Contains the node where the name information and meta information are located; And a first meta information acquisition command generation sub-unit for generating a first meta information acquisition command corresponding to the node according to the first distribution information, for a node among the at least one node.

일부 실시예에 있어서, 상기 정보 백업 장치는, 상기 제1 시간 주기 내에 메타 정보를 저장하는 메타 정보 저장 유닛을 더 포함하고, 상기 메타 정보 저장 유닛은, 제2 시간 주기 간격으로 메타 정보의 증분 정보를 획득하는 증분 정보 획득 서브 유닛 - 상기 증분 정보는 상기 제2 시간 주기 내에 변화된 메타 정보를 나타내고, 상기 제2 시간 주기는 상기 제1 시간 주기보다 작음 - ; 상기 증분 정보에 따라 메타 정보의 제2 분포 정보를 결정하는 제2 분포 정보 결정 서브 유닛 - 상기 제2 분포 정보는 상기 증분 정보에 대응되는 메타 정보의 명칭 정보 및 메타 정보가 위치하는 노드를 포함함 - ; 상기 적어도 하나의 노드 중의 노드에 대해, 상기 제2 분포 정보에 따라 상기 노드에 대응되는 제2 메타 정보 획득 명령어를 생성하는 제2 메타 정보 획득 명령어 생성 서브 유닛 - 상기 제2 메타 정보 획득 명령어는 노드 상에서 상기 증분 정보에 대응되는 메타 정보를 획득하도록 지시하기 위한 것임 - ; 및 상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제2 메타 정보 획득 명령어에 대응되는 적어도 하나의 제2 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제2 피드백 정보를 제2 저장 영역에 저장하는 메타 정보 저장 서브 유닛 - 제2 피드백 정보는 대응되는 노드에 저장된, 상기 제2 메타 정보 획득 명령어가 지시하는 메타 정보를 포함함 - ;을 포함한다.In some embodiments, the information backup device further includes a meta information storage unit that stores meta information within the first time period, and the meta information storage unit is incremental information of meta information at a second time period interval. A sub-unit for acquiring incremental information for acquiring-the incremental information represents meta information changed within the second time period, and the second time period is smaller than the first time period-; A second distribution information determination sub-unit for determining the second distribution information of meta information according to the incremental information, wherein the second distribution information includes a node where name information and meta information of meta information corresponding to the incremental information are located -; For a node among the at least one node, a second meta information acquisition command generation sub unit generating a second meta information acquisition command corresponding to the node according to the second distribution information-the second meta information acquisition command is a node It is for instructing to acquire meta information corresponding to the incremental information in the image; And in response to receiving at least one second feedback information corresponding to the second meta information acquisition command, transmitted by a node among the at least one node, the second storage area of the at least one second feedback information. The meta-information storage sub-unit stored in the second feedback information includes meta-information indicated by the second meta-information acquisition command, stored in a corresponding node.

일부 실시예에 있어서, 상기 메타 정보 기록표는 시간 정보를 더 포함하고, 상기 시간 정보는 메타 정보가 노드 상에서의 저장 시간을 표시하며, 상기 증분 정보 획득 서브 유닛은, 상기 메타 정보 기록표를 획득하고, 상기 제2 시간 주기에 대응되는 시간 정보에 따라 상기 메타 정보 기록표 내의 메타 정보의 증분 정보를 결정하는 증분 정보 결정 유닛을 포함한다.In some embodiments, the meta information record table further includes time information, the time information indicates the storage time of the meta information on the node, and the incremental information acquisition subunit acquires the meta information record table, And an increment information determination unit that determines increment information of meta information in the meta information record table according to time information corresponding to the second time period.

일부 실시예에 있어서, 상기 정보 백업 장치는, 메타 정보 손실에 응답하여, 메타 정보를 복원하는 메타 정보 복원 유닛을 더 포함하고, 상기 메타 정보 복원 유닛은, 손실된 메타 정보의 데이터 양이 설정된 임계값보다 작고, 또한 손실된 메타 정보에 대응되는 제1 기억 정보가 존재하는 것에 응답하여, 상기 제1 기억 정보를 통해 상기 손실된 메타 정보를 복원하고, 그렇지 않을 경우, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 제1 메타 정보 복원 서브 유닛을 포함하며, 기억 정보는 상기 정보 시스템에 저장되었던 메타 정보를 기록하기 위한 것이다.In some embodiments, the information backup apparatus further includes a meta-information restoration unit that restores meta-information in response to the loss of meta-information, and wherein the meta-information restoration unit is set to a threshold in which the data amount of the lost meta-information is set. In response to the existence of the first storage information smaller than the value and corresponding to the lost meta information, the lost meta information is restored through the first storage information, otherwise, the name of the lost meta information And a first meta-information restoration sub-unit for retrieving and restoring the lost meta-information from the second storage area through information, and the storage information is for recording meta-information stored in the information system.

일부 실시예에 있어서, 상기 메타 정보 복원 유닛은, 상기 제2 저장 영역에 상기 손실된 메타 정보가 존재하지 않는 것에 응답하여, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제1 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 제2 메타 정보 복원 서브 유닛을 포함한다.In some embodiments, the meta information recovery unit, in response to the missing meta information not being present in the second storage area, the loss in the first storage area through the name information of the lost meta information. And a second meta information restoration sub unit, which searches for and restores the meta information.

일부 실시예에 있어서, 손실된 메타 정보의 데이터 양이 상기 설정된 임계값보다 크거나 같은 것에 응답하여, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 제3 메타 정보 복원 서브 유닛을 포함한다.In some embodiments, in response to the amount of data of the lost meta information being greater than or equal to the set threshold, searching for the lost meta information in the second storage area through the name information of the lost meta information And a third meta information restoration sub unit to restore.

일부 실시예에 있어서, 상기 메타 정보 복원 유닛은, 손실된 메타 정보의 데이터 양이 상기 설정된 임계값보다 크거나 같고, 또한 상기 손실된 메타 정보가 상기 제1 저장 영역 및 제2 저장 영역에 저장되어 있지 않는 것에 응답하여, 상기 손실된 메타 정보에 대응되는 제2 기억 정보를 획득하고, 상기 제2 기억 정보를 통해 상기 손실된 메타 정보를 복원하는 제4 메타 정보 복원 서브 유닛을 포함한다.In some embodiments, the meta-information restoration unit, the amount of data of the lost meta-information is greater than or equal to the set threshold, and the lost meta-information is stored in the first storage area and the second storage area And a fourth meta-information restoration sub-unit, in response to being absent, obtaining second storage information corresponding to the lost meta-information, and restoring the lost meta-information through the second storage information.

제3 양태에 있어서, 본 발명의 실시예는 전자 기기를 제공하며, 상기 전자 기기는, 하나 또는 복수의 프로세서; 및 하나 또는 복수의 프로그램이 저장된 저장 장치를 포함하고, 상기 하나 또는 복수의 프로그램이 상기 하나 또는 복수의 프로세서에 의해 실행될 경우, 상기 하나 또는 복수의 프로세서가 제1항 내지 제8항 중 어느 한 항에 따른 정보 백업 방법을 수행하도록 한다.In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising: one or a plurality of processors; And a storage device in which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors are any one of claims 1 to 8. Let's perform the information backup method according to.

제4 양태에 있어서, 본 발명의 실시예는 컴퓨터 프로그램이 저장된 컴퓨터 판독 가능 매체를 제공하며, 상기 컴퓨터 프로그램은 프로세서에 의해 실행될 경우 제1항 내지 제8항 중 어느 한 항에 따른 정보 백업 방법을 구현한다.In a fourth aspect, an embodiment of the present invention provides a computer readable medium in which a computer program is stored, wherein the computer program, when executed by a processor, provides a method for backing up information according to any one of claims 1 to 8. Implement it.

본 발명의 실시예에 제공되는 정보 백업 방법 및 장치에 의하면, 우선, 제1 시간 주기 간격으로 정보 시스템의 정보 기록표를 획득하고 - 여기서, 정보 기록표에는 정보 시스템 내 적어도 하나의 노드에 저장된 메타 정보의 명칭 정보가 기록되어 있음 - ; 다음, 정보 기록표에 따라 적어도 하나의 노드 중의 노드에 제1 메타 정보 획득 명령어를 전송하며 - 제1 메타 정보 획득 명령어는 대응되는 노드 상의 메타 정보를 획득하도록 지시하기 위한 것임 - ; 마지막으로, 제1 메타 정보 획득 명령어에 대응되는 제1 피드백 정보를 수신하고, 제1 피드백 정보를 제1 저장 영역에 저장한다. 본 기술적 해결수단은 메타 정보를 백업하여 데이터를 백업함으로써, 백업되는 데이터 양을 감소시키고, 데이터를 백업하는 효율 및 안정성을 향상시킬 수 있다.According to the information backup method and apparatus provided in the embodiment of the present invention, first, an information record table of an information system is obtained at intervals of a first time period, wherein the information record table includes meta information stored in at least one node in the information system. Name information is recorded-; Next, a first meta information acquisition command is transmitted to a node among at least one node according to the information record table, wherein the first meta information acquisition command is for instructing to acquire meta information on a corresponding node; Finally, the first feedback information corresponding to the first meta information acquisition command is received, and the first feedback information is stored in the first storage area. The technical solution can reduce the amount of data to be backed up and improve the efficiency and stability of backing up the data by backing up the data by backing up the meta information.

아래 첨부 도면에 도시된 비제한적인 실시예의 상세한 설명에 대한 열독 및 참조를 통해 본 발명의 다른 특징, 목적 및 이점이 보다 명백해질 것이다.
도 1은 본 발명의 일 실시예가 적용 가능한 예시적인 시스템 아키텍처이다.
도 2는 본 발명에 따른 정보 백업 방법의 일 실시예의 흐름도이다.
도 3은 본 발명에 따른 정보 백업 방법의 하나의 응용 상황의 개략도이다.
도 4는 본 발명에 따른 정보 백업 방법의 다른 실시예의 흐름도이다.
도 5는 본 발명에 따른 정보를 복원하기 위한 방법의 일 실시예의 흐름도이다.
도 6은 본 발명에 따른 정보 백업 장치의 일 실시예의 구조 개략도이다.
도 7은 본 발명의 실시예를 구현하기 위한 전자 기기의 구조 개략도이다
Other features, objects, and advantages of the present invention will become more apparent through reading and reference to the detailed description of the non-limiting embodiments shown in the accompanying drawings below.
1 is an exemplary system architecture to which an embodiment of the present invention is applicable.
2 is a flowchart of an embodiment of an information backup method according to the present invention.
3 is a schematic diagram of one application situation of the information backup method according to the present invention.
4 is a flowchart of another embodiment of an information backup method according to the present invention.
5 is a flowchart of one embodiment of a method for restoring information according to the present invention.
6 is a structural schematic diagram of an embodiment of an information backup apparatus according to the present invention.
7 is a structural schematic diagram of an electronic device for implementing an embodiment of the present invention

이하 첨부 도면 및 실시예를 참조하여 본 발명을 더욱 자세히 설명한다. 여기서 설명되는 구체적인 실시예는 관련 발명을 해석하기 위한 것일 뿐 본 발명은 이에 한정되지 않음을 이해할 수 있을 것이다. 이 밖에, 설명의 편의를 위해 도면에는 해당 발명과 관련된 부분만이 도시되었음을 유의해야 한다.Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings and examples. It will be understood that the specific embodiments described herein are only for interpreting related inventions and the invention is not limited thereto. In addition, it should be noted that only parts related to the corresponding invention are illustrated in the drawings for convenience of description.

모순되지 않는 한, 본 발명의 실시예 및 실시예의 특징은 서로 결합될 수 있음을 유의해야 한다. 이하 첨부 도면을 참조하고 실시예를 참조하여 본 발명을 상세히 설명하기로 한다.It should be noted that, unless contradictory, the embodiments and features of the embodiments may be combined with each other. Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and examples.

도 1은 본 발명의 실시예 적용 가능한 정보 백업 방법 또는 정보 백업 장치의 실시예의 예시적인 시스템 아키텍처(100)이다.1 is an exemplary system architecture 100 of an embodiment of an information backup method or information backup device applicable to an embodiment of the present invention.

도 1에 도시된 바와 같이, 시스템 아키텍처(100)에 메인 서버(101), 서브 서버(102, 103, 104, 105), 메인 백업 서버(106), 서브 백업 서버(107) 및 네트워크(108, 109, 110)가 포함될 수 있다. 네트워크(108, 109, 110)는 메인 서버(101), 서브 서버(102, 103, 104, 105), 메인 백업 서버(106) 및 서브 백업 서버(107) 사이에서 통신 링크의 매개물을 제공한다. 메인 백업 서버(106)는 메인 서버(101)와 직접 통신할 수도 있다. 네트워크(108, 109, 110)는 예를 들어, 유선, 무선 통신 링크 또는 광섬유 케이블 등 다양한 연결 타입을 포함할 수 있다.As shown in FIG. 1, the system architecture 100 includes a main server 101, sub servers 102, 103, 104, and 105, a main backup server 106, a sub backup server 107, and a network 108, 109, 110). Networks 108, 109, and 110 provide a medium of communication links between main server 101, sub servers 102, 103, 104, and 105, main backup server 106, and sub backup server 107. The main backup server 106 may communicate directly with the main server 101. The networks 108, 109, 110 may include various connection types, such as, for example, wired, wireless communication links or fiber optic cables.

메인 서버(101)와 서브 서버(102, 103, 104, 105)는 적어도 하나의 계층급의 정보 시스템을 구성한다. 메인 서버(101)는 전체 정보 시스템의 데이터 관리를 담당하고, 정보 시스템 상의 모든 데이터 정보는 모두 메인 서버(101)에 기록될 수 있다. 서브 서버(102, 103, 104, 105) 중의 각각의 서브 서버는 대응되는 데이터 처리를 각각 담당하고, 서브 서버 상의 데이터 정보를 메인 서버(101)에 전송한다. 메인 백업 서버(106)는 제1 시간 주기 간격으로 메인 서버(101)에 의해 백업된 메타 정보를 저장할 수 있다. 메인 백업 서버(106)는 구글 파일 시스템(Google file system, GFS), 향상된 파일 시스템(advanced file system, AFS), Linux 클러스터 병행 파일 시스템 등일 수 있다. 서브 백업 서버(107)는 제2 시간 주기 간격으로 서브 서버(102, 103, 104, 105) 상의 메타 정보를 저장할 수 있다. 서브 백업 서버(107)는 상기 GFS, AFS, Linux 클러스터 병행 파일 시스템일 수 있고, 기타 다른 타입의 저장 기기일 수도 있으며, 여기서 구체적으로 한정하지 않는다. 일반적으로, 제1 시간 주기는 제2 시간 주기보다 크다. 메타 정보는 정보에 관한 정보, 정보를 설명하기 위한 구조, 어의(semantic), 용도 및 용법 등이다. 각각의 데이터는 모두 대응되는 메타 정보를 갖는다. 메타 정보의 데이터 양은 일반적으로 대응되는 정보의 데이터 양보다 작다. 또한, 일단 정보 손실 상황이 발생되면, 메타 정보를 통해 복원할 수 있다.The main server 101 and the sub servers 102, 103, 104, and 105 constitute at least one hierarchical information system. The main server 101 is responsible for data management of the entire information system, and all data information on the information system can be recorded on the main server 101. Each of the sub-servers 102, 103, 104, and 105 is responsible for processing corresponding data, and transmits data information on the sub-server to the main server 101. The main backup server 106 may store meta information backed up by the main server 101 at intervals of a first time period. The main backup server 106 may be a Google file system (GFS), an advanced file system (AFS), a Linux cluster parallel file system, or the like. The sub-backup server 107 may store meta information on the sub-servers 102, 103, 104, and 105 at a second time period interval. The sub-backup server 107 may be the GFS, AFS, Linux cluster parallel file system, or other types of storage devices, and is not specifically limited herein. Generally, the first time period is greater than the second time period. Meta information is information related to information, a structure for explaining information, semantics, uses, and usages. Each data has corresponding meta information. The data amount of meta information is generally smaller than the data amount of corresponding information. In addition, once an information loss situation occurs, it can be restored through meta information.

서브 서버(102, 103, 104, 105) 중의 각각의 서브 서버는 일정한 영역 내의 단말 기기 또는 다른 서브 서버와 데이터 통신을 진행하여 관련되는 데이터 처리를 진행할 수 있다. 서브 서버(102, 103, 104, 105)에는 다양한 데이터 처리 애플리케이션이 설치될 수 있다. 예를 들어, 웹 브라우저 애플리케이션, 구매 유형의 애플리케이션, 검색 유형의 애플리케이션, 인스턴트 메시징 툴, 이메일 클라이언트, 소셜 플랫폼 소프트웨어 등이 설치될 수 있다.Each of the sub-servers of the sub-servers 102, 103, 104, and 105 may perform data communication with terminal devices or other sub-servers within a certain area to perform related data processing. Various data processing applications may be installed on the sub servers 102, 103, 104, and 105. For example, a web browser application, a purchase type application, a search type application, an instant messaging tool, an email client, social platform software, and the like can be installed.

서브 서버(102, 103, 104, 105)는 하드웨어일 수 있고, 소프트웨어일 수도 있다. 서브 서버(102, 103, 104, 105)가 하드웨어일 경우, 디스플레이 스크린을 구비하고 데이터 처리를 지원하는 다양한 전자 기기일 수 있는바, 태블릿 PC, 랩톱 휴대용 컴퓨터 및 데스크톱 컴퓨터 등을 포함할 수 있으나 이에 한정되지 않는다. 서브 서버(102, 103, 104, 105)가 소프트웨어일 경우 상기와 같이 나열된 전자 기기에 장착될 수 있다. 이는 복수의 소프트웨어 또는 소프트웨어 모듈로 구현되거나(예를 들어, 분산식 서비스를 제공하기 위함), 단일 소프트웨어 또는 소프트웨어 모듈로 구현될 수 있으며 여기서 구체적으로 한정하지 않는다.The sub servers 102, 103, 104, and 105 may be hardware or software. When the sub-servers 102, 103, 104, and 105 are hardware, it may be a variety of electronic devices having a display screen and supporting data processing, but may include a tablet PC, a laptop portable computer, and a desktop computer. It is not limited. When the sub-servers 102, 103, 104, and 105 are software, they may be mounted on the electronic devices listed as above. It may be implemented as a plurality of software or software modules (for example, to provide a distributed service), or may be implemented as a single software or software module, and is not specifically limited herein.

메인 서버(101)는 다양한 서비스를 제공하는 서버일 수 있다. 예를 들어, 서브 서버(102, 103, 104, 105) 상의 데이터를 관리하고, 서브 서버(102, 103, 104, 105)에 관련 제어 명령어를 전송한다. 메인 서버(101)는 서브 서버(102, 103, 104, 105)에 메타 정보 획득 명령어를 전송하여 각각의 서브 서버가 서브 서버 상의 데이터의 메타 정보를 업로드하도록 지시할 수도 있다. 다음, 메인 서버(101)는 획득한 메타 정보를 메인 백업 서버(106)에 저장할 수 있다.The main server 101 may be a server that provides various services. For example, it manages data on the sub-servers 102, 103, 104, and 105, and sends related control commands to the sub-servers 102, 103, 104, and 105. The main server 101 may transmit meta information acquisition commands to the sub servers 102, 103, 104, and 105 to instruct each sub server to upload meta information of data on the sub server. Next, the main server 101 may store the acquired meta information in the main backup server 106.

본 발명의 실시예에 의해 제공되는 정보 백업 방법은 일반적으로 메인 서버(101)에 의해 수행되고, 이에 따라, 정보 백업 장치는 일반적으로 메인 서버(101)에 설치된다.The information backup method provided by the embodiment of the present invention is generally performed by the main server 101, and accordingly, the information backup device is generally installed in the main server 101.

메인 서버(101), 서브 서버(102, 103, 104, 105)는 하드웨어 또는 소프트웨어일 수 있다. 메인 서버(101), 서브 서버(102, 103, 104, 105)가 하드웨어일 경우, 복수의 서버로 구성된 분산식 서버 클러스터로 구현되거나 단일 서버로 구현될 수 있다. 상기 메인 서버(101), 서브 서버(102, 103, 104, 105)가 소프트웨어일 경우, 복수의 소프트웨어 또는 소프트웨어 모듈로 구현되거나(예를 들어, 분산식 서비스를 제공하기 위함), 단일 소프트웨어 또는 소프트웨어 모듈로 구현될 수 있으며 여기서 구체적으로 한정하지 않는다.The main server 101 and the sub servers 102, 103, 104, and 105 may be hardware or software. When the main server 101 and the sub servers 102, 103, 104, and 105 are hardware, they may be implemented as a distributed server cluster composed of a plurality of servers or as a single server. When the main server 101 and the sub-servers 102, 103, 104, and 105 are software, they are implemented as a plurality of software or software modules (for example, to provide a distributed service), or a single software or software It may be implemented as a module and is not specifically limited here.

도 1의 메인 서버, 서브 서버, 메인 백업 서버, 서브 백업 서버 및 네트워크의 개수는 단지 예시적인 것일 뿐 구현 필요에 따라 임의의 개수의 메인 서버, 서브 서버, 메인 백업 서버, 서브 백업 서버 및 네트워크가 구비될 수도 있음을 이해하여야 한다.The number of main servers, sub-servers, main backup servers, sub-backup servers, and networks in FIG. 1 is merely exemplary, and any number of main servers, sub-servers, main backup servers, sub-backup servers, and networks may be used as needed It should be understood that it may be provided.

이어서 도 2를 참조하면, 본 발명에 따른 정보 백업 방법의 일 실시예의 흐름(200)을 도시한다. 상기 정보 백업 방법은 하기와 같은 단계를 포함한다.2, a flow 200 of an embodiment of an information backup method according to the present invention is shown. The information backup method includes the following steps.

단계201에서, 제1 시간 주기 간격으로 정보 시스템의 메타 정보 기록표를 획득한다. In step 201, a meta information record table of an information system is acquired at intervals of a first time period.

본 실시예에서, 정보 백업 방법의 수행주체(예를 들어, 도 1에 도시된 메인 서버(101))는 유선 연결 방식 또는 무선 연결 방식을 통해 메타 정보 기록표를 획득할 수 있다. 여기서, 메타 정보 기록표는 본 실시예의 수행주체 내에 저장될 수 있고, 메타 정보 서버 또는 다른 서버에 저장될 수도 있다. 상기 무선 연결 방식은 3G/4G 연결, WiFi 연결, 블루투스 연결, WiMAX 연결, Zigbee 연결, UWB(ultra wideband) 연결, 및 다른 현재 공지되어 있거나 미래에 개발될 무선 연결 방식을 포함할 수 있으나 이에 한정되지 않음을 유의해야 한다.In this embodiment, the subject of the information backup method (for example, the main server 101 shown in FIG. 1) may acquire a meta information record table through a wired connection method or a wireless connection method. Here, the meta information record table may be stored in the execution subject of the present embodiment, or may be stored in a meta information server or another server. The wireless connection method may include, but is not limited to, 3G/4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other currently known or future wireless connection methods. It should be noted that it is not.

기존의 정보 시스템이 데이터를 백업하는 방법은 일반적으로 2가지 방법을 포함하는바, 그중 방법 1은, 매일 정보 시스템 내의 데이터를 미러백업하는 것이고, 방법 2는, 설정된 시간 주기에 따라 데이터를 미러백업하고, 설정된 시간 주기 내에, 매일 새로 증가된 데이터를 백업하는 것이다. 그러나, 방법 1은 컴퓨팅 리소스 및 저장 공간을 상당히 많이 소모하고, 방법 2는 비록 방법 1에 비해 상대적으로 적은 컴퓨팅 리소스를 소모하나 새로 증가된 데이터를 백업할 시 정보 시스템을 전체적으로 스캔해야 함으로 인해, 이미 백업된 데이터에 있어서 대량의 중복 동작을 진행하여야 하므로 정보 시스템의 온라인 서비스에 영향을 주게 된다. 따라서, 기존의 방법은 데이터를 백업하는 효율이 낮은 문제점을 갖고 있다.The method by which an existing information system backs up data generally includes two methods. Among them, method 1 is a mirror backup of data in the information system every day, and method 2 is a mirror backup of data according to a set time period. And, within the set time period, it is to back up the newly increased data every day. However, Method 1 consumes considerably more computing resources and storage space, and Method 2 consumes relatively less computing resources than Method 1, but due to the need to scan the information system as a whole when backing up newly increased data, Since a large amount of redundant operations must be performed on the backed up data, it affects the online service of the information system. Therefore, the existing method has a problem of low efficiency of backing up data.

본 발명의 수행주체는 제1 시간 주기 간격으로 메타 정보 서버 또는 다른 기기에 요청을 전송하여 메타 정보 기록표를 획득할 수 있다. 메타 정보 기록표에는 일반적으로 정보 시스템 내 적어도 하나의 노드(예를 들어, 서브 서버(102, 103, 104, 105))에 저장된 메타 정보의 명칭 정보가 기록되어 있다. 실제로, 수행주체에서의 데이터 양이 상당히 많고, 매 번 데이터를 백업하는 시간이 비교적 길다. 일반적으로, 제1 시간 주기는 2주, 1개 월 또는 2개 월 등일 수 있다.The subject of the present invention may obtain a meta information record table by sending a request to a meta information server or another device at a first time period interval. In the meta information record table, name information of meta information stored in at least one node (for example, sub servers 102, 103, 104, and 105) in an information system is recorded. Actually, the amount of data from the performer is quite large, and the time to back up the data each time is relatively long. Generally, the first time period may be two weeks, one month, or two months.

단계202에서, 상기 메타 정보 기록표에 따라 상기 적어도 하나의 노드 중의 노드에 제1 메타 정보 획득 명령어를 전송한다. In step 202, a first meta information acquisition command is transmitted to a node among the at least one node according to the meta information record table.

노드 상의 데이터는 대응되는 메타 정보를 갖고, 메타 정보는 현재 노드의 상이한 데이터 영역에 분포될 수 있다. 수행주체는 메타 정보 기록표를 통해 각각의 노드 상의 메타 정보의 명칭 정보를 조회하고, 명칭 정보에 따라 각각의 노드에 제1 메타 정보 획득 명령어를 전송할 수 있다. 여기서, 상기 제1 메타 정보 획득 명령어는 대응되는 노드 상의 메타 정보를 획득하도록 지시할 수 있다.Data on the node has corresponding meta information, and the meta information can be distributed in different data areas of the current node. The performer may query the name information of the meta information on each node through the meta information record table, and transmit the first meta information acquisition command to each node according to the name information. Here, the first meta information acquisition command may instruct to acquire meta information on a corresponding node.

본 실시예의 일부 선택 가능한 실시형태에서, 상기 메타 정보 기록표에 따라 상기 적어도 하나의 노드 중의 노드에 제1 메타 정보 획득 명령어를 전송하는 단계는 하기와 같은 단계를 포함할 수 있다.In some selectable embodiments of this embodiment, the step of transmitting a first meta information acquisition command to a node among the at least one node according to the meta information record table may include the following steps.

첫 번째 단계에서, 상기 메타 정보 기록표에 따라 메타 정보의 제1 분포 정보를 결정한다. In the first step, the first distribution information of meta information is determined according to the meta information record table.

수행주체는 메타 정보 기록표 중 메타 정보의 명칭 정보를 조회하여 각각의 노드 상에서의 메타 정보의 분포를 결정함으로써, 제1 분포 정보를 획득할 수 있다. 즉, 제1 분포 정보는 메타 정보의 명칭 정보 및 메타 정보가 위치하는 노드를 포함할 수 있다.The performer can obtain the first distribution information by determining the distribution of meta information on each node by querying the name information of the meta information in the meta information record table. That is, the first distribution information may include name information of meta information and a node where the meta information is located.

두 번째 단계에서, 상기 적어도 하나의 노드 중의 노드에 대해, 상기 제1 분포 정보에 따라 상기 노드에 대응되는 제1 메타 정보 획득 명령어를 생성한다. In a second step, for a node among the at least one node, a first meta information acquisition command corresponding to the node is generated according to the first distribution information.

제1 분포 정보를 획득한 후, 수행주체는, 대응되는 노드가 제1 메타 정보 획득 명령어를 수신할 수 있도록, 각각의 노드 상의 메타 정보의 명칭 정보에 따라 제1 메타 정보 획득 명령어를 생성하한 후, 제1 메타 정보 획득 명령어에 따라 대응되는 메타 정보를 획득할 수 있다.After acquiring the first distribution information, the performer generates the first meta information acquisition command according to the name information of the meta information on each node so that the corresponding node can receive the first meta information acquisition command. , The corresponding meta information may be obtained according to the first meta information acquisition command.

단계203에서, 상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제1 메타 정보 획득 명령어에 대응되는 적어도 하나의 제1 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제1 피드백 정보를 제1 저장 영역에 저장한다. In step 203, in response to receiving at least one first feedback information corresponding to the first meta information acquisition command transmitted by a node among the at least one node, the at least one first feedback information is removed. 1 Save in the storage area.

노드는 제1 메타 정보 획득 명령어를 수신한 후, 제1 메타 정보 획득 명령어에 따라 메타 정보를 획득하고, 메타 정보를 제1 피드백 정보로 패키징할 수 있다. 다음, 제1 피드백 정보를 수행주체에 전송한다. 수행주체가 노드에 의해 전송된, 제1 메타 정보 획득 명령어에 대응되는 적어도 하나의 제1 피드백 정보를 수신한 후, 수행주체는 제1 피드백 정보를 제1 저장 영역(예를 들어, 메인 백업 서버(106)일 수 있음)에 저장할 수 있다. 여기서, 제1 피드백 정보는 대응되는 노드 상의, 상기 제1 메타 정보 획득 명령어가 지시하는 메타 정보를 포함할 수 있다. 예를 들어, 본 실시예는 메타 정보를 백업하여 데이터를 백업함으로써, 백업되는 데이터 양을 감소시키고, 데이터를 백업하는 효율 및 안정성을 향상시킨다.After receiving the first meta information acquisition command, the node may acquire meta information according to the first meta information acquisition command, and package the meta information as first feedback information. Next, the first feedback information is transmitted to the performer. After the performance agent receives at least one first feedback information corresponding to the first meta information acquisition command transmitted by the node, the performance agent receives the first feedback information in the first storage area (for example, the main backup server (106)). Here, the first feedback information may include meta information indicated by the first meta information acquisition command on the corresponding node. For example, this embodiment backs up data by backing up meta information, thereby reducing the amount of backed up data and improving the efficiency and stability of backing up data.

이어서 도 3을 참조하면, 도 3은 본 실시예에 따른 정보 백업 방법의 응용 상황의 하나의 개략도이다. 도 3의 응용 상황에서, 정보 시스템은 메인 서버(101), 서브 서버102, 메인 백업 서버(106) 및 네트워크(108)를 포함한다. 메인 서버(101)는 정보 시스템의 메타 정보를 백업할 경우, 제1 시간 주기 간격으로 정보 시스템의 메타 정보 기록표를 획득하고, 다음, 메타 정보 기록표에 따라 서브 서버(102)에 제1 메타 정보 획득 명령어를 전송하며, 마지막으로, 획득한 제1 피드백 정보를 메인 백업 서버(106)에 저장할 수 있다.Next, referring to FIG. 3, FIG. 3 is a schematic diagram of an application situation of the information backup method according to the present embodiment. In the application situation of Figure 3, the information system includes a main server 101, a sub-server 102, a main backup server 106 and a network 108. When the main server 101 backs up the meta information of the information system, it acquires the meta information record table of the information system at a first time interval, and then acquires the first meta information to the sub server 102 according to the meta information record table. The command is transmitted, and finally, the obtained first feedback information may be stored in the main backup server 106.

본 발명의 상기 실시예에 의해 제공되는 방법은, 우선, 제1 시간 주기 간격으로 정보 시스템의 정보 기록표를 획득하되, 여기서, 정보 기록표에는 정보 시스템 내 적어도 하나의 노드에 저장된 메타 정보의 명칭 정보가 기록되어 있다. 다음, 정보 기록표에 따라 적어도 하나의 노드 중의 노드에 제1 메타 정보 획득 명령어를 전송하며, 제1 메타 정보 획득 명령어는 대응되는 노드 상의 메타 정보를 획득하도록 지시하기 위한 것이다. 마지막으로, 제1 메타 정보 획득 명령어에 대응되는 제1 피드백 정보를 수신하고, 제1 피드백 정보를 제1 저장 영역에 저장한다. 본 기술적 해결수단은 메타 정보를 백업하여 데이터를 백업함으로써, 백업되는 데이터 양을 감소시키고, 데이터를 백업하는 효율 및 안정성을 향상시킨다.In the method provided by the above embodiment of the present invention, first, an information record table of an information system is obtained at intervals of a first time period, wherein the information record table includes name information of meta information stored in at least one node in the information system. It is recorded. Next, the first meta information acquisition command is transmitted to a node among at least one node according to the information record table, and the first meta information acquisition command is for instructing to acquire meta information on the corresponding node. Finally, the first feedback information corresponding to the first meta information acquisition command is received, and the first feedback information is stored in the first storage area. This technical solution backs up the data by backing up the meta information, thereby reducing the amount of backed up data and improving the efficiency and stability of backing up the data.

나아가 도 4를 참조하면, 이는 정보 백업 방법의 다른 실시예의 흐름(400)을 나타낸다. 상기 정보 백업 방법은 상기 도 2에 대응되는 실시예의 제1 시간 주기 내에 메타 정보를 저장하기 위한 것이고, 흐름도는 400을 참조할 수 있으며, 하기와 같은 단계들을 포함한다.Further referring to FIG. 4, this shows a flow 400 of another embodiment of an information backup method. The information backup method is for storing meta information within a first time period of the embodiment corresponding to FIG. 2, and the flowchart may refer to 400, and includes the following steps.

단계401에서, 제2 시간 주기 간격으로 메타 정보의 증분 정보를 획득한다. In step 401, incremental information of meta information is acquired at a second time period interval.

도 2에 대응되는 실시예에 기반하여, 본 실시예에서, 정보 백업 방법의 수행주체(예를 들어, 도 1에 도시된 메인 서버(101))는 제2 시간 주기 간격으로 메타 정보의 증분 정보를 획득할 수 있다. 여기서, 상기 증분 정보는 상기 제2 시간 주기 내에 변화된 메타 정보를 나타낼 수 있다.Based on the embodiment corresponding to FIG. 2, in this embodiment, the subject of the information backup method (for example, the main server 101 shown in FIG. 1) is incremental information of meta information at a second time period interval. Can be obtained. Here, the incremental information may indicate meta information changed within the second time period.

본 실시예의 일부 선택 가능한 실시형태에서, 상기 메타 정보 기록표는 시간 정보를 더 포함하고, 상기 시간 정보는 메타 정보가 노드 상에서의 저장 시간을 표시하며, 상기 제2 시간 주기 간격으로 메타 정보의 증분 정보를 획득하는 단계는, 상기 메타 정보 기록표를 획득하고, 상기 제2 시간 주기에 대응되는 시간 정보에 따라 상기 메타 정보 기록표 내의 메타 정보의 증분 정보를 결정하는 단계를 포함할 수 있다. In some selectable embodiments of this embodiment, the meta information record table further includes time information, wherein the time information indicates that the meta information is a storage time on a node, and incremental information of meta information at the second time period interval. The acquiring may include acquiring the meta information record table and determining incremental information of meta information in the meta information record table according to time information corresponding to the second time period.

메타 정보 기록표에는 메타 정보의 명칭 정보이 기록되고, 메타 정보가 노드 상에서의 저장 시간을 표시하는 시간 정보가 포함될 수도 있다. 수행주체는 제2 시간 주기에 대응되는 시간 정보를 조회함으로써, 메타 정보 기록표 중의 어느 메타 정보가 증분 정보인 지를 결정할 수 있다. 상기 설명으로부터 알 수 있는 바, 수행주체는 제1 시간 주기를 통해 정보 시스템 내의 모든 메타 정보를 백업한다. 일반적으로, 제1 시간 주기가 비교적 길고, 정보 시스템에서의 메타 정보도 끊임없이 변화되므로, 메타 정보 백업이 제때에 이루어지지 않는 상황이 종종 발생한다. 예를 들어, 제1 시간 주기가 1개 월이면, 수행주체는 매 달의 첫날에 정보 시스템에 데이터가 있을 시로부터 그 전 달의 모든 메타 정보를 백업하기 시작할 수 있다. 이는 이번 달의 첫날로부터 이번 달의 마지막 날까지 새로 나타난 메타 정보가 제때에 백업될 수 없음을 의미한다. 정보 시스템의 메타 정보가 손실되지 않도록 확보하기 위하여, 수행주체는 제2 시간 주기를 통해 증분 정보를 저장할 수도 있다. 일반적으로, 상기 제2 시간 주기는 상기 제1 시간 주기보다 작다. 제2 시간 주기는 1일, 2일 등일 수 있다.In the meta information record table, name information of meta information is recorded, and meta information may include time information indicating a storage time on a node. The performer can determine which meta information in the meta information record table is incremental information by querying time information corresponding to the second time period. As can be seen from the above description, the performer backs up all meta information in the information system through the first time period. In general, since the first time period is relatively long and meta information in the information system is constantly changing, a situation in which meta information backup is not performed in time often occurs. For example, if the first time period is one month, the performer may start backing up all meta information of the previous month from the time there is data in the information system on the first day of each month. This means that new meta information from the first day of this month to the last day of this month cannot be backed up in time. In order to ensure that the meta information of the information system is not lost, the performer may store the incremental information through the second time period. Generally, the second time period is smaller than the first time period. The second time period may be 1 day, 2 days, or the like.

단계402에서, 상기 증분 정보에 따라 메타 정보의 제2 분포 정보를 결정한다. In step 402, second distribution information of meta information is determined according to the incremental information.

상기 제1 분포 정보를 획득하는 과정과 유사하게, 수행주체는 증분 정보를 통해 메타 정보의 제2 분포 정보를 결정할 수 있다. 여기서, 상기 제2 분포 정보는 상기 증분 정보에 대응되는 메타 정보의 명칭 정보 및 메타 정보가 위치하는 노드를 포함할 수 있다.Similar to the process of acquiring the first distribution information, the performer can determine the second distribution information of meta information through the incremental information. Here, the second distribution information may include a node in which name information and meta information of meta information corresponding to the increment information are located.

단계403에서, 상기 적어도 하나의 노드 중의 노드에 대해, 상기 제2 분포 정보에 따라 상기 노드에 대응되는 제2 메타 정보 획득 명령어를 생성한다. In step 403, for a node among the at least one node, a second meta information acquisition command corresponding to the node is generated according to the second distribution information.

상기 제1 메타 정보 획득 명령어를 획득하는 과정과 유사하게, 수행주체는 제2 분포 정보에 따라 상기 노드에 대응되는 제2 메타 정보 획득 명령어를 생성할 수 있다. 여기서, 상기 제2 메타 정보 획득 명령어는 노드 상에서 상기 증분 정보에 대응되는 메타 정보를 획득하도록 지시할 수 있다.Similar to the process of acquiring the first meta-information acquiring command, the performer may generate a second meta-information acquiring command corresponding to the node according to the second distribution information. Here, the second meta information acquisition command may instruct the node to acquire meta information corresponding to the incremental information.

단계404에서, 상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제2 메타 정보 획득 명령어에 대응되는 적어도 하나의 제2 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제2 피드백 정보를 제2 저장 영역에 저장한다. In step 404, in response to receiving at least one second feedback information corresponding to the second meta information acquisition command transmitted by a node among the at least one node, the at least one second feedback information is removed. 2 Save in the storage area.

상기 제1 피드백 정보를 획득하는 과정과 유사하게, 수행주체는 획득된 제2 피드백 정보를 제2 저장 영역(예를 들어, 서브 백업 서버(107)일 수 있음)에 저장할 수도 있다. 여기서, 제2 피드백 정보는 대응되는 노드 상의, 상기 제2 메타 정보 획득 명령어가 지시하는 메타 정보를 포함할 수 있다. 예를 들어, 제1 시간 주기 내에 메타 정보를 백업할 수 있음으로써, 메타 정보를 백업하는 효율 및 안정성을 향상시킨다.Similar to the process of acquiring the first feedback information, the performer may store the obtained second feedback information in a second storage area (for example, the sub-backup server 107). Here, the second feedback information may include meta information indicated by the second meta information acquisition command on the corresponding node. For example, the meta information can be backed up within a first time period, thereby improving the efficiency and stability of backing up the meta information.

나아가 도 5를 참조하면, 정보를 복원하기 위한 방법의 일 실시예의 흐름(500)을 나타낸다. 메타 정보 손실에 응답하여, 상기 정보를 복원하기 위한 방법은 메타 정보를 복원하기 위한 것이고, 흐름도는 500과 같으며, 하기와 같은 단계를 포함한다.Furthermore, referring to FIG. 5, a flow 500 of one embodiment of a method for restoring information is shown. In response to the loss of meta information, the method for restoring the information is for restoring meta information, the flow chart is as 500, and includes the following steps.

단계501에서, 손실된 메타 정보의 데이터 양이 설정된 임계값보다 작고, 또한 손실된 메타 정보에 대응되는 제1 기억 정보가 존재하는 것에 응답하여, 상기 제1 기억 정보를 통해 상기 손실된 메타 정보를 복원하고, 그렇지 않을 경우, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원한다. In step 501, in response to the presence of the first storage information corresponding to the lost meta information, the data amount of the lost meta information is smaller than the preset threshold, and the lost meta information is transmitted through the first storage information. If not, otherwise, the lost meta information is retrieved and restored in the second storage area through the name information of the lost meta information.

메타 정보는 소량으로 손실될 수 있다. 손실된 메타 정보의 데이터 양이 설정된 임계값보다 작고, 수행주체가 손실된 메타 정보에 대응되는 제1 기억 정보를 검색해 낼 수 있을 경우, 수행주체는 상기 제1 기억 정보를 통해 상기 손실된 메타 정보를 복원할 수 있다. 제1 기억 정보는 일반적으로 손실된 메타 정보의 최신 상태를 기록하고, 제1 기억 정보를 통해 손실된 메타 정보의 최신 상태를 복원할 수 있다. 반대로, 손실된 메타 정보에 대응되는 제1 기억 정보를 검색해 내지 못할 경우, 수행주체는 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원할 수 있다. 상기 설명으로부터 알 수 있는 바, 제2 저장 영역 내에 저장된 메타 정보는 최근에 획득한 것이다. 따라서, 대응되는 제1 기억 정보를 검색해 내지 못할 경우, 제2 저장 영역 내에 저장된 메타 정보를 통해 손실된 메타 정보의 최근 상태를 복원할 수 있다. 여기서, 기억 정보는 상기 정보 시스템에 저장되어 있던 메타 정보를 기록할 수 있다. 기억 정보는 예를 들어 용장 데이터(redundant data), 자기 디스크 이력 데이터 등 정보일 수 있고, 상이한 저장 매체 또는 저장 방식에 따라, 기억 정보가 다른 타입의 정보일 수 있으며, 여기서 일일이 설명하지 않는다.Meta information can be lost in small amounts. When the amount of data of the lost meta information is smaller than a set threshold, and the performer can retrieve the first storage information corresponding to the lost meta information, the performer may perform the lost meta information through the first storage information. Can be restored. The first memory information generally records the latest state of the lost meta information, and may restore the latest state of the lost meta information through the first memory information. Conversely, when the first storage information corresponding to the lost meta information cannot be retrieved, the performer may search for and restore the lost meta information in the second storage area through the name information of the lost meta information. . As can be seen from the above description, the meta information stored in the second storage area is recently obtained. Accordingly, if it is impossible to retrieve the corresponding first storage information, the recent state of the lost meta information may be restored through the meta information stored in the second storage area. Here, the storage information can record meta information stored in the information system. The storage information may be, for example, redundant data, magnetic disk history data, or the like, and the storage information may be different types of information according to different storage media or storage methods.

본 실시예의 일부 선택 가능한 실시형태에서, 상기 제2 저장 영역에 상기 손실된 메타 정보가 존재하지 않는 것에 응답하여, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제1 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원한다. In some selectable embodiments of this embodiment, in response to the missing meta information not being present in the second storage area, the lost meta information in the first storage area through the name information of the lost meta information. Search for and restore.

제2 저장 영역에 상기 손실된 메타 정보가 존재하지 않으면, 제1 저장 영역에서만 검색을 진행할 수 있다. 상기 설명으로부터 알 수 있는 바, 제1 저장 영역 내의 메타 정보는 정보 시스템에 저장되었던 모든 메타 정보를 저장한다. 따라서, 수행주체는 제1 저장 영역 내의 메타 정보를 통해 손실된 메타 정보를 복원할 수 있다.If the lost meta information does not exist in the second storage area, the search can be performed only in the first storage area. As can be seen from the above description, meta information in the first storage area stores all meta information that has been stored in the information system. Therefore, the performer can restore the lost meta information through the meta information in the first storage area.

단계502에서, 손실된 메타 정보의 데이터 양이 상기 설정된 임계값보다 크거나 같은 것에 응답하여, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원한다. In step 502, in response to the data amount of the lost meta information being greater than or equal to the set threshold, the lost meta information is retrieved and restored from the second storage area through the name information of the lost meta information. .

메타 정보는 자기 디스크의 전체적 파손 등 원인으로 인해 비교적 큰 범위의 손실이 발생될 수 있고, 손실된 메타 정보의 데이터 양은 일반적으로 상기 설정된 임계값보다 크거나 같다. 이때, 수행주체는 직접 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원할 수 있으므로, 메타 정보의 복원 효율의 향상에 유리하다.Meta information may cause a relatively large range of loss due to causes such as total damage of the magnetic disk, and the data amount of the lost meta information is generally greater than or equal to the set threshold. At this time, since the performer can directly retrieve and restore the lost meta information in the second storage area through the name information of the lost meta information, it is advantageous in improving the recovery efficiency of meta information.

본 실시예의 일부 선택 가능한 실시형태에서, 손실된 메타 정보의 데이터 양이 상기 설정된 임계값보다 크거나 같고, 또한 상기 손실된 메타 정보가 상기 제1 저장 영역 및 제2 저장 영역에 저장되어 있지 않는 것에 응답하여, 상기 손실된 메타 정보에 대응되는 제2 기억 정보를 획득하고, 상기 제2 기억 정보를 통해 상기 손실된 메타 정보를 복원한다. In some selectable embodiments of this embodiment, the amount of data of the lost meta information is greater than or equal to the set threshold value, and the lost meta information is not stored in the first storage area and the second storage area. In response, second storage information corresponding to the lost meta information is acquired, and the lost meta information is restored through the second storage information.

일부 최신 메타 정보에 대해, 제1 저장 영역 및 제2 저장 영역은 이들에 대해 아직 백업을 진행하지 않았을 수 있다. 이때, 수행주체는 직접 상기 손실된 메타 정보에 대응되는 제2 기억 정보를 획득하고, 상기 제2 기억 정보를 통해 상기 손실된 메타 정보를 복원할 수 있다. 예를 들어, 메타 정보를 복원하는 효율을 향상시킴으로써, 메타 정보에 대응되는 정보를 복원하는 효율 및 신뢰성을 향상시킨다.For some up-to-date meta information, the first storage area and the second storage area may not have been backed up yet. At this time, the performer can directly acquire the second memory information corresponding to the lost meta information, and restore the lost meta information through the second memory information. For example, by improving the efficiency of restoring meta information, efficiency and reliability of restoring information corresponding to meta information are improved.

나아가 도 6을 참조하면, 상기 각 도면에 도시된 방법의 구현으로서, 본 발명은 정보 백업 장치의 일 실시예를 제공하고, 상기 장치 실시예는 도 2에 도시된 방법 실시예와 서로 대응되며, 상기 장치는 다양한 전자 기기에 적용될 수 있다.Further, referring to FIG. 6, as an implementation of the method illustrated in each of the drawings, the present invention provides an embodiment of an information backup device, and the device embodiment corresponds to the method embodiment shown in FIG. 2, The device can be applied to various electronic devices.

도 6에 도시된 바와 같이, 본 실시예의 정보 백업 장치(600)는, 메타 정보 기록표 획득 유닛(601), 제1 메타 정보 획득 명령어 전송 유닛(602) 및 메타 정보 백업 유닛(603)을 포함할 수 있다. 여기서, 메타 정보 기록표 획득 유닛(601)은, 제1 시간 주기 간격으로 정보 시스템의 메타 정보 기록표를 획득하고, 상기 메타 정보 기록표에는 정보 시스템 내 적어도 하나의 노드에 저장된 메타 정보의 명칭 정보가 기록되어 있다. 제1 메타 정보 획득 명령어 전송 유닛(602)은, 상기 메타 정보 기록표에 따라 상기 적어도 하나의 노드 중의 노드에 제1 메타 정보 획득 명령어를 전송하고, 상기 제1 메타 정보 획득 명령어는 대응되는 노드 상의 메타 정보를 획득하도록 지시하기 위한 것이다. 메타 정보 백업 유닛(603)은, 상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제1 메타 정보 획득 명령어에 대응되는 적어도 하나의 제1 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제1 피드백 정보를 제1 저장 영역에 저장하고, 여기서, 제1 피드백 정보는 대응되는 노드 상의, 상기 제1 메타 정보 획득 명령어가 지시하는 메타 정보를 포함한다. As shown in FIG. 6, the information backup device 600 of the present embodiment includes a meta information record table acquisition unit 601, a first meta information acquisition command transmission unit 602, and a meta information backup unit 603. Can. Here, the meta information record table acquiring unit 601 acquires the meta information record table of the information system at a first time interval, and the meta information record table records name information of meta information stored in at least one node in the information system. have. The first meta information acquisition command transmission unit 602 transmits a first meta information acquisition command to a node among the at least one node according to the meta information record table, and the first meta information acquisition command is meta on a corresponding node. It is to instruct to acquire information. The meta information backup unit 603, in response to receiving at least one first feedback information corresponding to the first meta information acquisition command, transmitted by a node among the at least one node, the at least one first The first feedback information is stored in the first storage area, where the first feedback information includes meta information indicated by the first meta information acquisition command on the corresponding node.

본 실시예의 일부 선택 가능한 실시형태에서, 상기 제1 메타 정보 획득 명령어 전송 유닛(602)은 제1 분포 정보 결정 서브 유닛(미도시) 및 제1 메타 정보 획득 명령어 생성 서브 유닛(미도시)을 포함할 수 있다. 제1 분포 정보 결정 서브 유닛은, 상기 메타 정보 기록표에 따라 메타 정보의 제1 분포 정보를 결정하고, 상기 제1 분포 정보는 메타 정보의 명칭 정보 및 메타 정보가 위치하는 노드를 포함한다. 제1 메타 정보 획득 명령어 생성 서브 유닛은, 상기 적어도 하나의 노드 중의 노드에 대해, 상기 제1 분포 정보에 따라 상기 노드에 대응되는 제1 메타 정보 획득 명령어를 생성한다. In some selectable embodiments of this embodiment, the first meta information acquisition command transmission unit 602 includes a first distribution information determination sub unit (not shown) and a first meta information acquisition command generation sub unit (not shown). can do. The first distribution information determination subunit determines first distribution information of meta information according to the meta information record table, and the first distribution information includes a node in which name information and meta information of meta information are located. The first meta information acquisition command generation sub-unit generates a first meta information acquisition command corresponding to the node according to the first distribution information, for a node among the at least one node.

본 실시예의 일부 선택 가능한 실시형태에서, 정보 백업 장치(600)는, 상기 제1 시간 주기 내에 메타 정보를 저장하는 메타 정보 저장 유닛(미도시)을 더 포함하고, 상기 메타 정보 저장 유닛은 증분 정보 획득 서브 유닛(미도시), 제2 분포 정보 결정 서브 유닛(미도시), 제2 메타 정보 획득 명령어 생성 서브 유닛(미도시) 및 메타 정보 저장 서브 유닛(미도시)을 포함할 수 있다. 여기서, 증분 정보 획득 서브 유닛은, 제2 시간 주기 간격으로 메타 정보의 증분 정보를 획득하고, 상기 증분 정보는 상기 제2 시간 주기 내에 변화된 메타 정보를 나타내며 상기 제2 시간 주기는 상기 제1 시간 주기보다 작다. 제2 분포 정보 결정 서브 유닛은, 상기 증분 정보에 따라 메타 정보의 제2 분포 정보를 결정하고, 상기 제2 분포 정보는 상기 증분 정보에 대응되는 메타 정보의 명칭 정보 및 메타 정보가 위치하는 노드를 포함한다. 제2 메타 정보 획득 명령어 생성 서브 유닛은, 상기 적어도 하나의 노드 중의 노드에 대해, 상기 제2 분포 정보에 따라 상기 노드에 대응되는 제2 메타 정보 획득 명령어를 생성하고, 상기 제2 메타 정보 획득 명령어는 노드 상에서 상기 증분 정보에 대응되는 메타 정보를 획득하도록 지시하기 위한 것이다. 메타 정보 저장 서브 유닛은, 상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제2 메타 정보 획득 명령어에 대응되는 적어도 하나의 제2 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제2 피드백 정보를 제2 저장 영역에 저장하고, 여기서, 제2 피드백 정보는 대응되는 노드 상의, 상기 제2 메타 정보 획득 명령어가 지시하는 메타 정보를 포함한다. In some selectable embodiments of this embodiment, the information backup device 600 further includes a meta information storage unit (not shown) that stores meta information within the first time period, and the meta information storage unit is incremental information. It may include an acquisition subunit (not shown), a second distribution information determination subunit (not shown), a second meta information acquisition command generation subunit (not shown), and a meta information storage subunit (not shown). Here, the incremental information acquiring sub-unit acquires incremental information of meta information at a second time period interval, and the incremental information represents meta information changed within the second time period, and the second time period is the first time period Smaller than The second distribution information determination sub-unit determines the second distribution information of meta information according to the incremental information, and the second distribution information is a node in which name information and meta information of meta information corresponding to the increment information are located. Includes. The second meta information acquisition command generation sub-unit generates a second meta information acquisition command corresponding to the node according to the second distribution information, for a node among the at least one node, and the second meta information acquisition command Is for instructing to acquire meta information corresponding to the incremental information on the node. The meta information storage sub-unit, in response to receiving at least one second feedback information corresponding to the second meta information acquisition command, transmitted by a node among the at least one node, the at least one second feedback. The information is stored in the second storage area, where the second feedback information includes meta information indicated by the second meta information acquisition command on the corresponding node.

본 실시예의 일부 선택 가능한 실시형태에서, 상기 메타 정보 기록표는 시간 정보를 더 포함할 수 있고, 상기 시간 정보는 메타 정보가 노드 상에서의 저장 시간을 표시한다. 상기 증분 정보 획득 서브 유닛은, 상기 메타 정보 기록표를 획득하고, 상기 제2 시간 주기에 대응되는 시간 정보에 따라 상기 메타 정보 기록표 내의 메타 정보의 증분 정보를 결정하는 증분 정보 결정 유닛(미도시)을 포함할 수 있다. In some selectable embodiments of this embodiment, the meta information record table may further include time information, wherein the time information indicates the storage time of the meta information on the node. The incremental information acquiring sub-unit acquires the meta information record table, and an incremental information determination unit (not shown) for determining incremental information of meta information in the meta information record table according to time information corresponding to the second time period. It can contain.

본 실시예의 일부 선택 가능한 실시형태에서, 정보 백업 장치(600)는, 메타 정보 손실에 응답하여, 메타 정보를 복원하는 메타 정보 복원 유닛(미도시)을 더 포함할 수 있고, 상기 메타 정보 복원 유닛은, 손실된 메타 정보의 데이터 양이 설정된 임계값보다 작고, 또한 손실된 메타 정보에 대응되는 제1 기억 정보가 존재하는 것에 응답하여, 상기 제1 기억 정보를 통해 상기 손실된 메타 정보를 복원하고, 그렇지 않을 경우, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 제1 메타 정보 복원 서브 유닛(미도시)을 포함할 있으며, 여기서, 기억 정보는 상기 정보 시스템에 저장되었던 메타 정보를 기록하기 위한 정보이다. In some selectable embodiments of the present embodiment, the information backup device 600 may further include a meta information restoration unit (not shown) that restores meta information in response to the loss of meta information, and the meta information restoration unit Recovers the lost meta information through the first storage information, in response to the data amount of the lost meta information being smaller than a set threshold, and the first storage information corresponding to the lost meta information being present, And, if not, a first meta-information restoration sub-unit (not shown) for retrieving and restoring the lost meta-information from the second storage area through the name information of the lost meta-information. The information is information for recording meta information stored in the information system.

본 실시예의 일부 선택 가능한 실시형태에서, 상기 메타 정보 복원 유닛은, 상기 제2 저장 영역에 상기 손실된 메타 정보가 존재하지 않는 것에 응답하여, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제1 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 제2 메타 정보 복원 서브 유닛(미도시)을 포함할 수 있다. In some selectable embodiments of this embodiment, the meta information recovery unit stores the first through the name information of the lost meta information in response to the missing meta information not being present in the second storage area. And a second meta information restoration sub-unit (not shown) for retrieving and restoring the lost meta information in an area.

본 실시예의 일부 선택 가능한 실시형태에서, 상기 메타 정보 복원 유닛은, 손실된 메타 정보의 데이터 양이 상기 설정된 임계값보다 크거나 같은 것에 응답하여, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 제3 메타 정보 복원 서브 유닛(미도시)을 포함할 수 있다. In some selectable embodiments of the present embodiment, the meta-information recovery unit, in response to the data amount of the lost meta-information being greater than or equal to the set threshold, the second through the name information of the lost meta-information. And a third meta information restoration sub-unit (not shown) for retrieving and restoring the lost meta information in a storage area.

본 실시예의 일부 선택 가능한 실시형태에서, 상기 메타 정보 복원 유닛은, 손실된 메타 정보의 데이터 양이 상기 설정된 임계값보다 크거나 같고, 또한 상기 손실된 메타 정보가 상기 제1 저장 영역 및 제2 저장 영역에 저장되어 있지 않는 것에 응답하여, 상기 손실된 메타 정보에 대응되는 제2 기억 정보를 획득하고, 상기 제2 기억 정보를 통해 상기 손실된 메타 정보를 복원하는 제4 메타 정보 복원 서브 유닛(미도시)을 포함할 수 있다. In some selectable embodiments of the present embodiment, the meta-information restoration unit has a data amount of the lost meta information greater than or equal to the set threshold, and the lost meta information is stored in the first storage area and the second storage. In response to not being stored in an area, a fourth meta information restoration subunit (not shown) that acquires second storage information corresponding to the lost meta information and restores the lost meta information through the second storage information City).

본 실시예는, 하나 또는 복수의 프로세서; 및 하나 또는 복수의 프로그램이 저장된 저장 장치를 포함하고, 상기 하나 또는 복수의 프로그램이 상기 하나 또는 복수의 프로세서에 의해 실행될 경우, 상기 하나 또는 복수의 프로세서가 상기 정보 백업 방법을 수행하도록 하는, 전자 기기를 더 제공한다. This embodiment includes one or more processors; And a storage device in which one or more programs are stored, and when the one or more programs are executed by the one or more processors, enable the one or more processors to perform the information backup method. Provides more.

본 실시예는 컴퓨터 프로그램이 저장된 컴퓨터 판독 가능 매체를 더 제공하고, 상기 프로그램은 프로세서에 의해 실행될 경우 상기 정보 백업 방법을 구현한다.This embodiment further provides a computer readable medium in which a computer program is stored, wherein the program implements the information backup method when executed by a processor.

이하 도 7을 참조하면, 본 발명의 실시예의 전자 기기(예를 들어, 도 1에서의 메인 서버(101))를 구현하기에 적합한 컴퓨터 시스템(700)의 구조 개략도이다. 도 7에 도시된 전자 기기는 단지 하나의 예시일 뿐, 본 발명의 실시예의 기능 및 사용 범위에 대해 어떠한 제한도 아니다.Referring to FIG. 7, a structural schematic diagram of a computer system 700 suitable for implementing an electronic device (for example, the main server 101 in FIG. 1) of the embodiment of the present invention. The electronic device shown in FIG. 7 is only one example, and is not limited in terms of functions and ranges of use in embodiments of the present invention.

도 7에 도시된 바와 같이, 전자 기기(700)는 판독 전용 메모리(ROM; 702)에 저장된 프로그램 또는 저장 장치(708)로부터 랜덤 액세스 메모리(RAM; 703)로 로딩된 프로그램에 따라 다양하고 적당한 동작 및 처리를 수행할 수 있는 처리 장치(예를 들어, 중앙 처리 장치, 그래픽 처리 장치 등)(701)를 포함할 수 있다. RAM(703)에는 또한 전자 기기(700)의 조작에 필요한 다양한 프로그램 및 데이터가 저장된다. 처리 장치(701), ROM(702) 및 RAM(703)은 버스(704)를 통해 서로 연결된다. 입력/출력(I/O) 인터페이스(705)도 버스(704)에 연결된다.As illustrated in FIG. 7, the electronic device 700 may perform various and appropriate operations according to programs stored in the read only memory (ROM) 702 or programs loaded from the storage device 708 to the random access memory (RAM) 703. And a processing device (for example, a central processing device, a graphics processing device, etc.) 701 capable of performing processing. The RAM 703 also stores various programs and data necessary for the operation of the electronic device 700. The processing device 701, ROM 702, and RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to the bus 704.

일반적으로, 예를 들어 터치 스크린, 터치 패드, 키보드, 마우스, 카메라, 마이크, 가속도계, 자이로 등을 포함하는 입력 장치(706); 예를 들어 액정 디스플레이(LCD), 스피커, 진동기 등을 포함하는 출력 장치(707); 예를 들어 자기 테이프, 하드 디스크 등을 포함하는 저장 장치(708); 및 통신 장치(709)는 I/O 인터페이스(705)에 연결될 수 있다. 통신 장치(709)는 전자 기기(700)가 다른 기기와 데이터를 교환하도록 무선 또는 유선 통신을 진행하도록 할 수 있다. 비록 도 7에서 다양한 장치를 구비하는 전자 기기(700)를 도시하였으나, 반드시 도시된 모든 장치를 구현 또는 구비해야 되는 것이 아님을 이해하여야 한다. 도 7에 도시된 각각의 블록은 하나의 장치를 나타낼 수 있고, 필요에 따라 복수의 장치를 나타낼 수도 있다.Generally, input devices 706 include, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyro, and the like; For example, an output device 707 including a liquid crystal display (LCD), a speaker, a vibrator, and the like; Storage devices 708, including, for example, magnetic tapes, hard disks, and the like; And the communication device 709 can be connected to the I/O interface 705. The communication device 709 may allow the electronic device 700 to perform wireless or wired communication to exchange data with other devices. Although FIG. 7 illustrates an electronic device 700 having various devices, it should be understood that not all devices shown are necessarily implemented or provided. Each block illustrated in FIG. 7 may represent one device, or may represent a plurality of devices as needed.

특히, 본 발명의 실시예에 따르면, 상기에서 흐름도를 참조하여 설명한 과정은 컴퓨터 소프트웨어 프로그램으로서 구현될 수 있다. 예를 들어, 본 발명의 실시예는 컴퓨터 판독 가능 매체에 적재된 컴퓨터 프로그램을 포함하는 컴퓨터 프로그램 제품을 포함하고, 상기 컴퓨터 프로그램은 흐름도에 도시된 방법을 수행하기 위한 프로그램 코드를 포함한다. 이러한 실시예에서, 상기 컴퓨터 프로그램은 통신 장치(709)를 통해 네트워크로부터 다운로드 및 설치될 수 있거나, 또는 저장 장치(708)로부터 설치될 수 있거나, ROM(702)로부터 설치될 수 있다. 상기 컴퓨터 프로그램이 처리 장치(701)에 의해 실행될 경우, 본 발명의 방법에 한정된 상기 기능들을 수행한다.In particular, according to an embodiment of the present invention, the process described with reference to the flowchart above may be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product comprising a computer program loaded on a computer readable medium, the computer program comprising program code for performing the method shown in the flowchart. In this embodiment, the computer program can be downloaded and installed from the network via a communication device 709, or can be installed from a storage device 708, or can be installed from a ROM 702. When the computer program is executed by the processing device 701, it performs the functions defined in the method of the present invention.

본 발명에 기재된 컴퓨터 판독 가능 매체는 컴퓨터 판독 가능 신호 매체 또는 컴퓨터 판독 가능 매체 또는 이 양자의 임의의 조합일 수 있음에 유의해야 한다. 컴퓨터 판독 가능 매체는, 예를 들어, 전자, 자기, 광학, 전자기, 적외선 또는 반도체 시스템, 장치 또는 소자, 또는 이들의 임의의 조합일 수 있으나, 이에 한정되지는 않는다. 컴퓨터 판독 가능 매체의 보다 구체적인 예는 하나 또는 복수의 와이어를 갖는 전기적 연결, 휴대용 컴퓨터 디스크, 하드 디스크, 랜덤 액세스 메모리(RAM), 판독 전용 메모리(ROM), 소거 가능 프로그램 가능 판독 전용 메모리(EPROM 또는 플래시 메모리), 광섬유, 휴대용 컴팩트 디스크 판독 전용 메모리(CD-ROM), 광학 저장 장치, 자기 저장 장치 또는 이들의 임의의 적당한 조합을 포함할 수 있으나, 이에 한정되지는 않는다. 본 발명에서, 컴퓨터 판독 가능 매체는 명령어 실행 시스템, 장치 또는 소자 또는 이들과 결합되어 사용될 수 있는 프로그램을 포함하거나 저장할 수 있는 임의의 유형 매체(tangible medium)일 수 있다. 본 발명에서, 컴퓨터 판독 가능 신호 매체는 컴퓨터 판독 가능 프로그램 코드를 적재하는 베이스 밴드 또는 캐리어의 일부로 전파되는 데이터 신호를 포함할 수 있다. 이러한 전파된 데이터 신호는 전자기 신호, 광학 신호, 또는 상기 임의의 적당한 조합을 포함할 수 있으나 이에 한정되지 않는 다양한 형태를 취할 수 있다. 컴퓨터 판독 가능 신호 매체는 또한 명령어 실행 시스템, 장치 또는 소자에 사용되거나 이와 결합하여 사용하기 위한 프로그램을 전송, 전파 또는 전송할 수 있는 컴퓨터 판독 가능 매체 이외의 임의의 컴퓨터 판독 가능 매체일 수 있다. 컴퓨터 판독 가능 매체에 포함된 프로그램 코드는 전기선, 광 케이블, RF(무선 주파수) 등, 또는 상기의 임의의 적당한 조합을 포함할 수 있으나 이에 한정되지 않는 임의의 적당한 매체에 의해 전송될 수 있다.It should be noted that the computer readable medium described in the present invention can be a computer readable signal medium or a computer readable medium or any combination of both. The computer-readable medium may be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination thereof. More specific examples of computer readable media include electrical connections with one or multiple wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or Flash memory), optical fiber, portable compact disc read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination thereof. In the present invention, the computer-readable medium can be any tangible medium that can contain or store a program that can be used in conjunction with an instruction execution system, device or device, or a combination thereof. In the present invention, the computer readable signal medium may include a data signal propagated as part of a base band or carrier carrying computer readable program code. The propagated data signal may take various forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination. The computer readable signal medium may also be any computer readable medium other than a computer readable medium capable of transmitting, propagating, or transmitting a program for use in or in combination with an instruction execution system, device, or element. The program code included in the computer-readable medium may be transmitted by any suitable medium including, but not limited to, electric cables, optical cables, radio frequency (RF), or any suitable combination of the above.

상기 컴퓨터 판독 가능 매체는 상기 전자 기기에 포함될 수 있고, 상기 전자 기기에 장착되지 않고 별도로 존재할 수도 있다. 상기 컴퓨터 판독 가능 매체에는 하나 또는 복수의 프로그램이 적재되고, 상기 하나 또는 복수의 프로그램이 상기 전자 기기에 의해 실행될 경우, 상기 전자 기기가 제1 시간 주기 간격으로 정보 시스템의 메타 정보 기록표를 획득하는 단계 - 상기 메타 정보 기록표에는 정보 시스템 내 적어도 하나의 노드에 저장된 메타 정보의 명칭 정보가 기록되어 있음 - ; 상기 메타 정보 기록표에 따라 상기 적어도 하나의 노드 중의 노드에 제1 메타 정보 획득 명령어를 전송하는 단계 - 상기 제1 메타 정보 획득 명령어는 대응되는 노드 상의 메타 정보를 획득하도록 지시하기 위한 것임 - ; 및 상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제1 메타 정보 획득 명령어에 대응되는 적어도 하나의 제1 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제1 피드백 정보를 제1 저장 영역에 저장하는 단계 - 제1 피드백 정보는 대응되는 노드에 저장된, 상기 제1 메타 정보 획득 명령어가 지시하는 메타 정보를 포함함 - ;를 수행하도록 한다. The computer-readable medium may be included in the electronic device, or may be separately installed without being mounted on the electronic device. When the computer-readable medium is loaded with one or more programs, and when the one or more programs are executed by the electronic device, the electronic device acquires a meta information record table of the information system at a first time period interval. -Name information of meta information stored in at least one node in the information system is recorded in the meta information record table; Transmitting a first meta information acquisition command to a node among the at least one node according to the meta information record table, wherein the first meta information acquisition command is for instructing to acquire meta information on a corresponding node; And in response to receiving at least one first feedback information corresponding to the first meta information acquisition command transmitted by a node among the at least one node, the at least one first feedback information in a first storage area. To the first step-the first feedback information is stored in a corresponding node, and includes the meta information indicated by the first meta information acquisition command-.

본 발명의 동작을 수행하기 위한 컴퓨터 프로그램 코드는 하나 또는 복수의 프로그래밍 언어, 또는 그들의 조합으로 작성될 수 있다. 상기 프로그래밍 언어는 Java, Smalltalk, C++를 비롯한 객체 지향 프로그래밍 언어와 "C" 언어 또는 유사한 프로그래밍 언어를 비롯한 기존 절차적 프로그래밍 언어를 포함한다. 프로그램 코드는 완전히 사용자의 컴퓨터에서 실행되거나, 부분적으로 사용자의 컴퓨터에서 실행되거나, 하나의 독립형 소프트웨어 패키지로서 실행되거나, 일부는 사용자의 컴퓨터에서 실행되고 일부는 원격 컴퓨터에서 실행되거나, 또는 전체적으로 원격 컴퓨터 또는 서버에서 실행될 수 있다. 원격 컴퓨터의 경우, 원격 컴퓨터는 구내 정보 통신망(LAN) 또는 광역 통신망(WAN)을 포함한 임의의 종류의 네트워크를 통해 사용자의 컴퓨터에 연결되거나 외부 컴퓨터에 연결될 수 있다(예를 들어, 인터넷 서비스 제공 업체를 이용하여 인터넷을 통해 연결됨).Computer program code for performing the operation of the present invention may be written in one or more programming languages, or a combination thereof. The programming languages include object-oriented programming languages including Java, Smalltalk, and C++ and existing procedural programming languages including "C" languages or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, or as a single standalone software package, some on the user's computer and some on the remote computer, or entirely on the remote computer or It can be run on the server. In the case of a remote computer, the remote computer may be connected to the user's computer or to an external computer through any type of network, including a local area network (LAN) or a wide area network (WAN) (for example, an Internet service provider) Connected via the internet).

도면의 흐름도 및 블록도는 본 발명의 다양한 실시예에 따른 시스템, 방법 및 컴퓨터 프로그램 제품의 가능한 구현의 아키텍처, 기능 및 동작을 도시한다. 이러한 방면에서, 흐름도 또는 블록도의 각 블록은 지정된 논리 기능을 구현하기 위한 하나 또는 복수의 실행 가능한 명령어를 포함하는 하나의 모듈, 프로그램 세그먼트 또는 코드의 일부를 나타낼 수 있다. 일부 대안적인 구현에서, 블록에 마크업된 기능은 또한 도면에 도시된 것과 다른 순서로 발생할 수 있음에 유의해야 한다. 예를 들어, 연속적으로 표현된 2개의 블록은 실제로 병행으로 실행될 수 있고, 관련 기능에 따라 역순으로 실행될 수도 있다. 또한, 블록도 및/또는 흐름도의 각 블록, 및 블록도 및/또는 흐름도에서 블록의 조합은 지정된 기능 또는 동작을 수행하는 전용 하드웨어 기반 시스템에서 구현될 수 있거나 전용 하드웨어와 컴퓨터 명령어를 조합하여 구현할 수도 있음에 유의해야 한다.The flowchart and block diagrams of the figures illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this respect, each block in the flowchart or block diagrams may represent a module, program segment, or portion of code that includes one or more executable instructions for implementing the specified logic function. It should be noted that in some alternative implementations, the functionality marked up on the block may also occur in a different order than what is shown in the figures. For example, two blocks represented in succession may actually be executed in parallel, or may be executed in reverse order according to related functions. Further, each block in the block diagram and/or flowchart, and a combination of blocks in the block diagram and/or flowchart may be implemented in a dedicated hardware-based system that performs a specified function or operation, or may be implemented by combining dedicated hardware and computer instructions. It should be noted that there is.

본 발명의 실시예들에 설명된 유닛들은 소프트웨어 또는 하드웨어에 의해 구현될 수 있다. 설명된 유닛은 또한 프로세서, 예를 들어, 메타 정보 기록표 획득 유닛, 제1 메타 정보 획득 명령어 전송 유닛 및 메타 정보 백업 유닛을 포함하는 프로세서에 설치될 수도 있다. 여기서 이들 유닛의 명칭은 경우에 따라서는 유닛 자체로 한정되지 않으며, 예를 들어, 메타 정보 백업 유닛은 “메타 정보를 백업하는 유닛”으로 기술될 수도 있다. The units described in the embodiments of the present invention can be implemented by software or hardware. The described unit may also be installed in a processor, for example, a processor including a meta information record table acquisition unit, a first meta information acquisition command transmission unit, and a meta information backup unit. Here, the names of these units are not limited to the unit itself in some cases, and for example, the meta information backup unit may be described as a “unit for backing up meta information”.

상기 설명은 본 발명의 바람직한 실시예 및 적용된 기술의 원리에 대한 설명일 뿐이다. 본 발명이 속하는 기술분야의 통상의 기술자들은 본 발명에 언급된 본 발명의 범위는 상기 기술특징의 특정 조합에 따른 기술적 해결수단에 한정되지 않으며, 동시에 본 발명의 사상을 벗어나지 않으면서 상기 기술특징 또는 그 균등한 특징에 대해 임의로 조합하여 형성된 다른 기술적 해결수단, 예를 들어, 상기 특징과 본 발명에 개시된(단 이에 한정되지 않음) 유사한 기능을 구비하는 기술특징을 서로 교체하여 형성된 기술적 해결수단을 포함함을 이해하여야 한다.The above description is only a description of preferred embodiments of the present invention and principles of applied technology. Those skilled in the art to which the present invention pertains are not limited to the technical solutions according to the specific combination of the technical features mentioned in the present invention, and at the same time, the technical features or without departing from the spirit of the invention. Other technical solutions formed by arbitrarily combining the equivalent features, for example, the technical features formed by replacing each other with technical features having similar functions disclosed in the present invention (but not limited thereto) It should be understood.

Claims (18)

정보 백업 방법으로서,
제1 시간 주기 간격으로 정보 시스템의 메타 정보 기록표를 획득하는 단계 - 상기 메타 정보 기록표에는 정보 시스템 내 적어도 하나의 노드에 저장된 메타 정보의 명칭 정보가 기록되어 있음 - ;
상기 메타 정보 기록표에 따라 상기 적어도 하나의 노드 중의 노드에 제1 메타 정보 획득 명령어를 전송하는 단계 - 상기 제1 메타 정보 획득 명령어는 대응되는 노드에 저장된 메타 정보를 획득하도록 지시하기 위한 것임 - ; 및
상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제1 메타 정보 획득 명령어에 대응되는 적어도 하나의 제1 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제1 피드백 정보를 제1 저장 영역에 저장하는 단계 - 제1 피드백 정보는 대응되는 노드에 저장된, 상기 제1 메타 정보 획득 명령어가 지시하는 메타 정보를 포함함 - ;를 포함하는 정보 백업 방법.
As a method of backing up information,
Obtaining a meta information record table of the information system at intervals of a first time period-in the meta information record table, name information of meta information stored in at least one node in the information system is recorded;
Transmitting a first meta information acquisition command to a node among the at least one node according to the meta information record table, wherein the first meta information acquisition command is for instructing to acquire meta information stored in a corresponding node; And
In response to receiving at least one first feedback information corresponding to the first meta information acquisition command transmitted by a node among the at least one node, the at least one first feedback information is transmitted to a first storage area. Storing step-the first feedback information is stored in a corresponding node, and includes meta information indicated by the first meta information acquisition command-;
제1항에 있어서,
상기 메타 정보 기록표에 따라 상기 적어도 하나의 노드 중의 노드에 제1 메타 정보 획득 명령어를 전송하는 단계는,
상기 메타 정보 기록표에 따라 메타 정보의 제1 분포 정보를 결정하는 단계 - 상기 제1 분포 정보는 메타 정보의 명칭 정보 및 메타 정보가 위치하는 노드를 포함함 - ; 및
상기 적어도 하나의 노드 중의 노드에 대해, 상기 제1 분포 정보에 따라 상기 노드에 대응되는 제1 메타 정보 획득 명령어를 생성하는 단계를 포함하는 정보 백업 방법.
According to claim 1,
Transmitting a first meta information acquisition command to a node in the at least one node according to the meta information record table,
Determining first distribution information of meta information according to the meta information record table, wherein the first distribution information includes name information of meta information and a node in which meta information is located; And
And generating a first meta information acquisition command corresponding to the node according to the first distribution information, for a node among the at least one node.
제1항에 있어서,
상기 정보 백업 방법은,
상기 제1 시간 주기 내에 메타 정보를 저장하는 단계를 더 포함하고,
상기 제1 시간 주기 내에 메타 정보를 저장하는 단계는,
제2 시간 주기 간격으로 메타 정보의 증분 정보를 획득하는 단계 - 상기 증분 정보는 상기 제2 시간 주기 내에 변화된 메타 정보를 나타내고, 상기 제2 시간 주기는 상기 제1 시간 주기보다 작음 - ;
상기 증분 정보에 따라 메타 정보의 제2 분포 정보를 결정하는 단계 - 상기 제2 분포 정보는 상기 증분 정보에 대응되는 메타 정보의 명칭 정보 및 메타 정보가 위치하는 노드를 포함함 - ;
상기 적어도 하나의 노드 중의 노드에 대해, 상기 제2 분포 정보에 따라 상기 노드에 대응되는 제2 메타 정보 획득 명령어를 생성하는 단계 - 상기 제2 메타 정보 획득 명령어는 노드 상에서 상기 증분 정보에 대응되는 메타 정보를 획득하도록 지시하기 위한 것임 - ; 및
상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제2 메타 정보 획득 명령어에 대응되는 적어도 하나의 제2 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제2 피드백 정보를 제2 저장 영역에 저장하는 단계 - 제2 피드백 정보는 대응되는 노드에 저장된, 상기 제2 메타 정보 획득 명령어가 지시하는 메타 정보를 포함함 - ;를 포함하는 정보 백업 방법.
According to claim 1,
The information backup method,
And storing meta information within the first time period.
The step of storing meta information within the first time period may include:
Obtaining incremental information of meta information at second time period intervals, wherein the incremental information indicates meta information changed within the second time period, and the second time period is less than the first time period;
Determining second distribution information of meta information according to the incremental information, wherein the second distribution information includes a name information and a node in which meta information corresponding to the incremental information is located;
Generating a second meta information acquisition command corresponding to the node according to the second distribution information, for a node among the at least one node, wherein the second meta information acquisition command corresponds to the meta information on the node To instruct to acquire information-; And
In response to receiving at least one second feedback information corresponding to the second meta information acquisition command transmitted by a node among the at least one node, the at least one second feedback information is transmitted to a second storage area. Storing step-the second feedback information is stored in a corresponding node, and includes the meta information indicated by the second meta information obtaining command-;
제3항에 있어서,
상기 메타 정보 기록표는 시간 정보를 더 포함하고, 상기 시간 정보는 메타 정보가 노드 상에서의 저장 시간을 표시하며,
상기 제2 시간 주기 간격으로 메타 정보의 증분 정보를 획득하는 단계는,
상기 메타 정보 기록표를 획득하고, 상기 제2 시간 주기에 대응되는 시간 정보에 따라 상기 메타 정보 기록표 내의 메타 정보의 증분 정보를 결정하는 단계를 포함하는 정보 백업 방법.
According to claim 3,
The meta information record table further includes time information, and the time information indicates the time when the meta information is stored on the node.
The step of obtaining incremental information of meta information at the second time period interval is:
And acquiring the meta information record table and determining incremental information of meta information in the meta information record table according to time information corresponding to the second time period.
제3항에 있어서,
상기 정보 백업 방법은,
메타 정보 손실에 응답하여, 메타 정보를 복원하는 단계를 더 포함하고,
상기 메타 정보 손실에 응답하여, 메타 정보를 복원하는 단계는,
손실된 메타 정보의 데이터 양이 설정된 임계값보다 작고, 또한 손실된 메타 정보에 대응되는 제1 기억 정보가 존재하는 것에 응답하여, 상기 제1 기억 정보를 통해 상기 손실된 메타 정보를 복원하고, 그렇지 않을 경우, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 단계를 포함하며,
기억 정보는 상기 정보 시스템에 저장되었던 메타 정보를 기록하기 위한 것인 정보 백업 방법.
According to claim 3,
The information backup method,
In response to the loss of meta information, further comprising the step of restoring the meta information,
In response to the loss of the meta information, the step of restoring the meta information,
In response to the data amount of the lost meta information being smaller than a set threshold, and the first storage information corresponding to the lost meta information being present, restoring the lost meta information through the first storage information, otherwise Otherwise, searching for and restoring the lost meta information in the second storage area through the name information of the lost meta information,
The memory information is for recording meta information stored in the information system.
제5항에 있어서,
상기 메타 정보 손실에 응답하여, 메타 정보를 복원하는 단계는,
상기 제2 저장 영역에 상기 손실된 메타 정보가 존재하지 않는 것에 응답하여, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제1 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 단계를 포함하는 정보 백업 방법.
The method of claim 5,
In response to the loss of the meta information, the step of restoring the meta information,
And in response to the absence of the lost meta information in the second storage area, searching for and restoring the lost meta information in the first storage area through the name information of the lost meta information. Backup method.
제5항에 있어서,
상기 메타 정보 손실에 응답하여, 메타 정보를 복원하는 단계는,
손실된 메타 정보의 데이터 양이 상기 설정된 임계값보다 크거나 같은 것에 응답하여, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 단계를 포함하는 정보 백업 방법.
The method of claim 5,
In response to the loss of the meta information, the step of restoring the meta information,
And in response to the data amount of the lost meta information being greater than or equal to the set threshold, searching for and restoring the lost meta information in the second storage area through the name information of the lost meta information. How to back up your information.
제7항에 있어서,
상기 메타 정보 손실에 응답하여, 메타 정보를 복원하는 단계는,
손실된 메타 정보의 데이터 양이 상기 설정된 임계값보다 크거나 같고, 또한 상기 손실된 메타 정보가 상기 제1 저장 영역 및 제2 저장 영역에 저장되어 있지 않는 것에 응답하여, 상기 손실된 메타 정보에 대응되는 제2 기억 정보를 획득하고, 상기 제2 기억 정보를 통해 상기 손실된 메타 정보를 복원하는 단계를 포함하는 정보 백업 방법.
The method of claim 7,
In response to the loss of the meta information, the step of restoring the meta information,
In response to the amount of data of the lost meta information being greater than or equal to the set threshold, and the lost meta information not being stored in the first storage area and the second storage area, corresponding to the lost meta information And obtaining the second storage information, and restoring the lost meta information through the second storage information.
정보 백업 장치로서,
제1 시간 주기 간격으로 정보 시스템의 메타 정보 기록표를 획득하는 메타 정보 기록표 획득 유닛 - 상기 메타 정보 기록표에는 정보 시스템 내 적어도 하나의 노드에 저장된 메타 정보의 명칭 정보가 기록되어 있음 - ;
상기 메타 정보 기록표에 따라 상기 적어도 하나의 노드 중의 노드에 제1 메타 정보 획득 명령어를 전송하는 제1 메타 정보 획득 명령어 전송 유닛 - 상기 제1 메타 정보 획득 명령어는 대응되는 노드 상의 메타 정보를 획득하도록 지시하기 위한 것임 - ; 및
상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제1 메타 정보 획득 명령어에 대응되는 적어도 하나의 제1 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제1 피드백 정보를 제1 저장 영역에 저장하는 메타 정보 백업 유닛 - 제1 피드백 정보는 대응되는 노드에 저장된, 상기 제1 메타 정보 획득 명령어가 지시하는 메타 정보를 포함함 - ;을 포함하는 정보 백업 장치.
As an information backup device,
A meta information record table acquiring unit for acquiring the meta information record table of the information system at a first time period interval, wherein the name information of meta information stored in at least one node in the information system is recorded in the meta information record table;
A first meta information acquisition command transmission unit that transmits a first meta information acquisition command to a node among the at least one node according to the meta information record table, wherein the first meta information acquisition command instructs to acquire meta information on a corresponding node To do -; And
In response to receiving at least one first feedback information corresponding to the first meta information acquisition command transmitted by a node among the at least one node, the at least one first feedback information is transmitted to a first storage area. A meta-information backup unit to store, wherein the first feedback information includes meta-information indicated by the first meta-information acquisition command, stored in a corresponding node.
제9항에 있어서,
상기 제1 메타 정보 획득 명령어 전송 유닛은,
상기 메타 정보 기록표에 따라 메타 정보의 제1 분포 정보를 결정하는 제1 분포 정보 결정 서브 유닛 - 상기 제1 분포 정보는 메타 정보의 명칭 정보 및 메타 정보가 위치하는 노드를 포함함 - ; 및
상기 적어도 하나의 노드 중의 노드에 대해, 상기 제1 분포 정보에 따라 상기 노드에 대응되는 제1 메타 정보 획득 명령어를 생성하는 제1 메타 정보 획득 명령어 생성 서브 유닛을 포함하는 정보 백업 장치.
The method of claim 9,
The first meta information acquisition command transmission unit,
A first distribution information determination sub-unit for determining first distribution information of meta information according to the meta information record table, wherein the first distribution information includes a name information and a node in which the meta information is located; And
And a first meta information acquisition command generation sub-unit for generating a first meta information acquisition command corresponding to the node according to the first distribution information, for a node among the at least one node.
제9항에 있어서,
상기 정보 백업 장치는,
상기 제1 시간 주기 내에 메타 정보를 저장하는 메타 정보 저장 유닛을 더 포함하고,
상기 메타 정보 저장 유닛은,
제2 시간 주기 간격으로 메타 정보의 증분 정보를 획득하는 증분 정보 획득 서브 유닛 - 상기 증분 정보는 상기 제2 시간 주기 내에 변화된 메타 정보를 나타내고, 상기 제2 시간 주기는 상기 제1 시간 주기보다 작음 - ;
상기 증분 정보에 따라 메타 정보의 제2 분포 정보를 결정하는 제2 분포 정보 결정 서브 유닛 - 상기 제2 분포 정보는 상기 증분 정보에 대응되는 메타 정보의 명칭 정보 및 메타 정보가 위치하는 노드를 포함함 - ;
상기 적어도 하나의 노드 중의 노드에 대해, 상기 제2 분포 정보에 따라 상기 노드에 대응되는 제2 메타 정보 획득 명령어를 생성하는 제2 메타 정보 획득 명령어 생성 서브 유닛 - 상기 제2 메타 정보 획득 명령어는 노드 상에서 상기 증분 정보에 대응되는 메타 정보를 획득하도록 지시하기 위한 것임 - ; 및
상기 적어도 하나의 노드 중의 노드에 의해 전송된, 상기 제2 메타 정보 획득 명령어에 대응되는 적어도 하나의 제2 피드백 정보를 수신한 것에 응답하여, 상기 적어도 하나의 제2 피드백 정보를 제2 저장 영역에 저장하는 메타 정보 저장 서브 유닛 - 제2 피드백 정보는 대응되는 노드에 저장된, 상기 제2 메타 정보 획득 명령어가 지시하는 메타 정보를 포함함 - ;을 포함하는 정보 백업 장치.
The method of claim 9,
The information backup device,
Further comprising a meta information storage unit for storing meta information within the first time period,
The meta information storage unit,
Incremental information acquisition sub-unit for acquiring incremental information of meta information at a second time period interval, wherein the incremental information indicates meta information changed within the second time period, and the second time period is smaller than the first time period- ;
A second distribution information determination sub-unit for determining the second distribution information of meta information according to the incremental information, wherein the second distribution information includes a node where name information and meta information of meta information corresponding to the incremental information are located -;
For a node among the at least one node, a second meta information acquisition command generation sub unit generating a second meta information acquisition command corresponding to the node according to the second distribution information-the second meta information acquisition command is a node It is for instructing to acquire meta information corresponding to the incremental information in the image; And
In response to receiving at least one second feedback information corresponding to the second meta information acquisition command transmitted by a node among the at least one node, the at least one second feedback information is transmitted to a second storage area. A storage unit for storing meta-information, wherein the second feedback information includes meta-information indicated by the second meta-information acquisition command, stored in a corresponding node.
제11항에 있어서,
상기 메타 정보 기록표는 시간 정보를 더 포함하고, 상기 시간 정보는 메타 정보가 노드 상에서의 저장 시간을 표시하며,
상기 증분 정보 획득 서브 유닛은,
상기 메타 정보 기록표를 획득하고, 상기 제2 시간 주기에 대응되는 시간 정보에 따라 상기 메타 정보 기록표 내의 메타 정보의 증분 정보를 결정하는 증분 정보 결정 유닛을 포함하는 정보 백업 장치.
The method of claim 11,
The meta information record table further includes time information, and the time information indicates the time when the meta information is stored on the node.
The incremental information acquisition sub-unit,
And an incremental information determination unit that acquires the meta information record table and determines incremental information of meta information in the meta information record table according to time information corresponding to the second time period.
제11항에 있어서,
상기 정보 백업 장치는,
메타 정보 손실에 응답하여, 메타 정보를 복원하는 메타 정보 복원 유닛을 더 포함하고,
상기 메타 정보 복원 유닛은,
손실된 메타 정보의 데이터 양이 설정된 임계값보다 작고, 또한 손실된 메타 정보에 대응되는 제1 기억 정보가 존재하는 것에 응답하여, 상기 제1 기억 정보를 통해 상기 손실된 메타 정보를 복원하고, 그렇지 않을 경우, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 제1 메타 정보 복원 서브 유닛을 포함하며,
기억 정보는 상기 정보 시스템에 저장되었던 메타 정보를 기록하기 위한 것인 정보 백업 장치.
The method of claim 11,
The information backup device,
In response to the loss of meta information, further comprising a meta information restoration unit for restoring the meta information,
The meta information recovery unit,
In response to the data amount of the lost meta information being smaller than a set threshold, and the first storage information corresponding to the lost meta information being present, restoring the lost meta information through the first storage information, otherwise If not, it includes a first meta-information restoration sub-unit to retrieve and restore the lost meta information in the second storage area through the name information of the lost meta information,
The memory information is for recording meta information stored in the information system.
제13항에 있어서,
상기 메타 정보 복원 유닛은,
상기 제2 저장 영역에 상기 손실된 메타 정보가 존재하지 않는 것에 응답하여, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제1 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 제2 메타 정보 복원 서브 유닛을 포함하는 정보 백업 장치.
The method of claim 13,
The meta information recovery unit,
In response to the absence of the lost meta information in the second storage area, second meta information restoration to retrieve and restore the lost meta information in the first storage area through the name information of the lost meta information An information backup device including a sub unit.
제13항에 있어서,
손실된 메타 정보의 데이터 양이 상기 설정된 임계값보다 크거나 같은 것에 응답하여, 상기 손실된 메타 정보의 명칭 정보를 통해 상기 제2 저장 영역에서 상기 손실된 메타 정보를 검색하여 복원하는 제3 메타 정보 복원 서브 유닛을 포함하는 정보 백업 장치.
The method of claim 13,
In response to the data amount of the lost meta information being greater than or equal to the set threshold value, the third meta information to search for and restore the lost meta information in the second storage area through the name information of the lost meta information An information backup device including a restoration sub unit.
제15항에 있어서,
상기 메타 정보 복원 유닛은,
손실된 메타 정보의 데이터 양이 상기 설정된 임계값보다 크거나 같고, 또한 상기 손실된 메타 정보가 상기 제1 저장 영역 및 제2 저장 영역에 저장되어 있지 않는 것에 응답하여, 상기 손실된 메타 정보에 대응되는 제2 기억 정보를 획득하고, 상기 제2 기억 정보를 통해 상기 손실된 메타 정보를 복원하는 제4 메타 정보 복원 서브 유닛을 포함하는 정보 백업 장치.
The method of claim 15,
The meta information recovery unit,
In response to the amount of data of the lost meta information being greater than or equal to the set threshold, and the lost meta information not being stored in the first storage area and the second storage area, corresponding to the lost meta information And a fourth meta-information sub-unit for acquiring the second storage information to be restored and restoring the lost meta-information through the second storage information.
전자 기기로서,
하나 또는 복수의 프로세서; 및
하나 또는 복수의 프로그램이 저장된 저장 장치를 포함하고,
상기 하나 또는 복수의 프로그램이 상기 하나 또는 복수의 프로세서에 의해 실행될 경우, 상기 하나 또는 복수의 프로세서가 제1항 내지 제8항 중 어느 한 항에 따른 정보 백업 방법을 수행하도록 하는 전자 기기.
As an electronic device,
One or multiple processors; And
A storage device in which one or more programs are stored,
When the one or a plurality of programs are executed by the one or a plurality of processors, an electronic device that causes the one or more processors to perform the information backup method according to any one of claims 1 to 8.
컴퓨터 프로그램이 저장된 컴퓨터 판독 가능 매체로서,
상기 컴퓨터 프로그램은 프로세서에 의해 실행될 경우 제1항 내지 제8항 중 어느 한 항에 따른 정보 백업 방법을 구현하는 것을 특징으로 하는 컴퓨터 판독 가능 매체.
A computer-readable medium storing a computer program,
The computer program, when executed by a processor, implements a method for backing up information according to any one of claims 1 to 8, wherein the computer readable medium.
KR1020190141696A 2019-01-30 2019-11-07 Method and apparatus for backing up information KR102207727B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910093950.6 2019-01-30
CN201910093950.6A CN109815060A (en) 2019-01-30 2019-01-30 Method and device for backup information

Publications (2)

Publication Number Publication Date
KR20200094619A true KR20200094619A (en) 2020-08-07
KR102207727B1 KR102207727B1 (en) 2021-01-25

Family

ID=66605907

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190141696A KR102207727B1 (en) 2019-01-30 2019-11-07 Method and apparatus for backing up information

Country Status (4)

Country Link
JP (1) JP6906585B2 (en)
KR (1) KR102207727B1 (en)
CN (1) CN109815060A (en)
SG (1) SG10201910411SA (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070005441A (en) * 2005-07-05 2007-01-10 삼성전자주식회사 Method and apparatus for back-up of broadcast file
CN101361048A (en) * 2006-02-03 2009-02-04 国际商业机器公司 Restoring a file to its proper storage tier in an information lifecycle management environment
KR100912127B1 (en) * 2006-12-04 2009-08-13 한국전자통신연구원 System and method for managing meta-data
KR20110023580A (en) * 2009-08-31 2011-03-08 삼성전자주식회사 The method and system for recovering data
KR101413298B1 (en) * 2010-11-04 2014-06-27 한국전자통신연구원 Apparatus, system and method for recovering meta data using fragmentary information
JP2018516409A (en) * 2015-11-04 2018-06-21 テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド Indexing method and system for file storage

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6938056B2 (en) * 2002-02-22 2005-08-30 International Business Machines Corporation System and method for restoring a file system from backups in the presence of deletions
CN101739311A (en) * 2009-12-15 2010-06-16 上海爱数软件有限公司 Method and device for carrying out safety backup on memory data
CN101719165B (en) * 2010-01-12 2014-12-17 浪潮电子信息产业股份有限公司 Method for realizing high-efficiency rapid backup of database
US8635187B2 (en) * 2011-01-07 2014-01-21 Symantec Corporation Method and system of performing incremental SQL server database backups
CN104391930A (en) * 2014-11-21 2015-03-04 用友软件股份有限公司 Distributed file storage device and method
KR102378367B1 (en) * 2015-03-20 2022-03-24 한국전자통신연구원 Distributed file system
CN105376307A (en) * 2015-10-27 2016-03-02 浪潮(北京)电子信息产业有限公司 Asynchronous backup method among data centers
CN108228624A (en) * 2016-12-15 2018-06-29 深圳市优朋普乐传媒发展有限公司 Data acquisition and update method, piece list service system and piece single system
CN107122262B (en) * 2017-04-21 2018-07-06 杭州开课啦教育科技有限公司 Database intelligent backup system based on agent

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070005441A (en) * 2005-07-05 2007-01-10 삼성전자주식회사 Method and apparatus for back-up of broadcast file
CN101361048A (en) * 2006-02-03 2009-02-04 国际商业机器公司 Restoring a file to its proper storage tier in an information lifecycle management environment
KR100912127B1 (en) * 2006-12-04 2009-08-13 한국전자통신연구원 System and method for managing meta-data
KR20110023580A (en) * 2009-08-31 2011-03-08 삼성전자주식회사 The method and system for recovering data
KR101413298B1 (en) * 2010-11-04 2014-06-27 한국전자통신연구원 Apparatus, system and method for recovering meta data using fragmentary information
JP2018516409A (en) * 2015-11-04 2018-06-21 テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド Indexing method and system for file storage

Also Published As

Publication number Publication date
SG10201910411SA (en) 2020-08-28
CN109815060A (en) 2019-05-28
JP6906585B2 (en) 2021-07-21
JP2020123314A (en) 2020-08-13
KR102207727B1 (en) 2021-01-25

Similar Documents

Publication Publication Date Title
EP4033374A1 (en) Method and device for synchronizing node data
RU2598991C2 (en) Data recovery client for moveable client data
CN109144785B (en) Method and apparatus for backing up data
US20160088077A1 (en) Seamless binary object and metadata sync
US10592355B2 (en) Capacity management
US10855750B2 (en) Centralized management of webservice resources in an enterprise
US20210064473A1 (en) Method and device for failover in hbase system, and non-transitory computer-readable storage medium
CN111338834B (en) Data storage method and device
US11544229B1 (en) Enhanced tracking of data flows
CN115202929B (en) Database cluster backup system
CN112433921A (en) Method and apparatus for dynamic point burying
CN115517009A (en) Cluster management method, cluster management device, storage medium and electronic equipment
CN109828719B (en) CommitLog file located disk control method and device based on cloud monitoring and related equipment
CN111444148A (en) Data transmission method and device based on MapReduce
KR102207727B1 (en) Method and apparatus for backing up information
US10880388B1 (en) Automatic redirection in scale-out cluster environments that perform distributed deduplication
KR20180010442A (en) User device for processing online authoring service and method for storing document thereof
CN113761075A (en) Method, device, equipment and computer readable medium for switching databases
TW202020661A (en) Data backup method and device
CN110703990A (en) Data archiving and storing method and device, electronic equipment and storage medium
CN110851192A (en) Method and device for responding to configuration of degraded switch
CN116360710B (en) Data storage method applied to server cluster, electronic device and readable medium
CN114428698A (en) Cloud backup management method, device and equipment
CN114968944A (en) Offline log processing method and device, electronic equipment and storage medium
CN116263757A (en) Data processing method and related device

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant