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

Version management method and apparatus

A version management, version technology, applied in the computer field, can solve the problem of unable to trace the source program editing records, etc., to achieve the effect of version management

Active Publication Date: 2016-09-21
BANK OF CHINA
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, during the development process from one historical node to another historical node in software product development, the source program of the software product has been edited many times by different developers, and the existing version management method can only record the The edited source program of the software product cannot be traced between two historical nodes

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
  • Version management method and apparatus
  • Version management method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] figure 1 A flowchart of a version management method provided by an embodiment of the present invention, including:

[0055] 101: Receive a DDL statement, and acquire the name, type and owner of the target object edited by the DDL statement from the DDL statement.

[0056] A database schema definition language statement (Data Definition Language, DDL) is an operating language for editing objects in a database, and the editing includes creating, deleting or modifying. When the DDL statement is received, it means that the target object in the software product development program needs to be edited, and the DDL statement includes the name of the edited target object, the type of the target object, and the owner of the target object. The DDL statement also includes the specific content of editing the target object.

[0057] During specific implementation, optionally, the method further includes:

[0058]Obtain the login information of the user who sends the DDL statement;...

Embodiment 2

[0092] figure 2 A schematic structural diagram of a device for version management provided by an embodiment of the present invention, the device includes:

[0093] The first acquiring module 201 is configured to receive a DDL statement, and acquire the name, type and owner of the target object edited by the DDL statement from the DDL statement.

[0094] The second obtaining module 202 is configured to obtain the source code and the ID of the source code before editing the DDL statement according to the name, type and owner of the target object.

[0095] The third obtaining module 203 is configured to obtain the ID of the target object and the source version ID according to the name of the target object.

[0096] A generating module 204, configured to generate a new version ID according to the source version ID.

[0097] The fourth acquiring module 205 is configured to acquire new code after editing the source code by the DDL statement.

[0098] The first recording module 2...

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 version management method and apparatus. The method comprises the steps of receiving a DDL statement, and obtaining a source code before editing by the DDL statement and an ID of the source code according to a name, a type and an owner of a target object in the DDL statement; obtaining an ID of the target object and a source version ID according to the name of the target object; generating a new version ID according to the source version ID; obtaining a new code after the source code is edited by the DDL statement; and recording the name and the ID of the target object, the new version ID, a corresponding relationship between the ID of the source code and the new code, and a corresponding relationship between the ID of the source code and the source code. When the DDL statement is received each time, the name and the ID of the target object edited by the DDL statement, the new version ID, and the corresponding relationship between the source code before editing by the DDL statement and the new code after editing by the DDL statement are recorded, namely, each program editing event in a software product development process is recorded, thereby realizing version management of the software product development process.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a version management method and device. Background technique [0002] Version management is the management of different versions of the source program of the software product being developed during the software development process. When using procedural / structured query language (Procedural Language / StructuredQuery Language, PL / SQL) development tools to develop software products, multi-tasks are developed in parallel, and the development environment has a high degree of reuse, which is likely to cause different versions of the source program of the software product Management confusion affects the development quality of software products. [0003] At present, the existing commonly used version management method is: in the development process of the software product, each time a historical node is developed, the source program of the software product development is saved once. ...

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/44
CPCG06F8/71
Inventor 戴丽玛欧阳小兵宋金玲于鸿鹏杜宁宁林明唐奇陈宏亮
Owner BANK OF CHINA
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