Program file comparison method and device

A program file and program technology, applied in the field of program file comparison methods and devices, can solve the problems of time-consuming modification of files and low accuracy rate, and achieve the effect of improving comparison accuracy and improving comparison efficiency

Active Publication Date: 2017-03-29
HUNDSUN TECH
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the purpose of the present invention is to provide a method and device for comparing program files to solve the problems of time-consuming and low accuracy in modifying files by manually selecting codes

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, 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 embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0069] This application compares executable program files in ELF (Executable and Linking Format) format, and automatically finds the modified part of the code part in the ELF file, without manual selection by the configuration administrator.

[0070] An ELF file is an object file format used to define what to put in different types of object ...

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 program file comparison method and device. The method comprises the following steps of: before comparing a program set file corresponding to the last version and a program set file corresponding to the current version, firstly obtaining program files with the same names in program sets of the two versions; respectively obtaining non-code variable nodes in the two program files; replacing the non-code variable nodes in the two program files by preset characters to ensure that non-code variables of the two program files are completely the same after the replacement; comparing whether file contents of the processed program files are the same or not; and if the comparison result is negative, indicating that code parts of the program files of the two versions are different and storing the program file corresponding to the current version. By utilizing the method provided by the invention, the files, the code parts of which are different, in the program files of the two versions can be automatically recognized without artificially selecting the modified program files, so that the comparison efficiency is greatly improved and the comparison correctness is improved.

Description

technical field [0001] The invention belongs to the field of computer technology, and in particular relates to a program file comparison method and device. Background technique [0002] After a program is released, if the released program is updated, the incremental release method is usually adopted. The so-called incremental release means that only program files with modified code parts (that is, incremental packages) are released, and program files without modification are not released together with modified program files. The client also only needs to download the incrementally released program package to update the program, which greatly reduces the required download volume and speeds up the update speed. [0003] When the incremental package is released, the configuration administrator usually needs to manually select the modified program files one by one from the assembly set to form an incremental package and release it. For large projects that may contain hundreds ...

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): G06F9/44
CPCG06F8/658G06F8/71G06F8/73
Inventor 柳伟翁建平
Owner HUNDSUN TECH
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