# US 2021/0083947 A1 · Method and apparatus for recognizing surge in bandwidth demand

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

- Number: US 2021/0083947 A1
- Document ID: US20210083947A1
- Status: Published application
- Kind: A1
- Application number: 17/044,304
- Filed: 2018-12-06
- Published: 2021-03-18
- Earliest claimed: 2018-10-22
- Assignees: Wangsu Science & Technology Co., Ltd.
- Applicants: Wangsu Science & Technology Co., Ltd.
- Inventors: Zhujue YANG
- Web page: https://patentgrep.com/patent/US20210083947A1

## CPC

- H04L 41/5019: Ensuring fulfilment of SLA
- H04L 41/5009: Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
- H04L 41/5048: {Automatic or semi-automatic definitions, e.g. definition templates}
- H04L 43/04: Processing captured monitoring data, e.g. for logfile generation
- H04L 43/0888: Throughput
- H04L 43/0894: Packet rate
- H04L 43/16: Threshold monitoring
- H04L 41/0823: characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability (for optimising operational conditions of wireless networks H04W24/02)
- H04L 41/0896: Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities (flow or congestion control using dynamic resource allocation, e.g. in-call renegotiation, H04L47/76)
- 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 an apparatus for recognizing a surge in bandwidth demand, which belongs to the network communication technology field. The method includes: periodically obtaining historic bandwidth data of a target client at each standard time point in a plurality of historic cycles; generating a regular bandwidth template corresponding to each standard time point based on the historic bandwidth data; obtaining real time bandwidth data of the target client in every pre-set time interval; and based on the real time bandwidth data at each standard time point in a specified time interval and template bandwidth data of the regular bandwidth template in the specified time interval, determining whether the target client has a surge in bandwidth demand. The present disclosure timelier and more accurately recognizes the surge in bandwidth demand of the target client.

## Claims

### Claim 1

A method for recognizing a surge in bandwidth demand, comprising:
periodically obtaining historic bandwidth data of a target client at each standard time point in a plurality of historic cycles;
generating a regular bandwidth template corresponding to each standard time point based on the historic bandwidth data;
obtaining real time bandwidth data of the target client in every pre-set time interval; and
based on the real time bandwidth data at each standard time point in a specified time interval and template bandwidth data of the regular bandwidth template in the specified time interval, determining whether the target client has the surge in bandwidth demand.

### Claim 2 (depends on 1)

The method of claim 1, wherein after obtaining the real time bandwidth data of the target client in every pre-set time interval, the method further includes:
if the real time bandwidth data obtained in any pre-set time interval misses the real time bandwidth data at a target time point, using a linear interpolation algorithm to calculate the real time bandwidth data at the target time point based on the real time bandwidth data at time points adjacent to the target time point.

### Claim 3 (depends on 1)

The method of claim 1, wherein after obtaining the real time bandwidth data of the target client in every pre-set time interval, the method further includes:
determining a bandwidth change rate of the real time bandwidth data obtained in a latest pre-set time interval based on the real time bandwidth data obtained in a preceding pre-set time interval;
if the bandwidth change rate is greater than a pre-set change threshold and a count of consecutive abrupt bandwidth changes is smaller than a pre-set count threshold, updating the real time bandwidth data obtained in the latest pre-set time interval with the real time bandwidth data obtained in the preceding pre-set time interval and incrementing the count of the consecutive abrupt bandwidth changes by one; and
if the bandwidth change rate is not greater than the pre-set change threshold or the count of the consecutive abrupt bandwidth changes is not smaller than the pre-set count threshold, adjusting the real time bandwidth data obtained in the latest pre-set time interval according to the real time bandwidth data obtained in the preceding pre-set time interval and resetting the count of the consecutive abrupt bandwidth changes to zero.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating the regular bandwidth template corresponding to each standard time point based on the historic bandwidth data includes:
for every two historic cycles in the plurality of historic cycles, determining a sum of differences between the historic bandwidth data in the two historic cycles of all standard time points to be a distance between the two historic cycles;
each historic cycle being an initial cluster, using a single-linkage Hierarchical Clustering algorithm to gradually merge two clusters having a smallest distance;
a target cluster being a merged cluster when the number of the historic cycles included in the merged cluster exceeds a pre-set number, determining all the historic cycles included in the target cluster to be target historic cycles; and
based on averages of the historic bandwidth data in the target historic cycles at each standard time point, creating the regular bandwidth template corresponding to each standard time point.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining whether the target client has the surge in bandwidth demand based on the real time bandwidth data in the specified time interval at each standard time point and the template bandwidth data of the regular bandwidth template in the specified time interval includes:
calculating a sum of the real time bandwidth data at all the standard time points in the specified time interval, and calculating a sum of the template bandwidth data of the regular bandwidth template in the specified time interval; and
based on a ratio of the sum of the real time bandwidth data over the sum of the template bandwidth data and a pre-set surge warning ratio or proportion, determining whether the client has the surge in bandwidth demand.

### Claim 6 (depends on 5)

The method of claim 5, wherein determining whether the client has the surge in bandwidth demand based on the ratio of the sum of the real time bandwidth data over the sum of the template bandwidth data and the pre-set surge warning ratio includes:
obtaining peak template bandwidth data of the template bandwidth data and current bandwidth data at a current time point;
establishing a surge standard ratio through a ratio of the current bandwidth data over the peak template bandwidth data and the pre-set surge warning ratio or proportion; and
if the ratio of the sum of the real time bandwidth data over the sum of the template bandwidth data is greater than the surge standard ratio, and the current bandwidth data is greater than a pre-set surge bandwidth minimum value, determining that the target client currently has the surge in bandwidth demand.

### Claim 7 (depends on 6)

The method of claim 6, further including:
after it is determined last time that the target client has the surge in bandwidth demand, if the ratio of the sum of the real time bandwidth data over the sum of the template bandwidth data is smaller than a pre-set surge warning dismissal ratio or proportion, or the current bandwidth data is smaller than the pre-set surge bandwidth minimum value, or the current bandwidth data is smaller than one half of the peak template bandwidth data, determining that the surge in bandwidth demand of the target client is over.

### Claim 8 (depends on 1)

The method of claim 1, wherein after obtaining the real time bandwidth data of the target client in every pre-set time interval, the method further includes:
dividing the real time bandwidth data according to each standard time point; and
updating and storing the real time bandwidth data at each standard time point in an ascending order by accumulating the real time bandwidth data at a preceding standard time point to the real time bandwidth data at the standard time point.

### Claim at position 9

9-16. (canceled)

### Claim 17

A client management device, comprising:
a processor; and
a memory configured to store at least one instruction, at least one section of program, a code set, or an instruction set,
wherein the at least one instruction, the at least one section of program, the code set, or the instruction set stored in the memory are loaded and executed by the processor to implement a method for recognizing a surge in bandwidth demand comprising:
periodically obtaining historic bandwidth data of a target client at each standard time point in a plurality of historic cycles;
generating a regular bandwidth template corresponding to each standard time point based on the historic bandwidth data;
obtaining real time bandwidth data of the target client in every pre-set time interval; and
based on the real time bandwidth data at each standard time point in a specified time interval and template bandwidth data of the regular bandwidth template in the specified time interval, determining whether the target client has the surge in bandwidth demand.

### Claim 18

A computer readable storage medium, wherein:
the computer readable storage medium stores at least one instruction, at least one section of program, a code set, or an instruction set, wherein the at least one instruction, the at least one section of program, the code set, or the instruction set are loaded and executed by a processor to implement a method for recognizing a surge in bandwidth demand comprising:
periodically obtaining historic bandwidth data of a target client at each standard time point in a plurality of historic cycles;
generating a regular bandwidth template corresponding to each standard time point based on the historic bandwidth data;
obtaining real time bandwidth data of the target client in every pre-set time interval; and
based on the real time bandwidth data at each standard time point in a specified time interval and template bandwidth data of the regular bandwidth template in the specified time interval, determining whether the target client has the surge in bandwidth demand.

### Claim 19 (depends on 18)

The computer readable storage medium of claim 18, wherein after obtaining the real time bandwidth data of the target client in every pre-set time interval, the method further includes:
if the real time bandwidth data obtained in any pre-set time interval misses the real time bandwidth data at a target time point, using a linear interpolation algorithm to calculate the real time bandwidth data at the target time point based on the real time bandwidth data at time points adjacent to the target time point.

### Claim 20 (depends on 18)

The computer readable storage medium of claim 18, wherein determining whether the target client has the surge in bandwidth demand based on the real time bandwidth data in the specified time interval at each standard time point and the template bandwidth data of the regular bandwidth template in the specified time interval includes:
calculating a sum of the real time bandwidth data at all the standard time points in the specified time interval, and calculating a sum of the template bandwidth data of the regular bandwidth template in the specified time interval; and
based on a ratio of the sum of the real time bandwidth data over the sum of the template bandwidth data and a pre-set surge warning ratio or proportion, determining whether the client has the surge in bandwidth demand.

### Claim 21 (depends on 18)

The computer readable storage medium of claim 18, wherein after obtaining the real time bandwidth data of the target client in every pre-set time interval, the method further includes:
dividing the real time bandwidth data according to each standard time point; and
updating and storing the real time bandwidth data at each standard time point in an ascending order by accumulating the real time bandwidth data at a preceding standard time point to the real time bandwidth data at the standard time point.

### Claim 22 (depends on 17)

The client management device of claim 17, wherein after obtaining the real time bandwidth data of the target client in every pre-set time interval, the method further includes:
if the real time bandwidth data obtained in any pre-set time interval misses the real time bandwidth data at a target time point, using a linear interpolation algorithm to calculate the real time bandwidth data at the target time point based on the real time bandwidth data at time points adjacent to the target time point.

### Claim 23 (depends on 17)

The client management device of claim 17, wherein after obtaining the real time bandwidth data of the target client in every pre-set time interval, the method further includes:
determining a bandwidth change rate of the real time bandwidth data obtained in a latest pre-set time interval based on the real time bandwidth data obtained in a preceding pre-set time interval;
if the bandwidth change rate is greater than a pre-set change threshold and a count of consecutive abrupt bandwidth changes is smaller than a pre-set count threshold, updating the real time bandwidth data obtained in the latest pre-set time interval with the real time bandwidth data obtained in the preceding pre-set time interval and incrementing the count of the consecutive abrupt bandwidth changes by one; and
if the bandwidth change rate is not greater than the pre-set change threshold or the count of the consecutive abrupt bandwidth changes is not smaller than the pre-set count threshold, adjusting the real time bandwidth data obtained in the latest pre-set time interval according to the real time bandwidth data obtained in the preceding pre-set time interval and resetting the count of the consecutive abrupt bandwidth changes to zero.

### Claim 24 (depends on 17)

The client management device of claim 17, wherein generating the regular bandwidth template corresponding to each standard time point based on the historic bandwidth data includes:
for every two historic cycles in the plurality of historic cycles, determining a sum of differences between the historic bandwidth data in the two historic cycles of all standard time points to be a distance between the two historic cycles;
each historic cycle being an initial cluster, using a single-linkage Hierarchical Clustering algorithm to gradually merge two clusters having a smallest distance;
a target cluster being a merged cluster when the number of the historic cycles included in the merged cluster exceeds a pre-set number, determining all the historic cycles included in the target cluster to be target historic cycles; and
based on averages of the historic bandwidth data in the target historic cycles at each standard time point, creating the regular bandwidth template corresponding to each standard time point.

### Claim 25 (depends on 17)

The client management device of claim 17, wherein determining whether the target client has the surge in bandwidth demand based on the real time bandwidth data in the specified time interval at each standard time point and the template bandwidth data of the regular bandwidth template in the specified time interval includes:
calculating a sum of the real time bandwidth data at all the standard time points in the specified time interval, and calculating a sum of the template bandwidth data of the regular bandwidth template in the specified time interval; and
based on a ratio of the sum of the real time bandwidth data over the sum of the template bandwidth data and a pre-set surge warning ratio or proportion, determining whether the client has the surge in bandwidth demand.

### Claim 26 (depends on 25)

The client management device of claim 25, wherein determining whether the client has the surge in bandwidth demand based on the ratio of the sum of the real time bandwidth data over the sum of the template bandwidth data and the pre-set surge warning ratio includes:
obtaining peak template bandwidth data of the template bandwidth data and current bandwidth data at a current time point;
establishing a surge standard ratio through a ratio of the current bandwidth data over the peak template bandwidth data and the pre-set surge warning ratio or proportion; and
if the ratio of the sum of the real time bandwidth data over the sum of the template bandwidth data is greater than the surge standard ratio, and the current bandwidth data is greater than a pre-set surge bandwidth minimum value, determining that the target client currently has the surge in bandwidth demand.

### Claim 27 (depends on 26)

The client management device of claim 26, further including:
after it is determined last time that the target client has the surge in bandwidth demand, if the ratio of the sum of the real time bandwidth data over the sum of the template bandwidth data is smaller than a pre-set surge warning dismissal ratio or proportion, or the current bandwidth data is smaller than the pre-set surge bandwidth minimum value, or the current bandwidth data is smaller than one half of the peak template bandwidth data, determining that the surge in bandwidth demand of the target client is over.

### Claim 28 (depends on 17)

The client management device of claim 17, wherein after obtaining the real time bandwidth data of the target client in every pre-set time interval, the method further includes:
dividing the real time bandwidth data according to each standard time point; and
updating and storing the real time bandwidth data at each standard time point in an ascending order by accumulating the real time bandwidth data at a preceding standard time point to the real time bandwidth data at the standard time point.
