Flow control method, device and device

A flow control and flow control technology, applied in the field of network technology and storage, which can solve the problems of heavy node load and unbalanced load, etc.

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

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problem that a node with a higher token generation speed generally processes more requests, which makes the node have a heavier load and causes load imbalance among nodes, the embodiment of the present invention provides a flow control method, device and equipment

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 control method, device and device
  • Flow control method, device and device
  • Flow control method, device and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0063] Please refer to figure 1 , which shows a flow chart of a flow control method provided by an embodiment of the present invention, and the flow control device can be applied to a global coordinator. The flow control method includes:

[0064] Step 101, obtain the i-1th token generation speed and the i-1th total token consumption speed, the token generation speed is the token generation speed set for the node connected to the object and the object connected to The token generation speed of all nodes connected to the object is the same at the same moment, and the total token consumption speed is the sum of the token consumption speeds of all nodes connected to the object when processing the request sent by the object, i≥2, and i is...

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 flow control method and device and equipment, and belongs to the technical field of networks and storage. The flow control method comprises the steps that the generating speed of the (i-1)th token and the depletion rate of the (i-1)th total token are obtained; according to the generating speed of the (i-1)th token, the depletion rate of the (i-1)th total token and a preset flow control target, the ith adjusting interval is determined, and the generating speed of the ith token is generated according to the ith adjusting interval; the generating speed of the ith token is sent to all nodes to which an object has access so that all the nodes can update the generating speed of the (i-1)th token into the generating speed of the ith token, and flow is controlled according to the generating speed of the ith token. The flow control device comprises a first obtaining module, a first generating module and a first sending module. According to the flow control method and device and the equipment, the problem that the loads among all the nodes are unbalanced due to the fact that the number of processing requirements of the nodes with the large token generating speed is large is solved, and the loads are guided to be balanced among the nodes.

Description

technical field [0001] The present invention relates to the field of network technology and storage technology, in particular to a flow control method, device and equipment. Background technique [0002] In a distributed system, a user can access network resources through different nodes at the same time, and different users can also access network resources through the same node. However, network resources have limited processing capabilities for requests sent by users. Access traffic is controlled. Since users access network resources through nodes, a rate limiter can be set for each accessing user on the node, and the rate limiter is used to control the access traffic of the user at the node. When a user accesses multiple nodes at the same time, it is also necessary to set up a global coordinator in the node to coordinate the work of each speed limiter of the user, so as to ensure that the total flow of the user in all nodes will not exceed the standard. A global coordi...

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/803
CPCY02D30/50
Inventor 曾华荣
Owner HUAWEI 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
Try Eureka
PatSnap group products