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

Code generating method and code generating device

A code generation and code technology, applied in program control devices, creation/generation of source code, structured data retrieval, etc., can solve the problem of inflexible application of code generators, and achieve the effect of universal applicability

Inactive Publication Date: 2017-03-01
SHENZHEN YUNZHI YI LEAGUE TECH CO LTD +1
View PDF6 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, an embodiment of the present invention provides a code generation method and a code generation device, which are used to solve the problem that the existing code generator is not flexible enough

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 generating method and code generating device
  • Code generating method and code generating device
  • Code generating method and code generating device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] figure 1 It is a schematic flowchart of a code generation method according to an embodiment of the present invention. The code generation method and the code generation device can automatically generate codes. The code generation method is an automatic conversion mechanism or a mapping from a source model to a target model. It uses Tool programs (code generators) generate documents, interfaces, program segments, etc. The code generation method comprises the following steps:

[0020] S101, responding to user request instructions, editing code templates;

[0021] In some embodiments, the code template can be preset in the system, or can be customized by the user through the system, or directly imported from outside the system.

[0022] S103, storing the code template;

[0023] In some embodiments, the code template has instructions on it to convert model elements into physical artifacts. The template structure of each template includes four types: text instruction, br...

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 generating method. The method comprises the steps of replying to a user request instruction and editing a code template; storing the code template; receiving basic information and a template document path inputted by the user and used for generating a required code, wherein the information includes a code outputting path, a module name, a database type and selected data table information; extracting the corresponding code template on the basis of the template document path; generating the code according to the basic information and the extracted corresponding code template. The invention also provides a code generating device.

Description

technical field [0001] The present invention relates to the technical field of computer software, in particular to a code generation method and a code generation device. Background technique [0002] When people use computer software and hardware to realize office automation and management automation, they also consider the automatic generation of program codes. When people use computer software and hardware to realize office automation and management automation, they also consider the automatic generation of program codes. In order to reduce the intensity of software development, shorten the development cycle, reduce the repetitive writing of code, and reduce the programming burden of programmers, there are many code generators on the market. [0003] However, many code generators and ordinary people only pay attention to the speed and quality of program writing, but ignore its flexibility. Because the requirements for generating code are various, and the quality requirem...

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/44G06F17/30
CPCG06F8/30G06F16/284G06F16/289
Inventor 易兵袁朝平万勇
Owner SHENZHEN YUNZHI YI LEAGUE TECH CO LTD