Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A token bucket-based delay request processing method and device

A technology of request processing and token bucket, which is applied in the field of communication, can solve problems such as long scanning period, and achieve the effect of speeding up the processing speed, shortening the scanning period and improving the processing speed

Active Publication Date: 2017-01-04
HUAWEI TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In practical applications, the number of queues that send delayed requests is often huge, so the scanning cycle is long when processing the delayed requests of each queue according to the processing method of the prior art

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
  • A token bucket-based delay request processing method and device
  • A token bucket-based delay request processing method and device
  • A token bucket-based delay request processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0067] In order to overcome the defect in the prior art that the delay request processing period for the queues corresponding to each token bucket is long, Embodiment 1 of the present invention provides a token bucket-based delay request processing method. Such as figure 1 As shown, the token bucket-based delayed request processing method in Embodiment 1 of the present invention includes:

[0068] Step 11: Receive a delay request message from a queue correspo...

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 discloses a delay request processing method and device based on a token bucket, relates to the technical field of communication, and is invented for shortening the scanning period during delay request processing. The method includes: receiving a delay request message of a queue corresponding to the token bucket, the delay request message including a delay request time; judging whether the delay request message needs to be processed first according to the delay request time; and determining that the delay request message needs to be processed first , the delay request message is processed in a priority processing manner. The present invention can be used in the processing technology of delayed request.

Description

technical field [0001] The present invention relates to the technical field of communications, in particular to a token bucket-based delay request processing method and device. Background technique [0002] In the process of using the token bucket to control the flow of the data network, when the tokens in the token bucket are exhausted, it indicates that there is no traffic in the data network that can be redistributed to the queue corresponding to the token bucket, so , the queue corresponding to the token bucket needs to temporarily withdraw from scheduling. At this time, the token bucket needs to be closed, and the scheduling request sent by the queue corresponding to the closed token bucket needs to be processed as a delayed request. When the delayed request time of a queue expires, that is, when the closed token bucket accumulates enough tokens, the closed token bucket is reopened, and the queue corresponding to the token bucket participates in scheduling again. [0...

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): H04L12/875H04L47/56H04L47/21
CPCH04L47/215H04L47/245H04L47/56
Inventor 谢飞沈国明钟庆昌
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products