Global traffic control method and system for interface call in distributed environment

A technology for distributed environment and interface invocation, applied in the field of global flow control of interface invocation in a distributed environment, it can solve the problems affecting the stability of distributed systems and the collapse of distributed systems, and achieve the effect of preventing crashes and improving stability.

Inactive Publication Date: 2017-08-18
北京思特奇信息技术股份有限公司
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As the entrance of the background system, the global traffic must be limited according to the actual carrying capacity of the back-end service, or the global traffic of the interface needs to be controlled according to business requirements. Once the global traffic is not properly controlled, it will not only affect the stability of the distributed system, but also cause the distributed system to crash

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
  • Global traffic control method and system for interface call in distributed environment
  • Global traffic control method and system for interface call in distributed environment
  • Global traffic control method and system for interface call in distributed environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048]The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0049] figure 1 A schematic flowchart of a global flow control method for interface calls in a distributed environment provided by an embodiment of the present invention, as shown in figure 1 As shown, the method includes the following steps:

[0050] Step 1, generating a target service invocation command through the service invocation module;

[0051] Step 2, the distributed interface module receives the target service call command, and obtains the preset call times threshold of the target service;

[0052] Step 3, query the pre-established and continuously updated called times table to obtain the called times of the target service;

[0053] Step 4, when the number of calls is less than the preset call times thre...

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 particularly relates to a global traffic control method and system for interface call in a distributed environment. The method comprises the following steps: generating a target service call command; receiving the target service call command, and obtaining a preset call number threshold of a target service; querying a called number table that is pre-established and continuously updated, and obtaining the called number of the target service; and when the called number is smaller than the preset call number threshold, calling the target service from a service providing module. According to the global traffic control method and system for interface call in the distributed environment disclosed by the invention, whether the target service is allowed to be called can be judged by comparing the called number of the target service with the preset call number threshold, and thus the purpose of limiting the interface traffic and the global traffic can be achieved, the stability of a distributed system can be improved, and the crash of the distributed system can be effectively prevented.

Description

technical field [0001] The invention relates to the Internet field, in particular to a global flow control method and system for interface calling in a distributed environment. Background technique [0002] The interface engineering of the distributed architecture can meet the performance requirements of high concurrency. As the entrance of the background system, the global traffic must be limited according to the actual carrying capacity of the back-end service, or the global traffic of the interface needs to be controlled according to business requirements. Once the global traffic is not properly controlled, it will not only affect the stability of the distributed system, but also cause the distributed system to crash. Contents of the invention [0003] The present invention provides a global flow control method and system for interface calls in a distributed environment, which solves the above-mentioned technical problems. [0004] The technical scheme that the presen...

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): H04L12/801
CPCH04L47/10H04L47/29
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