Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for matching executable program and source code

A technology for executing programs and source codes. It is applied in the field of matching executable programs and source codes. It can solve problems such as incomplete testing, code incomplete determination, and version inconsistencies. safe effect

Pending Publication Date: 2022-03-01
富盛科技股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage is that due to factors such as personnel resignation and long time, it is not completely sure that the code is the version at that time
The disadvantage is that in the actual operation process, if there are many functions, the test cannot cover everything; the program print log cannot be determined through the log due to factors such as the program does not print logs, there are few logs, and the operating environment
The disadvantage is that during the actual operation, the R&D personnel may download the code from the svn server, modify some content and then compile it to the site, resulting in inconsistent versions

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 matching executable program and source code
  • Method and system for matching executable program and source code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to understand the content of the present invention more clearly, it will be described in detail with reference to the drawings and embodiments.

[0039] The first aspect of the present invention relates to a process flow such as figure 1 The shown method for matching executable programs and source codes includes the following steps:

[0040] Step S1, put the code version generator into the root directory of the source code, and run the code version generator;

[0041] Step S2, the code version generator reads the information of the source code, and generates corresponding encrypted information;

[0042] Step S3, writing the encrypted information into the first hidden file;

[0043] Step S4, compiling the source code, reading the content of the first hidden file and compiling it into an executable program.

[0044] Further, the step S2 also includes reading the directory name, file name, file size, and file last modification date information of the source cod...

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 the technical field of computers, in particular to a method and system for matching executable programs and source codes. The method comprises the following steps: putting a code version generator into a root directory of a source code, and running the code version generator; the code version generator reads the information of the source code and generates corresponding encryption information; writing the encrypted information into a first hidden file; compiling the source code, reading the content of the first hidden file and compiling the content into the executable program. According to the method, through editing design of the code version generator, the problem that a field program and a source code of project operation are difficult to match can be solved, modification and upgrading of subsequent programs become safer, and daily operation and maintenance are facilitated.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and system for matching executable programs and source codes. Background technique [0002] In actual projects, the running software needs to upgrade the on-site program due to new requirements from the user or the instability of the on-site program, but it is impossible to determine whether the on-site program matches the current source code. If it is modified and replaced rashly, Some sticky issues may arise. [0003] In view of the above problems, in the prior art, the following three methods are generally used to solve the problem: [0004] 1. The developers at that time looked for the source code at that time. The disadvantage is that due to factors such as personnel resignation and long time, it is not completely sure that the code is the version at that time. [0005] 2. Compile the existing source code, test it in the test environment, and judge whether it i...

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): G06F11/36G06F21/60
CPCG06F11/3624G06F21/602
Inventor 徐建
Owner 富盛科技股份有限公司