Method and device for automatically deploying different interface flow ratios in interface calling system

A technology of interface calling and traffic scheduling, which is applied in transmission systems, electrical components, etc., can solve problems such as insufficient number of calls, inability to process multiple external interface results in a unified format, inability to analyze business error codes, etc., and achieve the effect of accurate health status

Active Publication Date: 2019-09-27
南京冰鉴信息科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. The results returned by multiple external interfaces cannot be processed in a unified format;
[0006] 2. This kind of load balancing software can only be used on the internal service traffic load, and does not support the traffic allocation of different interfaces of the external third party;
[0007] 3. The business error code returned by the called service cannot be analyzed, and the failure response at the business level will not be used as a decision indicator for traffic allocation
For example, when the load balancing software receives a status code of 200 in the http response of a service node, but the value of the business field code in the message message is 103, it means that the number of calls is insufficient

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
  • Method and device for automatically deploying different interface flow ratios in interface calling system
  • Method and device for automatically deploying different interface flow ratios in interface calling system
  • Method and device for automatically deploying different interface flow ratios in interface calling system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0031] figure 1 It shows the flow chart of the method for automatic allocation of different interface flow ratios in the interface call system provided by the embodiment of the present invention, see figure 1 , the method for automatically deploying traffic ratios of different interfaces in the interface calling system provided by the embodiment of the present invention includes:

[0032] S1, receiving the query request sent by th...

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 method and a device for automatically deploying different interface flow ratios in an interface calling system. The method comprises the following steps: receiving a query request sent by a client; obtaining first flow scheduling proportion data; generating a first calling request to call the first data provider interface, judging whether the first calling request is successfully called or not, and if the first calling request fails to be called, fusing the first data provider interface to obtain second flow scheduling proportion data; when the second call request is successfully called, sending the query request to a second data provider according to the second traffic scheduling proportion data, adapting the query result, generating feedback data in a preset format, and sending the feedback data in the preset format to the client; and if successful, sending the query request to the first data provider according to the first traffic scheduling proportion data, adapting the query result, generating feedback data in a preset format, and sending the feedback data in the preset format to the client.

Description

technical field [0001] The invention relates to the technical field of flow ratio allocation, in particular to a method and device for automatically adjusting flow ratios of different interfaces in an interface calling system. Background technique [0002] Data for data processing services often comes from third-party data providers, that is, the data is obtained by calling the interface of the third-party data provider. If the same type of data comes from only one third-party data provider, when the interface of this data provider is unstable, the data processing service will not be able to obtain the data normally, which will affect the normal operation of the business. In order to reduce the risk that the third-party data provider's service may be unstable, two or more data providers are required for each type of data obtained by the data processing service. When the volume becomes large and impacts a third-party data provider, it often needs to call multiple interface s...

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): H04L29/08
CPCH04L67/02H04L67/1001
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