Method and system for model-driven development

A model-driven, model-based technology, applied in the field of model-driven development, which can solve problems such as inability to effectively indicate program code retention, code fragment loss, etc.

CN105446725BActive Publication Date: 2019-01-18INT BUSINESS MASCH CORP
5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2019-01-18

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The present disclosure relates to methods and systems for model-driven development. In one embodiment, there is provided a method for model-driven development, comprising: analyzing program code to determine an execution order of statements of the program code, the program code being generated by performing a first transformation on a model, the a model comprising an abstract description of a business implemented by said program code; grouping at least a portion of said statements of said program code into function blocks; creating a visual representation of said program code based on said order of execution and said function blocks and determining a code segment to be retained in the program code based on the user's annotation of the visual representation, the code segment to be retained in the new program code generated by performing the second transformation on the model, the The second transformation is performed after the first transformation. A corresponding system is also described.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] Embodiments of the invention relate generally to program development, and more particularly, to methods and systems for model-driven development. Background technique

[0002] Model Driven Development (Model Driven Development, MDD) is an efficient program development model. For example, various models such as a business rule model (Business Rule Model) may be used to provide abstract definitions for applications or services. For example, a model can define the rules or logic of a business. It is known that such models can be converted into executable program code. As an example, Java code can be generated by converting an EMF (Eclipse Modeling Framework) model. By using the model and its transformation, the logic and rules of the application to be developed can be decoupled from the underlying program code, which is conducive to improving the flexibility of program development and maintenance.

[0003] After the program code is generated according...

Examples

Embodiment Construction

[0019] Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0020] figure 1 A block diagram of an exemplary computer system / server 12 suitable for use in implementing embodiments of the invention is shown. figure 1 The computer system / server 12 shown is only an example and should not impose any limitation on the functions and scope of use of the embodiments of the present invention.

[0021] Such as figure 1 As shown, computer system / server 12 takes the form of a general purpose computing device. ...