IP Library Granted Patent US 12,056,030
Granted Patent B2
US 12,056,030 · App. 18/247,165 · Granted Aug 6, 2024

Method and system for determining interval time for testing of server, and device and medium

Inventor: Yongfei Sun (Jiangsu, CN)
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
G06F11/3055G06F11/22G06F11/3006G06F11/3452
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 12,056,030
App. No.
18/247,165
Granted
Aug 6, 2024
Kind
B2
Abstract

A method and a system for determining interval time for testing of a server, and a device and a storage medium are provided. The method includes: evenly dividing multiple servers into multiple groups of servers, and performing multiple rounds of testing on each group of servers; calculating performance values of each group of servers in each round of testing according to a weight corresponding to each influencing factor, and packaging and writing the performance values and interval time corresponding to the performance values in a database; and collecting, at every other preset time, current values corresponding to influencing factors in an actual running process of a server, calculating a current performance value of the server based on the current values according to the weight corresponding to the respective one of the one or more influencing factors, and determining, from the database, interval time corresponding to the current performance value.

Claims (99)

1. A method for determining interval time for testing of a server, comprising:

acquiring network data according to performance influencing key words for servers, analyzing the network data to determine one or more influencing factors of the servers, and determining a weight corresponding to a respective one of the one or more influencing factors;

evenly dividing multiple servers into multiple groups of servers, and performing multiple rounds of testing on each group of servers, wherein different numbers of tasks are allocated to different groups of servers, and interval time of a respective round of the multiple rounds of testing is successively increased;

calculating performance values of each group of servers in each round of testing according to the weight corresponding to the respective one of the one or more influencing factors, and packaging and writing the performance values and the interval time corresponding to the performance values in a database; and

collecting, at every other preset time, one or more current values respectively corresponding to the one or more influencing factors in an actual running process of a server, calculating a current performance value of the server based on the one or more current values and the weight corresponding to the respective one of the one or more influencing factors, and determining, from the database, interval time corresponding to the current performance value so as to test the server based on the determined interval time.

2. The method according to claim 1 , wherein packaging and writing the performance values and the interval time corresponding to the performance values in the database comprises:

calculating an average performance value of each group of servers in each round of testing, and packaging the average performance value and the performance values together.

3. The method according to claim 1 , wherein determining, from the database, the interval time corresponding to the current performance value comprises:

judging whether there is a unique performance value that has a minimum absolute value of a difference value relative to the current performance value in the database; and

in response to that there is a unique performance value that has the minimum absolute value of the difference value relative to the current performance value in the database, setting the interval time corresponding to the unique performance value as the interval time corresponding to the current performance value.

4. The method according to claim 3 , wherein determining, from the database, the interval time corresponding to the current performance value comprises:

in response to that there are at least two performance values that have the minimum absolute value of the difference value relative to the current performance value in the database, judging whether the at least two performance values correspond to the same interval time in the database; and

in response to that the at least two performance values correspond to the same interval time in the database, setting the interval time as the interval time corresponding to the current performance value.

5. The method according to claim 4 , wherein determining, from the database, the interval time corresponding to the current performance value comprises:

in response to that the at least two performance values correspond to different interval times in the database, setting an average value of the different interval times corresponding to the at least two performance values as the interval time corresponding to the current performance value.

6. The method according to claim 4 , wherein determining, from the database, the interval time corresponding to the current performance value comprises:

in response to that the at least two performance values correspond to different interval times in the database, setting the interval time corresponding to a lowest average performance value as the interval time corresponding to the current performance value.

7. The method according to claim 1 , further comprising:

adjusting the preset time according to the interval time corresponding to the current performance value.

8. The method according to claim 1 , wherein acquiring the network data according to the performance influencing key words for servers comprises:

acquiring the network data by using a web crawler technology according to performance influencing key words for servers.

9. The method according to claim 1 , wherein analyzing the network data to determine the one or more influencing factors of the servers comprises:

analyzing the network data by using big data analysis or data mining to determine the one or more influencing factors of the servers.

10. The method according to claim 1 , wherein the one or more key factors influencing the servers comprises: a utilization rate of a Central Processing Unit (CPU), a utilization rate of a memory, the number of services, and a rotating speed of a fan.

11. The method according to claim 10 , wherein calculating the performance values of each group of servers in each round of testing according to the weight corresponding to the respective one of the one or more influencing factors comprises:

calculating the performance values of each group of servers according to the following formula:

f

(

x

)

=

x

1

*

w

1

+

x

2

*

w

2

+

(

100

x

f

)

*

x

f

1

+

x

f

2

+

x

fn

n

*

w

3

……

wherein x 1 represents the utilization rate of the CPU, x 2 represents the utilization rate of the memory, [x f1 , x f2 . . . ] represents the rotating speed of the fan, w 1 represents the weight of the utilization rate of the CPU, w 2 represents the weight of the utilization rate of the memory, and w 3 represents the weight of the rotating speed of the fan.

12. The method according to claim 1 , wherein performing multiple rounds of testing on each group of servers comprises:

distributing test executing samples to the tasks so that multiple rounds of testing are performed on each group of servers.

13. A computer device, comprising:

at least one processor; and

a memory, wherein the memory stores computer instructions capable of running on the processor; and the instructions, when being executed by the processor, causes the processor to:

acquire network data according to performance influencing key words for servers, analyze the network data to determine one or more influencing factors of the servers, and determine a weight corresponding to a respective one of the one or more influencing factors;

evenly divide multiple servers into multiple groups of servers, and perform multiple rounds of testing on each group of servers, wherein different numbers of tasks are allocated to different groups of servers, and interval time of a respective round of the multiple rounds of testing is successively increased;

calculate performance values of each group of servers in each round of testing according to the weight corresponding to the respective one of the one or more influencing factors, and package and write the performance values and the interval time corresponding to the performance values in a database; and

collect, at every other preset time, one or more current values respectively corresponding to the one or more influencing factors in an actual running process of a server, calculate a current performance value of the server based on the one or more current values and the weight corresponding to the respective one of the one or more influencing factors, and determine, from the database, interval time corresponding to the current performance value so as to test the server based on the determined interval time.

14. The computer device according to claim 13 , wherein the processor, when executing the instructions to package and write the performance values and the interval time corresponding to the performance values in the database, is configured to:

calculate an average performance value of each group of servers in each round of testing, and package the average performance value and the performance values together.

15. The computer device according to claim 13 , wherein the processor, when executing the instructions to determine, from the database, the interval time corresponding to the current performance value, is configured to:

judge whether there is a unique performance value that has a minimum absolute value of a difference value relative to the current performance value in the database; and

in response to that there is a unique performance value that has the minimum absolute value of the difference value relative to the current performance value in the database, set the interval time corresponding to the unique performance value as the interval time corresponding to the current performance value.

16. The computer device according to claim 15 , wherein the processor, when executing the instructions to determine, from the database, the interval time corresponding to the current performance value, is configured to:

in response to that there are at least two performance values that have the minimum absolute value of the difference value relative to the current performance value in the database, judge whether the at least two performance values correspond to the same interval time in the database; and

in response to that the at least two performance values correspond to the same interval time in the database, set the interval time as the interval time corresponding to the current performance value.

17. The computer device according to claim 16 , wherein the processor, when executing the instructions to determine, from the database, the interval time corresponding to the current performance value, is configured to:

in response to that the at least two performance values correspond to different interval times in the database, set an average value of the different interval times corresponding to the at least two performance values as the interval time corresponding to the current performance value.

18. The computer device according to claim 16 , wherein the processor, when executing the instructions to determine, from the database, the interval time corresponding to the current performance value, is configured to:

in response to that the at least two performance values correspond to different interval times in the database, set the interval time corresponding to a lowest average performance value as the interval time corresponding to the current performance value.

19. The computer device according to claim 13 , wherein the instructions, when being executed by the processor, causes the processor to:

adjust the preset time according to the interval time corresponding to the current performance value.

20. A non-transitory computer-readable storage medium, storing a computer program, wherein the computer program, when being executed by a processor, causes the processor to:

acquire network data according to performance influencing key words for servers, analyze the network data to determine one or more influencing factors of the servers, and determine a weight corresponding to a respective one of the one or more influencing factors;

evenly divide multiple servers into multiple groups of servers, and perform multiple rounds of testing on each group of servers, wherein different numbers of tasks are allocated to different groups of servers, and interval time of a respective round of the multiple rounds of testing is successively increased;

calculate performance values of each group of servers in each round of testing according to the weight corresponding to the respective one of the one or more influencing factors, and package and write the performance values and the interval time corresponding to the performance values in a database; and

collect, at every other preset time, one or more current values respectively corresponding to the one or more influencing factors in an actual running process of a server, calculate a current performance value of the server based on the one or more current values and the weight corresponding to the respective one of the one or more influencing factors, and determine, from the database, interval time corresponding to the current performance value so as to test the server based on the determined interval time.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 17, 2024
From: SUN, YONGFEI
To: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 067747/0683 →
Priority Claims (1)
CN 202011178475.1 · Oct 29, 2020 · national
Continuity (1)
Related Publication 20230376397A1 · Nov 23, 2023