# US 2017/0286167 A1 · Time-based adjustable load balancing

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

- Number: US 2017/0286167 A1
- Document ID: US20170286167A1
- Status: Published application
- Kind: A1
- Application number: 15/472,104
- Filed: 2017-03-28
- Published: 2017-10-05
- Earliest claimed: 2016-03-29
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Xiaoping Zhu
- Web page: https://patentgrep.com/patent/US20170286167A1

## CPC

- G06F 9/505: {considering the load}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/5044: {considering hardware capabilities}
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- H04L 67/1001: for accessing one among a plurality of replicated servers
- H04L 67/1025: Dynamic adaptation of the criteria on which the server selection is based
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A time-based adjustable load balancing method and device is provided, which, by acquiring and recording at least one timed task including an execution time period and a load balancing method to be executed in the execution time period, implements creation of different load balancing methods based on definition of multiple time periods, and executes a corresponding load balancing method in an execution time period. Further, it is determined whether a current time enters an execution time period of one timed task, and if yes, the load balancing method corresponding to the timed task is acquired, and load balancing between multiple servers is processed based on the corresponding load balancing method, until the execution time period corresponding to the timed task ends, thereby implementing flexible configuration of a user. The load balancing method meeting the user requirement is flexibly applied to complicated user scenarios, thereby enhancing applicability of the load balancing.

## Claims

### Claim 1

A method comprising:
acquiring a timed task, the timed task including an execution time period and a load balancing method to be executed in the execution time period;
determining that a current time enters into the execution time period;
acquiring the load balancing method corresponding to the timed task; and
processing load balancing between multiple servers based on the load balancing method corresponding to the timed task until the execution time period corresponding to the timed task ends.

### Claim 2 (depends on 1)

The method of claim 1, wherein the acquiring the timed task includes:
acquiring a user request, the user request including a request time period and a load balancing method to be executed in the request time period;
generating the timed task based on the user request;
determining the execution time period of the timed task based on the request time period; and
determining, based on the user request, the load balancing method to be executed in the execution time period.

### Claim 3 (depends on 2)

The method of claim 2, wherein the determining, based on the user request, the load balancing method to be executed in the execution time period includes:
acquiring performance parameter information of load balancing based on the user request; and
determining, based on the performance parameter information of load balancing, the load balancing method to be executed in the execution time period.

### Claim 4 (depends on 3)

The method of claim 3, wherein the performance parameter information includes a bandwidth amount.

### Claim 5 (depends on 3)

The method of claim 3, wherein the performance parameter information includes a number of creatable connections.

### Claim 6 (depends on 3)

The method of claim 3, wherein the performance parameter information includes a number of new creatable connections per second.

### Claim 7 (depends on 3)

The method of claim 3, wherein the determining, based on the user request, the load balancing method to be executed in the execution time period includes:
stopping generating the timed task when the acquired performance parameter information of load balancing exceeds performance parameter information of existing service capability of the load balancing, and
returning alarm notification information.

### Claim 8 (depends on 2)

The method of claim 2, wherein the acquiring the timed task further includes:
updating the execution time period of the timed task based on an overlapped time period when the request time period and the execution time period have the overlapped time period; and
updating the timed task based on the updated execution time period.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
deleting the load balancing method and acquiring a next load balancing method corresponding to a next execution time period, when the execution time period corresponding to the timed task ends.

### Claim 10 (depends on 1)

The method of claim 1, wherein the timed task includes any of the following:
a first timed task executed periodically and circularly;
a second timed task executed once; and
a third timed task coordinating the first timed task executed once with the second timed task executed periodically and circularly.

### Claim 11

A device comprising:
an acquisition apparatus that acquire and records a timed task, the timed task including an execution time period and a load balancing method to be executed in the execution time period; and
an execution apparatus that determines that a current time enters into the execution time period, acquires the load balancing method corresponding to the timed task, and processes load balancing between multiple servers based on the load balancing method corresponding to the timed task until the execution time period corresponding to the timed task ends.

### Claim 12 (depends on 11)

The device of claim 11, wherein the acquisition apparatus includes:
a request acquisition unit that acquires a user request, the user request including a request time period and a load balancing method to be executed in the request time period;
a generation unit that generates the timed task based on the user request and determines the execution time period of the timed task based on the request time period; and
a determination unit that determines, based on the user request, the load balancing method to be executed in the execution time period.

### Claim 13 (depends on 12)

The device of claim 12, wherein the determination unit further:
acquires performance parameter information of load balancing based on the user request; and
determines, based on the performance parameter information of load balancing, the load balancing method to be executed in the execution time period.

### Claim 14 (depends on 13)

The device of claim 13, wherein the performance parameter information includes at least one of the following:
a bandwidth amount;
a number of creatable connections; and
a number of new creatable connections per second.

### Claim 15 (depends on 12)

The device of claim 12, wherein the determination unit further:
stops generating the timed task when the acquired performance parameter information of load balancing exceeds performance parameter information of existing service capability of the load balancing, and
returns alarm notification information.

### Claim 16 (depends on 11)

The device of claim 11, wherein the acquisition apparatus includes:
a first update unit that updates the execution time period of the existing timed task based on the overlapped time period when the request time period and the execution time period of the existing timed task have an overlapped time period.

### Claim 17 (depends on 16)

The device of claim 16, wherein the acquisition apparatus further includes:
a second update unit that updates the existing timed task based on the updated execution time period, wherein the timed task is a timed task executed once or a timed task executed periodically and circularly.

### Claim 18 (depends on 11)

The device of claim 11, wherein the execution apparatus further:
deletes the load balancing method and acquiring a next load balancing method corresponding to a next execution time period, when the execution time period corresponding to the timed task ends.

### Claim 19 (depends on 11)

The device of claim 11, wherein the timed task comprises any of the following:
a first timed task executed periodically and circularly;
a second timed task executed once; and
a third timed task coordinating the first timed task executed once with the second timed task executed periodically and circularly.

### Claim 20

One or more memories stored thereon computer-executable instructions that, when executed by one or more processors, cause the processor to perform acts comprising:
acquiring a timed task, the timed task including an execution time period and a load balancing method to be executed in the execution time period;
determining that a current time enters into the execution time period;
acquiring the load balancing method corresponding to the timed task; and
processing load balancing between multiple servers based on the load balancing method corresponding to the timed task until the execution time period corresponding to the timed task ends.
