Distributed flow rate limiting method, device, equipment and storage medium
Through the distributed traffic rate limiting method and shared token bucket technology, the problem in cloud computing that the speed limit of multiple public network IP traffic is limited by the performance of a single device is solved, and the flexible adjustment and accurate speed limit of traffic are realized, reducing the network cost. Delay.
Patent Information
- Application Number
- CN202211535131.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-11-30
AI Technical Summary
In cloud computing, the traffic speed limit of multiple public network IPs is limited by the forwarding performance of a single device, and adding speed-limiting devices leads to increased network latency.
Adopt the distributed traffic rate limiting method, report the bandwidth packet traffic of each gateway device through the global traffic controller, determine the rate limit value of each gateway device based on the total traffic configured by the user, and use the shared token bucket to configure each CPU Accurate traffic speed limit to avoid performance limitations of a single device and increase in network latency.
It achieves the flexibility and accuracy of traffic speed limit for each gateway device, reduces network latency, supports horizontal expansion of traffic, and ensures accurate speed limit for each CPU.
Smart Images

Figure CN115941609B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the fields of computer technology and cloud computing traffic control technology, and more specifically, to a distributed traffic speed limiting method, device, equipment, storage medium, and program product. Background Art
[0002] In cloud computing, after users purchase a public IP, they will also purchase the corresponding bandwidth. The cloud computing provider will limit the speed of the corresponding public IP traffic based on the bandwidth purchased by the user. However, users also need to have flexible requirements for traffic use, that is, traffic can be flexibly adjusted and allocated according to user needs. Therefore, the implementation of speed limit is an important part of cloud computing.
[0003] At present, with the diversity of users' cloud services, multiple public IPs purchased by users are added to a shared bandwidth package, and then the traffic of multiple IPs in the shared bandwidth package is directed to one device for overall speed limit.
[0004] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related technology: the traffic of multiple IPs is speed-limited by a single device, and the upper limit of the speed-limited traffic cannot exceed the forwarding performance of the single device itself. Therefore, when the traffic of multiple IPs is speed-limited by a single device, it will be limited by the forwarding performance of the single device itself; in addition, the traffic of multiple IPs needs to be converged to a single device for speed limiting, and a device dedicated to speed limiting will be added to the forwarding path, increasing network latency. Summary of the invention
[0005] In view of this, the present disclosure provides a distributed traffic speed limiting method, apparatus, device, storage medium and program product.
[0006] One aspect of the present disclosure provides a distributed traffic speed limiting method, including: reporting the traffic of a bandwidth packet of each gateway device to a global traffic controller, wherein the traffic of the bandwidth packet of each gateway device is the sum of the traffic of multiple CPUs on each gateway device in the previous cycle, and the global traffic controller carries the total traffic configured by the user; receiving a traffic speed limit value for the next cycle sent by the global traffic controller to each gateway device, wherein the traffic speed limit value is determined by the global traffic controller according to the reported traffic of the bandwidth packet of each gateway device and the total traffic configured by the user; determining the number of tokens in a shared token bucket and a first traffic speed limit value of each CPU on each gateway device in the next cycle according to the traffic speed limit value in the next cycle of each gateway device; determining the second traffic speed limit value of each CPU on each gateway device in the next cycle according to the traffic speed limit value in the next cycle of each gateway device and the traffic of multiple CPUs on each gateway device in the previous cycle; and performing traffic speed limiting on each CPU according to the number of tokens in the shared token bucket and the first traffic speed limit value and the second traffic speed limit value of each CPU on each gateway device in the next cycle.
[0007] Another aspect of the present disclosure provides a distributed traffic speed limiting device, including: a reporting module, used to report the traffic of the bandwidth package of each gateway device to the global traffic controller, wherein the traffic of the bandwidth package of each gateway device is the sum of the traffic of multiple CPUs on each gateway device in the previous cycle, and the global traffic controller carries the total traffic configured by the user; a sending module, used to receive the traffic speed limit value in the next cycle sent by the global traffic controller to each gateway device, wherein the traffic speed limit value is determined by the global traffic controller according to the reported traffic of the bandwidth package of each gateway device and the total traffic configured by the user; a first determination module, Used to determine the number of tokens in the shared token bucket and the first traffic speed limit value of each CPU on each gateway device in the next cycle according to the traffic speed limit value in the next cycle of each gateway device; the second determination module is used to determine the second traffic speed limit value of each CPU on each gateway device in the next cycle according to the traffic speed limit value in the next cycle of each gateway device and the traffic of multiple CPUs on each gateway device in the previous cycle; the speed limit module is used to limit the traffic of each CPU according to the number of tokens in the shared token bucket and the first traffic speed limit value and the second traffic speed limit value of each CPU on each gateway device in the next cycle.
[0008] Another aspect of the present disclosure provides an electronic device, including: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the above method.
[0009] Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above method when executed.
[0010] Another aspect of the present disclosure provides a computer program product, which includes computer executable instructions, and the instructions are used to implement the above method when executed.
[0011] According to the embodiments of the present disclosure, by reporting the traffic of the bandwidth packet of each gateway device to the global traffic controller, the global traffic controller adjusts the traffic speed limit value of each gateway device according to the traffic of the bandwidth packet and the total traffic configured by the user, and configures an accurate traffic value for each CPU based on the first traffic speed limit value and the second traffic speed limit value of each CPU in combination with the shared token bucket between the CPUs on each gateway device to achieve accurate speed limit. Since the global traffic controller is used to determine the speed limit value of each gateway device and the shared token bucket is used to determine the traffic of each CPU, the technical problem that multiple flows passing through a single speed limit device will be affected by the limitations of the forwarding performance of the single speed limit device itself, and the need to add a dedicated speed limit device during the data packet forwarding process, which increases the network delay, is at least partially overcome, thereby achieving the distributed speed limit. It can ensure that each gateway device can be horizontally expanded as the traffic increases, and at the same time, it can reduce the dedicated speed limit device on the forwarding path of the data packet, reduce the network delay, and achieve the technical effect of accurately limiting the speed of each CPU. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0013] Figure 1 The exemplary system architecture of the distributed traffic speed limiting method and device according to the embodiment of the present disclosure is schematically shown;
[0014] Figure 2 A flowchart of a distributed traffic speed limiting method according to an embodiment of the present disclosure is schematically shown;
[0015] Figure 3 A flowchart of a method for reporting the flow of bandwidth packets of each gateway device to a global flow controller according to an embodiment of the present disclosure is schematically shown;
[0016] Figure 4 A schematic diagram schematically shows the speed limiting logic of a gateway device according to an embodiment of the present disclosure;
[0017] Figure 5 A block diagram schematically shows a distributed flow rate limiting device according to an embodiment of the present disclosure; and
[0018] Figure 6 A block diagram of an electronic device suitable for a distributed traffic speed limiting method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0019] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0020] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0021] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0022] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0023] Currently, in cloud computing, users purchase a public IP and then the corresponding bandwidth. Cloud computing providers limit the speed of the corresponding IP according to the bandwidth purchased by the user. However, with the diversity of users' cloud services, cloud computing providers can add multiple public IPs purchased by users to a shared bandwidth package, and then limit the speed of the shared bandwidth package so that different business traffic peaks have different intervals. The traffic value of the bandwidth package can be shared to meet users' needs for diverse cloud services.
[0024] However, the current traffic speed limit is based on a single speed limit device, which limits the speed of multiple IPs in a shared bandwidth package. Each speed limit device has a certain forwarding performance. When multiple IP flows pass through a single speed limit device, the forwarding performance of each speed limit device cannot exceed that of the device itself. Therefore, the speed limit of multiple IP flows passing through a single speed limit device is limited. In addition, in the process of forwarding data packets, adding a dedicated speed limit device will increase network latency.
[0025] Based on this, the embodiments of the present disclosure provide a distributed traffic speed limit method, device, equipment and storage medium. The method includes: reporting the traffic of the bandwidth package of each gateway device to the global traffic controller, wherein the traffic of the bandwidth package of each gateway device is the sum of the traffic of multiple CPUs on each gateway device in the previous cycle, and the global traffic controller carries the total traffic configured by the user; receiving the traffic speed limit value in the next cycle sent by the global traffic controller to each gateway device, wherein the traffic speed limit value is determined by the global traffic controller according to the reported traffic of the bandwidth package of each gateway device and the total traffic configured by the user; according to the traffic speed limit value in the next cycle of each gateway device, determining the number of tokens in the shared token bucket and the first traffic speed limit value of each CPU on each gateway device in the next cycle; according to the traffic speed limit value in the next cycle of each gateway device and the traffic of multiple CPUs on each gateway device in the previous cycle, determining the second traffic speed limit value of each CPU on each gateway device in the next cycle; according to the number of tokens in the shared token bucket and the first traffic speed limit value and the second traffic speed limit value of each CPU on each gateway device in the next cycle, performing traffic speed limit on each CPU.
[0026] Figure 1 The exemplary system architecture of the distributed traffic speed limiting method and device according to the embodiment of the present disclosure is schematically shown. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0027] like Figure 1As shown, according to this embodiment, the system architecture 100 may include a global traffic controller 101, and the global traffic controller 101 may include a main global traffic controller 101-1, a backup global traffic controller 101-2, and multiple gateway devices including gateway device 102-1, gateway device 102-2, gateway device 102-3, ..., gateway device 102-N, where N is a positive integer greater than or equal to 2, and each gateway device corresponds to multiple CPUs, including CPU103-1, CPU103-2, CPU103-3, ..., CPU103-M, where N is a positive integer greater than or equal to 1.
[0028] The main global flow controller 101-1 in the global flow controller 101 can obtain the total flow of bandwidth packets in the previous cycle from at least one gateway device 102; determine the flow rate limit value of each gateway device in the next cycle according to the total flow of bandwidth packets obtained and the total flow of user configuration carried by the global flow controller, and send the flow rate limit value of each gateway device in the next cycle to each gateway device. At the same time, in order to prevent the main global control flow 101-1 from failing, a backup global control flow 102-1 can be set. When the main global control flow 101-1 fails, it can be switched to the backup global control flow 102-1 to control the flow rate limit of each gateway device.
[0029] Multiple gateway devices 102 determine the minimum guaranteed rate CIR and the maximum transmission rate PIR of each CPU corresponding to each gateway device based on the acquired traffic speed limit value and the traffic ratio of each CPU in multiple CPUs 103 in the previous cycle, and limit the speed of each CPU through the added shared token bucket.
[0030] It should be understood that Figure 1 The number of global flow controllers, gateway devices and CPUs in the embodiment is only for illustration. Any number of global flow controllers, gateway devices and CPUs may be provided according to implementation requirements.
[0031] Figure 2 The flowchart of the distributed traffic speed limiting method according to an embodiment of the present disclosure is schematically shown.
[0032] like Figure 2 As shown, the method includes operations S210 to S250.
[0033] In operation S210, the traffic of the bandwidth package of each gateway device is reported to the global traffic controller, where the traffic of the bandwidth package of each gateway device is the sum of the traffic of multiple CPUs on each gateway device in the previous cycle, and the global traffic controller carries the total traffic configured by the user.
[0034] According to the embodiments of the present disclosure, in actual applications, the gateway device will count the traffic of the bandwidth package of each gateway device within a preset period according to its own configuration information, and report the total traffic in the previous period to the global traffic controller in real time. The preset period can be a preset time period as a period, for example, the traffic of the bandwidth package of each gateway device can be counted every 500 seconds or every 800 seconds.
[0035] According to an embodiment of the present disclosure, the traffic of the bandwidth packet reported for each gateway device may include the traffic passed and the traffic discarded. Each gateway device corresponds to multiple CPUs, and the traffic of the bandwidth packet of each gateway device may include the sum of the traffic passed and the traffic discarded by the corresponding multiple CPUs on each gateway device in the previous cycle.
[0036] According to an embodiment of the present disclosure, the global traffic controller can be used to modify the traffic rate limit value of each gateway device. The global traffic controller can periodically obtain the traffic of the bandwidth package of each gateway device from each gateway device according to a preset period.
[0037] In operation S220, a traffic rate limit value for the next cycle sent by the global traffic controller to each gateway device is received, wherein the traffic rate limit value is determined by the global traffic controller according to the reported traffic of the bandwidth package of each gateway device and the total traffic configured by the user.
[0038] According to an embodiment of the present disclosure, the traffic rate limit value may be a maximum traffic value of data passing through the corresponding gateway device in the next cycle.
[0039] According to an embodiment of the present disclosure, the total traffic configured by the user may be the traffic purchased by the user through a cloud computing provider.
[0040] According to an embodiment of the present disclosure, the flow rate limit value can be calculated by a global flow controller. Specifically, the global flow controller receives the flow of bandwidth packets in the previous cycle reported by each gateway device, and the global flow controller can determine the data flow passed by each gateway device and the discarded data flow as well as the flow rate limit value of each gateway device in the previous cycle. Based on the flow of bandwidth packets in the previous cycle reported by each gateway device and the total flow configured by the user, the global flow controller can smoothly determine the flow rate limit value of each gateway device in the next cycle based on a preset algorithm.
[0041] It should be noted that the preset algorithm can be an algorithm by which the global traffic controller calculates the traffic limit value of each gateway device in the next cycle. The specific algorithm is not limited in this application, as long as the traffic limit value of each gateway device in the next cycle can be determined.
[0042] In operation S230, the number of tokens in the shared token bucket and the first traffic rate limit value of each CPU on each gateway device in the next cycle are determined according to the traffic rate limit value of each gateway device in the next cycle.
[0043] According to an embodiment of the present disclosure, when each gateway device determines that the data packet of each CPU is passed, it determines the final traffic rate limit again based on the number of tokens in the shared token bucket.
[0044] According to an embodiment of the present disclosure, after each preset period, each gateway device adds tokens to the shared token bucket according to the traffic rate limit value sent by the global traffic controller.
[0045] According to an embodiment of the present disclosure, a shared token bucket can conveniently change the traffic rate in each CPU, and the number of tokens in the shared token bucket can be compared with the traffic of the colored data packet of each CPU to determine whether the data packet is passed or discarded.
[0046] According to an embodiment of the present disclosure, the first traffic rate limit value of each CPU in the next cycle may be the traffic rate limit value sent by the global traffic controller to the gateway device corresponding to the CPU, that is, the peak information rate (PIR). The peak information rate (PIR) may represent the maximum rate of the allowed burst traffic.
[0047] In operation S240, a second traffic rate limit value of each CPU on each gateway device in the next cycle is determined according to the traffic rate limit value of each gateway device in the next cycle and the traffic of multiple CPUs on each gateway device in the previous cycle.
[0048] According to an embodiment of the present disclosure, the second traffic rate limit value of each CPU in the next cycle may be a traffic rate limit value set by the gateway device corresponding to the CPU for the corresponding multiple CPUs.
[0049] According to an embodiment of the present disclosure, the second traffic rate limit value of each CPU may be a minimum guaranteed rate CIR, which may represent an average rate of allowed data traffic.
[0050] According to an embodiment of the present disclosure, the traffic of multiple CPUs on each gateway device in the previous cycle can be obtained in real time by the gateway device, and the minimum guaranteed rate CIR (Committed Information Rate) of each CPU is calculated in combination with the traffic speed limit value of the gateway device in the next cycle.
[0051] In operation S250, traffic rate limiting is performed on each CPU according to the number of tokens in the shared token bucket and the first traffic rate limiting value and the second traffic rate limiting value of each CPU on each gateway device in the next cycle.
[0052] According to an embodiment of the present disclosure, the first traffic speed limit value and the second traffic speed limit value of each CPU in the next cycle can be used to compare the data flow of the received data packet with the first traffic speed limit value and the second traffic speed limit value to obtain the forwarding result of the data packet. When the forwarding result of the data packet is displayed as being able to pass or possibly pass, the number of tokens sent to the shared token bucket based on the gateway device is compared with the data packet displayed as being able to pass or possibly pass based on the forwarding result, thereby achieving speed limiting of the traffic of each CPU.
[0053] According to the embodiments of the present disclosure, by reporting the traffic of the bandwidth packet of each gateway device to the global traffic controller, the global traffic controller adjusts the traffic speed limit value of each gateway device according to the traffic of the bandwidth packet and the total traffic configured by the user, and configures an accurate traffic value for each CPU based on the first traffic speed limit value and the second traffic speed limit value of each CPU in combination with the shared token bucket between the CPUs on each gateway device to achieve accurate speed limit. Since the global traffic controller is used to determine the speed limit value of each gateway device and the shared token bucket is used to determine the traffic of each CPU, the technical problem that multiple flows passing through a single speed limit device will be affected by the limitations of the forwarding performance of the single speed limit device itself, and the need to add a dedicated speed limit device during the data packet forwarding process, which increases the network delay, is at least partially overcome, thereby achieving the distributed speed limit. It can ensure that each gateway device can be horizontally expanded as the traffic increases, and at the same time, it can reduce the dedicated speed limit device on the forwarding path of the data packet, reduce the network delay, and achieve the technical effect of accurately limiting the speed of each CPU.
[0054] According to an embodiment of the present disclosure, according to the flow rate limit value in the next cycle of each gateway device and the flow of multiple CPUs on each gateway device in the previous cycle, the second flow rate limit value of each CPU on each gateway device in the next cycle is determined, including: according to the flow of multiple CPUs on each gateway device in the previous cycle, the flow ratio of multiple CPUs on each gateway device in the next cycle is determined; according to the flow ratio of multiple CPUs in the next cycle and the flow rate limit value in the next cycle on each gateway device, the second flow rate limit value of each CPU of each gateway device in the next cycle is determined
[0055] According to an embodiment of the present disclosure, each gateway device may correspond to multiple CPUs, and the traffic of each CPU in the previous cycle is recorded in real time on the corresponding gateway device.
[0056] According to an embodiment of the present disclosure, the gateway device calculates the traffic ratio of each CPU corresponding to the gateway device in the next cycle based on the recorded traffic of each CPU in the previous cycle. The traffic ratio can characterize the data forwarding performance of each CPU on the corresponding gateway device.
[0057] According to an embodiment of the present disclosure, the second speed limit value of each CPU corresponding to the gateway device is obtained based on the traffic speed limit value determined by the global traffic controller and sent to each gateway device in the next cycle, and the traffic ratio, that is, the minimum guaranteed rate CIR.
[0058] According to an embodiment of the present disclosure, the second speed limit value of each CPU corresponding to the gateway device may be obtained and returned to the corresponding CPU.
[0059] Figure 3 A flowchart of a method for reporting the traffic of bandwidth packets of each gateway device to a global traffic controller according to an embodiment of the present disclosure is schematically shown.
[0060] like Figure 3 As shown, the method 300 may include operations S310 to S330.
[0061] In operation S310, a request for reporting the traffic of bandwidth packets of each gateway device is received from a global traffic controller.
[0062] In operation S320, according to the request, the traffic of each CPU on each gateway device in the previous cycle is counted to obtain the traffic of bandwidth packets of each gateway device in the previous cycle.
[0063] In operation S330 , the traffic of the bandwidth packets of each gateway device is reported to the global traffic controller.
[0064] According to an embodiment of the present disclosure, each gateway device reports the traffic of bandwidth packets of each gateway device in the previous cycle of the request time based on the request received from the gateway device.
[0065] According to an embodiment of the present disclosure, based on the received request for reporting the traffic of the bandwidth packet of each gateway device, the traffic of each corresponding CPU on each gateway device in the previous cycle is counted, and the total traffic of each CPU in the previous cycle, that is, the traffic of the bandwidth packet is reported to the global traffic controller.
[0066] According to an embodiment of the present disclosure, the gateway device can periodically report the traffic of the bandwidth package of each gateway device to the global traffic controller, or obtain the traffic of the bandwidth package of each gateway device according to external instructions, and the external instructions may include instructions manually entered by the administrator.
[0067] According to an embodiment of the present disclosure, the gateway device can periodically count the traffic of each corresponding CPU according to its own configuration information. Such statistics may have nothing to do with whether the global traffic controller requests to report the traffic of the bandwidth packet of the gateway device.
[0068] According to the embodiments of the present disclosure, the speed limit value of each gateway device can be determined by using a global traffic controller, and the traffic speed limit value of the gateway device can be adjusted, so as to ensure that each gateway device can be horizontally expanded as the traffic increases, and the traffic speed limit value of each gateway device can be dynamically adjusted in each cycle without considering that multiple flows will be limited by the physical forwarding performance of the speed limit device itself when passing through the speed limit device.
[0069] According to an embodiment of the present disclosure, traffic speed limit is performed on each CPU based on the number of tokens in the shared token bucket and the first traffic speed limit value and the second traffic speed limit value of each CPU on each gateway device in the next cycle, including: when it is determined that the traffic size of the data packet received by each CPU is less than or equal to the second traffic speed limit value, the data packet is forwarded, and based on the traffic size of the data packet, the number of tokens in the shared token bucket is subtracted from the number of tokens equal to the traffic size of the data packet to obtain the first remaining token number in the shared token bucket.
[0070] According to an embodiment of the present disclosure, when determining that the flow size of the data packet received by each CPU is less than or equal to the second flow rate limit value, it can be implemented through a dual-rate three-color marking method (TRTCM) algorithm.
[0071] According to an embodiment of the present disclosure, whether a received data packet can pass can be determined based on the maximum transmission rate PIR (first traffic rate limit value) and the minimum guaranteed rate CIR (second traffic rate limit value) of the TRTCM algorithm.
[0072] According to an embodiment of the present disclosure, the first traffic speed limit value may be a traffic speed limit value sent by a global traffic controller to each gateway device; the second traffic speed limit value may be a speed limit traffic set by the gateway device for each corresponding CPU.
[0073] According to an embodiment of the present disclosure, when the flow size of the received data packet is less than or equal to the second flow rate limit value, it indicates that the second flow rate limit value of the CPU is sufficient, and the data packet can be marked as Green, indicating that the data packet can be forwarded.
[0074] According to an embodiment of the present disclosure, the gateway device uses the same number of tokens in the shared token bucket as the traffic of the data packet to forward the data packet, and at the same time subtracts the same number of tokens in the shared token as the traffic of the data packet to obtain the first remaining token number in the shared token bucket.
[0075] According to an embodiment of the present disclosure, the data packet flow size of other CPUs on the gateway device and the flow rate limit value of the corresponding CPU are determined, and compared with the first remaining token number of the shared token bucket. When the first remaining token number of the shared token bucket is sufficient, the first remaining token of the shared token bucket can be used to forward the data packet, and the number of tokens in the shared token bucket that is the same as the flow of the data packet can be subtracted.
[0076] According to an embodiment of the present disclosure, traffic speed limit is performed on each CPU according to the number of tokens in a shared token bucket and the first traffic speed limit value and the second traffic speed limit value of each CPU on each gateway device in the next cycle, including: when it is determined that the traffic size of the data packet received by each CPU is greater than the second traffic speed limit value and less than or equal to the first traffic speed limit value, determine the comparison result of the number of tokens corresponding to the traffic of the data packet and the number of tokens in the shared token bucket; when it is determined that the comparison result is that the number of tokens corresponding to the traffic of the data packet is less than or equal to the number of tokens in the shared token bucket, forward the data packet, and according to the traffic size of the data packet, subtract the number of tokens in the shared token bucket from the number of tokens equal to the traffic size of the data packet to obtain the second remaining token number in the shared token bucket.
[0077] According to an embodiment of the present disclosure, when the flow size of the received data packet is greater than the second flow rate limit value and less than or equal to the first flow rate limit value, it means that the second flow rate limit value of the CPU is insufficient but the first flow rate limit value is sufficient. The data packet can be marked as Yellow, indicating that the data packet is probabilistically forwarded, that is, it may be forwarded or not forwarded and discarded.
[0078] According to an embodiment of the present disclosure, when it is determined that the number of tokens corresponding to the flow of a data packet is greater than or equal to the number of tokens in a shared token bucket, the data of the data packet flow with the same number of tokens as the shared token bucket in the data packet will be forwarded, and the number of tokens in the shared token bucket with the same number of tokens as the forwarded data packet flow will be subtracted. At this time, the number of tokens in the shared token bucket is zero or a negative number. The remaining data of the data packet flow is discarded. At each cycle, the gateway device adds tokens to the shared token bucket according to the flow rate limit value sent to the corresponding gateway device by the global flow controller, so that the number of tokens in the shared token bucket is the same as the number of tokens corresponding to the flow rate limit value of the corresponding gateway device.
[0079] According to an embodiment of the present disclosure, when it is determined that the number of tokens corresponding to the flow of a data packet is less than the number of tokens in a shared token bucket, the received data packet is forwarded, and the number of tokens in the shared token that is the same as the flow of the data packet is subtracted to obtain the second remaining number of tokens in the shared token bucket.
[0080] According to an embodiment of the present disclosure, traffic rate limiting is performed on each CPU based on the number of tokens in the shared token bucket and the first traffic rate limit value and the second traffic rate limit value of each CPU on each gateway device in the next cycle, including: discarding the data packet when it is determined that the traffic size of the data packet received by each CPU is greater than the first traffic rate limit value.
[0081] According to an embodiment of the present disclosure, when the flow size of the received data packet is greater than the first flow rate limit value, it means that the first flow rate limit value of the CPU is insufficient, and the data packet can be marked as Red, indicating that the data packet cannot be forwarded and is discarded.
[0082] According to an embodiment of the present disclosure, a dual-rate three-color marking algorithm is used to color and mark received large data packets to characterize the forwarding performance of the colored and marked data packets, and then a shared token bucket is added after the data packets are colored. The traffic size of the colored data packets is compared with the number of tokens in the shared token bucket, so that the gateway device can accurately limit the speed according to the traffic value set for each corresponding CPU.
[0083] Figure 4 A schematic diagram of the speed limiting logic of a gateway device according to an embodiment of the present disclosure is schematically shown.
[0084] like Figure 4 As shown, in the schematic diagram 400, each gateway device corresponds to multiple CPUs, and the data packets received by the CPU are colored and marked based on the dual-rate three-color marking algorithm 401. When it is determined that the data packet is colored as Green 402, the tokens in the shared token bucket equal to the data packet flow colored as Green are subtracted 403, and the data packet is forwarded 404. When it is determined that the data packet is colored as Yellow 405, it is determined whether the number of tokens in the shared token is sufficient 406. If it is sufficient, the tokens in the shared token bucket equal to the data packet flow colored as Green are subtracted 407, and the data packet is forwarded 408; if it is insufficient, the data packet flow equal to the number of tokens in the shared token bucket is forwarded 409, and the remaining data packet flow is discarded 410. When it is determined that the data packet is colored as Yellow 411, the data packet is discarded 412.
[0085] According to an embodiment of the present disclosure, the global flow controller includes a main global flow controller and a backup global flow controller; in the event of a failure of the main global flow controller, the backup global flow controller replaces the main global flow controller for operation.
[0086] According to an embodiment of the present disclosure, when the main global flow controller fails, the backup global flow controller takes over the work of the main global flow controller and continues to operate. A heartbeat detection can be performed between the main global flow controller and the backup global flow controller at a preset time interval to facilitate the detection of the operating status of the main global flow controller.
[0087] According to the embodiments of the present disclosure, when the main global flow controller is not faulty, the main global flow controller interacts with each gateway device to distribute dynamic speed-limited traffic; and when the main global flow controller fails, the backup global flow controller takes over the work of the main global flow controller, that is, at this time, the backup global flow controller interacts with each gateway device to distribute dynamic traffic.
[0088] According to an embodiment of the present disclosure, an initial traffic rate limit value of each gateway device is set according to the total traffic configured by the user, wherein the initial traffic rate limit value of each gateway device is the same.
[0089] According to an embodiment of the present disclosure, before counting the data packet traffic in each cycle, the traffic rate limit value that each gateway device can forward data can be initialized and set. The average initialization setting can be set to multiple gateway devices according to the total traffic configured by the user.
[0090] Figure 5 A block diagram of a distributed flow rate limiting device according to an embodiment of the present disclosure is schematically shown.
[0091] like Figure 5 As shown, the device 500 may include: a reporting module 510 , a sending module 520 , a first determining module 530 , a second determining module 540 and a speed limiting module 550 .
[0092] The reporting module 510 is used to report the traffic of the bandwidth package of each gateway device to the global traffic controller, wherein the traffic of the bandwidth package of each gateway device is the sum of the traffic of multiple CPUs on each gateway device in the previous cycle, and the global traffic controller carries the total traffic configured by the user.
[0093] The sending module 520 is used to receive the traffic speed limit value for the next cycle sent by the global traffic controller to each gateway device, wherein the traffic speed limit value is determined by the global traffic controller based on the reported traffic of the bandwidth package of each gateway device and the total traffic configured by the user.
[0094] The first determination module 530 is used to determine the number of tokens in the shared token bucket and the first traffic rate limit value of each CPU on each gateway device in the next cycle according to the traffic rate limit value of each gateway device in the next cycle.
[0095] The second determination module 540 is used to determine the second traffic rate limit value of each CPU on each gateway device in the next cycle according to the traffic rate limit value of each gateway device in the next cycle and the traffic of multiple CPUs on each gateway device in the previous cycle.
[0096] The rate limiting module 550 is used to limit the flow rate of each CPU according to the number of tokens in the shared token bucket and the first flow rate limiting value and the second flow rate limiting value of each CPU on each gateway device in the next cycle.
[0097] According to an embodiment of the present disclosure, the second determination module 540 may include: a first determination submodule and a second determination submodule.
[0098] The first determination submodule is used to determine the flow ratio of the multiple CPUs on each of the gateway devices in the next cycle according to the flow of the multiple CPUs on each of the gateway devices in the previous cycle.
[0099] The second determination submodule is used to determine the second traffic speed limit value of each CPU of each gateway device in the next cycle according to the traffic proportion of multiple CPUs in the next cycle and the traffic speed limit value of each gateway device in the next cycle.
[0100] According to the present disclosure, the reporting module 510 may include: a receiving submodule, a counting submodule and a reporting submodule. The receiving submodule is configured to receive a request sent by the global traffic controller to report the traffic of the bandwidth packet of each gateway device.
[0101] The statistics submodule is used to count the traffic of each CPU on each gateway device in the previous cycle according to the request, and obtain the traffic of the bandwidth packet of each gateway device in the previous cycle.
[0102] The reporting submodule is used to report the flow of the bandwidth package of each gateway device to the global flow controller.
[0103] According to an embodiment of the present disclosure, the rate limiting module 550 may include: a first forwarding submodule.
[0104] The first forwarding submodule is used to forward the data packet when it is determined that the flow size of the data packet received by each CPU is less than or equal to the second flow rate limit value, and according to the flow size of the data packet, the first remaining token number of the shared token bucket is obtained by subtracting the number of tokens equal to the flow size of the data packet from the number of tokens in the shared token bucket.
[0105] According to an embodiment of the present disclosure, the rate limiting module 550 may include: a third determining submodule and a second forwarding submodule.
[0106] The third determination submodule is used to determine the comparison result of the number of tokens corresponding to the flow of the data packet and the number of tokens in the shared token bucket when it is determined that the flow size of the data packet received by each CPU is greater than the second flow rate limit value and less than or equal to the first flow rate limit value.
[0107] The second forwarding submodule is used to forward the data packet when it is determined that the comparison result is that the number of tokens corresponding to the flow of the data packet is less than or equal to the number of tokens in the shared token bucket, and according to the flow size of the data packet, the second remaining token number of the shared token bucket is obtained by subtracting the number of tokens equal to the flow size of the data packet from the number of tokens in the shared token bucket.
[0108] According to an embodiment of the present disclosure, the rate limiting module 550 may include: a discarding submodule.
[0109] The discarding submodule is used to discard the data packet when it is determined that the flow size of the data packet received by each CPU is greater than the first flow rate limit value.
[0110] According to an embodiment of the present disclosure, the global flow controller includes a main global flow controller and a backup global flow controller. In the event of a failure of the main global flow controller, the backup global flow controller replaces the main global flow controller for operation.
[0111] According to an embodiment of the present disclosure, the device 500 may further include: a setting module.
[0112] The setting module is used to set the initial traffic speed limit value of each gateway device according to the total traffic configured by the user, wherein the initial traffic speed limit value of each gateway device is the same.
[0113] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.
[0114] For example, any of the reporting module 510, the issuing module 520, the first determining module 530, the second determining module 540 and the speed limiting module 550 can be combined in one module / unit / subunit for implementation, or any of the modules / units / subunits can be split into multiple modules / units / subunits. Alternatively, at least part of the functions of one or more modules / units / subunits in these modules / units / subunits can be combined with at least part of the functions of other modules / units / subunits and implemented in one module / unit / subunit. According to an embodiment of the present disclosure, at least one of the reporting module 510, the issuing module 520, the first determining module 530, the second determining module 540 and the speed limiting module 550 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware and firmware or by a suitable combination of any of them. Alternatively, at least one of the reporting module 510, the sending module 520, the first determination module 530, the second determination module 540 and the speed limit module 550 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be executed.
[0115] It should be noted that the data processing system part in the embodiments of the present disclosure corresponds to the data processing method part in the embodiments of the present disclosure. The description of the data processing system part specifically refers to the data processing method part, which will not be repeated here.
[0116] Figure 6 A block diagram of an electronic device suitable for a distributed traffic speed limiting method according to an embodiment of the present disclosure is schematically shown. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0117] like Figure 6 As shown, the electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0118] In RAM 603, various programs and data required for the operation of electronic device 600 are stored. Processor 601, ROM 602 and RAM 603 are connected to each other via bus 604. Processor 601 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 602 and / or RAM 603. It should be noted that the program can also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0119] According to an embodiment of the present disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The system 600 may further include one or more of the following components connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0120] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.
[0121] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0122] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.
[0123] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 602 and / or the RAM 603 described above and / or one or more memories other than the ROM 602 and the RAM 603 .
[0124] An embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains a program code for executing the method provided by the embodiment of the present disclosure. When the computer program product runs on an electronic device, the program code is used to enable the electronic device to implement the distributed traffic speed limiting method provided by the embodiment of the present disclosure.
[0125] When the computer program is executed by the processor 601, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0126] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 609, and / or installed from a removable medium 611. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0127] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0128] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments and / or claims of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0129] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A distributed traffic speed limiting method, include: Report the traffic of the bandwidth packet of each gateway device to the global traffic controller, wherein the traffic of the bandwidth packet of each gateway device is the sum of the traffic of multiple CPUs on each gateway device in the previous cycle, and the global traffic controller carries the total traffic configured by the user; Receiving a traffic speed limit value for the next cycle sent by the global traffic controller to each of the gateway devices, wherein the traffic speed limit value is determined by the global traffic controller according to the reported traffic of the bandwidth packets of each of the gateway devices and the total traffic configured by the user; Determine the number of tokens in the shared token bucket and the first traffic speed limit value of each CPU on each gateway device in the next cycle according to the traffic speed limit value in the next cycle of each gateway device; Determine a second traffic rate limit value for each CPU on each gateway device in the next cycle according to the traffic rate limit value for each gateway device in the next cycle and the traffic of the plurality of CPUs on each gateway device in the previous cycle; The traffic speed of each CPU is limited according to the number of tokens in the shared token bucket and the first traffic speed limit value and the second traffic speed limit value of each CPU on each gateway device in the next cycle.
2. The method according to claim 1, in, The determining, according to the traffic rate limit value in the next cycle of each of the gateway devices and the traffic of the plurality of CPUs on each of the gateway devices in the previous cycle, a second traffic rate limit value of each of the CPUs on each of the gateway devices in the next cycle includes: Determine the traffic ratio of the multiple CPUs on each of the gateway devices in the next cycle according to the traffic of the multiple CPUs on each of the gateway devices in the previous cycle; According to the traffic ratios of the multiple CPUs in the next cycle and the traffic speed limit value in the next cycle on each gateway device, a second traffic speed limit value in the next cycle of each CPU of each gateway device is determined.
3. The method according to claim 1, in, The reporting of the flow of the bandwidth packet of each gateway device to the global flow controller includes: receiving a request for reporting the flow of bandwidth packets of each of the gateway devices sent by the global flow controller; According to the request, counting the traffic of each CPU on each gateway device in the previous cycle, and obtaining the traffic of bandwidth packets of each gateway device in the previous cycle; Report the traffic of the bandwidth packets of each of the gateway devices to the global traffic controller.
4. The method according to claim 1, in, The method of limiting the flow rate of each CPU according to the number of tokens in the shared token bucket and the first flow rate limit value and the second flow rate limit value of each CPU on each gateway device in the next cycle includes: When it is determined that the flow size of the data packet received by each CPU is less than or equal to the second flow rate limit value, the data packet is forwarded, and based on the flow size of the data packet, the first remaining token number of the shared token bucket is obtained by subtracting the number of tokens equal to the flow size of the data packet from the number of tokens in the shared token bucket.
5. The method according to claim 1, in, The method of limiting the flow rate of each CPU according to the number of tokens in the shared token bucket and the first flow rate limit value and the second flow rate limit value of each CPU on each gateway device in the next cycle includes: When it is determined that the flow size of the data packet received by each of the CPUs is greater than the second flow rate limit value, and less than or equal to the first flow rate limit value, determine a comparison result of the number of tokens corresponding to the flow of the data packet and the number of tokens of the shared token bucket; When it is determined that the comparison result is that the number of tokens corresponding to the traffic of the data packet is less than or equal to the number of tokens in the shared token bucket, the data packet is forwarded, and based on the traffic size of the data packet, the number of tokens in the shared token bucket is subtracted from the number of tokens equal to the traffic size of the data packet to obtain the second remaining number of tokens in the shared token bucket.
6. The method according to claim 1, in, The method of limiting the flow rate of each CPU according to the number of tokens in the shared token bucket and the first flow rate limit value and the second flow rate limit value of each CPU on each gateway device in the next cycle includes: When it is determined that the flow size of the data packet received by each of the CPUs is greater than the first flow rate limit value, the data packet is discarded.
7. The method according to claim 1, in, The global flow controller includes a main global flow controller and a backup global flow controller; In the event of a failure of the primary global flow controller, the backup global flow controller replaces the primary global flow controller for operation.
8. The method according to claim 1, further comprising: include: An initial traffic rate limit value of each of the gateway devices is set according to the total traffic configured by the user, wherein the initial traffic rate limit value of each of the gateway devices is the same.
9. A distributed flow rate limiting device, include: A reporting module, used to report the traffic of the bandwidth packet of each gateway device to the global traffic controller, wherein the traffic of the bandwidth packet of each gateway device is the sum of the traffic of multiple CPUs on each gateway device in the previous cycle, and the global traffic controller carries the total traffic configured by the user; A sending module, used for receiving the traffic speed limit value in the next cycle sent by the global traffic controller to each of the gateway devices, wherein the traffic speed limit value is determined by the global traffic controller according to the reported traffic of the bandwidth package of each of the gateway devices and the total traffic configured by the user; A first determination module, used to determine the number of tokens in the shared token bucket and the first traffic speed limit value of each CPU on each gateway device in the next cycle according to the traffic speed limit value in the next cycle of each gateway device; A second determination module is used to determine a second traffic speed limit value of each CPU on each gateway device in the next cycle according to the traffic speed limit value of each gateway device in the next cycle and the traffic of the multiple CPUs on each gateway device in the previous cycle; The speed limit module is used to limit the flow rate of each CPU according to the number of tokens in the shared token bucket and the first flow rate limit value and the second flow rate limit value of each CPU on each gateway device in the next cycle.
10. An electronic device, include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 8.
12. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Flow control method and forwarding unit
CN103188160A
Flow control method and device based on Redis, electronic equipment and storage medium
CN114915593A
