Supercharge Your Innovation With Domain-Expert AI Agents!

Source code generation method and device

A technology of code generation and source code, applied in the field of source code generation method and device, to achieve the effect of improving efficiency

Pending Publication Date: 2021-05-28
CHINA UNITECHS
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides a source code generation method and device, which can alleviate the problem of rebuilding the source code project every time a new product development is started, unify the project framework, save the construction time of the source code, and improve the development efficiency

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
  • Source code generation method and device
  • Source code generation method and device
  • Source code generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. the embodiment. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0018] At present, with more and more projects in the company, the projects are basically distributed JAVA framework, NODEJS front-end framework and background script engineering development. Every time a developer develops a project, they need to rebuild many distributed projects and add dependent projects, which causes delays in the project startup process and affects the project d...

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 source code generation method and device, and the method comprises the steps: obtaining an interface instruction, and determining a target template project and a target dependence project according to the interface instruction; wherein the target template project comprises a pre-configured source code used for realizing a target function; the target dependency project comprises a pre-configured source code used for determining the dependency relationship of the target template project; loading the basic data of the target template project and the basic data of the target dependency project to obtain a loading result; wherein the basic data of the target template project are pre-configured parameters corresponding to the target function; the basic data of the target dependency project are pre-configured parameters corresponding to the dependency relationship; and if the target dependent projects related to the target template project do not conflict in the loading result, taking the loading result as the target source code. According to the invention, the source code generation efficiency is improved; in addition, the target source code with a unified framework can be obtained.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a source code generation method and device. Background technique [0002] Every time a new product and project development starts, many source code projects need to be rebuilt. Including front-end, front-end and back-end projects. This traditional method of generating code engineering causes many project frameworks to be inconsistent, and is not conducive to the improvement of development efficiency. Contents of the invention [0003] The present invention provides a method and device for generating source code, which can alleviate the problem of rebuilding a source code project every time new product development is started, unify the project framework, save time for building source code, and improve development efficiency. [0004] In the first aspect, the embodiment of the present invention provides a method for generating source code, the method includes: ac...

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/36G06F8/41
CPCG06F8/36G06F8/447Y02D10/00
Inventor 孟金斗
Owner CHINA UNITECHS
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More