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

Comparison method and device of file differences

A file and difference technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as the inability to quickly find changes in the smallest structural unit

Active Publication Date: 2018-08-24
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of this application is to provide a method and device for comparing file differences, so as to solve the problem in the related art that the version management software cannot quickly find the change of the smallest structural unit of the file content before and after the file change

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
  • Comparison method and device of file differences
  • Comparison method and device of file differences

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0024] It should be noted that the terms "first" and "second...

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 application discloses a comparison method and device of file differences. The method includes: obtaining file contents of a file before a change and file contents after the change; converting thefile contents before the change to a first matrix, and converting the file contents after the change to a second matrix; acquiring a first feature vector of the first matrix and a second feature vector of the second matrix; converting the first matrix to a first hash table according to the first feature vector, and converting the second matrix to a second hash table according to the second featurevector; and determining the differences of smallest structure units of the file contents before the change and the file contents after the change according to a comparison result of the first hash table and the second hash table. Through the method, the problem that in the related art, version management software cannot quickly find changes of smallest structure units of file contents before andafter file changes is solved.

Description

technical field [0001] The present application relates to the field of document difference comparison, in particular, to a method and device for document difference comparison. Background technique [0002] In software development and testing, quickly finding and confirming file changes is an important link to ensure the quality and speed of software development. The comparison of file differences is often used to confirm whether the changes of two versions of a file meet expectations. Specifically, in software development, through the comparison of file differences, you can quickly know whether the changes of software files are consistent with the requirements documents; in the test, pass File difference comparison can quickly determine what needs to be tested, formulate a test plan, and before integration testing, some software design defects can be found through file difference comparison. [0003] In related technologies, file difference comparison is usually done by ve...

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
CPCG06F16/137G06F16/148
Inventor 郑重
Owner NETEASE (HANGZHOU) NETWORK CO LTD
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