Unlock instant, AI-driven research and patent intelligence for your innovation.

Project code automatic generation method and device, computer equipment and storage medium

A technology for automatic generation and computer programs, applied in the direction of creating/generating source codes, intelligent editors, etc., can solve problems such as reducing development efficiency, increasing project risks, developers being passive and slowing down or even resigning, so as to improve development efficiency and reduce Development intensity and complexity, the effect of avoiding project errors

Pending Publication Date: 2019-05-31
PING AN TECH (SHENZHEN) CO LTD
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the process of developing programs, especially in the process of developing some business systems, when new projects are generated or updated, manual code writing operations are required, and there are many procedures, especially when the number of projects is large. Manual completion by personnel will not only reduce development efficiency, but also bring a lot of bugs. The most important thing is that it is very easy for developers to get bored and slow down or even leave the job, thereby increasing the human resource cost of the project and increasing the risk of the project
Therefore, various code generation tools are used in larger development teams. However, the current code generation tools on the market cannot flexibly meet the individual needs of users, and after the code is generated, if subsequent projects need to add some new , you can no longer rely on the code generator and must manually add the code yourself

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
  • Project code automatic generation method and device, computer equipment and storage medium
  • Project code automatic generation method and device, computer equipment and storage medium
  • Project code automatic generation method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] figure 1 A flowchart of an embodiment of a method for automatically generating project codes according to the present invention is shown, including the following steps:

[0060] Step S1, obtaining a standard project code template corresponding to the standard project, where the standard project refers to a project that integrates all supported components. In this embodiment, the standard project code template is manually completed by the developer. Specifically, the developer first writes the code corresponding to each component that needs to be integrated in the standard project based on the framework development framework. After the code is written, in the appropriate place of the code Add freemark syntax to generate freemark templates. For example, add tags before the corresponding codes of each component. When generating the initial project code of the target project, the code of the corresponding component will be integrated only when the corresponding component i...

Embodiment 2

[0075] image 3 An embodiment of a project code automatic generation device 10 of the present invention is shown, which specifically includes:

[0076] The standard project code template obtaining module 11 is configured to obtain a standard project code template corresponding to a standard project, wherein a standard project refers to a project that integrates all supportable components. In this embodiment, the standard project code template is written based on the framework development framework, which includes the code corresponding to each component integrated in the standard project.

[0077] The target project information acquisition module 12 is configured to obtain the basic information of the target project to be generated and the information of the components to be integrated through a visual interface, wherein the integrated components of the target project are part or all of the components in the standard project. Specifically, in this embodiment, a visual input i...

Embodiment 3

[0093] The present invention also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a cabinet server (including an independent server, or a multi- A server cluster composed of servers), etc. The computer device 20 of this embodiment at least includes but is not limited to: a memory 21 and a processor 22 that can communicate with each other through a system bus, such as Figure 5 shown. It should be pointed out that, Figure 5 Only computer device 20 is shown having components 21-22, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.

[0094] In this embodiment, the memory 21 (that is, a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), a st...

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 provides a project code automatic generation method and device, computer equipment and a storage medium, and the method comprises the following steps: S1, obtaining a standard project code template which comprises codes corresponding to all components of a standard project integration; S2, obtaining basic information of a to-be-generated target project and component information needing to be integrated, wherein components integrated by the target project are part or all of the components in the standard project; And S3, obtaining codes of corresponding components from the standard project code template according to the component information needing to be integrated of the target project, assembling the codes of the components to generate project initial codes of the target project, and storing the project initial codes. The project codes can be automatically generated, the development intensity and complexity of developers are greatly reduced, the development efficiency is improved, and bugs are reduced; And corresponding components can be flexibly selected according to needs to generate project codes.

Description

technical field [0001] The invention relates to the technical field of software development, in particular to a project code automatic generation method, device, computer equipment and storage medium. Background technique [0002] In the process of developing programs, especially in the process of developing some business systems, when new projects are generated or updated, manual code writing operations are required, and there are many procedures, especially when the number of projects is large. Manual completion by personnel will not only reduce development efficiency, but also bring a lot of bugs. The most important thing is that it is very easy for developers to get bored and slow down or even leave the job, thereby increasing the human resource cost of the project and increasing the risk of the project . Therefore, various code generation tools are used in larger development teams. However, the current code generation tools on the market cannot flexibly meet the indivi...

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/33
Inventor 秦岭周晶
Owner PING AN TECH (SHENZHEN) CO LTD