Estimation method for health degree score of data center and computing equipment
Calculating the health score of the data center through the automated inspection system solves the problem that existing technology cannot accurately reflect the health of the data center, and improves operation and maintenance efficiency and stability.
Patent Information
- Application Number
- CN202410533527.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-04-29
AI Technical Summary
The existing technology cannot accurately reflect the health of the data center, resulting in low operation and maintenance efficiency, and cannot adapt to the monitoring needs of ultra-large-scale data centers.
An automated inspection system is used to calculate the weight value of each inspection object by receiving the inspection results. Combined with the problem level coefficient and exponential decay function of the inspection items with abnormal status, the health score of the data center is estimated to avoid accidents caused by temporary abnormalities. Health scores dropped rapidly.
It improves the operation and maintenance efficiency of the data center, ensures the stable operation of the data center, and provides a more accurate health score.
Smart Images

Figure CN118569831A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data center operation and maintenance, and in particular to a method and computing device for estimating a data center health score. Background Art
[0002] A data center is a setting that contains a large number of computers and related equipment, which is used to store, manage and process large amounts of data to support information technology services and business needs. Data centers play a vital role in the digital age, supporting the operation and development of various technical applications such as cloud computing, big data sharing, and artificial intelligence. In order to ensure the stable operation of the data center, it is necessary to monitor various indicators of the data center. The health of the data center is an important parameter that reflects the overall operating status and performance of the data center. The health score of the data center is an indicator for quantitative evaluation of the health.
[0003] With the rapid development of science and technology, data centers are developing towards ultra-large scale. As the number, scale and complexity of data centers gradually increase, the manual inspection method of operation and maintenance personnel and the method of estimating health scores can no longer meet new needs. Therefore, an automated inspection system is used to inspect data centers and estimate health scores to meet the monitoring needs of current ultra-large-scale data centers.
[0004] The health score calculated by current technology cannot accurately reflect the health of the data center, resulting in low operation and maintenance efficiency of the data center. Summary of the invention
[0005] The present application provides a method for estimating the health score of a data center and a computing device. The obtained health score can accurately reflect the health of the data center, thereby improving the operation and maintenance efficiency of the data center and ensuring the stable operation of the data center.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In the first aspect, the present application provides a method for estimating the health score of a data center, including: receiving inspection results for inspection objects and inspection items, wherein the inspection objects are objects to be inspected in the data center; based on the inspection results, calculating the problem weight value corresponding to each inspection object, if the inspection results indicate that the number of inspection items with abnormal status of the inspection object is greater than a preset number, calculating the problem weight value corresponding to the inspection object based on the problem boundary coefficient corresponding to the inspection items with abnormal status and a preset attenuation function; based on the problem weight value corresponding to each inspection object, estimating the health score of the data center. The present application calculates the problem weight value of each inspection object by combining the problem level coefficient corresponding to the inspection items with abnormal status and the attenuation function, so that the weight of the inspection object in the overall health score continues to decrease, avoiding the problem of the inability to accurately reflect the health of the data center due to a rapid decrease in the health score caused by a temporary connection failure of a certain inspection object, thereby improving the operation and maintenance efficiency of the data center and ensuring the stable operation of the data center.
[0008] In a possible implementation, if the inspection item results indicate that the number of inspection items with abnormal status of the inspection object is less than or equal to a preset number, the problem weight value corresponding to the inspection object is calculated based on the problem level coefficient corresponding to the inspection items with abnormal status.
[0009] In one possible implementation, the problem weight value corresponding to the inspection object is the cumulative product of the problem weight coefficients corresponding to the inspection items with abnormal status of the inspection object; if the inspection item is the first y items among all inspection items with abnormal status of the inspection object, then the problem weight coefficient corresponding to the inspection item is the problem level coefficient corresponding to the inspection item; if the inspection item is not the first y items among all inspection items with abnormal status of the inspection object, then the problem weight coefficient corresponding to the inspection item is the difference between 1 and the attenuation function value corresponding to the inspection item, wherein the attenuation function value corresponding to the inspection item is the value of the preset attenuation function when the independent variable is the number of items of the inspection item in all inspection items with abnormal status; wherein y is a preset number, and y is a positive integer. When the inspection item is the first y items, the problem weight coefficient is the problem level coefficient corresponding to the inspection item; when the inspection item is not the first y items, the problem weight coefficient is the difference between 1 and the corresponding attenuation function value, where the difference between 1 and the corresponding attenuation function value is close to 1, thereby reducing the impact of the inspection item on the overall health score, avoiding the problem of a rapid decline in the health score due to temporary abnormalities in the inspection object, and failing to accurately reflect the health of the data center, thereby improving the operation and maintenance efficiency of the data center and ensuring the stable operation of the data center.
[0010] In a possible implementation, the inspection results for the inspection objects and inspection items are obtained in the following manner: receiving the inspection objects and inspection items input by the user; based on the received inspection objects and inspection items, sending a call request to the execution service, the execution service responds to the call request, performs the inspection operation on the inspection objects and inspection items, and returns the inspection results for the inspection objects and inspection items. The inspection is completed in response to the inspection objects and inspection items set by the user, and the inspection results are returned, which can meet the customization of each inspection task.
[0011] In a possible implementation, the execution service includes: business service, which is a service for executing inspection tasks; based on the received inspection objects and inspection items, sending a call request to the corresponding application program interface, so as to call the corresponding business service through the corresponding business program interface to perform inspection operations on the inspection objects and inspection items. The business service is called through the application program interface to implement the inspection of the inspection objects and inspection items.
[0012] In a possible implementation, the execution service includes: an automated operation service, which is a service for executing automated scripts; based on the received inspection objects and inspection items, a call request carrying an inspection script is sent to the automated operation service so that the automated operation service executes the inspection script to implement inspection operations on the inspection objects and inspection items, and the inspection script is an automated script for inspecting the inspection objects and inspection items. The automated operation service executes the automated script to implement inspections on the inspection objects and inspection items.
[0013] In a possible implementation, before receiving the inspection object and inspection item input by the user, it also includes: in response to the start of the automated inspection center, obtaining the inspection item set stored in the database and all the inspection items stored in the inspection package; the inspection package is used to store the inspection items and the configuration data of the inspection items; based on the inspection item set and all the inspection items stored in the inspection package, determining the storage status of the inspection items; based on the storage status of the inspection items, performing a registration operation corresponding to the storage status. This ensures that all the inspection items that can be selected by the user are registered in the automated inspection center, thereby correctly receiving the inspection items and inspection objects selected by the user.
[0014] In a possible implementation, the storage conditions of the inspection items include: a first storage condition, a second storage condition, and a third storage condition; the first storage condition is that the inspection item exists in both the inspection package and the inspection item set; the second storage condition is that the inspection item exists in the inspection package but does not exist in the inspection item set; the third storage condition is that the inspection item exists in the inspection item set but does not exist in the inspection package. When the storage condition of the inspection item is the first storage condition, the inspection item stored in the database is updated based on the configuration data of the inspection item stored in the inspection package; when the storage condition of the inspection item is the second storage condition, the inspection item is added to the database based on the configuration data of the inspection item stored in the inspection package; when the storage condition of the inspection item is the third storage condition, the inspection item stored in the database is deleted. Through different storage conditions, corresponding registration operations are performed to complete the correct registration of the inspection item.
[0015] In a possible implementation, the preset decay function includes: an exponential decay function; the exponential decay function formula is:
[0016] f(x)=A*e (-λx)
[0017] Wherein, A is the initial value of the exponential decay function, λ is the decay rate, e is the base of the natural logarithm, and x is the independent variable; wherein, the initial value A and the decay rate λ of the exponential decay function are preset. By using the exponential decay function as the preset decay function, and by setting the initial value A and the decay rate of the exponential decay function, the exponential decay function can gradually approach zero within a suitable range.
[0018] In a second aspect, the present application provides a computing device including a processor and a memory, wherein the processor is coupled to the memory, and the memory stores computer program instructions. When the processor executes the computer program instructions, it implements the method for estimating the health score of the data center in the above-mentioned first aspect and its possible implementation methods.
[0019] In a third aspect, the present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed on a computing device, the computing device implements the method for estimating the health score of a data center in the first aspect and its possible implementations.
[0020] In a fourth aspect, the present application provides a computer program product, which includes computer program instructions. When the computer program instructions are executed on a computing device, the computing device implements the method for estimating the health score of a data center in the above-mentioned first aspect and its possible implementation methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1A schematic diagram of the framework structure of an automated inspection system provided in an embodiment of the present application;
[0022] Figure 2 A flowchart of a method for estimating a data center health score provided in an embodiment of the present application;
[0023] Figure 3 A schematic diagram of a front-end interface for inputting inspection items and inspection objects provided in an embodiment of the present application;
[0024] Figure 4 A flowchart of a registration method for inspection items provided in an embodiment of the present application;
[0025] Figure 5 A flowchart of another method for estimating a data center health score provided in an embodiment of the present application;
[0026] Figure 6 A schematic diagram of an interface for providing feedback on health scores provided in an embodiment of the present application;
[0027] Figure 7 A schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The terms "first", "second", "third", etc. in the specification, claims and drawings of this application are used to distinguish different objects rather than to limit a specific order.
[0029] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0030] In order to make the description of the following embodiments clear and concise, a brief introduction to the related technology is first given:
[0031] Health refers to the overall health and operating status of a data center. It is a comprehensive concept that covers indicators and factors in all aspects of a data center, including the operating status of equipment, energy efficiency, environmental control, network performance, and completeness.
[0032] The Health Score is a quantitative assessment and scoring of the health of a data center. By monitoring, evaluating and analyzing various indicators of a data center, a comprehensive health score can be obtained to reflect the overall health of the data center. The Health Score can be used to help operation and maintenance personnel connect to the operating status of the data center, identify problems, formulate optimization strategies and improvement measures, etc.
[0033] The advantages of the method for estimating the health score of a data center provided in an embodiment of the present application are described below.
[0034] Figure 1 An automated inspection system is provided in an embodiment of the present application.
[0035] With the new demands of big data, artificial intelligence, and other cloud computing applications, such as cloudification and microservices, the scale of data centers is getting larger and larger. Data centers mainly include IT hardware equipment and software systems. Currently, common data centers generally include several main computer rooms, with more than 10,000 racks, more than 100,000 IT hardware equipment, and software systems containing hundreds of systems and tens of thousands of services. For the monitoring of large-scale data centers, the number of monitoring items that operation and maintenance personnel need to deploy is growing exponentially. The manual monitoring of static threshold configuration is a huge workload, prone to alarm storms, false alarms, and failure to alarm. In addition, it is difficult for operation and maintenance personnel to evaluate the overall operation of the data center based on the indicator fluctuation trend and alarm situation. Further, it is necessary to conduct a comprehensive analysis from multiple dimensions such as infrastructure, middleware, and business applications to assess the health of the data center. It can be seen that the manual inspection method of operation and maintenance personnel and the way to evaluate the health of the data center cannot meet the monitoring needs of large-scale data centers.
[0036] In order to meet the current monitoring needs of large-scale data centers, an automated inspection system is used to inspect data centers and estimate health scores. The automated inspection system uses automation technology to inspect and detect data center equipment, environment, security, etc. Specifically, the automated inspection system quickly inspects the entire data center by calling the Application Programming Interface (API) or automated script execution, and calculates the health score of the data center based on the inspection results. The automated inspection method replaces the manual inspection method of operation and maintenance personnel, significantly improving the inspection and diagnosis efficiency of the data center, and can help operation and maintenance personnel quickly discover faults and hidden dangers in the data center, thereby ensuring the stable operation and reliability of the data center.
[0037] Combine the following Figure 1 This paper introduces the framework structure of the automated inspection system in detail.
[0038] like Figure 1 As shown, the automated inspection system 100 includes two major parts: an automated inspection center 110 and an execution layer 120 .
[0039] The automated inspection center 110 is the core control and supervision unit of the automated inspection system 100, responsible for overall monitoring, dispatching and management. Operation and maintenance personnel can implement inspection strategies, formulate monitoring rules, view real-time monitoring data, perform fault diagnosis and early warning processing, etc. in the automated inspection center.
[0040] Furthermore, the automated inspection center 110 provides users with a visual monitoring interface and reporting functions, making it convenient for operation and maintenance personnel to monitor the inspection tasks of the data center in real time.
[0041] Specifically, Figure 1 As shown, the framework of the automated inspection center includes an application layer 111 , a storage layer 112 , and a logic and call layer 113 .
[0042] Among them, the application layer 111 is used for the operation and maintenance personnel to interact with the automated inspection system 100. The operation and maintenance personnel can set inspection items, inspection objects, and inspection tasks through the application layer 111, and the application layer 111 is also used to generate inspection reports and provide them to the operation and maintenance personnel, so that the operation and maintenance personnel can monitor and manage the inspection of the data center. In a possible implementation, the application layer 111 provides the operation and maintenance personnel with a front-end interface of the automated inspection center 110, that is, an interface for the operation and maintenance personnel to interact with the automated inspection system 100. The operation and maintenance personnel can set inspection items, inspection objects, etc. through the front-end interface, and the automated inspection center 110 can display inspection results, inspection reports, etc. to the operation and maintenance personnel through the front-end interface.
[0043] Inspection items refer to specific indicators that need to be inspected. Inspection items can be various performance indicators, operating status, configuration information, etc., such as: CPU utilization, memory usage, network connection status, disk space, etc.
[0044] Inspection objects refer to specific equipment, systems and other resources that need to be inspected. Inspection objects can be various types of equipment or systems such as servers, network equipment, databases, applications, etc. For different inspection objects, the inspection items set may be different.
[0045] Inspection tasks refer to a series of inspection operations performed on inspection objects. Inspection tasks mainly include inspection items and inspection objects. That is, after the operation and maintenance personnel set the inspection items and inspection objects, the application layer 111 can generate corresponding inspection tasks. Furthermore, inspection tasks also include inspection frequency, inspection cycle, inspection time limit, etc.
[0046] Inspection reports are summaries and records of inspection task results, usually including detailed inspection results, problems found, solutions, etc. Inspection reports provide important reference information for operation and maintenance personnel, helping them understand the health status of the data center, find problems, and determine corresponding measures.
[0047] The storage layer 112 is used to store data involved in the automated inspection center. The storage layer 112 generally includes a database (DB) and a file system. The database is used to store structured data, such as equipment information, inspection results, inspection history data, user information, etc. The database provides efficient data storage, retrieval and management functions, and can support complex data query and analysis requirements; the file system is used to store unstructured data, such as inspection reports, log files, configuration files, automated scripts, etc. The file system provides file storage, reading and management functions, and can support large-capacity data storage.
[0048] The logic and call layer 113 is used to implement the execution and monitoring of inspection tasks, and is specifically responsible for functions such as task scheduling, result analysis, and result storage.
[0049] Task scheduling, the logic and call layer 113 is responsible for the scheduling and management of tasks. Exemplarily, the execution of the inspection task can be scheduled according to a predetermined schedule or a specific trigger condition. Exemplarily, the logic and call layer 113 can call the corresponding business service of the execution layer 120 through the application program interface to implement the inspection task of the data center; or send the automation script to the execution layer 120 to execute the automation script to implement the inspection task of the data center.
[0050] Result analysis: After the execution layer 120 completes the inspection task, the execution layer 120 returns the inspection result to the logic and call layer 113 of the automated inspection center 110, and analyzes the inspection result to extract useful information and indicators. The analysis of the inspection result may include steps such as data cleaning, format conversion, and anomaly detection to ensure that the final result can be correctly stored and analyzed.
[0051] Result storage: The logic and call layer 113 is responsible for storing the parsed inspection results in the storage layer 112 .
[0052] The execution layer 120 is the actual execution unit of the automatic inspection system 100, which is responsible for executing specific inspection tasks. The execution layer 120 mainly includes components such as business services and automated operation services.
[0053] Business services refer to services responsible for executing inspection tasks, including server inspection services, network equipment inspection services, etc. Automated operation services refer to services responsible for executing automated scripts.
[0054] Through Figure 1 The automated inspection system shown implements automated inspection of the data center and obtains automated inspection results; the health score of the data center is estimated based on the inspection results. The following introduces two methods for estimating the health score.
[0055] The first is to assign a corresponding weight coefficient to each inspection item. The health weight value of each inspection item is the weight coefficient corresponding to the inspection item * the number of inspection objects with normal status of the inspection item. The total weight value of each inspection item is the weight coefficient corresponding to the inspection item * the total number of inspection objects corresponding to the inspection item. The health score is estimated as follows: Health score = the sum of the health weight values corresponding to all inspection items / the sum of the total weight values corresponding to all inspection items * 100, that is, health score = (health weight value of the first inspection item + health weight value of the second inspection item + ... + health weight value of the Nth inspection item) / (total weight value of the first inspection item + total weight value of the second inspection item + ... + total weight value of the Nth inspection item) * 100, where N is a positive integer.
[0056] For ease of understanding, the formula for estimating the first health score is shown in formula (1).
[0057]
[0058] Among them, score is the health score, a i is the health weight value of the ith inspection item, and sumScore is the sum of the total weight values corresponding to all inspection items.
[0059] Exemplarily, the inspection task includes four inspection items and three inspection objects, that is, the inspection task is to perform automated inspections on four inspection items of three inspection objects, as shown in Table 1:
[0060] Table 1
[0061] Serial number Inspection items Weight coefficient Inspection Object 1 Power Status 40 Server 1, Server 2, Server 3 2 System health status 50 Server 1, Server 2, Server 3 3 Device location 30 Server 1, Server 2, Server 3 4 Product Name 30 Server 1, Server 2, Server 3
[0062] As shown in Table 1, the three inspection objects are server 1, server 2, and server 3, and the corresponding four inspection items are power status, system health, device location, and product name. The weight coefficient corresponding to the first inspection item, power status, is 40; the weight coefficient corresponding to the second inspection item, system health, is 50; the weight coefficient corresponding to the third inspection item, device location, is 30; and the weight coefficient corresponding to the fourth inspection item, product name, is 30.
[0063] As shown in Table 1, the sum of the total weight values corresponding to the four inspection items is sumScore=40*3+50*3+30*3+30*3=450.
[0064] The automated inspection system performs automated inspections on the three inspection objects and four inspection items shown in Table 1. The inspection results are as follows: the first inspection item (power status) has 2 inspection objects in normal state, the second inspection item (system health status) has 3 inspection objects in normal state, the third inspection item (equipment location) has 2 inspection objects in normal state, and the fourth inspection item (product name) has 1 inspection object in normal state. Then the health weight values corresponding to the four inspection items are: a1 = 40*2 = 80, a2 = 50*3 = 150, a3 = 2*30 = 60, and a4 = 30. Then the health score = (80+150+60+30) / 450*100 = 71 points.
[0065] For the first health score estimation method, if a problem caused by an abnormality in a certain inspection item is a serious problem, but only some of the inspection objects in the inspection item are in abnormal state, while the other inspection objects are in normal state (that is, the inspection item has some abnormalities), the overall health score is still very high, which is inconsistent with expectations, that is, the health score cannot accurately reflect the actual operation status and performance of the data center. For example: among the four inspection items shown in Table 1, the problem caused by the abnormality in the third inspection item is a serious problem. The four inspection items shown in Table 1 and the three inspection objects that exist respectively are automatically inspected. In the inspection results, there are two inspection objects in normal state in the third inspection item, that is, there is one inspection object in abnormal state in the third inspection item. At this time, the abnormality in the third inspection item will cause a serious problem, but the health score is still 71 points, and the health score will not be reduced. It cannot accurately reflect that there is a serious problem in an inspection item of an inspection object in the data center.
[0066] The second method of estimating the health score is to pre-set the problem level corresponding to each inspection item. Generally, the problems caused by abnormalities in the inspection items are divided into four levels, namely: fatal, serious, general and prompt, and the corresponding problem level coefficients are set for each problem level, respectively: 0.79, 0.9, 0.99, 0.999. The problem weight value of each inspection item is the mth power of the problem level coefficient corresponding to the inspection item, where m is the number of inspection objects with abnormal status of the inspection item, and m is a non-negative integer. The method of estimating the health score is: health score = 100*problem weight value of the first inspection item*problem weight value of the second inspection item*…*problem weight value of the Nth inspection item, where N is a positive integer.
[0067] For ease of understanding, the formula for estimating the second health score is shown in formula (2).
[0068]
[0069] Among them, score is the health score, b i is the problem weight value of the i-th inspection item.
[0070] Exemplarily, the inspection task includes four inspection items and three inspection objects, that is, the inspection task is to perform automated inspections on four inspection items of three inspection objects, as shown in Table 2.
[0071] Table 2
[0072] Serial number Inspection items Question level Problem Level Coefficient Inspection Object 1 Power Status fatal 0.79 Server 1, Server 2, Server 3 2 System health status fatal 0.79 Server 1, Server 2, Server 3 3 Device location hint 0.999 Server 1, Server 2, Server 3 4 Product Name hint 0.999 Server 1, Server 2, Server 3
[0073] As shown in Table 2, the three inspection objects are server 1, server 2, and server 3, and the corresponding four inspection items are power supply status, system health status, device location, and product name. The problem level caused by the abnormal state of the first inspection item is fatal, and the corresponding problem level coefficient is 0.79; the problem level caused by the abnormal state of the second inspection item is fatal, and the corresponding problem level coefficient is 0.79; the problem level caused by the abnormal state of the third inspection item is prompt, and the corresponding problem level coefficient is 0.999; the problem level caused by the abnormal state of the fourth inspection item is prompt, and the corresponding problem level coefficient is 0.999.
[0074] The three inspection objects and four inspection items shown in Table 2 are inspected automatically by the automated inspection system, and the inspection results are as follows: for the first inspection item, there are 0 inspection object status abnormalities, that is, m=0, and the problem weight value corresponding to the first inspection item is 1; for the second inspection item, there is 1 abnormal object, that is, m=1, and the problem weight value corresponding to the second inspection item is 0.79; for the third inspection item, there is 1 inspection object status abnormality, that is, m=1, and the problem weight value corresponding to the third inspection item is 0.999; for the fourth inspection item, there are 0 inspection object status abnormalities, that is, m=0, and the problem weight value corresponding to the fourth inspection item is 1, so the health score (score)=100*1*0.79*0.999*1=78.9 points.
[0075] The second health score estimation method can solve the problem that the health score cannot reflect the serious abnormalities in the data center in the first health score estimation method. However, the second health score estimation method will cause the health score to drop rapidly due to the temporary abnormal state of a certain inspection object, resulting in the health score being too low and unable to accurately reflect the current health of the data center. That is, the weight of a single inspection object in the entire health score is too large, and the abnormal state of the inspection object that causes the health score to drop rapidly is generally caused by a temporary connection failure of the inspection object (for example: temporary power off, state lock, excessive load, etc.). For example: Assuming that server 1 temporarily fails to connect, the four inspection items and three inspection objects are automatically inspected, and the inspection results are: the first inspection item, the second inspection item, the third inspection item, and the fourth inspection item are all abnormal only in the state of server 1 (that is, the state of one inspection object is abnormal). At this time, the health score = 100*0.79*0.79*0.999*0.999 = 62.3 points. It is because server 1 temporarily fails to connect (offline), which causes the overall health score of the data center to drop rapidly, which does not conform to the actual situation. The health score obtained by the second health score estimation method cannot accurately reflect the health of the data center, and the operation and maintenance personnel cannot use the health score to maintain the data center, resulting in low operation and maintenance efficiency of the data center.
[0076] An embodiment of the present application provides a method for estimating the health score of a data center, including: receiving inspection results for inspection objects and inspection items, wherein the inspection objects are objects to be inspected in the data center; based on the inspection results, calculating the problem weight value corresponding to each inspection object; if the inspection item results indicate that the number of inspection items with abnormal states existing in the inspection object is less than or equal to a preset number, based on the problem level coefficient corresponding to the inspection items with abnormal states, calculating the problem weight value corresponding to the inspection object; if the inspection results indicate that the number of inspection items with abnormal states existing in the inspection object is greater than a preset number, based on the problem boundary coefficient corresponding to the inspection items with abnormal states and a preset attenuation function, calculating the problem weight value corresponding to the inspection object; based on the problem weight value corresponding to each inspection object, estimating the health score of the data center. This application uses the problem level coefficient corresponding to the inspection items with abnormal status and the exponential decay function combined with the method of calculating the problem weight value of each inspection object to make the weight of the inspection object in the overall health score continue to decrease, avoiding the problem of the health score dropping rapidly due to a temporary connection failure of a certain inspection object, which makes it impossible to accurately reflect the health of the data center, thereby improving the operation and maintenance efficiency of the data center and ensuring the stable operation of the data center.
[0077] Embodiment 1:
[0078] Combine the following Figure 2-Figure 6 , a method for estimating a data center health score provided in an embodiment of the present application is introduced in detail.
[0079] First combine Figure 2 The flowchart shown introduces in detail the specific process of a data center health score estimation method provided in an embodiment of the present application.
[0080] S201: The user inputs an inspection object and inspection items.
[0081] In a possible implementation, the user selects the inspection object and inspection item of this inspection task through the front-end selection page provided by the automated inspection center. The inspection object can be a server, operating system, service, etc., and the inspection item can be a server PSU (Power Supply Unit, power supply unit) health check, a server CPU (Central Processing Unit, central processing unit) health check, etc. Further, after the user selects the inspection object and inspection item through the front-end selection page, the corresponding inspection task will be automatically generated, and the user can also rename the inspection task through the front-end selection page.
[0082] In a possible implementation, the user can also input a corresponding inspection strategy, such as immediate inspection, periodic inspection, etc. If the inspection strategy is periodic inspection, the user can also set the inspection period of the periodic inspection, for example: 6 hours, that is, inspection is performed every 6 hours.
[0083] For example, the following is combined Figure 3 The front-end selection interface shown is an example of how users can input inspection objects and inspection items.
[0084] like Figure 3 As shown in (a) of FIG. 1 , the automated inspection center displays an inspection selection interface 300 to the user, including an inspection object box 301 and an inspection item box 302. The inspection object box 302 includes inspection objects of multiple data centers, such as Figure 3 As shown in (a) of FIG. 1 , the inspection object box 301 includes: server 1, server 2, server 3, switch 4, switch 5, switch 6, etc. The inspection item box 302 includes inspection items of multiple data centers, such as Figure 3 As shown in (a) of FIG. 3 , the inspection item box 302 includes: power status, CPU utilization, memory usage, network bandwidth utilization, and network connection status. Figure 3In the front-end selection interface 300 shown in (a), the inspection object and inspection items of the target inspection are checked by controlling the mouse cursor, for example: check the inspection objects server 1, server 2, switch 5 and switch 6, the inspection items power status, CPU utilization, memory usage, network bandwidth utilization, and click the confirmation button 303 by controlling the mouse cursor to complete the input of the inspection object and inspection items.
[0085] Further, after the user controls the mouse cursor to click the confirmation button 303 on the inspection selection interface 300, the automated inspection center displays the inspection task interface 310 to the user. The inspection task interface 310 displays an inspection task list 311. The inspection task list 311 includes the inspection objects and inspection items corresponding to the above-checked inspection tasks. Generally, they are arranged in the first position of the inspection task list 311, such as inspection task 1. The user can click on inspection task 1 with the mouse cursor to set the inspection strategy of the inspection task 1. Specifically, the inspection strategy is set to immediate inspection. The user controls the mouse cursor to click the execution button 312 to execute the inspection task 1. Further, the user controls the mouse cursor to double-click on inspection task 1 to rename inspection task 1.
[0086] Furthermore, before the user inputs the inspection object and inspection item, that is, before the user selects the inspection item and inspection object through the front-end page provided by the automated inspection center, all inspection items that can be selected by the user are registered to the automated inspection center through the inspection package when the automated inspection center is started. Figure 4 This article introduces the registration process of inspection items in the automated inspection center.
[0087] S401. In response to a user's start-up operation on the automated inspection center, the automated inspection center is started.
[0088] S402: In response to the start of the automated inspection center, a set of inspection items in the database is obtained.
[0089] Specifically, after the automated inspection center is started, all inspection items stored in the database of the storage layer of the automated inspection center are obtained, and the inspection item set includes all inspection items stored in the database.
[0090] S403: Obtain all inspection items stored in the inspection package.
[0091] Specifically, the automated inspection center enables the coroutine to obtain all inspection items stored in the inspection package.
[0092] In a possible implementation, the automated inspection center obtains all inspection items stored in the inspection package corresponding to a specific product scenario according to the specific product scenario. Each product scenario (platType) corresponds to one or more inspection packages, which can be in the form of folders. Product scenarios include: Human-Computer Interaction (HCI), High Performance Computing (HPC), Artificial Intelligence (AI), etc.
[0093] S404: Determine the storage status of the inspection items based on the inspection items stored in the inspection package and the inspection item set stored in the database.
[0094] Specifically, there are three storage situations of inspection items, which are referred to as the first storage situation, the second storage situation, and the third storage situation. The first storage situation is that the inspection item exists in both the inspection package and the inspection item set of the database, that is, the storage situation of the inspection item that exists in both the inspection package and the inspection item set of the database is the first storage situation; the second storage situation is that the inspection item exists in the inspection package but does not exist in the inspection item set of the database, that is, the storage situation of the inspection item that exists in the inspection package but does not exist in the inspection item set of the database is the second storage situation; the third storage situation is that the inspection item exists in the inspection item set of the database but does not exist in the inspection package, that is, the storage situation of the inspection item that exists in the inspection item set of the database but does not exist in the inspection package is the third storage situation.
[0095] When the storage status of the inspection item is the first storage status, S405 is performed.
[0096] When the storage status of the inspection item is the second storage status, S406 is performed.
[0097] When the storage status of the inspection item is the second storage status, S407 is performed.
[0098] S405: Based on the configuration data of the inspection item stored in the inspection package, update the inspection item stored in the database.
[0099] The configuration data of the inspection item includes: specific items and index data that need to be inspected for the inspection item, inspection rules corresponding to the inspection item (eg, inspection execution logic, conditions, etc.), and the like.
[0100] Specifically, for inspection items that exist in both the inspection package and the inspection item set of the database, there is no need to re-register a new inspection item. The data of the inspection item in the database needs to be updated to the configuration data of the inspection item in the inspection package to complete the registration of the inspection item.
[0101] S406: Based on the configuration data of the inspection item stored in the inspection package, add the inspection item to the database.
[0102] Specifically, for an inspection item that exists in the inspection package but does not exist in the inspection item set of the database, the inspection item is added to the database based on the configuration data of the inspection item stored in the inspection package.
[0103] S407: Delete the inspection items stored in the database.
[0104] Specifically, for the inspection items that exist in the inspection item set of the database but do not exist in the inspection package, the inspection items stored in the database may be deleted.
[0105] After registering with the automated inspection center through the inspection package through the above S401-S407, the automated inspection center can receive the inspection items and inspection objects input by the user.
[0106] S202: The automated inspection center sends a call request to the execution service in response to the received inspection object and inspection item.
[0107] Among them, execution service can be understood as Figure 1 The execution layer 120 shown includes services such as business services, automated job services, etc.
[0108] Specifically, the application layer of the automated inspection center receives the inspection objects and inspection items to obtain the corresponding inspection tasks. The logic and call layer of the automated inspection center sends a call request to the execution service so that the execution service responds to the call request and performs the inspection operations on the inspection objects and inspection items of the data center.
[0109] In one possible implementation, when the execution service is a business service, sending a call request to the execution service may be: sending a call request to a preset corresponding application interface, so as to call the corresponding business service through the corresponding application interface to perform inspection operations on the inspection objects and inspection items of the data center.
[0110] In another possible implementation, when the execution service is an automated operation service, sending a call request to the execution service may be: sending a call request carrying an inspection script corresponding to the inspection task to the automated operation service, so that the automated operation service executes the inspection script, thereby implementing the inspection operation on the inspection object and inspection item of the data center. The inspection script may be the execution logic of the inspection task written in the form of a script in advance, or may be a preset inspection script corresponding to the inspection object and the inspection item, and the inspection script of the inspection task is obtained based on the preset inspection script corresponding to the inspection object and the inspection item, and the application does not make specific limitations.
[0111] S203: The execution service responds to the call request and performs inspection operations on the inspection objects and inspection items of the data center.
[0112] In a possible implementation, in response to a call request, a corresponding business service is called through a corresponding business service interface to perform an inspection operation on the inspection object and inspection items of the data center.
[0113] In another possible implementation, the automated operation service executes the inspection script carried in the calling request in response to the calling request, thereby implementing the inspection operation on the inspection objects and inspection items of the data center.
[0114] Furthermore, in a possible implementation, the execution service can periodically return the inspection progress to the automated inspection center while performing inspection operations on the inspection objects and inspection items of the data center. The automated inspection center can display the current inspection progress to the user so that the user can understand whether the inspection task has been completed.
[0115] S204: When the execution service completes the inspection operation on the inspection objects and inspection items of the data center, the inspection result is returned to the automated inspection center.
[0116] The inspection result includes the inspection items with abnormal status corresponding to each inspection object and the number of inspection items with abnormal status corresponding to each inspection object. In a possible implementation, the inspection result may also include possible causes of abnormal status of the inspection items and treatment suggestions for solving the abnormal status of the inspection items.
[0117] Furthermore, when the execution service fails to complete the inspection operation on the inspection objects and inspection items of the data center, but the execution time of the inspection operation reaches the preset time, the inspection result is returned to the automated inspection center. At this time, the inspection result includes the inspection results of the inspection objects and inspection items that have been partially completed. This avoids the situation where the inspection operation cannot be completed for a long time due to the performance limitation of the execution service or other circumstances, resulting in a long time spent waiting for the inspection and the inability to obtain the completed inspection results, which seriously affects the efficiency of the automated inspection of the data center and leads to a poor user experience.
[0118] S205. The automated inspection center stores the received inspection results in a database.
[0119] Specifically, the logic and call layer of the automated inspection center parses the received inspection results, and stores the parsed inspection results in a database of the storage layer of the automated inspection center, so that the inspection results corresponding to the inspection task can be read from the database later.
[0120] S206. The automated inspection center calculates a health score based on the inspection results.
[0121] In the embodiment of the present application, the health score is calculated based on the mechanism of the decay function.
[0122] For ease of understanding, the following describes in detail how the automated inspection center calculates the health score based on the inspection results in the embodiment of the present application in combination with formula (3), formula (4), formula (5), formula (6) and formula (7). First, the preset attenuation function is introduced by way of example in combination with formula (3).
[0123] The attenuation function is a function whose function value gradually decreases as the independent variable increases. It is usually used to describe a law that gradually weakens and decreases as the independent variable increases. Common attenuation functions include exponential attenuation functions, power attenuation functions, logarithmic attenuation functions, etc. The preset attenuation function involved in the embodiment of the present application is an exponential attenuation function, as shown in formula (3).
[0124] f(x)=A*e (-λx) (3)
[0125] Among them, A is the initial value of the exponential decay function, λ is the decay rate, e is the base of the natural logarithm, and x is the independent variable. The characteristic of the exponential decay function is that when the independent variable x continues to increase, the function value will gradually decrease at an exponential level, but it will not drop to 0, but will gradually approach 0.
[0126] Specifically, the initial value A and the decay rate λ of the exponential decay function are preset. The decay rate λ of the exponential decay function determines the decreasing speed of the function value, and the initial value A determines the maximum value of the function value. In order to make the exponential decay function gradually approach zero within a suitable range, the values of the initial value A and the decay rate λ need to be adjusted according to the specific application scenario.
[0127] The exponential decay function is briefly introduced above in combination with formula (3). The following is a detailed introduction to the calculation method of the health score in combination with formula (4), formula (5), formula (6) and formula (7).
[0128] First, the problem weight value of each inspection object is calculated using formula (4).
[0129]
[0130] Among them, O r represents the problem weight value of the rth inspection object in the inspection object, d represents that the inspection object has d inspection items with abnormal status, k p Indicates the problem weight coefficient of the pth inspection item among the d inspection items with abnormal status.
[0131] Specifically, as shown in formula (4), when p<y (y is a preset positive integer), kp is the problem level coefficient corresponding to the pth inspection item among the d inspection items with abnormal status. There are two specific cases of p≤y: the first is d≤y, then p≤y, and p must be less than y; the second is p≤y<d. When p>y, k p is 1-f(p), that is, the problem weight coefficient of the pth inspection item is not the corresponding problem level coefficient, but the difference between 1 and the exponential decay function value with the independent variable x being p. That is, for the inspection item of a certain inspection object, if the inspection item is the first y items among all the inspection items with abnormal status of the inspection object, then the problem weight coefficient corresponding to the inspection item is the problem level coefficient corresponding to the inspection item; if the inspection item is not the first y items among all the inspection items with abnormal status of the inspection object, then the problem weight coefficient corresponding to the inspection item is the difference between 1 and the decay function corresponding to the inspection item, where the decay function value corresponding to the inspection item is the preset decay function value when the independent variable is the number of items in all the inspection items with abnormal status.
[0132] For example, assuming that y=4, the inspection result is that the first inspection object has 6 inspection items with abnormal status, and the problem level coefficients corresponding to the 6 inspection items with abnormal status are 0.79, 0.9, 0.99, 0.999, 0.9, and 0.79 respectively, and the exponential decay function f(x)=e (-2x) At this time, the problem weight value of the first inspection object is calculated by the specific formula (5).
[0133]
[0134] Among them, 1≤4, then k1=0.79; 2≤4, then k2=0.9; 3≤4, then k3=0.99; 4≤4, then k4=0.999; 5>4, then k5=1-f(5)=1-0.00005=0.99995; 6>4, then k6=1-f(6)=1-0.00001=0.99999. The problem weight value of the first inspection object is 0.703.
[0135] Furthermore, when the inspection object does not have any inspection items with abnormal status, the problem weight value of the inspection object is 1.
[0136] It should be noted that, in one possible implementation, the arrangement order of the inspection items with abnormal status is determined according to a pre-set arrangement order; in another possible implementation, the inspection items with abnormal status are arranged from high to low according to the problem level. For example, taking the problem level coefficient in formula (5) as an example, the arrangement order of the problem level coefficients corresponding to the inspection items with abnormal status is 0.79, 0.79, 0.9, 0.9, 0.99, and 0.999, which is not specifically limited in this application.
[0137] After obtaining the problem weight value of each inspection object, the problem weight value of each inspection object is cumulatively multiplied to obtain the cumulative result, and the cumulative result is multiplied by 100 to obtain the health score. Specifically, as shown in formula (6):
[0138]
[0139] Among them, Score represents the health score, h represents the total number of inspection objects in the inspection task, O r Indicates the problem weight value of the rth inspection object.
[0140] For example, the problem levels corresponding to the inspection items are fatal, serious, general, and prompt, and the corresponding problem level coefficients of the four problem levels are set to 0.79, 0.9, 0.99, and 0.999, respectively, and the exponential decay function is f(x)=e (-2x) And taking the preset value y=4 as an example, in the embodiment of the present application, when x is 5, 1-f(5)=1-0.00005=0.99995, that is, 1-f(5)<0.999, and as the independent variable x increases, f(x) gradually approaches 0, that is, 1-f(x) gradually approaches 1, that is, when the number of abnormal status inspection items of an inspection object is greater than the preset value, the weight of the inspection object in the overall inspection continues to decrease with the increase in the number of items.
[0141] The following is an overall introduction to the method for calculating the health score in the embodiment of the present application in combination with formula (7).
[0142]
[0143] Among them, Score represents the health score, d represents the number of inspection items with abnormal status in this inspection object, and b p It represents the problem level coefficient corresponding to the pth inspection item among the d inspection items with abnormal status, y represents the preset number (that is, the preset threshold number of inspection items with abnormal status), lastScore represents the last health score, and the initial value of lastScore is 100.
[0144] For ease of understanding, the following example compares and introduces the calculation method of the health score provided in the embodiment of the present application. For example, the user inputs 6 inspection items and 3 inspection objects for automated inspection, and obtains the inspection results, wherein the problem level coefficients corresponding to the 6 inspection items are 0.99, 0.79, 0.79, 0.999, 0.79, and 0.9, respectively. The inspection results can be referred to Table 3.
[0145] Table 3
[0146] Inspection Object Inspection Item 1 Inspection Item 2 Inspection Item 3 Inspection Item 4 Inspection Item 5 Inspection Item 6 Inspection object 1 Normal status Normal status Normal status Normal status Normal status Abnormal status Inspection object 2 Abnormal status Abnormal status Abnormal status Abnormal status Abnormal status Abnormal status Inspection object 3 Normal status Normal status Normal status Normal status Normal status Normal status
[0147] The exponential decay function is f(x)=e (-2x) , and taking the preset number y=4 as an example, the health score is calculated.
[0148] In the embodiment of the present application, for inspection object 1, there is one inspection item with abnormal status, that is, d=1<4, then Score1(1)=100*0.9=90 (points); for inspection object 2, there are six inspection items with abnormal status, that is, d=6>4, and lastScore=Score1(1)=90, then Score2(6)=90*0.99*0.79*0.79*0.99*(1-f(5))*(1-f(6))=90*0.99*0.79*0.79*0.99*0.99995*0.99999=55.05 (points); for inspection object 3, there are no inspection items with abnormal status, and the final health score=55.05 (points).
[0149] From the inspection results shown in Table 3, it can be seen that the state of inspection object 2 is abnormal (for example: connection failure, temporary power off, etc.), resulting in abnormal states of all inspection items of inspection object 2. In the embodiment of the present application, not only the problem level coefficient caused by the abnormal state of the inspection item is considered, but also the health score is calculated in combination with the exponential decay function. The health score calculated by the embodiment of the present application is 50.05 points, while the health score calculated in the current technology is 39.49 points. From this comparison, it can be seen that the calculation method combined with the decay function of the embodiment of the present application reduces the proportion (weight) of the inspection object 2 in the overall health score, avoiding the problem that the health score drops rapidly due to the temporary abnormality of the inspection object 2, and the health of the data center cannot be accurately reflected, thereby improving the operation and maintenance efficiency of the data center and ensuring the stable operation of the data center.
[0150] Further, the following combination Figure 5 A flow chart of another method for estimating the health score of a data center is shown, which summarizes how the automated inspection center calculates the health score based on the inspection results in an embodiment of the present application.
[0151] S501: Receive inspection results for inspection objects and inspection items.
[0152] The inspection object is an object to be inspected in the data center.
[0153] S502: Calculate the problem weight value corresponding to each inspection object based on the inspection result.
[0154] If the inspection result indicates that the number of inspection items with abnormal status of the inspection object is less than or equal to a preset number, the problem weight value corresponding to the inspection item is calculated based on the problem level coefficient corresponding to the inspection item with abnormal status.
[0155] If the inspection result indicates that the number of inspection items with abnormal status of the inspection object is greater than a preset number, the problem weight value corresponding to the inspection item is calculated based on the problem level coefficient corresponding to the inspection item with abnormal status and a preset attenuation function.
[0156] S503: Estimate the health score of the data center based on the problem weight value corresponding to each inspection object.
[0157] Specifically, the problem weight value corresponding to each inspection object is multiplied cumulatively and then multiplied by 100 to obtain the health score of the data center.
[0158] In the embodiment of the present application, S501-S503 is used to estimate the health score of the data center based on the inspection results. The health score is estimated by combining the problem level coefficient and the attenuation function to avoid the problem of the inability to accurately reflect the health of the data center due to the continuous decrease in the weight of the inspection object in the overall health score and the rapid decrease in the health score due to a temporary connection failure of a certain inspection object, thereby improving the operation and maintenance efficiency of the data center and ensuring the stable operation of the data center.
[0159] S207. The automated inspection center stores the health score.
[0160] Specifically, the automated inspection center stores the health scores in a database at the storage layer.
[0161] In a possible implementation, the automated inspection center can display the health score of the inspection task and the specific inspection results, i.e., the inspection items of the inspection task and the inspection details of the inspection object, to the user. Furthermore, the automated inspection center can also display the inspection suggestions corresponding to the inspection task to the user, including: the possible causes of the abnormal status of the inspection items of the inspection object and the solutions, so that the operation and maintenance personnel can quickly maintain the faults in the data center according to the inspection suggestions, improve the operation and maintenance efficiency of the data center, and ensure the reliability of the data center.
[0162] For ease of understanding, the following Figure 6 The following is an example of an interface that displays the health score of an inspection task to the user.
[0163] like Figure 6The health score interface 600 shown shows the health score to the user through an arc-shaped index bar, which is 63 points. Furthermore, the health score interface 600 can also show the execution time of the inspection task to the user, including: the execution start time and execution end time of the inspection task; and specific inspection results, such as: the number of normal inspection items, the number of abnormal inspection items, the number of non-involved inspection items, the number of failed inspection items, the number of unchecked inspection items, etc. Among them, normal inspection items are inspection items with normal status; abnormal inspection items are inspection items with abnormal status; uninvolved inspection items are inspection items that are not involved in the inspection object, for example: one of the inspection objects in the inspection task is a hardware device that does not include a GPU, and the inspection items in the inspection task include GPU utilization. At this time, for the hardware device that does not include a GPU, the GPU utilization is an uninvolved inspection item; failed inspection items are inspection items that failed to be inspected; unchecked inspection items are inspection items that have not been inspected within the specified time.
[0164] In an embodiment of the present application, after the automated inspection center receives the inspection, the problem weight value of each inspection object is calculated based on the inspection result. If the number of inspection items with abnormal status of the inspection object is less than the preset number y, the problem level coefficient corresponding to the abnormal status inspection item is multiplied; if the number of inspection items with abnormal status of the inspection object is greater than the preset number y, the problem level coefficient corresponding to the first y inspection items in the abnormal status inspection items is multiplied, and then the exponential decay function is calculated with the number of abnormal status inspection items, and the exponential decay function is multiplied with the result of the multiplication of the problem level coefficient corresponding to the first y inspection items to obtain the problem weight value of the inspection object; the problem weight values of all inspection objects are multiplied by 100 to obtain the health score. By combining the problem level coefficient corresponding to the inspection item with abnormal status and the exponential decay function with the method of calculating the problem weight value of each inspection object, the weight of the inspection object in the overall health score is continuously reduced, avoiding the problem that the health score cannot accurately reflect the health of the data center due to the temporary connection failure of a certain inspection object, which leads to a rapid decline in the health score.
[0165] In addition, see Figure 7 , an embodiment of the present application further provides a computing device 700 , which includes a processor 710 and a memory 720 .
[0166] Among them, the processor 710 may include one or more processing cores. The processor 710 uses various interfaces and lines to connect various parts in the computing device 700, and executes the method provided by any one or more of the above embodiments by running or executing instructions, programs, code sets or instruction sets stored in the memory 720, and calling data stored in the memory 720. Optionally, the processor 710 can be implemented in at least one hardware form of digital signal processing (digital signal processing, DSP), field-programmable gate array (field-programmable gate array, FPGA), and programmable logic array (programmable logic array, PLA). The processor 710 can integrate one or a combination of a central processing unit (central processing unit, CPU), a graphics processing unit (graphics processing unit, GPU) and a modem. It is understandable that the above-mentioned modem may not be integrated into the processor 710, but implemented separately through a communication chip.
[0167] The memory 720 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 720 includes a non-transitory computer-readable storage medium. The memory 720 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 720 may include a program storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), and instructions for implementing the method of the embodiment of the present application.
[0168] The processor 710 and the memory 720 are connected to each other through a bus in the computing device 700, which may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.
[0169] An embodiment of the present application also provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed on a computing device, the computing device executes the method for estimating the health score of a data center in the above embodiment.
[0170] For the explanation of the relevant contents in the computer-readable storage medium provided above and the description of the beneficial effects, reference may be made to the corresponding effects of the method for estimating the health score of a data center in the above-mentioned embodiment, which will not be repeated here.
[0171] An embodiment of the present application also provides a computer program product comprising instructions, which, when executed on a computing device, enables the computing device to execute any one of the data center health score estimation methods in the above embodiments.
[0172] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other changes to the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0173] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for estimating a data center health score, characterized in that: Applied to an automated inspection center, the method comprises: Receiving inspection results for inspection objects and inspection items; the inspection objects are objects to be inspected in the data center; Based on the inspection results, the problem weight value corresponding to each inspection object is calculated; if the inspection result indicates that the number of inspection items with abnormal status of the inspection object is greater than a preset number, the problem weight value corresponding to the inspection object is calculated based on the problem level coefficient corresponding to the inspection item with abnormal status and a preset attenuation function; The health score of the data center is estimated based on the problem weight value corresponding to each inspection object.
2. The method according to claim 1, characterized in that The method further comprises: If the inspection result indicates that the number of inspection items with abnormal status of the inspection object is less than or equal to a preset number, the problem weight value corresponding to the inspection object is calculated based on the problem level coefficient corresponding to the inspection items with abnormal status.
3. The method according to claim 2, characterized in that The problem weight value corresponding to the inspection object is the cumulative multiplication result of the problem weight coefficients corresponding to the inspection items with abnormal status of the inspection object; If the inspection item is the first y items among all the inspection items in which the inspection object has abnormal status, then the problem weight coefficient corresponding to the inspection item is the problem level coefficient corresponding to the inspection item; If the inspection item is not the first y items among all the inspection items in which the inspection object exists in an abnormal state, then the problem weight coefficient corresponding to the inspection item is the difference between 1 and the attenuation function value corresponding to the inspection item; the attenuation function value corresponding to the inspection item is the value of the preset attenuation function when the independent variable is the number of the inspection item in all the inspection items in the abnormal state; wherein y is the preset number, and y is a positive integer.
4. The method according to claim 1, characterized in that: The inspection results for the inspection objects and inspection items are obtained in the following manner: Receive the inspection object and inspection item input by the user; Based on the received inspection object and inspection item, a call request is sent to an execution service, so that the execution service performs inspection operations on the inspection object and the inspection item in response to the call request, and returns inspection results for the inspection object and the inspection item.
5. The method according to claim 4, characterized in that The execution service includes: business service; the business service is a service for executing inspection tasks; The sending a call request to an execution service based on the received inspection object and the inspection item includes: Based on the received inspection object and inspection item, a call request is sent to a corresponding application program interface, so as to call a corresponding business service through the corresponding business program interface to perform inspection operations on the inspection object and the inspection item.
6. The method according to claim 4, characterized in that The execution service includes: an automated operation service; the automated operation service is a service for executing automated scripts; The sending a call request to an execution service based on the received inspection object and the inspection item includes: Based on the received inspection object and the inspection item, a call request carrying an inspection script is sent to the automated operation service so that the automated operation service executes the inspection script to implement inspection operations on the inspection object and the inspection item; the inspection script is an automated script used to inspect the inspection object and the inspection item.
7. The method according to claim 4, characterized in that Before receiving the inspection object and inspection item input by the user, the method further includes: In response to the startup of the automated inspection center, a set of inspection items stored in a database and all inspection items stored in an inspection package are acquired; the inspection package is used to store the inspection items and configuration data of the inspection items; Determine the storage status of the inspection items based on the inspection item set and all the inspection items stored in the inspection package; Based on the storage status of the inspection item, a registration operation corresponding to the storage status is performed.
8. The method according to claim 7, characterized in that The storage conditions of the inspection item include: a first storage condition, a second storage condition and a third storage condition; the first storage condition is that the inspection item exists in both the inspection package and the inspection item set; the second storage condition is that the inspection item exists in the inspection package but not in the inspection item set; the third storage condition is that the inspection item exists in the inspection item set but not in the inspection package; The performing a registration operation corresponding to the storage condition based on the storage condition of the inspection item includes: When the storage status of the inspection item is the first storage status, based on the configuration data of the inspection item stored in the inspection package, the inspection item stored in the database is updated; When the storage condition of the inspection item is the second storage condition, based on the configuration data of the inspection item stored in the inspection package, adding the inspection item to the database; When the storage condition of the inspection item is the third storage condition, the inspection item stored in the database is deleted.
9. The method according to any one of claims 1 to 8, characterized in that: The preset decay function includes: an exponential decay function; the formula of the exponential decay function is: f(x)=A*e (-λx) , Among them, A is the initial value of the exponential decay function, λ is the decay rate, e is the base of the natural logarithm, and x is the independent variable; among them, the initial value A and the decay rate λ of the exponential decay function are preset.
10. A computing device, characterized in that include: Processor and memory; The processor is coupled to the memory; The memory is used to store computer program instructions; The processor is used to execute computer program instructions stored in the memory to implement the method for estimating a data center health score according to any one of claims 1-9.
Citation Information
Patent Citations
Service health index generation method and service health index generation device
CN106603299A
Health assessment method, system and device for cloud computing management platform
CN112019382A
Method and system for evaluating health degree of computer equipment based on combined weight
CN115423318A
Network equipment inspection method and device
CN116032780A
Database automatic inspection system and inspection method
CN116775405A
Cited By
Estimation method for health score of data center, and computing device
WO2025227945A1
