Supercharge Your Innovation With Domain-Expert AI Agents!

API visual entity conversion method

An API interface and conversion method technology, applied in the field of API interface visualization entity conversion, can solve the problems of cumbersome daily maintenance, frequent interface definition changes, and bloated code, so as to enhance code readability, improve code reuse, and reduce redundancy. The effect of the rest of the code

Pending Publication Date: 2021-10-08
餐道信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The technical problem to be solved by the present invention is to overcome the existing defects and provide a method for converting API interface visualization entities to solve the need to develop corresponding entity objects, parameter verification logic, and object binding logic for different interfaces proposed in the above background technology , object conversion logic, etc., and between different interfaces, the processing logic is difficult to reuse and unify, resulting in bloated, huge, and poor readability of the code, and it also shows great cumbersomeness in daily maintenance, making it difficult to improve the efficiency of daily development. Define frequently changing, failure-prone problems

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
  • API visual entity conversion method
  • API visual entity conversion method
  • API visual entity conversion method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] see Figure 1-5 , the present invention provides a technical solution: an API interface visualization entity conversion method, comprising the following steps:

[0055] Step 1: Establish tree structure model;

[0056] Step 2: Import and create a design template online through the template designer module 1 on the visual interface;

[0057] Step 3: Use drag-and-drop to arrange the object attributes through the template mapping group module 2, bind and associate the double-ended attributes through node connections, and finally export the binding template file;

[0058] Step 4: Interpret the binding template file through module 4 of the tool SDK group to realize complete data conversion.

[0059] In the present invention, preferably, the template designer module 1 in step 2 includes an object designer 5, a JSON validator 6 and a JSON converter 7, and step 2 includes the following steps:

[0060] Step 2.1: Establish and associate the double-ended object relationship thro...

Embodiment 2

[0075] see Figure 1-5 , the present invention provides a technical solution: an API interface visualization entity conversion method, comprising the following steps:

[0076] Step 1: Establish tree structure model;

[0077] Step 2: Import and create a design template online through the template designer module 1 on the visual interface;

[0078] Step 3: Use drag-and-drop to arrange the object attributes through the template mapping group module 2, bind and associate the double-ended attributes through node connections, and finally export the binding template file;

[0079] Step 4: Perform attribute verification processing through the object verification group module 3 according to the binding template rules, and support diversified type verification;

[0080] Step 5: Interpret the binding template file through module 4 of the tool SDK group to realize complete data conversion.

[0081] In the present invention, preferably, the template designer module 1 in step 2 includes ...

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 discloses an API visual entity conversion method. The method comprises the following steps: 1, establishing a tree structure model; 2, importing and online establishing a design template on a visual interface through a template designer module; 3, object attributes are arranged by dragging through a template mapping group module, binding association of double-end attributes is carried out through a node connecting line, and finally a binding template file is exported; and 4: carrying out attribute verification processing through an object verification group module according to a binding template rule, and supporting diversified type verification. The method comprises the following steps: supporting importing and online establishment of a design template on a visual interface, arranging object attributes by dragging, carrying out binding association of double-end attributes through a node connecting line, finally exporting a binding template file, interpreting the binding template file based on SDK-JAR, realizing complete data conversion work, optimizing the whole object binding and object conversion processing flow, reducing redundant codes, and improving the overall development efficiency.

Description

technical field [0001] The invention belongs to the technical field of API interfaces, and in particular relates to a method for converting API interface visualization entities. Background technique [0002] API is some pre-defined interface (such as function, HTTP interface), or the agreement that refers to the connection of different components of the software system; it is used to provide a set of routines that applications and developers can access based on certain software or hardware, without the need Access the source code, or understand the details of the internal working mechanism; the operating system provides programmers with an "interface between the program and the operating system", referred to as the program interface, also known as the application program interface; this interface is used by programmers when programming, and the system Through this interface, the application program can access the resources in the system and obtain the services of the OS duri...

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/33G06F8/34G06F8/38
CPCG06F8/33G06F8/34G06F8/38
Inventor 李振宏
Owner 餐道信息科技有限公司
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