Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Method of Data File Restoration

A data file and data technology, applied in the repair of data files and data storage, can solve the problems of increasing storage overhead, changes, and high costs, and achieve the effect of improving security

Active Publication Date: 2021-10-22
苏州和欣致远节能科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to various reasons, some bytes may change, resulting in file confusion and system paralysis, with disastrous consequences
In the prior art, the usual way to solve this problem is to back up the entire file, but this method doubles the storage overhead and the cost is high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Method of Data File Restoration
  • A Method of Data File Restoration
  • A Method of Data File Restoration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0037] A method for repairing data files, comprising the following steps:

[0038] Step 1) Arrange the data elements into a matrix of M rows*N columns, requiring that M and N are roughly equal. If the length of the original data is insufficient, it can be properly filled. The data elements include bytes, words and double words, etc.;

[0039] Step 2) Select a reversible operation F, whose inverse operation f satisfies:

[0040] z=F(x,y)……………………………(1)

[0041] x=f(z,y),y=f(z,x)………………………(2)

[0042] In the above formulas (1) and (2), x, y, and z all belong to the data type of the data element,

[0043] For example: if the data element is an 8-bit byte, you can choose the addition of a byte without a carry as the operation F, and its inverse operation f is the subtraction of a byte without a carry;

[0044] Step 3) Initialize

[00...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for repairing data files. Step 1 arranges data elements into a matrix of M rows*N columns, requiring M to be roughly equal to N; Step 2 selects a reversible operation F, and its inverse operation f; Step 3 Initialize, perform continuous F operations on rows 1~M row by row, save them in 1~M arrays, perform continuous F operations on columns 1~N, and save them in arrays 1~N; check in step 4, perform cumulative sums on each row, Is it equal to the accumulated sum at the time of initialization? Get the number of wrong rows a, and the set of wrong row numbers X. If it is 0, it means that there is no error; And, get the wrong column number b, and wrong row number set Y; step 5 judge and repair. The present invention greatly improves the security of data on the premise of slightly increasing memory overhead, and greatly improves the reliability of key devices such as controllers and gateways in the field of industrial control.

Description

technical field [0001] The invention belongs to the field of industrial control systems and relates to a data storage technology, in particular to a method for repairing data files. Background technique [0002] The stability and reliability of the industrial control system are extremely important. Its operation depends on a series of data files. These data files are a continuous byte stream stored in the memory. However, due to various reasons, certain bytes may change, resulting in file confusion and system failure, with disastrous consequences. In the prior art, the usual method to solve this problem is to back up the entire file, but this method doubles the storage overhead, and the cost is relatively high. Contents of the invention [0003] In order to solve the problems in the prior art, the present invention aims to provide a data file repair method, which compensates for the harm caused by some data disorder with a small storage overhead. [0004] In order to ach...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/07
CPCG06F11/0727G06F11/0793
Inventor 张青周建东
Owner 苏州和欣致远节能科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products