Code generation method, device and equipment

A code generation and code technology, applied in the computer field, can solve problems such as low project development efficiency and waste of time

Pending Publication Date: 2020-12-01
杭州指令集智能科技有限公司
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] For the development of a software project, the issues that users are most concerned about are progress and quality. In the Internet field, the overall code structure of most codes is similar or not much different, that is, mainly CURD, so if you add For a new project, the usual practice is to create a new project, and then develop and write the code of the project from scratch. In the process of

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 generation method, device and equipment
  • Code generation method, device and equipment
  • Code generation method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] like figure 1 As shown, the embodiment of this specification provides a code generation method. The execution subject of this method may be a background service device corresponding to a code development platform or a code development plug-in. A platform built for obtaining codes. The background service device corresponding to the code development plug-in can be a background service device built for users or technicians to obtain codes through plug-ins. The code development platform or the background service device corresponding to the code development plug-in can be provided by Server construction, the server can be an independent server, or a server cluster composed of multiple servers. The server can provide code development services for users or technicians, and can provide users or technicians with entity codes and logic codes of a project or certain projects. The method specifically may include the following steps:

[0073] In step S102, a code generation reques...

Embodiment 2

[0087] like image 3 As shown, the embodiment of this specification provides a code generation method, the execution body of the method may be a code development platform, and the code development platform may be a platform built for users or technicians to obtain codes through browsers, etc., the code The development platform can be constructed by a server, which can be an independent server, or a server cluster composed of multiple servers. The server can provide code development services for users or technicians, and can provide users or technicians with entity codes and logic codes of a project or certain projects.

[0088] Among them, according to the different functions that the code development platform needs to realize, the code development platform can be divided into several different components, such as Figure 4 As shown, the code development platform can include Walle, Orm framework and template engine, wherein Walle can be the middle party connecting the browser...

Embodiment 3

[0125] like Image 6As shown, the embodiment of this specification provides a code generation method, the execution subject of the method may be the background service device corresponding to the code development plug-in, and the background service device corresponding to the code development plug-in may be obtained by the user or technician through a plug-in The background service device built by the code, the background service device corresponding to the code development plug-in can be constructed by a server, the server can be an independent server, or a server cluster composed of multiple servers, etc. The server can provide code development services for users or technicians, and can provide users or technicians with entity codes and logic codes of a project or certain projects.

[0126] Among them, according to the different functions that the background service device corresponding to the code development plug-in needs to realize, the background service device correspon...

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 code generation method, device and equipment. The method comprises the steps: receiving a code generation request for a to-be-developed program, and enabling the code generation request to at least comprise the table structure information of a data table contained in the to-be-developed program; determining a data table type matched with the table structure information based on the table structure information of the data table contained in the to-be-developed program, and respectively obtaining an entity code and a logic code corresponding to the data table type; based on the obtained entity code and logic code corresponding to the data table type, the data table type is obtained; according to the method, the entity code and the logic code corresponding to the to-be-developed program are generated according to the table structure information of the data table contained in the to-be-developed program and the table structure information of thedata table contained in the to-be-developed program, the entity code and the logic code conforming to the table structure information can be generated, and the project development efficiency can be improved.

Description

technical field [0001] This specification relates to the field of computer technology, and in particular to a code generation method, device and equipment. Background technique [0002] For the development of a software project, the issues that users are most concerned about are progress and quality. In the Internet field, the overall code structure of most codes is similar or not much different, that is, mainly CURD, so if you add For a new project, the usual practice is to create a new project, and then develop and write the code of the project from scratch. In the process of writing the project code, copy the code structure that was repeated before and use it. However, the process of writing the above project code It may be necessary to carry out a large amount of the above-mentioned repetitive work in the process, thereby wasting a lot of time, and the efficiency of project development is low. Therefore, it is necessary to provide a technical solution with higher efficie...

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/41G06F16/22
CPCG06F8/447G06F16/2282Y02D10/00
Inventor 周振永宋杨
Owner 杭州指令集智能科技有限公司
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