Code generation method and code generation system

A code generation and code technology, applied in the computer field, can solve problems such as reducing development efficiency, time-consuming debugging and running process, troublesome files, etc., to ensure standardization and correctness, and improve development efficiency

Active Publication Date: 2017-03-22
ZICT TECH CO LTD
View PDF5 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. Manually written files are cumbersome and error-prone, and different people may form their own coding styles, resulting in codes that cannot follow the unified coding standard, and consume a lot of time in the subsequent debugging and running process;
[0004] 2. There are a large number of repetitive coding processes from database tables to entity objects, data access, interfaces, etc. The development of each process requires code inspection, compilation and debugging, which reduces development efficiency
[0005] For the above problems, there is currently no effective solution

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 code generation system
  • Code generation method and code generation system
  • Code generation method and code generation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0035] In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. EXAMPLE LIMITATIONS.

[0036] figure 1 A schematic flowchart of a code generation method according to an embodiment of the present invention is shown.

[0037] Such as figure 1 As shown, the code generation method 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 provides a code generation method and a code generation system. The code generation method comprises obtaining a target sample code, and creating a code generation template in dependence on the target sample code, the code generation template including a different content replacing identification and a sharing content; determining the fill content corresponding to the different content replacing identification when a code generation instruction is received, and filling the different content replacing identification with the fill content in order to obtain a processed code generation template; and generating the code in dependence on the processed code generation template. According to technical scheme, the code can be generated based on the created code generation template, the code exploitation efficiency can be effectively improved, and the code normativity and correctness can be ensured.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a code generation method and a code generation system. Background technique [0002] In related technologies, in the process of project development, there are usually many repeated configuration items, such as iBatis configuration files, Hibernate configuration files, Struts, Spring, XML (Extensible markup Language, Extensible Markup Language) configuration, etc. The general approach is In manually creating a new configuration file, copy the XML unified XSD (XML SchemasDefinition, XML structure definition) specification header definition, and then create node configuration information according to the standard specification. This method of manually creating configuration files has the following drawbacks: [0003] 1. Manually written files are cumbersome and error-prone, and different people may form their own coding styles, resulting in codes that cannot follow the un...

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): G06F9/44
CPCG06F8/30G06F8/33
Inventor 贺毅刚
Owner ZICT TECH 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