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

Quick file comparison method, system and client side

A local file system and client technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of performance degradation, data search performance degradation, and reduce equipment processing efficiency, etc., to achieve the effect of improving efficiency and performance

Active Publication Date: 2012-09-26
ZHENGJIANG PUBLIC INFORMATION
View PDF7 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In file processing technology, in order to organize and manage the file system more effectively, it is often necessary to organize and arrange files according to certain rules. This organization and arrangement usually leads to a highly complicated file structure, resulting in a sharp decline in data search performance.
In the file management process, the current file comparison operation generally uses all byte comparisons between files to determine whether the files are the same. This comparison method is feasible in a small file system, but in a large-scale Complicated or single-file bulky file systems are almost infeasible, and judgments based on simple file attributes are often inaccurate
[0003] In addition, the source file and the backup file are often stored in different physical media due to factors such as security, which increases the burden on the input and output devices when operating files, and reduces the processing efficiency of the device.
In file operations, the current file comparison method is to obtain the hash value of the file through a hash function to achieve file comparison. Although it effectively solves the performance bottleneck of a single large file comparison, the source file and When comparing backup files, M+N comparisons are performed based on the number M of file structures and the number N of files. Frequent operations between source files and backup files between different physical media cause performance degradation

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
  • Quick file comparison method, system and client side
  • Quick file comparison method, system and client side
  • Quick file comparison method, system and client side

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

[0068] First, the data structures involved in each embodiment of the present invention are briefly described.

[0069] Such as figure 1 As shown in , it is a schematic diagram of the general file system in the client hard disk. Such a filesystem has at least one root directory ( figure 1 The middle is the drive letter C:), which can include directories (the directories under the directory can also be called subdirectories) and files under the root directory, and can further include Directories and files, the corresponding different files or directories have absolute path information, including the real path from the root directory to the current file or directory, for example, the absolute path of directory A11 is C:\A\A1\A11.

[0070] The root directory is not necessarily limited to the location represented by the ...

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 a quick file comparison method, a quick file comparison system and a quick file comparison client side. The quick file comparison method comprises the steps of: e scanning and analyzing a local file directory by the client side; according to the variation of the local file system, updating a first identification tree maintained by the client side; corresponding a node in the first identification tree to each local directory of the client side, wherein node information comprises a node identification and relevant directory information; comparing a second identification tree maintained by server side equipment with the first identification tree node by node by the client side; recording a difference node and a variation file corresponding to the difference node; and according to the difference node and the variation file, providing data to the server side equipment section by the client side so as to update the second identification tree maintained by server side equipment and a stored file. According to the quick file comparison method, a mode of comparing node information for reflecting the local file system of the client side is adopted, and due to the mode, the quickness is realized, the mode is more suitable for bigger and a more complex file system, and the file comparison efficiency and performance can be effectively improved.

Description

technical field [0001] The invention relates to the field of file processing, in particular to a fast file comparison method and system. Background technique [0002] In file processing technology, in order to organize and manage the file system more effectively, it is often necessary to organize and arrange files according to certain rules. This organization and arrangement usually leads to a highly complicated file structure, resulting in a sharp decline in data search performance. . In the file management process, the current file comparison operation generally uses all byte comparisons between files to determine whether the files are the same. This comparison method is feasible in a small file system, but in a large-scale Complex or single-file bulky file systems are nearly impossible, and judgments based on simple file attributes are often inaccurate. [0003] In addition, the source file and the backup file are often stored in different physical media due to factors ...

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
IPC IPC(8): G06F17/30
Inventor 曲彬凯周栋韩成强
Owner ZHENGJIANG PUBLIC INFORMATION
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