File comparison method and device

A file and comparison technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of energy consumption, many steps, high cost of server cluster operation and maintenance, and achieve the effect of rapid comparison

Active Publication Date: 2014-04-16
CHINA UNIONPAY
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing methods also have the following disadvantages: From an economic point of view, using server clusters to shorten the approximate comparison time, but the operation and maintenance costs of server clusters are high, and a large amount of energy needs to be consumed, which costs a lot; From a perspective, unnecessary file sorting steps are required, which consume system memory, CPU, and I / O resources. There are too many steps and require too much manual intervention.
Therefore, until now, there is no practical and practical technology to solve the approximate comparison technology of massive files based on key domains required by the financial industry.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Unless specifically stated otherwise, as will also be appreciated from the following discussion, throughout this specification, discussion using terms such as "processing," "calculating," "determining" means using The action or process of a specific device, such as an electronic computing device. In the context of this specification, a computer or similar electronic computing device is capable of manipulating or transforming signals. These signals are typically represented as physical electronic or magnetic quantities in memory, registers, or other information storage, transmission, or display devices of a computer or similar electronic computing device. For example, an electronic computing device may include one or more processors that perform one or more specific functions.

[0021] According to one aspect of the present invention, a hash function is used for file comparison. The file here is a financial journal file, but it may also be other types of files. For th...

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 provides a file comparison method. The method includes the steps that the sizes of files to be compared are compared, if the sizes of the files to be compared are not uniform, it is determined that the files to be compared are different; otherwise the files to be compared are encoded through the hash function to obtain corresponding conversion data sets; the conversion data sets are compared; if the conversion data sets are the same, the files to be compared are compared. According to the file comparison method, comparison of the files with a large amount of information can be achieved rapidly.

Description

technical field [0001] The present invention generally relates to the field of computer information processing, and in particular relates to a rapid processing technology for files with a large amount of information. Background technique [0002] An important feature of the information age is the rapid expansion of information volume. For example, in the financial field, with the rapid development of the financial industry, the number and size of financial transaction files are increasing rapidly, and the file information of financial journal files is huge, with more than 100,000 lines. In addition, it also has the following characteristics: 1) In line units; 2) There is no constraint relationship between lines, and it is inserted into the file in a random form. In the parallel test of the financial transaction system, it is necessary to compare all the differences between two batches of approximate flow files to confirm the test results of the system. In the face of massi...

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): G06F17/27
Inventor 尹祥龙万鑫明吴金坛吕苏马军杨惠娟高伟东周涛
Owner CHINA UNIONPAY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products