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

File integrity checking method and device

An integrity check and file technology, applied in the field of cloud storage, can solve problems such as time-consuming and time-consuming file integrity checking, and achieve the effect of less time-consuming, less computing time, and less time-consuming

Inactive Publication Date: 2017-05-10
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it takes a long time to calculate the check code for a file with a large capacity, which makes the integrity check of the file very time-consuming

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
  • File integrity checking method and device
  • File integrity checking method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0033] Please refer to figure 1 , a method for checking file integrity provided by an embodiment of the present invention, comprising the steps of:

[0034] S10: Divide the file into multiple segments, read each segment file in parallel, and calculate the cyclic redundancy check code of the read segment files.

[0035] Logically segme...

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 file integrity checking method and device. The method comprises the steps that a file is divided into multiple fragments, all fragment files are read in a parallel mode, and cyclic redundancy check codes of all the read fragment files are calculated; whether the file is integral or not is detected according to the calculated cyclic redundancy check codes of all the read fragment files. According to the file integrity checking method and device, the file is divided into multiple fragments, and the check codes are calculated by reading all the fragment files in a parallel mode; compared with an existing method for calculating a cyclic redundancy check code of a whole file, the method for calculating the check codes of the fragment files in the parallel mode has the advantages that little time is consumed, the calculation time is shortened, and the time consumed for file integrity checking can be shortened.

Description

technical field [0001] The invention relates to the technical field of cloud storage, in particular to a file integrity checking method and device. Background technique [0002] On the virtualization management platform, a large number of virtual machines will be created. After the virtual machines are created, the system needs to be installed for the virtual machines. The installation system requires image files of different systems. Generally, the image files will be uploaded to the server for management. Since the image files are relatively large and stored for a long time, it is necessary to periodically check the integrity of the files during management to ensure that information about the availability of images is provided to users. [0003] In the prior art, checking the integrity of a file is to check the current file by calculating the cyclic redundancy check code of the file, comparing the currently calculated check code with the original check code of the file, an...

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 Applications(China)
IPC IPC(8): G06F11/08
CPCG06F11/085
Inventor 王德群
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD