Unlock instant, AI-driven research and patent intelligence for your innovation.

An autonomous file consistency check method

A verification method and consistency technology, applied in the direction of file system, file/folder operation, natural language data processing, etc., can solve problems such as unusable and data loss

Active Publication Date: 2021-03-12
深圳潮数软件科技有限公司
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the backup file is used for recovery when the original file is lost, and if the backup file is unavailable, even if it is restored, it cannot be used, which is equivalent to data loss

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
  • An autonomous file consistency check method
  • An autonomous file consistency check method
  • An autonomous file consistency check method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Such as figure 1 , is the flow chart of the file attribute judgment method. First, after the file transfer is completed, judge the file name, file length, and file last modification time of the source and target files respectively. Only when the file name, file length, and file last modification time of the source and target files are the same, It is judged that the files at both ends are "consistent files"; as long as one of them (file name, file length and file last modification time) is not the same, it is judged as "file inconsistent".

[0026] Such as figure 2 , is the flow chart of the self-defined verification function judgment method. First obtain the length Ls and Ld of the source and target files.

[0027] If Ls is not equal to Ld, it is judged that the source and target files are "file inconsistent"; if Ls is equal to Ld, proceed to the next step.

[0028] Firstly divide Ls and Ld by 8 respectively, if not divisible, discard the remainder directly, that ...

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 relates to an autonomous file consistency check method, which adopts a file attribute judgment method and a user-defined check function judgment method to carry out consistency check onfiles, and if the files of a source end and a target end are inconsistent, the files are retransmitted and judged until the files of the source end and the target end are consistent. The file attribute judgment method is realized by judging file names, file lengths and file final modification time of files of a source end and a target end. According to the user-defined check function judgment method, the lengths of a source end file and a target end file are judged, modulo operation is carried out on the lengths, logarithms with 2 as base numbers are respectively taken for comparison, and therefore whether the files are consistent or not is judged. Whether the files are consistent or not can be judged by applying a file attribute judgment method or a user-defined check function judgment method according to the sizes of the files, and a file size threshold value can be set.

Description

technical field [0001] The invention relates to the fields of big data and new generation information technology, in particular to an independent file consistency checking method. Background technique [0002] With the advancement of 5G, big data, industrial Internet, industrial Internet, mobile Internet, digital economy, and digital industrialization, data is becoming larger and more numerous. Data is a basic resource and an important productivity. [0003] In the process of continuous development, various data will be generated, but the data can be divided into three categories. [0004] Structured data: Structured data refers to data that can be expressed and stored using a relational database, and is represented in two-dimensional form. The general characteristics are: data is in units of rows, a row of data represents the information of an entity, and the attributes of each row of data are the same. The storage and arrangement of structured data are very regular, whi...

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): G06F40/194G06F16/16
CPCG06F16/162G06F40/194
Inventor 张玉启任伟王传安
Owner 深圳潮数软件科技有限公司