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

A method and apparatus for program generation

A program and code generation technology, applied in the computer field, can solve the problems of non-standard coding, many considerations, heavy workload of design, coding and testing, etc., to enhance scalability, reduce workload, improve code quality and reliability. readability effect

Active Publication Date: 2019-03-01
BANK OF CHINA
View PDF10 Cites 12 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 method and apparatus for program generation
  • A method and apparatus for program generation
  • A method and apparatus for program generation

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 a device thereof. The code generation engine obtains transaction demand description information, transaction technical parameters, a relationaldatabase and a program template, and then the code generation engine generates a template based on the program, processes the transaction demand description information, the transaction technical parameters and the relational database, and generates a standard code. The invention adopts code generation engine, program template and parameterized configuration function, realizes automatic integration processing of transaction demand description information, transaction technical parameters and relational database, thereby supporting automatic code generation. Compared with the traditional scheme, the invention simplifies the code development process, improves the code quality and readability, and reduces the workload. Moreover, the unified program generation method can improve the efficiencyof 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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products