Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Flow limiting method for flow interface of logistics service system and related equipment

A technology of a business system and a current limiting method, which is applied in the field of current limiting of the flow interface of the logistics business system, and can solve problems such as inability to cope with high concurrent transmission of data

Pending Publication Date: 2020-10-23
SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, although the leaky bucket algorithm can forcibly limit the data transmission rate, it cannot cope with the high concurrent transmission of sudden data in some business scenarios; the token in the token bucket algorithm is filled at a constant rate, if the data request needs to be To process, you need to obtain a token from the bucket first, which makes the token bucket algorithm allow high concurrent transmission of burst data in some business scenarios, but this transmission requires enough tokens in the bucket, once there is no more tokens in the bucket If there are enough tokens, the service will be denied

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
  • Flow limiting method for flow interface of logistics service system and related equipment
  • Flow limiting method for flow interface of logistics service system and related equipment
  • Flow limiting method for flow interface of logistics service system and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0040] see figure 1 , figure 1 It is a flow chart of a flow limiting method for a flow interface of a logistics business system provided by an embodiment of the present application.

[0041] Such as figure 1 As shown, this embodiment provides a flow limiting method for a flow interface of a logistics business system, and the method at least includes the following steps:

[0042] Step 11. When receiving the logistics business request sent by the client, detect whether the traffic interface to be called has added a custom annotation class.

[0043] Step 12. If a custom annotation class is added, obtain the number of logistics business requests that have been responded in the current time period.

[0044] Step 13, judging whether the number of acquisitions has reached the preset maximum number of times in the current time period.

[0045] Step 14. If the preset maximum number of times is reached, refuse to respond to the currently sent logistics service request and send a pro...

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 flow limiting method of a flow interface of a logistics service system and related equipment, and the flow limiting method of the flow interface of the logistics service system comprises the steps: detecting whether a to-be-called flow interface adds a customized annotation class or not when a logistics service request transmitted by a client is received; if the customized annotation class is added, obtaining the number of times of responding to the logistics service request in the current time period; judging whether the obtained frequency reaches the preset maximumfrequency of the current time period or not; if the preset maximum number of times is reached, refusing to respond to the currently sent logistics service request, and sending prompt information to the client; and if the preset maximum number of times is not reached, responding the currently sent logistics service request, and updating the number of times of the logistics service request responded in the current time period. Thus, the situation that the system operation speed is affected due to the fact that the system access amount is too large is avoided, the situation that logistics service requests are concurrent and a client waits for response requests for a long time is also avoided, and interference to existing logistics services is reduced.

Description

technical field [0001] The present application relates to the field of lighting technology, in particular to a flow limiting method of a flow interface of a logistics business system and related equipment. Background technique [0002] Since the business system is oriented to Internet C-end users, in order to prevent the data from exceeding the maximum load of the system and dragging down the system in the case of instantaneous high concurrency, data requests need to be controlled during the design of the outer API. In addition to the common new hardware configuration, in There are also many more mature solutions in the design of the API, such as streaming, downgrading, and current limiting; among them, the commonly used current limiting algorithms include the leaky bucket algorithm and the token bucket algorithm. [0003] However, although the leaky bucket algorithm can forcibly limit the data transmission rate, it cannot cope with the high concurrent transmission of sudden...

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): H04L12/801H04L12/803H04L12/813H04L47/20
CPCH04L47/11H04L47/127H04L47/125H04L47/20H04L47/29Y02P90/30
Inventor 徐文浩
Owner SHANGHAI ZHONGTONGJI NETWORK 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
Eureka Blog
Learn More
PatSnap group products