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

Code generation method, device and equipment and storage medium

A code generation and code technology, applied in the computer field, can solve the problems of low interface code generation efficiency, labor and time consumption, etc., and achieve the effects of convenient inspection and editing, improved accuracy, and easy inspection.

Active Publication Date: 2020-07-28
GUANGZHOU KUGOU COMP TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, manually writing interface codes is labor-intensive and time-consuming, and the generation efficiency of interface codes is low

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0083] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will further describe the embodiments of the present application in detail in conjunction with the accompanying drawings.

[0084] It can be understood that at least one in this application refers to one or more than one, for example, at least one field name can be any integer number of field names greater than or equal to one, such as one field name, two field names, three field names, etc. A plurality refers to two or more. For example, a plurality of field codes may be any integer number of field codes greater than or equal to two, such as two field codes or three field codes. Each refers to each of at least one, for example, each field name refers to each of the multiple field names, if the multiple field names are 3 field names, each field name refers to 3 Each field name in FieldName.

[0085] The embodiment of the present applicat...

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 discloses a code generation method, device and equipment and a storage medium, and belongs to the technical field of computers. The method comprises the steps of analyzing interface data to obtain at least one field name and a field type of each field name, obtaining a corresponding template code according to each field type, and combining each field name with the template code corresponding to the field type of each field name to obtain an interface code corresponding to the interface data. Therefore, the corresponding interface code can be automatically generated according to the interface data, manual writing is not needed, manpower and time can be saved, the generation efficiency of the interface code is improved, the situation of code writing errors caused by manual code writing can be avoided, and the accuracy of the interface code is improved.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a code generation method, device, device, and storage medium. Background technique [0002] When developing an application, front-end development and back-end development are two separate processes, but the front-end needs to call the back-end through the interface, so front-end developers and back-end developers need to jointly develop the front-end and back-end according to the interface data. The interface data is used to standardize the form of the interface, and may include the name, type, meaning, etc. of fields in the interface. [0003] At present, the back-end developers write the interface data and provide the interface data to the front-end developers. The front-end developers write the corresponding interface code according to the interface data, and realize the front-end to call the back-end through the interface by running the inter...

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/30
CPCG06F8/31
Inventor 张业坤
Owner GUANGZHOU KUGOU COMP 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