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

Delaying request processing method and apparatus based on token bucket

A request processing and token bucket technology, applied in the field of communication, can solve the problem of long scanning cycle, and achieve the effect of speeding up the processing speed, improving the processing speed, and overcoming the slow speed

Active Publication Date: 2014-03-19
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
  • Delaying request processing method and apparatus based on token bucket
  • Delaying request processing method and apparatus based on token bucket
  • Delaying request processing method and apparatus based on token bucket

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 delaying request processing method and apparatus based on a token bucket, relates to the field of communication technology, and aims to shorten a scanning period while request processing is delayed. The method comprises receiving a delaying request message of a corresponding queue to the token bucket, the delaying request message including delaying request time; determining whether the delaying request message needs to be processed at top priority according to the delaying request time; and if so, processing the delaying request message in accordance with a priority processing mode. The invention can be used in delaying request processing technology.

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 Applications(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