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

Code generation method and device, computer equipment and storage medium

A code generation and computer program technology, applied in the field of code generation, can solve the problems of high development cost, low development efficiency, and high transformation cost, and achieve the effect of reducing development cost and improving development efficiency.

Pending Publication Date: 2020-01-10
ZHEJIANG NUMBER CHAIN TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In related technologies, just developing a simple background management system requires a lot of coding work, high development costs, low development efficiency, and low growth value for programmers. In addition, each company's architecture group will define a set of specifications , In order to implement this set of specifications, a lot of time is wasted to build a framework and write code according to the specifications, which leads to high development costs, low development efficiency, high cost of compliance with specifications, and high transformation costs
[0004] Aiming at the problems of low development efficiency and high cost caused by programmers writing repetitive codes in related technologies, no effective solution has been proposed yet

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0037] In an embodiment of the present invention, a code generation method is provided, figure 1 is a flow of a code generation method according to an embodiment of the present invention Figure 1 ,Such as figure 1 As shown, the method includes the following steps:

[0038] Step S102, reading the database table of the target database, wherein the database table corresponds to the target code file;

[0039] Step S104, receiving a first selection instruction corresponding to the database table and a second selection instruction corresponding to the application scenario system;

[0040] Step S106, configuring the package path and output directory of the object code file;

[0041] Step S108, accordi...

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 code generation method and device, computer equipment and a storage medium, and the method comprises the steps: reading a database table of a target database, wherein the database table corresponds to a target code file; receiving a first selection instruction corresponding to the database table and a second selection instruction corresponding to an application scene system; configuring a packet path and an output directory of the target code file; according to the first selection instruction and the second selection instruction, loading a code template, wherein the code template marks the replaced characters with mark characters; and after the mark character is replaced by the code generator, outputting the target code file according to the package path and the output directory, so that the problems of low development efficiency and high cost when a programmer compiles repetitive software codes are solved, the development efficiency of the software codes is improved, and the development cost is reduced.

Description

technical field [0001] The present invention relates to the field of software testing, in particular to a code generation method, device, computer equipment and storage medium. Background technique [0002] After working for a few years, every developer will find that they sometimes write repetitive and completely overgrown code, and often make mistakes. And these repetitive codes have little room for programmers to play, almost mechanical labor. Since it is mechanical labor, it can be done by machinery. This is the reason for writing a code generator, allowing programmers to spend more time writing business logic. [0003] In related technologies, just developing a simple background management system requires a lot of coding work, high development costs, low development efficiency, and low growth value for programmers. In addition, each company's architecture group will define a set of specifications , In order to implement this set of specifications, it takes a lot of ti...

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): G06F40/186G06F16/28
CPCG06F16/284
Inventor 肖荣辉
Owner ZHEJIANG NUMBER CHAIN TECH CO LTD
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