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

Code automatically generating device based on model component, system and method

An automatic generation and code technology, applied in the direction of program control devices, etc., can solve the problems of increasing the cost of model conversion methods, difficulty in reusing model conversion codes, affecting development efficiency and quality, etc., to eliminate the learning curve and technical obstacles, and to achieve a clear software structure. , the effect of improving development efficiency

Inactive Publication Date: 2009-07-29
北京中企开源信息技术有限公司
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are still serious problems in the practical application of MDA: first, the complexity of the MDA specification is high, which limits its application; Difficulties, such as: model conversion, synchronization between models and codes, etc. At present, there are only a few methods and tools for model conversion. The heterogeneity between them makes it difficult to reuse codes for model conversion, and makes learning and The cost of using the model conversion method increases; and the synchronization problem between the model and the code requires developers to maintain both sides, which also makes the actual application of MDA complicated and difficult
[0008] Based on the above analysis, it can be seen that how to meet the needs of different types of application development; how to make a flexible N-tier architecture; how to support the realization of multiple technologies on each application layer have not yet been well resolved solve
Moreover, the description of software components is cumbersome, and it is not easy for programmers to grasp; in addition, many communications with the application layer are completed through some middleware. In this way, it is easy to form a bottleneck due to heavy burden, thus affecting development efficiency and quality

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
  • Code automatically generating device based on model component, system and method
  • Code automatically generating device based on model component, system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The basic idea of ​​the present invention is to construct an automatic code generation device composed of a data layer, a component layer, a process layer, a control layer and a user interface layer, wherein the five-layer structure is divided according to the function realization, and each layer is independent of each other and has a corresponding processing model to complete data processing, component extraction, process processing, function control and user interface processing in code generation; at the same time, code templates are also generated according to certain rules to form different processing codes for different business objects; based on The five-layer models and code templates are controlled and invoked by the code generation engine to cooperate with each other to complete the automatic code generation process.

[0049] Such as figure 1 As shown, the automatic code generation device of the present invention includes a data layer 11, a component layer 12,...

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 discloses a code automatic generation method used for constructing a code automatic generation device, comprising a data layer, a component layer, a process layer, a control layer and a user interface layer, wherein, the five-layer structure is divided in accordance with functions, and every layer is independent and creates a corresponding processing model to complete data processing, component extraction, flow processing, function control and user interface processing. At the same time, a code template is created based on certain rules, and different processing codes are formed for different business objects. Based on the five-layer model and the code template, a code generating engine controls and calls the model of layers and the code template, which cooperate to complete the code automatic generation process. The invention also discloses a code automatic generation device and system; by adopting the invention, the development efficiency, the reusability and the standardization of software can be enhanced and code quality is improved.

Description

technical field [0001] The invention relates to computer code generation technology, in particular to an automatic code generation device, system and method based on model components. Background technique [0002] With the rapid development and popularization of computer applications, computer programs are widely used in various fields, and a variety of functions and services can be realized through computer coding programming. Therefore, the generation and operation of computer codes has become an essential key step. Due to the sharp increase in the amount of code coding, in order to automatically generate code, the industry has proposed many automatic code generation technologies to increase the efficiency of code generation and simplify the code generation process. [0003] At present, technologies related to automatic code generation mainly include Model Driven Architecture (MDA, Model Driven Architecture) related technologies proposed by the Object Management Group (OMG...

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 Patents(China)
IPC IPC(8): G06F9/44
Inventor 杨兴涛任允培
Owner 北京中企开源信息技术有限公司
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