Software model synchronization method based on code modification

A software model and code technology, applied in the direction of model-driven code, creation/generation of source code, program control device, etc., can solve problems such as software development behavior cannot be carried out normally, models and codes are inconsistent, models cannot correspond, etc., reaching the definition The effect of flexible rules, ensuring consistency, and reducing workload

Active Publication Date: 2013-08-07
NANJING UNIV
View PDF2 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

After multiple versions, the code has changed a lot from the original code, and it cannot correspond to the original model. At this time, if the model is needed to complete the relevant work, you will encount

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
  • Software model synchronization method based on code modification
  • Software model synchronization method based on code modification
  • Software model synchronization method based on code modification

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In the specific implementation of the software model synchronization method based on code change described in the present invention, the existing software model and the software code corresponding to the software model are first required, and different versions of the same code unit can be managed through the version control system. The present invention analyzes different software models according to the rule set, and can adopt code retrieval technology and combine heuristic information to establish corresponding correspondence between elements in the model and elements in the code. Compare the codes of different versions, filter out more important changes, decide how to modify, delete and add models according to the applicable rule set of the software model, and finally update the model.

[0041] The specific implementation process of the software model synchronization method based on code changes described in the present invention is as follows: figure 1 shown.

[0...

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 software model synchronization method based on code modification. By means of the method, non-substantial modification, non-essential modification and non-correlation modification codes are filtered out from changed codes, and modification codes relevant to a software model are obtained. The software model is matched with the relevant modification codes, a corresponding relation between elements in the model and elements in the codes is built, the obtained code modification information and the corresponding relation between the elements in the model and the elements in the codes are translated into updating operation, a new model is generated, and model synchronization is achieved. The software model synchronization method can be integrated in a code version management system, automatic or semi-automatic updating of the software model can be conducted by pre-defining rules, and consistency of the software model and the codes is guaranteed.

Description

technical field [0001] The invention relates to a method for synchronizing outdated software models and new codes, and belongs to the interdisciplinary technical fields of software engineering and model-driven engineering. Background technique [0002] Model-driven engineering takes the model as the main product, and attempts to clarify the content of software development through the establishment of models, which is an important topic in the development of software engineering in recent years. The model is expressed in a modeling language, which can describe software but is higher than software. It is an intermediate product that describes design and guides software development. [0003] The standard software development process includes the steps of requirement analysis, model design, code writing, and test deployment. Among them, model design not only undertakes various elements in demand analysis, but also serves as the benchmark for subsequent activities such as writin...

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/445
CPCG06F8/35
Inventor 王林章李袁奎李宣东陈志
Owner NANJING UNIV
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