IP Library Granted Patent US 11,431,669
Granted Patent B2
US 11,431,669 · App. 17/079,231 · Granted Aug 30, 2022

Server configuration method and apparatus

Inventor: Zhiwen Yu (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
H04L61/1511H04L41/069H04L41/0803H04L67/1002H04L67/2842
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,431,669
App. No.
17/079,231
Granted
Aug 30, 2022
Kind
B2
Abstract

A method including performing data mining according to a first domain name bandwidth and a local buffer hit ratio of a server, so as to obtain a threshold corresponding to the first domain name bandwidth; according to the threshold and the size of a second domain name bandwidth, obtaining the number of servers to be allocated. The present disclosure solves the technical problem in the conventional techniques that the configuration of the number of servers for a domain name in a region needs to be adjusted on the basis of experiences or manually in real time according to actual situations, resulting in high operation and maintenance costs and unguaranteed configuration accuracy.

Claims (50)

1. A method comprising:

performing data mining according to a first domain name bandwidth and a local buffer hit ratio of a server to obtain a threshold corresponding to the first domain name bandwidth; and

obtaining a number of servers to be allocated according to the threshold and a size of a second domain name bandwidth.

2. The method according to claim 1 , wherein after the obtaining the number of servers to be allocated, the method further comprises:

adjusting the first domain name bandwidth on a server cluster according to a preset ratio; and

obtaining an adjusted threshold according to the adjusted first domain name bandwidth and a state change of the local buffer hit ratio of the server to obtain a number of servers to be allocated according to the adjusted threshold.

3. The method according to claim 2 , wherein the adjusting the first domain name bandwidth on the server cluster according to the preset ratio comprises:

scaling up or down the first domain name bandwidth on the server cluster according to the preset ratio.

4. The method according to claim 3 , wherein the server cluster comprises at least one server.

5. The method according to claim 1 , wherein the performing data mining according to the first domain name bandwidth and the local buffer hit ratio of the server to obtain the threshold corresponding to the first domain name bandwidth comprises:

obtaining the first domain name bandwidth of a domain name and the local buffer hit ratio of the server from a user access log; and

determining the threshold according to a correspondence between a value change of the first domain name bandwidth and a state change of the local buffer hit ratio of the server.

6. The method according to claim 5 , wherein the obtaining the first domain name bandwidth of the domain name and the local buffer hit ratio of the server from the user access log comprises:

according to a preset cycle, obtaining the first domain name bandwidth of the domain name from the user access log and obtaining the local buffer hit ratio of the server.

7. The method according to claim 5 , wherein the determining the threshold according to the correspondence between the value change of the first domain name bandwidth and the state change of the local buffer hit ratio of the server comprises:

according to the value change of the first domain name bandwidth and the state change of the local buffer hit ratio of the server, determining a specific value at which the local buffer hit ratio of the server no longer rises or rises within a preset margin as the threshold.

8. The method according to claim 1 , wherein the obtaining the number of servers to be allocated according to the threshold and the size of the second domain name bandwidth comprises:

obtaining a current number of servers to be allocated according to a current domain name bandwidth and the threshold under a condition that the second domain name bandwidth includes the current domain name bandwidth.

9. The method according to claim 8 , further comprising obtaining the current domain name bandwidth in real time by a traffic acquisition device.

10. The method according to claim 8 , wherein the obtaining the current number of servers to be allocated according to the current domain name bandwidth and the threshold comprises:

obtaining the current number of servers to be allocated by dividing the current domain name bandwidth by the threshold.

11. The method according to claim 1 , wherein the obtaining the number of servers to be allocated according to the threshold and the size of the second domain name bandwidth comprises:

under a condition that the second domain name bandwidth comprises a predicted value of domain name bandwidth, obtaining a predicted number of servers to be allocated according to a predicted value of domain name bandwidth and the threshold.

12. The method according to claim 11 , wherein the obtaining the predicted number of servers to be allocated according to the predicted value of domain name bandwidth and the threshold comprises:

obtaining the predicted number of servers to be allocated by dividing the predicted value of domain name bandwidth by the threshold.

13. The method according to claim 1 , wherein:

the first domain name bandwidth includes a server bandwidth; and

the second domain name bandwidth includes a bandwidth purchased from a supplier.

14. An apparatus comprising:

one or more processors; and

one or more memories storing thereon computer-readable instructions that, when executed by the one or more processors, cause the one or more processors to perform acts comprising:

performing data mining according to a first domain name bandwidth and a local buffer hit ratio of a server to obtain a threshold corresponding to the first domain name bandwidth; and

obtaining a number of servers to be allocated according to the threshold and a size of a second domain name bandwidth.

15. The apparatus according to claim 14 , wherein after the obtaining the number of servers to be allocated, the acts further comprise:

adjusting the first domain name bandwidth on a server cluster according to a preset ratio; and

obtaining an adjusted threshold according to the adjusted first domain name bandwidth and a state change of the local buffer hit ratio of the server to obtain a number of servers to be allocated according to the adjusted threshold.

16. The apparatus according to claim 15 , wherein the adjusting the first domain name bandwidth on the server cluster according to the preset ratio comprises:

scaling up or down the first domain name bandwidth on the server cluster according to the preset ratio, the server cluster comprising at least one server.

17. The apparatus according to claim 14 , wherein the performing data mining according to the first domain name bandwidth and the local buffer hit ratio of the server to obtain the threshold corresponding to the first domain name bandwidth comprises:

obtaining the first domain name bandwidth of a domain name and the local buffer hit ratio of the server from a user access log; and

determining the threshold according to a correspondence between a value change of the first domain name bandwidth and a state change of the local buffer hit ratio of the server.

18. The apparatus according to claim 17 , wherein the obtaining the first domain name bandwidth of the domain name and the local buffer hit ratio of the server from the user access log comprises:

according to a preset cycle, obtaining the first domain name bandwidth of the domain name from the user access log and obtaining the local buffer hit ratio of the server.

19. The apparatus according to claim 17 , wherein the determining the threshold according to the correspondence between the value change of the first domain name bandwidth and the state change of the local buffer hit ratio of the server comprises:

according to the value change of the first domain name bandwidth and the state change of the local buffer hit ratio of the server, determining a specific value at which the local buffer hit ratio of the server no longer rises or rises within a preset margin as the threshold.

20. One or more memories storing thereon computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform acts comprising:

performing data mining according to a first domain name bandwidth and a local buffer hit ratio of a server to obtain a threshold corresponding to the first domain name bandwidth, the performing including:

obtaining the first domain name bandwidth of a domain name and the local buffer hit ratio of the server from a user access log;

determining the threshold according to a correspondence between a value change of the first domain name bandwidth and a state change of the local buffer hit ratio of the server; and

obtaining a number of servers to be allocated according to the threshold and a size of a second domain name bandwidth.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 29, 2026
From: ALIBABA GROUP HOLDING LIMITED
To: CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PRIVATE LIMITED
Reel/Frame 075499/0384 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 8, 2021
From: YU, ZHIWEN
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 054864/0394 →
Priority Claims (1)
CN 201810377843.1 · Apr 25, 2018 · national
Continuity (2)
Continuation PCTCN2019083423 · Apr 19, 2019
Related Publication 20210044562A1 · Feb 11, 2021