Method and device for automatic allocation of different interface flow ratios in interface calling system

A technology of interface calling and traffic scheduling, applied in transmission systems, electrical components, etc., can solve problems such as insufficient number of calls, failure to analyze business error codes, and unsupported traffic allocation, etc., to achieve the effect of accurate health status

Active Publication Date: 2022-05-10
南京冰鉴信息科技有限公司
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 automatic allocation of different interface flow ratios in interface calling system
  • Method and device for automatic allocation of different interface flow ratios in interface calling system
  • Method and device for automatic allocation of 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 present invention provides a method and device for automatic allocation of traffic ratios of different interfaces in an interface calling system, wherein the method includes: receiving a query request sent by a client; obtaining first traffic scheduling ratio data; generating a first calling request to call the first data provided Provider interface to determine whether the first call request is successfully invoked. If it fails, the first data provider interface will be fused to obtain the second traffic scheduling ratio data; when the second call request is successfully called, the second traffic scheduling ratio data will be Send the query request to the second data provider, adapt the query result, generate the feedback data in the preset format, and send the feedback data in the preset format to the client; if successful, send the query request according to the first traffic scheduling ratio data Send to the first data provider, adapt the query results, generate feedback data in a preset format, and send the feedback data in a 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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L67/1001H04L67/02
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