Uniform interface management method and system

An interface management and interface technology, which is applied in the field of unified interface management methods and systems, can solve problems such as high development and maintenance costs, and achieve the effect of improving performance

Active Publication Date: 2018-04-17
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF10 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Whether it is through front-end processing or back-end processing, a large amount of workload will be generated. For example, system A and system B both use a certain service interface C, and the two systems need to perform the same data verification on service interface C. If system A If the system is written in the sam...

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
  • Uniform interface management method and system
  • Uniform interface management method and system
  • Uniform interface management method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0056] The present invention will be specifically described below in conjunction with a specific embodiment, but it should be noted that this specific embodiment is only for better describing the present invention, and does not constitute an improper limitation of the present invention.

[0057] First, obtain the protocol information of each service interface from an interface warehouse maintained by the background system, record the protocol information such as input parameters, output parameters, call timeout time, interface type, routing rules, and data mapping rules required when calling these interfaces, and Save the protocol information to the database.

[0058] The following is an example of a third-party service interface. The url of the third-party service interface is: http: / / a.jd.com / fetch? a=zhang&b=3&c=4, we will disassemble the service interface and store it in the database in the form of json string. The form of the json string is as follows:

[0059]

[006...

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 a uniform interface management method and system. The method comprises the following steps that: obtaining the protocol information of each service interface in an interface warehouse, wherein the protocol information comprises an interface type, an incoming parameter, an outgoing parameter, a routing rule, calling overtime time and a data mapping rule; according to a business request which is sent to an HTTP (Hyper Text Transfer Protocol) interface by a user, obtaining a routing rule in the protocol information of the HTTP interface, and determining a service interfacecalled by the HTTP interface according to the routing rule; according to the protocol information, obtaining the interface type of the called service interface, and calling the service interface according to the incoming parameter and the outgoing parameter of the interface type; and obtaining business data returned from the called service interface, and sending the business data to the user according to a data mapping rule. By use of the method, different service interfaces can be uniformly managed and monitored, in addition, various routing rules are used for effectively lowering the development and maintenance cost of functions including tangential flow, gated lunch and the like.

Description

technical field [0001] The invention relates to the field of computer software, in particular to a unified interface management method and system. Background technique [0002] Almost all Internet systems are initially designed as an integration, and all function code business implementations are completed in one system. With the continuous increase of users, the business will become more and more diversified, and the complexity, stability, and maintainability of the corresponding system will become more and more difficult to control. With the rise and development of service-oriented business systems, another problem brought about by service-oriented systems is the fragmentation of service interfaces. That is to say, the information presented on the front page is likely to come from multiple service interfaces, and each service interface may be maintained by different business departments. When abnormalities occur in these service interfaces, various problems will appear o...

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): G06F9/54H04L29/08
CPCG06F9/547G06F2209/544H04L67/02
Inventor 马顺风尚鑫韩笑跃王飞宗超倪建友金太勇韩勇
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH 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