Interface code generation method and terminal device

An interface code and terminal device technology, applied in the computer field, can solve the problems that interface documents cannot be directly synchronized to the code for use, and it is difficult to further improve the development efficiency of developers, and achieve the effect of improving development efficiency and maintenance efficiency.

Active Publication Date: 2018-07-10
PING AN TECH (SHENZHEN) CO LTD
View PDF3 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides an interface code generation method and a terminal device to solve the problem that the interface do

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

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0034] In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are proposed for a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from obstructing the description of the present invention.

[0035] In order to illustrate the technical solution of the present invention, specific embodiments are used for description below.

[0036] figure 1 Shows the implementation process of the interface code generation method provided by the embodiment of the present invention, and the method process includes steps S101 to S104. The specific implementation principles of each step are as follow...

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 an interface code generation method and a terminal device, which are suitable for the technical field of computers. The method comprises the steps of establishing an interface field corresponding to an interface structure in a database based on the predefined interface structure; exporting the interface field through a report generation tool to generate a report document, receiving an interface field modification instruction sent by a user in the report document, and performing interface field modification on the report document; importing the modified report document, and according to the modified report document, updating the interface field in the database; and filling a code template with the updated interface field to generate an interface code matched with theinterface field. A developer does not need to be limited by a visual tool and can flexibly input and modify the interface field in the report document at any time, so that the maintenance efficiency of the interface field is improved; and a defined interface document can be directly synchronized to the code for use, so that the development efficiency of the developer is improved.

Description

Technical field [0001] The invention belongs to the field of computer technology, and in particular relates to an interface code generation method and terminal equipment. Background technique [0002] In the WEB development model where the front and back ends are separated, developers usually need to define interface documents to standardize their interface forms, such as interface addresses, parameters, types, and meanings. In order to enable developers to manage interface documents more efficiently, various API management tools have emerged. After entering and maintaining the interface document with the visual tool provided by the API management tool, by analyzing the interface structure corresponding to the interface document, in addition to automatically generating reusable mock data, it can also automatically verify the correctness of the real interface Therefore, the emergence of API management tools has improved the development efficiency of developers to a certain extent...

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/30G06F17/30
CPCG06F8/30G06F16/25
Inventor 张振伟
Owner PING AN TECH (SHENZHEN) 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