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

Code generation method and device

A code generation and code technology, applied in the computer field, can solve problems such as low development efficiency, occupying the time and energy of developers, and achieve the effect of improving development efficiency

Active Publication Date: 2020-06-23
ANT WEALTH (SHANGHAI) FINANCIAL INFORMATION SERVICES CO LTD
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The writing of these service access layer codes takes up a certain amount of time and energy of developers during the development process, resulting in low 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
  • Code generation method and device
  • Code generation method and device
  • Code generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the specification. However, this specification can be implemented in many other ways different from those described here, and those skilled in the art can make similar extensions without violating the connotation of this specification, so this specification is not limited by the specific implementations disclosed below.

[0023] Terms used in one or more embodiments of this specification are for the purpose of describing specific embodiments only, and are not intended to limit one or more embodiments of this specification. As used in one or more embodiments of this specification and the appended claims, the singular forms "a", "the", and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" used in one or more embodiments of the present specification refers t...

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 embodiment of the invention provides a code generation method and device. The code generation method comprises the steps that mvn coordinates set by a user and a jar package corresponding to an RPC service name are downloaded from an mvn warehouse; the method provided by the jar package is displayed, so that a user can select a method needing to be used from the jar package; analyzing interface information in the jar packet according to the selected method; the interface information is input into a preset code generation template, a template language allowed by a template engine in the code generation template describes codes generated according to the interface information, and the codes are used for calling the selected method; and rendering the code generation template through the template engine to generate the code.

Description

technical field [0001] The embodiments of this specification relate to the field of computer technology, and in particular to a code generation method. One or more embodiments of this specification also relate to a code generation device, a computing device, and a computer-readable storage medium. Background technique [0002] In a distributed system under the microservice architecture, a complete business capability is often completed by several services working together. Among them, the RPC service needs to be connected and called by the service access layer in the microservice architecture. Under this architecture, technicians need to frequently write codes that call downstream RPC services at the service access layer during the development process. The writing of these service access layer codes takes up a certain amount of time and energy of developers during the development process, resulting in low development efficiency. [0003] In order to improve development ef...

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): G06F8/30G06F8/35
CPCG06F8/31G06F8/35
Inventor 柴博周
Owner ANT WEALTH (SHANGHAI) FINANCIAL INFORMATION SERVICES 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