Supercharge Your Innovation With Domain-Expert AI Agents!

Model-based code generation method and device, computer equipment and medium

A code generation and model technology, applied in the field of automatic program design, can solve the problems of disconnection between design and development, achieve the effect of solving the disconnection between design and development, avoiding irregularities, and improving development efficiency

Pending Publication Date: 2021-06-11
CHINA CONSTRUCTION BANK
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a model-based code generation method, device, computer equipment, and media, which can solve the problem of disconnection between design and development in traditional program development, and improve the efficiency of program code development

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
  • Model-based code generation method and device, computer equipment and medium
  • Model-based code generation method and device, computer equipment and medium
  • Model-based code generation method and device, computer equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

[0031] figure 1 It is a flow chart of a model-based code generation method provided by the embodiment of the present invention. This embodiment is applicable to the scene of automatic code generation, and the method can be executed by a model-based code generation device, which can be implemented by software and / or or hardware implementation, and is generally configured in a computer device, the device executes the model-based code generation method provided by the embodiment of the present invention. like figur...

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 automatic programming, and discloses a model-based code generation method and device, computer equipment and a medium. The method comprises the following steps: determining an operated target primitive according to operation information of a primitive, and obtaining configuration information of the target primitive; configuring the target primitive according to the configuration information to generate flow nodes, and displaying a flow chart framework formed by combining the flow nodes; obtaining business data corresponding to each graphical node in the flow chart framework, and configuring each graphical node according to the business data to obtain a program model; and obtaining a target language type, and generating codes corresponding to the program model according to an analysis rule corresponding to the target language type and the process node type. According to the embodiment of the invention, the effect of automatically generating the program codes based on the program design is achieved, the software design concept of 'coding by design ' is realized, the problem of disjunction of design and development in traditional program development is solved, the development efficiency of the program codes is improved, and the nonstandard condition in the development process is avoided.

Description

technical field [0001] Embodiments of the present invention relate to automatic programming technology, and in particular to a model-based code generation method, device, computer equipment and media. Background technique [0002] Program design is based on the logic and outline design of business implementation, and the process of implementing the specific implementation logic with programs. [0003] In the traditional program development process, program design and development are disconnected, and developers are required to develop program codes according to program design, so the development ability of developers is required to be high. In addition, if the development framework changes, it is often necessary to change the underlying development language. For example, assuming that the development framework before the change adopts COBOL (Common Business-Oriented Language, a common language for business), and the development framework after the change adopts Java, develo...

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): G06F8/33G06F8/30G06F8/20
CPCG06F8/24G06F8/315G06F8/33
Inventor 刘俊霞陈军
Owner CHINA CONSTRUCTION BANK
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More