# US 2020/0351207 A1 · Method and system of limiting traffic

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0351207 A1
- Document ID: US20200351207A1
- Status: Published application
- Kind: A1
- Application number: 16/902,800
- Filed: 2020-06-16
- Published: 2020-11-05
- Earliest claimed: 2019-04-30
- Assignees: Wangsu Science & Technology Co., Ltd.
- Applicants: Wangsu Science & Technology Co., Ltd.
- Inventors: Wenbo Ye
- Web page: https://patentgrep.com/patent/US20200351207A1

## CPC

- H04L 47/20: Traffic policing
- H04L 47/2416: Real-time traffic
- H04L 47/29: {using a combination of thresholds}
- H04L 47/781: {Centralised allocation of resources}
- H04L 47/822: {Collecting or measuring resource availability data}
- H04L 47/826: {Involving periods of time}
- H04L 63/10: {for controlling access to devices or network resources}
- H04L 47/225: {Determination of shaping rate, e.g. using a moving window}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure provides a method and system of limiting traffic. The method includes: sending, by a distributed node, a service volume in a current preset time period to a central node according to a fixed period; determining, by the central node, a decision quota of the distributed node based on the received service volume, and sending the decision quota to the distributed node; receiving, by the distributed node, the decision quota sent by the central node; and determining, by the distributed node based on the latest received decision quota after receiving an access request, whether traffic limitation needs to be performed for the access request. The traffic limitation decision of the present application is made by the distributed node autonomously, the decision path is short, and fast and accurate decision making is achieved.

## Claims

### Claim 1

A method of limiting traffic, comprising:
sending, by a distributed node, a service volume in a current preset time period to a central node according to a fixed period;
determining, by the central node, a decision quota of the distributed node based on the received service volume, and sending the decision quota to the distributed node;
receiving, by the distributed node, the decision quota sent by the central node; and
determining, by the distributed node based on the latest received decision quota after receiving an access request, whether traffic limitation needs to be performed for the access request.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the service volume further comprises a back-to-source volume; and
correspondingly, the step of determining, by the distributed node based on the latest received decision quota after receiving the access request, whether traffic limitation needs to be performed for the access request comprises:
after receiving the access request, determining, by the distributed node, whether a back-to-source request needs to be sent to a source station; and
if yes, determining, based on the latest received decision quota, whether traffic limitation needs to be performed for the access request.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the service volume in the preset time period comprises at least one of traffic generated by the distributed node in the preset time period, an average bandwidth in the preset time period, the number of connections established in the preset time period, and the number of access requests in the preset time period.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the service volume in the preset time period comprises at least one of traffic generated by the distributed node in the preset time period, an average bandwidth in the preset time period, the number of connections established in the preset time period, and the number of access requests in the preset time period.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the step of determining, by the distributed node based on the latest received decision quota, whether traffic limitation needs to be performed for the access request comprises:
comparing, by the distributed node, a current service increment with the latest received decision quota; and
if the current service increment of the distributed node is less than the latest received decision quota, skipping performing traffic limitation, or otherwise, performing traffic limitation for the access request.

### Claim 6 (depends on 5)

The method according to claim 5, wherein after the determining, by the distributed node, that the current service increment is greater than or equal to the latest received decision quota, the method further comprises:
determining a time interval between a current time and a time at which a service volume is sent to the central node last time;
if the time interval is less than a preset duration, performing traffic limitation for the access request; and
if the time interval is greater than or equal to the preset duration, sending the service volume in the current preset time period to the central node, receiving a new decision quota sent by the central node, and then determining, based on the latest received decision quota, whether traffic limitation needs to be performed for the access request.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the step of performing, by the distributed node, traffic limitation for the access request comprises:
rejecting, by the distributed node, the access request; or
limiting, by the distributed node, a response rate to the access request.

### Claim 8 (depends on 5)

The method according to claim 5, wherein the step of performing, by the distributed node, traffic limitation for the access request comprises:
rejecting, by the distributed node, the access request; or
limiting, by the distributed node, a response rate to the access request.

### Claim 9 (depends on 5)

The method according to claim 5, wherein after the determining, by the distributed node, that the current service increment is greater than or equal to the latest received decision quota, the method further comprises:
responding, by the distributed node, to the access request with a preset response rate; and
receiving, by the distributed node, a next access request, and rejecting the next access request if the current service increment is still greater than or equal to the latest received decision quota.

### Claim 10 (depends on 9)

The method according to claim 9, wherein after the responding, by the distributed node, to the access request with a preset response rate, the method further comprises:
receiving, by the distributed node, the next access request, and if the current service increment is less than the latest received decision quota and a current average response rate is greater than the preset response rate, responding to the next access request at the preset response rate, wherein the current average response rate is equal to a ratio of traffic generated in the current preset time period to the number of access requests in the current preset time period; and
receiving, by the distributed node, the next access request, and if the current service increment is less than the latest received decision quota, and the current average response rate is less than or equal to the preset response rate, skipping performing traffic limitation.

### Claim 11

A system of limiting traffic, comprising a distributed node and a central node, wherein
the distributed node is configured to send a service volume in a current preset time period to the central node according to a fixed period;
the central node is configured to determine a decision quota of the distributed node based on the received service volume, and send the decision quota to the distributed node; and
the distributed node is configured to receive the decision quota sent by the central node, and after receiving an access request, determine, based on the latest received decision quota, whether traffic limitation needs to be performed for the access request.

### Claim 12 (depends on 11)

The system according to claim 11, wherein the service volume in the preset time period comprises at least one of traffic generated by the distributed node in the preset time period, an average bandwidth in the preset time period, the number of connections established in the preset time period, the number of access requests in the preset time period.

### Claim 13

A node device, comprising:
at least one processor; and
a memory communicably connected with the at least one processor for storing instructions executable by the at least one processor,
wherein execution of the instructions by the at least one processor causes the at least one processor to perform the processing process performed by the distributed node in a method of limiting traffic, comprising:
sending, by a distributed node, a service volume in a current preset time period to a central node according to a fixed period;
determining, by the central node, a decision quota of the distributed node based on the received service volume, and sending the decision quota to the distributed node;
receiving, by the distributed node, the decision quota sent by the central node;
determining, by the distributed node based on the latest received decision quota after receiving an access request, whether traffic limitation needs to be performed for the access request.

### Claim 14 (depends on 13)

The node device according to claim 13, wherein the service volume further comprises a back-to-source volume; and
correspondingly, the step of determining, by the distributed node based on the latest received decision quota after receiving the access request, whether traffic limitation needs to be performed for the access request comprises:
after receiving the access request, determining, by the distributed node, whether a back-to-source request needs to be sent to a source station; and
if yes, determining, based on the latest received decision quota, whether traffic limitation needs to be performed for the access request.

### Claim 15 (depends on 13)

The node device according to claim 13, wherein the service volume in the preset time period comprises at least one of traffic generated by the distributed node in the preset time period, an average bandwidth in the preset time period, the number of connections established in the preset time period, and the number of access requests in the preset time period.

### Claim 16 (depends on 13)

The node device according to claim 13, wherein the step of determining, by the distributed node based on the latest received decision quota, whether traffic limitation needs to be performed for the access request comprises:
comparing, by the distributed node, a current service increment with the latest received decision quota; and
if the current service increment of the distributed node is less than the latest received decision quota, skipping performing traffic limitation, or otherwise, performing traffic limitation for the access request.

### Claim 17 (depends on 16)

The node device according to claim 16, wherein after the determining, by the distributed node, that the current service increment is greater than or equal to the latest received decision quota, the method further comprises:
determining a time interval between a current time and a time at which a service volume is sent to the central node last time;
if the time interval is less than a preset duration, performing traffic limitation for the access request; and
if the time interval is greater than or equal to the preset duration, sending the service volume in the current preset time period to the central node, receiving a new decision quota sent by the central node, and then determining, based on the latest received decision quota, whether traffic limitation needs to be performed for the access request.

### Claim 18 (depends on 16)

The node device according to claim 16, wherein the step of performing, by the distributed node, traffic limitation for the access request comprises:
rejecting, by the distributed node, the access request; or
limiting, by the distributed node, a response rate to the access request.

### Claim 19 (depends on 16)

The node device according to claim 16, wherein after the determining, by the distributed node, that the current service increment is greater than or equal to the latest received decision quota, the method further comprises:
responding, by the distributed node, to the access request with a preset response rate; and
receiving, by the distributed node, a next access request, and rejecting the next access request if the current service increment is still greater than or equal to the latest received decision quota.

### Claim 20 (depends on 19)

The node device according to claim 19, wherein after the responding, by the distributed node, to the access request with a preset response rate, the method further comprises:
receiving, by the distributed node, the next access request, and if the current service increment is less than the latest received decision quota and a current average response rate is greater than the preset response rate, responding to the next access request at the preset response rate, wherein the current average response rate is equal to a ratio of traffic generated in the current preset time period to the number of access requests in the current preset time period; and
receiving, by the distributed node, the next access request, and if the current service increment is less than the latest received decision quota and the current average response rate is less than or equal to the preset response rate, skipping performing traffic limitation.
