A method and a device for automatically generating codes

An automatic generation and code generation technology, applied in the computer field, can solve the problems of asynchrony between documents and codes, complex code generation implementation, etc.

Inactive Publication Date: 2019-04-16
TAIKANG LIFE INSURANCE CO LTD
View PDF10 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present application provides a method and device for automatic code generation to solve the technical problems in the prior art that the code generation is complicated and the requirements document and code are not synchronized

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 a device for automatically generating codes
  • A method and a device for automatically generating codes
  • A method and a device for automatically generating codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the above objects, features and advantages of the present application more obvious and understandable, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0047] Based on the problems in the prior art, the embodiment of the present application provides a method for automatic code generation. By starting the graphical user interface for automatic code generation, the code generation process is implemented at the front end without relying on the background server, and the startup is quick and easy. Easy to implement. The project folder structure can be generated through the project configuration parameters entered by the user in the graphical user interface, and the project requirement document can be generated through the document parameters entered by the user in the graphical user interface, and can be generated in the corresponding proj...

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 embodiment of the invention discloses a method and a device for automatically generating codes, and the method comprises the steps: responding to a code generation service starting request, and starting a graphical user interface for code automatic generation; Obtaining project configuration parameters input by a user through the graphical user interface, and generating a project folder according to the project configuration parameters; Obtaining document parameters input by a user through the graphical user interface, generating a project demand document according to the document parameters, and generating a corresponding code file in the project folder; And in response to the project storage request, storing the project demand file and the code file to complete project creation or updating. According to the method, a graphical user interface used for automatically generating codes is started in a front-end browser, the code generation process is achieved at the front end and doesnot depend on a background server, starting is fast and convenient, implementation is easy and convenient, in addition, corresponding code files can be generated only through document parameters, andsynchronous updating of required documents and codes is achieved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for automatically generating codes. Background technique [0002] In the process of project development, as business scenarios become more and more diverse, there are more and more system function modules, and the calls between systems become more and more complicated, all of which lead to system development, operation and maintenance, and expansion becoming more and more complex. Difficult, invisibly increasing development labor costs and time costs. [0003] In order to reduce the workload of repeated development, there are some solutions for automatic code generation in the prior art. Existing code generation is generally implemented based on back-end services, and service startup and creation are more complicated; in addition, existing code generation needs to be analyzed according to user requirements documents, and various template files are...

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/38
CPCG06F8/38
Inventor 郭又新
Owner TAIKANG LIFE INSURANCE CO LTD
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