Universal method and device for calling Web API (Application Program Interface) with zero code

A general-purpose, zero-code technology, applied in application system integration and digital economy, it can solve the problems of inability to reuse, difficult to achieve, and high threshold, and achieve the effect of wide adaptability

Pending Publication Date: 2022-05-20
北京勤哲软件技术有限责任公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Realizing the integration of different applications by calling the Web API interface has two pain points in the actual application. First, the call to the Web API needs to be implemented by programming. For most

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
  • Universal method and device for calling Web API (Application Program Interface) with zero code
  • Universal method and device for calling Web API (Application Program Interface) with zero code
  • Universal method and device for calling Web API (Application Program Interface) with zero code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0073] Example 1, obtain an e-commerce platform access token

[0074] Apply the interface model

[0075] First, the interface provided by the e-commerce platform is set to an application interface model and stored in the database; the application interface model is as follows:

[0076]

[0077]

[0078] Request parameter set:

[0079] Parameter name data type illustrate appld string key string

[0080] Returns the parameter model:

[0081]

[0082] Returns the parameter set:

[0083] Parameter name data type Success / failure flags code integer 0 indicates success token string

[0084] Configure the app interface model

[0085] attach Figure 3 The user interface for configuring the application interface model is illustrated.

[0086] The app interface caller

[0087]The application interface model can be directly converted from the interface document provided by the third-party platform, and we need another model---- the...

Embodiment 2

[0110] Example 2, upload goods to the e-commerce platform

[0111] Apply the interface model

[0112]

[0113] Request parameter set:

[0114] Parameter name data type illustrate token string pno string price decimal fraction color string

[0115] Returns the parameter model:

[0116]

[0117] Returns the parameter set:

[0118] Parameter name data type Success / failure flags code integer 0 indicates success message string

[0119] The app interface caller

[0120] Caller Name: Listing product

[0121] Caller Context: Product Information Maintenance form

[0122] Binding interface model: AddProduct

[0123] Request parameter mapping:

[0124] Data source: Tokenlnfo

[0125] Filter criteria: Tokenlnfo.id=1

[0126] Request parameters The value source Value token database Token l nfo.token pno User input Form input item product code pname User input Form input item product name ...

Embodiment 3

[0132] Example 3 obtains order data from the e-commerce platform

[0133] Apply the interface model

[0134] Interface name: GetOrders

[0135] Request address: http: / / www.xxx.com / orders

[0136] Request method: GET

[0137] Request parameter model:

[0138]

[0139] Request parameter set:

[0140] Parameter name data type illustrate token string fromdate date Start time todate date Deadline

[0141] Returns the parameter model:

[0142]

[0143]

[0144]Returns the parameter set:

[0145] subset Parameter name data type Success / failure flags code integer 0 indicates success message string data gather data ordno string data customer string data total decimal fraction data items gather data.items pno string data.items pname string data.items price decimal fraction data.items amount integer

[0146] The application interface model of the p...

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 relates to a universal method and device for calling a Web API (Application Program Interface) by a zero code, which provides a simple and feasible solution of the zero code for realizing integration of different applications through the Web API, a user does not need to develop an interface calling program, and only needs to configure an interface model and an interface caller model. Actual interface calling is completed by an interface engine based on the two models; meanwhile, the method also has wide adaptability; according to the method, a user can construct a quite complex calling chain, and functions from a plurality of applications are combined at will in a building block building mode to meet own business requirements, so that the efficiency and the applicability of calling the Web API are greatly improved.

Description

Technical field [0001] The present invention belongs to the digital economy, the field of application system integration, specifically relates to a zero code call Web API general method and apparatus. Background [0002] In today's vigorous development of the digital economy, enterprises often use a variety of different application systems in their production and operation activities, such as MES systems that focus on production control, ERP systems that focus on internal management, financial systems, collaboration tools such as WeChat or DingTalk, e-commerce stores such as Jingdong Taobao Tmall, digital marketing tools such as Douyin Toutiao, third-party logistics systems, etc., which jointly support the digital operation of enterprises; at the same time, users also urgently need these different applications to integrate and achieve data interoperability 2. Operation linkage. [0003] Web API is a general concept, refers to the network application program interface or network a...

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): G06F16/958G06F16/955
CPCG06F16/958G06F16/955
Inventor 刁文利靳鑫崔洲圆
Owner 北京勤哲软件技术有限责任公司
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