[go: up one dir, main page]

WO2012031567A1 - Procédé de résilience, et dispositif pour système de fichiers - Google Patents

Procédé de résilience, et dispositif pour système de fichiers Download PDF

Info

Publication number
WO2012031567A1
WO2012031567A1 PCT/CN2011/079533 CN2011079533W WO2012031567A1 WO 2012031567 A1 WO2012031567 A1 WO 2012031567A1 CN 2011079533 W CN2011079533 W CN 2011079533W WO 2012031567 A1 WO2012031567 A1 WO 2012031567A1
Authority
WO
WIPO (PCT)
Prior art keywords
partition table
operating system
file
fault
table information
Prior art date
Application number
PCT/CN2011/079533
Other languages
English (en)
Chinese (zh)
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 WO2012031567A1 publication Critical patent/WO2012031567A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1435Saving, restoring, recovering or retrying at system level using file system or storage system metadata

Definitions

  • the present invention relates to the field of computer security technologies, and in particular, to a fault tolerance method and apparatus for a file system in a computer operating system. Background technique
  • the Chinese patent application of CN1460210A proposes an apparatus and method for preventing damage of a computer operating system, and discloses the following technical contents: partitioning a hard disk, the first storage area is an invisible area that is not allowed to be accessed by a user, and the second storage area stores an operating system.
  • the first storage area is a backup of the second storage area; when the computer is started, the basic input output system (BIOS, Basic Input Output System) checks the value of the first flag, and when the first flag is set to be abnormally terminated, the copy is performed.
  • the backup file of the first storage area is to the second storage area, and the flag is reset.
  • the Chinese patent application with the publication number CN1549131A proposes a method for repairing a computer operating system, and discloses the following technical contents: Pre-prepared in the HPA (Host Protected Area) area of the hard disk All the information related to starting the computer; set the self-test module in the HPA of the hard disk, and add a command to call the self-test module in the BIOS of the computer; when the computer is booted by the hard disk, the self-test module is called by the BIOS, if If the information about starting the computer is corrupted, start the computer after repairing the damaged part.
  • HPA Home Protected Area
  • the inventors have found that the above technical solutions have the defects of: all the information related to starting the computer needs to be backed up, the repaired data is more, the repairing time is long; and the backup information is stored in the hard disk, and the startup is slow. Memory usage is low.
  • An embodiment of the present invention provides a fault tolerance method and a device for a file system, by reading a pre-stored file partition table information from a backup device and overwriting a partition table of the file system, and starting an operating system according to the covered partition table; There is less backup information and shorter repair time; and, through hardware backup information, the system can be started quickly and the memory usage is high.
  • an embodiment of the present invention provides a fault tolerance method for a file system, which is applied to a computer operating system, where the method includes:
  • the pre-stored file partition table information corresponding to the operating system is read from the backup device; the read file partition table information is overwritten by the partition table of the file system corresponding to the operating system; The partition table of the file system starts the operating system.
  • the embodiment of the invention further provides a fault-tolerant device for a file system, which is applied to a computer operating system, and the fault-tolerant device comprises:
  • a backup device configured to pre-store file partition table information corresponding to the operating system
  • a reading unit configured to read the file partition table information from the backup device when the operating system is started
  • a coverage unit configured to overwrite the read file partition table information with a partition table of a file system corresponding to the operating system
  • a booting unit configured to start the operating system according to the partition table of the file system.
  • the beneficial effects of the embodiment of the present invention are: by reading the pre-stored file partition table information from the backup device and overwriting the partition table of the file system, starting the operating system according to the covered partition table; the backup information can be made less, and the repaired The time is short; and, through the hardware backup information, the system can be started quickly and the memory usage is high.
  • Embodiment 1 is a flow chart of a fault tolerance method according to Embodiment 1 of the present invention.
  • Embodiment 2 is a flow chart of a fault tolerance method according to Embodiment 2 of the present invention.
  • Figure 4 is a block diagram showing a configuration of a fault tolerant device according to a third embodiment of the present invention.
  • Fig. 5 is a view showing the configuration of a fault tolerant device according to a fourth embodiment of the present invention. detailed description
  • An embodiment of the present invention provides a fault tolerance method for a file system, which is applied to a computer operating system. As shown in FIG. 1, the method includes:
  • Step 101 When the operating system is started, the file partition table information corresponding to the pre-stored operating system is read from the backup device.
  • Step 102 The read file partition table information is overwritten by the partition of the file system corresponding to the operating system.
  • Step 103 Start an operating system according to a partition table of the file system.
  • the backup device can be connected to the computer through an integrated driver electronics (IDE, Integrated Drive Electronics) interface or a PCI (Peripheral Component Interconnect) interface.
  • the backup device can be integrated with a computer; for example, the backup device can be an Electronic Erasable Programmable ROM (EEPR0M) integrated on a computer motherboard.
  • IDE integrated driver electronics
  • PCI Peripheral Component Interconnect
  • the backup device can be integrated with a computer; for example, the backup device can be an Electronic Erasable Programmable ROM (EEPR0M) integrated on a computer motherboard.
  • EEPR0M Electronic Erasable Programmable ROM
  • the file partition table can be used to track the state of each file segment stored in the disk space, which can be a linked list in the FAT file system, or an inode table in the EXT2/EXT3 file system, or a master in the NTFS file system. MFT, Master Fi le Table.
  • MFT Master Fi le Table
  • the backup or recovery time is short.
  • the file system can be repaired after the file system is damaged, and the operating system is implemented. Normal startup; For non-operating system related parts, it can be processed after the operating system starts.
  • the file system can be optimized, the file system damage caused by the abnormality is solved, the file system is automatically repaired, the maintenance personnel and the maintenance cost are saved, and the device failure is reduced.
  • the repair time increases the availability of the device.
  • the operating system is started by using the overwritten partition table; the backup information is less, and the repair time is short; Moreover, the hardware backup information can make the system start fast and the memory usage rate is high.
  • the embodiment of the present invention provides a fault-tolerant method for a file system, which is applied to a computer operating system.
  • the fault-tolerant method is described in detail below on the basis of the embodiment 1.
  • the same content as that of the embodiment 1 is not described herein. As shown in FIG. 2, the method includes:
  • Step 201 After installing the operating system, scan the operating system file system to obtain corresponding file partition table information.
  • the file system can be scanned by the BIOS (Basic Input Output System) command to automatically identify the file partition table and other information, and obtain the corresponding file partition table information.
  • BIOS Basic Input Output System
  • the specific implementation method can be determined according to the actual situation.
  • Step 202 Store the obtained file partition table information into the backup device.
  • the backup device can be connected to the computer via an integrated drive electronic IDE interface or a peripheral component interconnecting a standard PCI interface, or integrated with a computer via a bus.
  • an integrated drive electronic IDE interface or a peripheral component interconnecting a standard PCI interface, or integrated with a computer via a bus.
  • specific implementation methods can be determined according to actual conditions.
  • Step 203 Read the file partition table information corresponding to the pre-stored operating system from the backup device each time the operating system is started.
  • the file partition table information corresponding to the operating system may be read from the backup device by using a BIOS command, and the file partition information may be pre-stored in the backup device through step 202.
  • the file partition table information corresponding to the operating system may be read from the backup device by using a BIOS command, and the file partition information may be pre-stored in the backup device through step 202.
  • Step 204 Overwrite the read file partition table information with the partition table of the file system.
  • Step 205 Start an operating system according to a partition table of the file system.
  • the partitioning table of the file system can be used to perform system initialization and execute a booting program to start the operating system.
  • the file partition table information backed up in the backup device can be read, and the partition table of the file system is automatically covered. In this way, no matter how the file system exits in the last running state, it does not affect the normal operation of the operating system related files, thus realizing the normal repair of the file system.
  • the partition table of the file system corresponding to the operating system may be determined to be damaged.
  • the file partition table information may be backed up in the backup device in advance, as described in steps 301 and 302.
  • step 303 is executed to determine whether the partition table of the file system corresponding to the operating system is damaged. If it is determined that the partition table of the file system is damaged, step 304 is performed; otherwise, step 306 is performed. In this way, the backup device can be read only when the partition table of the file system is damaged, and the operation on the backup device is reduced.
  • the self-test module can be set, and then the self-test module is called by the BIOS to confirm whether the partition table of the file system corresponding to the operating system is damaged.
  • the self-test module can be set, and then the self-test module is called by the BIOS to confirm whether the partition table of the file system corresponding to the operating system is damaged.
  • the operating system is started by using the overwritten partition table; the backup information is less, and the repair time is short; Moreover, the hardware backup information can make the system start fast and the memory usage rate is high.
  • the embodiment of the present invention provides a fault-tolerant device for a file system, which is applied to a computer operating system.
  • the fault-tolerant device includes: a backup device 401, a reading unit 402, a covering unit 403, and a starting unit 404; ,
  • the backup device 401 is configured to pre-store file partition table information corresponding to the operating system
  • the reading unit 402 is configured to read the file partition table from the backup device 401 when the operating system is booted.
  • the overlay unit 403 is configured to overwrite the partition table of the file system corresponding to the operating system according to the read file partition table information;
  • the boot unit 404 is configured to boot the operating system using the partition table of the file system.
  • the operating system is booted by using the overwritten partition table by reading the pre-stored file partition table information from the backup device and overwriting the partition table of the file system;
  • the information is small, the repair time is short; and, by means of hardware backup information, the system can be started quickly and the memory usage rate is high.
  • the embodiment of the present invention provides a fault-tolerant device for a file system, which is applied to a computer operating system.
  • the following describes the fault-tolerant device in detail based on the embodiment 3.
  • the same content as that of the third embodiment is not described herein.
  • the fault tolerant device includes: a backup device 501, a reading unit 502, a cover unit 503, and a boot unit 504, as described in Embodiment 3.
  • the fault-tolerant device may further include: an obtaining unit 505 and a storage unit 506; wherein the obtaining unit 505 is configured to scan a file system of the operating system to obtain corresponding file partition table information after installing the operating system;
  • the storage unit 506 is for storing the file partition table information in the backup device 501.
  • the fault tolerant device may further include: a determining unit 507;
  • the determining unit 507 is configured to determine whether the partition table of the file system corresponding to the operating system is damaged; and, after the determining unit 507 confirms that the partition table of the file system has been damaged, the reading unit 502 reads the pre-stored operating system correspondingly from the backup device. File partition table information.
  • backup device 501 can be coupled to a computer via an integrated drive electronic IDE interface or peripheral component interconnect standard PCI interface.
  • backup device 501 can also be integrated with a computer via a bus.
  • the operating system is started by using the overwritten partition table; the backup information is less, and the repair time is short; Moreover, the hardware backup information can make the system start fast and the memory usage rate is high.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein may be implemented in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), programmable ROM (PROM, Programmable ROM), EEPROM (Electronic Erasable Programmable ROM), registers, hard disk , removable disk, CD_ROM, or any other form of storage medium known in the art.

Landscapes

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

Abstract

La présente invention concerne, par ses modes de réalisation, un procédé de résilience, et un dispositif de résilience destiné à un système de fichiers. Selon ce procédé, quand un système d'exploitation est lancé, on lit dans un dispositif de secours de l'information préenregistrée de table de partition de fichiers correspondant au système d'exploitation; on charge en recouvrement, sur une table de partition du système de fichiers, l'information lue de table de partition de fichiers; et on lance le système d'exploitation conformément à la table de partition du système de fichiers. Les modes de réalisation de l'invention ont l'avantage de limiter à un minimum l'information de secours, de raccourcir les temps de réparation, de permettre un lancement rapide du système, et de faire une utilisation élevée de la mémoire interne.
PCT/CN2011/079533 2010-09-10 2011-09-09 Procédé de résilience, et dispositif pour système de fichiers WO2012031567A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010277550.X 2010-09-10
CN 201010277550 CN101930384A (zh) 2010-09-10 2010-09-10 文件系统的容错方法及其装置

Publications (1)

Publication Number Publication Date
WO2012031567A1 true WO2012031567A1 (fr) 2012-03-15

Family

ID=43369577

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079533 WO2012031567A1 (fr) 2010-09-10 2011-09-09 Procédé de résilience, et dispositif pour système de fichiers

Country Status (2)

Country Link
CN (1) CN101930384A (fr)
WO (1) WO2012031567A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2983878B1 (fr) 2013-04-10 2017-11-29 Dario Toncelli Dispositif de decoupe de materiaux plats

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930384A (zh) * 2010-09-10 2010-12-29 北京中科院软件中心有限公司 文件系统的容错方法及其装置
CN102508731B (zh) * 2011-09-29 2013-06-12 中国航天科技集团公司第五研究院第五一三研究所 基于rs编译码的操作系统的容错启动方法
CN103176824B (zh) * 2013-03-15 2016-11-16 青岛海信移动通信技术股份有限公司 一种系统升级的方法及装置
CN103605619B (zh) * 2013-11-20 2017-09-12 邢博 一种基于分区表容错的可信存储方法
CN105095017A (zh) * 2014-05-23 2015-11-25 中兴通讯股份有限公司 一种基于分区表的硬盘修复方法及装置
CN105787311A (zh) * 2014-12-22 2016-07-20 联想(上海)信息技术有限公司 存储设备管理方法、装置及电子设备
CN106201772A (zh) * 2016-06-23 2016-12-07 浪潮(北京)电子信息产业有限公司 一种基于数据中心的操作系统备份、恢复方法及装置
CN106528345B (zh) * 2016-11-11 2020-03-06 郑州云海信息技术有限公司 一种基于云平台的节点硬盘自动化恢复方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1517888A (zh) * 2003-01-15 2004-08-04 挹光科技股份有限公司 储存单元数据保护方法以及系统
CN101520830A (zh) * 2009-04-08 2009-09-02 西北工业大学 具有硬盘数据保护功能的计算机开机身份认证方法
CN101930384A (zh) * 2010-09-10 2010-12-29 北京中科院软件中心有限公司 文件系统的容错方法及其装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100336036C (zh) * 2003-07-18 2007-09-05 英业达股份有限公司 多种操作系统引导加载方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1517888A (zh) * 2003-01-15 2004-08-04 挹光科技股份有限公司 储存单元数据保护方法以及系统
CN101520830A (zh) * 2009-04-08 2009-09-02 西北工业大学 具有硬盘数据保护功能的计算机开机身份认证方法
CN101930384A (zh) * 2010-09-10 2010-12-29 北京中科院软件中心有限公司 文件系统的容错方法及其装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2983878B1 (fr) 2013-04-10 2017-11-29 Dario Toncelli Dispositif de decoupe de materiaux plats

Also Published As

Publication number Publication date
CN101930384A (zh) 2010-12-29

Similar Documents

Publication Publication Date Title
WO2012031567A1 (fr) Procédé de résilience, et dispositif pour système de fichiers
US9836606B2 (en) Secure recovery apparatus and method
US9703635B2 (en) Method, computer program, and computer for restoring set of variables
US6170055B1 (en) System for computer recovery using removable high capacity media
CN101593083B (zh) 对计算机配置信息进行保护和恢复的装置、计算机和方法
JP2004038931A (ja) コンピュータ・ハードディスクにおけるデータのバックアップと回復とを実現する方法
US20080155216A1 (en) Protection and Recovery System for Automatic Disk Recovery
US11704198B2 (en) Method and apparatus for providing recovery from a computing device boot up error
US8788801B2 (en) Backup and recovery of systems by restoring a backup boot configuration data (BCD) with installation files from an operating system install disk
US20100037092A1 (en) System and method for backup, reboot, and recovery
US7308547B2 (en) Apparatus and method for control of write filter
US9448888B2 (en) Preventing a rollback attack in a computing system that includes a primary memory bank and a backup memory bank
CN120066598B (zh) 操作系统启动项的分类方法、计算机程序产品和服务器
US11599426B2 (en) Recovery via backups of recovery information
CN113342365A (zh) 操作系统部署方法、装置、设备及计算机可读存储介质
CN108255644B (zh) 文件系统恢复方法及装置
EP1110146A1 (fr) Procede, ordinateur et article manufacture pour l'initialisation insensible aux defaillances
KR102079131B1 (ko) 컴퓨터 복구 시스템
CN112579361B (zh) 备份数据重建方法、装置、设备及存储介质
CN101226494A (zh) 一种计算机系统的备份和恢复的方法
US20110173428A1 (en) Computer system, method for booting a computer system, and method for replacing a component
CN108509252B (zh) 虚拟机启动装置、方法及主机
CN117130673A (zh) 开机控制方法及装置
CN112631626B (zh) 基于双系统的系统升级方法、装置及存储介质
WO2015043010A1 (fr) Procédé et appareil de traitement de données, et dispositif électronique

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11823090

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11823090

Country of ref document: EP

Kind code of ref document: A1