Method and system for identifying software code svn version in executable file

A technology for executing files and software codes, applied in memory systems, program control design, instruments, etc., can solve problems such as version confusion, code version number mismatch, cumbersome version management work, etc., to achieve simple version management work and clear versions. Effect

Inactive Publication Date: 2012-06-13
DAWNING INFORMATION IND BEIJING
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] For more complex software, especially software that has just been released, there are often multiple frequent version updates. In the above method, version documents or version variables are maintained manually, and version management is cumbersome. Once an error occurs, it will lead to release. The version number of the code does not correspond to the code version number in svn, and the version is confusing

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
  • Method and system for identifying software code svn version in executable file
  • Method and system for identifying software code svn version in executable file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] figure 1 It is a schematic flow sheet of the present invention, and the method and process of the present invention are as follows:

[0045] (1) Write the code of a tool software that displays the code svn version number, such as show_svn.c, include a header file in the code, such as "#include svn_ver.h;", and print an external global variable representing the svn version Value, such as "extern int glob_svn;".

[0046] (2) Modify the compilation environment configuration script, such as configure, to read the entries file hidden in the .svn directory under the root directory of the software code, and read the code svn version number of the software therefrom.

[0047](3) Configure the header file included in the script construction tool software, such as svn_ver.h, use the code version number read from the entries file to assign a value to the global variable representing the code svn version number in the header file, such as "intglob_svn=10000;" .

[0048] (4) When...

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 method and system for identifying a software code svn version in an executable file. The system modifies a compilation process of a release vision, automatically extracts a code vision number in svn in a compilation environment configuration script and records the code vision number in the executable file so that the svn version of a code can be directly displayed through a version checking command of the executable file, thus the unification of the release vision of software and the code svn version is ensured. Compared with the prior art, the system for identifying the software code svn version in the executable file, disclosed by the invention, has the advantage of realizing the method for identifying the software code svn version in the executable file and simplifying software code version management.

Description

technical field [0001] The invention belongs to the field of software development, and in particular relates to a method and a system for identifying software code svn versions in executable files. Background technique [0002] In the process of developing, debugging, and publishing general software, many code versions are often generated. Each release version of the software needs to correspond to a code version in svn, so that when there is a problem with the software product, developers can conveniently Locate the corresponding version of the code and modify it. In order to achieve complex code version management, the source code version management system (svn) is generally used in the software development process. Whenever new code is submitted to svn, svn automatically updates the version number of the code, so that each code version is in svn Each corresponds to a unique version number. [0003] The patent number "CN200710147560.X" and the title of the invention "A s...

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): G06F9/44G06F9/45
Inventor 刘朝辉刘灿李锋伟姬乃军邵宗有
Owner DAWNING INFORMATION IND BEIJING
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