A program generation method and device

A program generation and program technology, applied in the computer field, can solve the problems of non-standard coding, large workload of design, coding and testing, and many factors to consider, so as to enhance scalability, improve code quality and readability, reduce The effect of workload

Active Publication Date: 2021-10-22
BANK OF CHINA
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the complex transaction process of the system, many factors to consider, and a large workload of design, coding and testing, manual code fragments are prone to loopholes and bugs due to omissions, and there are likely to be irregular coding problems

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
  • A program generation method and device
  • A program generation method and device
  • A program generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0035] The embodiment of the present invention discloses a program generation method and device. The code generation engine obtains the transaction requirement description information, transaction technical parameters, relational database and program template, and then the code generation engine generates the template based on the program to generate the transaction requirement description information, Transaction technical parameters and relational database ar...

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 program generation method and device. The code generation engine acquires transaction requirement description information, transaction technical parameters, relational database and program template, and then the code generation engine generates the template based on the program to generate transaction requirement description information, transaction technology Parameters and relational databases are processed to generate standard codes. The invention adopts a code generating engine, a program template and a parameterized configuration function to realize automatic integration processing of transaction requirement description information, transaction technical parameters and a relational database, thereby supporting automatic code generation. Compared with the manual coding of code fragments in the traditional scheme, the invention simplifies the code development process, improves the code quality and readability, and reduces the workload. Moreover, adopting a unified program generation method can improve the efficiency of system upgrading and transformation, enhance the scalability of the program, and effectively avoid the problem of non-standard coding.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, to a method and device for generating a program. Background technique [0002] At present, many tools can generate some code fragments based on input information. For example, Eclipse tools can automatically generate getter / setter, tostring, equals and other codes, and Mybatis generator tools can generate mybatis database access codes. However, the existing tools do not have the function of forming a complete system transaction, therefore, these code fragments cannot be formed into a complete business. [0003] At present, manual intervention is used to form these code fragments into a complete system transaction process. Due to the complex transaction process of the system, many factors to consider, and a large workload of design, coding, and testing, manual code fragments are prone to loopholes and BUGs due to omissions, and there are likely to be irregular cod...

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): G06F8/20G06F8/41G06F16/28G06Q40/04
CPCG06F8/24G06F8/447G06Q40/04
Inventor 李增兴
Owner BANK OF CHINA
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