CN108614747B - Data recovery method based on IRIG106 standard storage - Google Patents

Data recovery method based on IRIG106 standard storage Download PDF

Info

Publication number
CN108614747B
CN108614747B CN201611140759.5A CN201611140759A CN108614747B CN 108614747 B CN108614747 B CN 108614747B CN 201611140759 A CN201611140759 A CN 201611140759A CN 108614747 B CN108614747 B CN 108614747B
Authority
CN
China
Prior art keywords
data
file
packet
searched
files
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611140759.5A
Other languages
Chinese (zh)
Other versions
CN108614747A (en
Inventor
田泽
黎小玉
刘娟
李攀
马城城
郭亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Xiangteng Microelectronics Technology Co Ltd
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
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 Xian Aeronautics Computing Technique Research Institute of AVIC filed Critical Xian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN201611140759.5A priority Critical patent/CN108614747B/en
Publication of CN108614747A publication Critical patent/CN108614747A/en
Application granted granted Critical
Publication of CN108614747B publication Critical patent/CN108614747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Abstract

The invention belongs to the technical field of computer application, and relates to a data recovery method based on IRIG106 standard storage, wherein during data recovery, firstly, the recovery condition and the position of abnormal data are determined, and secondly, complete data and partially damaged data are searched according to the IRIG106 data storage standard; sorting all complete data and partially damaged data, and sequentially extracting the complete data and the partially damaged data into files; and finally copying the file to a hard disk of the computer. The method loads data by adopting a file stream and recovers the data based on a data storage format. The invention effectively solves the problem of data recovery under abnormal conditions when the IRIG106 standard is used for storing data, and provides a reference basis for the development of similar products.

Description

Data recovery method based on IRIG106 standard storage
Technical Field
The invention belongs to the technical field of computer application, and relates to a data recovery method based on IRIG106 standard storage.
Background
The IRIG106 is a data acquisition and recording standard, digitalization and effective combination of multiple data are realized by a relatively economic method, and with wide use of the standard, more and more data cannot be used due to partial damage, even if the data is complete but the directory is destroyed, all data cannot be used, but the existing technology can only recover the data through the directory at most, and cannot recover when the directory is damaged or the data is partially damaged, so that a data recovery method stored based on the IRIG106 standard is in urgent need.
Disclosure of Invention
The purpose of the invention is: a data recovery method based on IRIG106 standard storage is provided for damaged data stored by using IRIG106 standard.
The technical scheme of the invention is as follows: a data recovery method based on IRIG106 standard storage comprises the following steps:
step 1: determining the position of damaged data and a data recovery condition;
step 2: searching data of which files are not completely damaged in the damaged data in a word unit according to the IRIG106 data storage standard and the data recovery condition;
and step 3: sorting all the recovered data, sequentially extracting the data into files, and then displaying all the recovered data by taking the files as units;
and 4, step 4: saving the specific file or all files to the computer-specified storage path.
The step 1 specifically comprises the following steps: before restoring data, firstly determining the position of the data, then loading the data in a file stream form, finally selecting the limiting conditions for data restoration, wherein the selectable limiting conditions comprise a data search starting address and a data restoration time period, and if the limiting conditions are not selected, restoring all the data.
The step 2 specifically comprises the following steps: the damaged data are divided into directory block loss, directory block damage, file partial damage and file complete damage, wherein the file with the file complete damage cannot be recovered, the rest data can be recovered, the data are searched by taking words as basic units from the data search starting address, and if no legal data identification is found at the end of the searched data, the data are considered to be completely damaged and cannot be recovered; if the legal identification is searched, the searching process is repeated, and all the damaged data are searched.
The step 3 specifically comprises the following steps: if the file is not searched in the step 2, skipping the step 4 and directly ending the data recovery process; and if the complete identification is searched in the step 2, sequentially storing the information of each file into a database, and visually displaying all the recovered data.
The step 4 specifically comprises the following steps: and 3, selecting data needing to be restored according to the displayed file in the step 3, and saving the file to a specified path by taking the packet as a basic unit.
The data recovery method based on IRIG106 standard storage can recover data with damaged catalogues or damaged data parts, when the data are recovered, the position of abnormal data and the data recovery condition are determined firstly, then all complete data are searched according to the IRIG106 data storage standard and are extracted as files after being sorted, and finally the files after being sorted are copied to the appointed position of a computer.
Drawings
FIG. 1 is a flow chart of a method of the present invention;
Detailed Description
The following describes the technical solution of the present invention in detail with reference to the specific embodiments and the accompanying drawings, please refer to fig. 1.
Fig. 1 is a flowchart of a method of the present invention, and the present invention provides a data recovery method based on IRIG106 standard storage, which includes the following steps:
step 1: determining the position of damaged data and a data recovery condition;
step 2: searching data of which files are not completely damaged in the damaged data in a word unit according to the IRIG106 data storage standard and the data recovery condition;
and step 3: sorting all the recovered data, sequentially extracting the data into files, and then displaying all the recovered data by taking the files as units;
and 4, step 4: saving the specific file or all files to the computer-specified storage path.
The step 1 specifically comprises the following steps: damaged data files are generally stored on a solid state disk or directly stored on a hard disk of a computer in the form of files, if the data files are stored on the solid state disk, the disk needs to be connected to the computer through a SATA connection line, and in a device manager, a disk number is determined in a disk controller. If the data is stored in the hard disk of the computer, a file storage path needs to be determined, and no matter what form the data is loaded, the software is loaded in the form of a file stream; the damaged data is divided into directory block loss, directory block damage, file partial damage and file complete damage, wherein the completely damaged file cannot be recovered, and the rest damaged files can specify the recovery starting address and the recovery time period when being recovered. If the initial address is the searched initial offset address, the data is considered to cross the damaged severe area of the disk, and the data is directly recovered from the specified position; when the recovery time period is more for the files of the recovery data, the data is filtered by taking the time as a screening condition, and the efficiency of the data is improved.
The step 2 specifically comprises the following steps: starting from a data search starting address, searching data by taking a word as a basic unit, judging the type of the searched identification, wherein the identification type is divided into an invalid identification, a directory block identification, a file identification and a packet identification, the invalid identification is unidentifiable data, the directory block identification is directory block data, and the starting addresses and the file sizes of all files are stored; the file identification is file data, and a file initial address and a file degree are stored; the packet identifier is packet data, and stores packet start address, packet length, packet type (time packet, data packet, and other), and packet content, wherein one file is composed of a plurality of packets, and information of the plurality of files jointly constitutes a directory block. If no legal data identification is found at the end of the searched data, the data is considered to be completely damaged and cannot be recovered; if the directory block identification is searched, judging whether the directory block is complete according to the IRIG106 standard, if the directory block is complete, recording the block address of the directory, extracting all file information, finishing the search, if the directory block is not complete, considering that the directory block is damaged, and continuing to search the packet identification downwards; if the data packet identification is searched, firstly storing the initial address and judging whether the packet is a time packet or not, if the packet is the time packet, extracting the time information, then extracting the packet length according to the IRIG106 standard, searching the initial address of the next packet according to the packet length, judging whether the next packet has a file identifier or not, if not, judging whether the packet is a time packet or not, circulating until the next packet containing the file identification is searched, adding all packet lengths, calculating the file length and then storing, simultaneously, and taking the first time packet information in the file as the creation date of the file, taking the last time packet information as the file closing date of the file, finishing the recovery of the first file, taking the file identification packet address just searched as the starting address of the next file, and continuing the processes until all data is completely searched.
The step 3 specifically comprises the following steps: if the file is not searched in the step 2, skipping the step 4 and directly ending the data recovery process; if the complete directory block is searched in the step 2, extracting the initial address, the file size, the file creation date and the file closing date of all files in the directory block according to the definition of the directory block in the IRIG106 standard and storing the initial address, the file size, the file creation date and the file closing date in a database; and if the data packet identification is searched in the step 2, sequentially storing the initial address, the file size, the file creation date and the file closing date of each file into a database. After all the data are stored in the database, the data are screened according to the data recovery time period in the step 1, and then all the recovered data are displayed by taking a file as a unit.
The step 4 specifically comprises the following steps: and 3, selecting the data to be restored according to the displayed file in the step 3, and saving the file to the specified path at the rated speed by taking the packet as a basic unit, or saving all the data to the specified path at the rated speed.

Claims (6)

1. A data recovery method based on IRIG106 standard storage is characterized by comprising the following steps:
step 1: determining the position of damaged data and a data recovery condition;
step 2: searching data of which files are not completely damaged in the damaged data in a word unit according to the IRIG106 data storage standard and the data recovery condition;
and step 3: sorting all the recovered data, sequentially extracting the data into files, and then displaying all the recovered data by taking the files as units;
and 4, step 4: saving the specific file or all the files to a specified storage path of the computer;
the method specifically comprises the following steps: starting from a data search starting address, searching data by taking a word as a basic unit, and judging the type of the searched identifier, wherein the identifier type is divided into an invalid identifier, a directory block identifier, a file identifier and a packet identifier, the invalid identifier is unidentifiable data, the directory block identifier is directory block data, and the starting addresses and the file sizes of all files are stored; the file identification is file data, and a file initial address and a file degree are stored; the packet identifier is packet data, and stores a packet start address, a packet length, a packet type and packet contents, wherein one file consists of a plurality of packets, and the information of the plurality of files jointly forms a directory block; if no legal data identification is found at the end of the searched data, the data is considered to be completely damaged and cannot be recovered; if the directory block identification is searched, judging whether the directory block is complete according to the IRIG106 standard, if the directory block is complete, recording the block address of the directory, extracting all file information, finishing the search, if the directory block is incomplete, considering that the directory block is damaged, and continuing to search the packet identification downwards; if the data packet identification is searched, firstly storing the initial address and judging whether the packet is a time packet or not, if the packet is the time packet, extracting time information, then extracting the packet length according to the IRIG106 standard and searching the next packet initial address according to the packet length, judging whether the next packet has a file identification or not, if the packet does not have the file identification, judging whether the packet is the time packet or not, circulating until the next packet containing the file identification is searched, adding all the packet lengths, calculating the file length and then storing, meanwhile, taking the first time packet information in the file as the creation date of the file, taking the last time packet information as the file closing date of the file, at the moment, after the first file is recovered, taking the file identification packet address just searched as the next file initial address, and continuing the above processes until all the data is searched.
2. The IRIG106 standard storage-based data recovery method according to claim 1, wherein step 1 specifically comprises: before restoring data, firstly determining the position of the data, then loading the data in a file stream form, and finally selecting a limiting condition for data restoration; the selectable limiting conditions comprise a data search starting address and a data recovery time period, and if the limiting conditions are not selected, all data are recovered.
3. The IRIG106 standard storage-based data recovery method according to claim 2, specifically comprising: damaged data files are stored in a solid state disk or directly stored in a computer hard disk in a file form, if the data files are stored in the solid state disk, the disk needs to be connected to a computer through an SATA connecting line, the serial number of the disk is determined in a device manager and a disk controller, if the data are stored in the computer hard disk, a file storage path needs to be determined, and no matter what form the data are loaded, software is loaded in a file stream form; the damaged data is divided into directory block loss, directory block damage, file partial damage and file complete damage, wherein the completely damaged file cannot be recovered, the rest damaged files can specify a recovery initial address and a recovery time period when being recovered, the initial address is a searched initial offset address, the damaged data spans a disk serious damage area, and the data is recovered from a specified position directly; when the recovery time period is more for the files of the recovery data, the data is filtered by taking the time as a screening condition, and the efficiency of the data is improved.
4. The data recovery method based on IRIG106 standard storage according to claim 1, wherein step 2 specifically comprises: if the legal identification is searched, the searching process is repeated, and all the undamaged data are searched.
5. The data recovery method based on IRIG106 standard storage according to claim 2, wherein step 3 specifically comprises:
if the file is not searched in the step 2, skipping the step 4 and directly ending the data recovery process; if the complete directory block is searched in the step 2, extracting the initial address, the file size, the file creation date and the file closing date of all files in the directory block according to the definition of the directory block in the IRIG106 standard and storing the initial address, the file size, the file creation date and the file closing date in a database; if the data packet identification is searched in the step 2, sequentially storing the initial address, the file size, the file creation date and the file closing date of each file into a database, screening the data according to the data recovery time period in the step 1 after all the data are stored in the database, and then displaying all the recovered data by taking the file as a unit.
6. The data recovery method based on IRIG106 standard storage according to claim 1, wherein step 4 specifically comprises: and 3, selecting data to be restored according to the displayed file in the step 3, and saving the file to the specified path by taking the packet as a basic unit, or saving all the data to the specified path at a rated speed.
CN201611140759.5A 2016-12-12 2016-12-12 Data recovery method based on IRIG106 standard storage Active CN108614747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611140759.5A CN108614747B (en) 2016-12-12 2016-12-12 Data recovery method based on IRIG106 standard storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611140759.5A CN108614747B (en) 2016-12-12 2016-12-12 Data recovery method based on IRIG106 standard storage

Publications (2)

Publication Number Publication Date
CN108614747A CN108614747A (en) 2018-10-02
CN108614747B true CN108614747B (en) 2021-12-24

Family

ID=63643860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611140759.5A Active CN108614747B (en) 2016-12-12 2016-12-12 Data recovery method based on IRIG106 standard storage

Country Status (1)

Country Link
CN (1) CN108614747B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002182960A (en) * 2000-10-19 2002-06-28 Internatl Business Mach Corp <Ibm> Backup method for information processing system, computer program therefor and recording medium therefor
CN1467956A (en) * 2002-07-12 2004-01-14 华为技术有限公司 Method for converting packet mode data from high-bit width format to low-bit width format using frame alignment
CN102207898A (en) * 2011-07-11 2011-10-05 秦玉海 Electronic data recovery method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050053022A1 (en) * 2003-08-28 2005-03-10 The Boeing Company Encoding and merging multiple data streams of fibre channel network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002182960A (en) * 2000-10-19 2002-06-28 Internatl Business Mach Corp <Ibm> Backup method for information processing system, computer program therefor and recording medium therefor
CN1467956A (en) * 2002-07-12 2004-01-14 华为技术有限公司 Method for converting packet mode data from high-bit width format to low-bit width format using frame alignment
CN102207898A (en) * 2011-07-11 2011-10-05 秦玉海 Electronic data recovery method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
IRIG 106 Chapter 10 standardizes MIL-STD-1553B data recording;Mike Glass等;《Digital Avionics Systems Conference》;20071231;全文 *
一种高效的IDE硬盘控制器设计;裴希杰等;《计算机技术与发展》;20150531;第25卷(第5期);全文 *
基于IRIG106 Chapter 10标准的数据记录系统;曹阳等;《航空电子技术》;20140630;第45卷(第2期);全文 *

Also Published As

Publication number Publication date
CN108614747A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
US8028140B2 (en) Save set bundling for staging
CN102541757B (en) Write cache method, cache synchronization method and device
US8812455B1 (en) Efficient data backup
CN110888837B (en) Object storage small file merging method and device
CN112182010B (en) Dirty page refreshing method and device, storage medium and electronic equipment
CN105447168A (en) Method for restoring and recombining fragmented files in MP4 format
CN107577549A (en) It is a kind of to store the method for testing for deleting function again
CN111125298A (en) Method, equipment and storage medium for reconstructing NTFS file directory tree
CN107368545B (en) A kind of De-weight method and device based on Merkle Tree deformation algorithm
CN106055372A (en) Method and device for uninstalling application
CN108614747B (en) Data recovery method based on IRIG106 standard storage
TWI461904B (en) Recovery method and device for linux using fat file system
CN101853260B (en) System and method for detecting e-mail content
CN103605600A (en) Method and system for recording reading and writing times of memory units of memory card of mobile terminal
CN107832455A (en) A kind of data capture method of storage object, system, equipment and storage medium
CN102141964B (en) Method and device for repeatedly using magnetic tape
CN104699688A (en) File searching method and electronic device
CN106599006A (en) Data recovery method and device
CN105260423A (en) Duplicate removal method and apparatus for electronic cards
CN108108467B (en) Data deleting method and device
CN104615948A (en) Method for automatically recognizing file completeness and restoring
CN108062333B (en) Method and device for processing inferior question data
CN109271353A (en) One kind selectively rewriteeing self reference block method and system during data deduplication
CN108153855A (en) Method, apparatus, computer equipment and the storage medium of Claims Resolution image data storage
CN105138429B (en) A kind of Copy on write Snapshot Method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221012

Address after: Room S303, Innovation Building, No. 25, Gaoxin 1st Road, Xi'an, Shaanxi 710075

Patentee after: XI'AN XIANGTENG MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Address before: No.15, Jinye 2nd Road, Xi'an, Shaanxi 710000

Patentee before: AVIC XI''AN AERONAUTICS COMPUTING TECHNIQUE RESEARCH INSTITUTE