Networking server temperature monitoring method and device and computer equipment
By acquiring and analyzing server temperature data, formulating temperature monitoring strategies, and pushing alarm notifications, the problem of traditional temperature sensors being unable to accurately monitor the temperature of business servers has been solved, ensuring the stable operation of the Internet data center.
Patent Information
- Application Number
- CN202110394575.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-13
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2041-04-13
AI Technical Summary
Traditional temperature sensors cannot accurately monitor the operating environment temperature of business servers in Internet data centers, leading to instability in the operation of Internet data centers.
By acquiring server temperature data, analyzing historical temperature data, obtaining temperature reference values, formulating temperature monitoring strategies, and pushing alarm notifications when necessary, accurate temperature monitoring of the server can be achieved.
It enables accurate temperature monitoring of servers in Internet data centers, ensuring their stable operation, and promptly handles abnormal situations through alarm prompts.
Smart Images

Figure CN115202956B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, and computer equipment for monitoring server temperature in a network. Background Technology
[0002] With the development of computer technology, Internet Data Centers (IDCs) have emerged. An IDC refers to a service platform with comprehensive equipment (including high-speed internet access bandwidth, high-performance local area networks, and a secure and reliable data center environment), professional management, and complete applications. Based on this platform, IDC service providers offer customers basic internet platform services (server hosting, virtual hosting, email caching, virtual mail, etc.) as well as various value-added services (site rental services, domain name system services, load balancing systems, database systems, data backup services, etc.). Since IDCs include a large number of business servers, maintaining the stable operation of these business servers is crucial for the overall stability of the IDC.
[0003] In traditional technology, the ambient operating temperature of the business server is very important for its stable operation. Therefore, temperature sensors need to be placed at the air inlet and outlet of the business server and other monitoring components to collect the ambient temperature of the business server and maintain its stable operation.
[0004] However, in traditional methods, temperature sensors can only detect the temperature of the space area corresponding to the monitored component of the business server. The temperature measurement is not accurate, which can lead to unstable operation of the Internet data center. Summary of the Invention
[0005] Therefore, it is necessary to provide a temperature monitoring method, device, computer equipment, and storage medium that can enable stable operation of Internet data centers, addressing the aforementioned technical problems.
[0006] A method for monitoring server temperature in a network, the method comprising:
[0007] Obtain the server's temperature data, and match the temperature data with the server's sensor data records;
[0008] Based on the temperature data, obtain the historical temperature data of the components to be monitored in the server;
[0009] Historical temperature data is categorized and analyzed to obtain temperature reference values corresponding to the temperature monitoring indicators of the components to be monitored, and temperature monitoring strategies are obtained based on the temperature reference values.
[0010] Based on the temperature monitoring strategy, the temperature data to be processed of the component to be monitored is obtained from the temperature data, and alarm analysis is performed on the temperature data to be processed to obtain the alarm analysis results.
[0011] When the alarm analysis result indicates that an alarm is required, an alarm notification will be pushed.
[0012] A server temperature monitoring device in a network, the device comprising:
[0013] The first acquisition module is used to acquire the temperature data of the server, and the temperature data corresponds to the sensor data records of the server.
[0014] The second acquisition module is used to acquire historical temperature data of the components to be monitored in the server based on the temperature data.
[0015] The classification and analysis module is used to classify and analyze historical temperature data, obtain temperature reference values corresponding to the temperature monitoring indicators of the components to be monitored, and obtain temperature monitoring strategies based on the temperature reference values.
[0016] The alarm analysis module is used to obtain the temperature data to be processed of the monitored component from the temperature data according to the temperature monitoring strategy, perform alarm analysis on the temperature data to be processed, and obtain alarm analysis results.
[0017] The push module is used to send alarm notifications when the alarm analysis results indicate that an alarm is required.
[0018] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program performing the following steps:
[0019] Obtain the server's temperature data, and match the temperature data with the server's sensor data records;
[0020] Based on the temperature data, obtain the historical temperature data of the components to be monitored in the server;
[0021] Historical temperature data is categorized and analyzed to obtain temperature reference values corresponding to the temperature monitoring indicators of the components to be monitored, and temperature monitoring strategies are obtained based on the temperature reference values.
[0022] Based on the temperature monitoring strategy, the temperature data to be processed of the component to be monitored is obtained from the temperature data, and alarm analysis is performed on the temperature data to be processed to obtain the alarm analysis results.
[0023] When the alarm analysis result indicates that an alarm is required, an alarm notification will be pushed.
[0024] A computer-readable storage medium having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0025] Obtain the server's temperature data, and match the temperature data with the server's sensor data records;
[0026] Based on the temperature data, obtain the historical temperature data of the components to be monitored in the server;
[0027] Historical temperature data is categorized and analyzed to obtain temperature reference values corresponding to the temperature monitoring indicators of the components to be monitored, and temperature monitoring strategies are obtained based on the temperature reference values.
[0028] Based on the temperature monitoring strategy, the temperature data to be processed of the component to be monitored is obtained from the temperature data, and alarm analysis is performed on the temperature data to be processed to obtain the alarm analysis results.
[0029] When the alarm analysis result indicates that an alarm is required, an alarm notification will be pushed.
[0030] The server temperature monitoring method, device, computer equipment, and storage medium in the above network can obtain temperature records reflecting the actual temperature of the server by acquiring temperature data corresponding to the sensor data records of the server. By acquiring historical temperature data of the components to be monitored in the server based on the temperature records, and classifying and analyzing the historical temperature data, accurate temperature reference values corresponding to the temperature monitoring indicators of the components to be monitored can be obtained based on the actual temperature of the server in the past. Then, the temperature monitoring strategy obtained based on the temperature reference values can be used to obtain the temperature data to be processed of the components to be monitored from the temperature data, and perform alarm analysis on the temperature data to be processed, so as to achieve accurate temperature monitoring of the server, obtain accurate alarm analysis results, and push alarm prompts when the alarm analysis results indicate that an alarm is needed. The alarm prompts are used to maintain the network, that is, the stable operation of the Internet data center. Attached Figure Description
[0031] Figure 1 This is an application environment diagram of a server temperature monitoring method in a network configuration in one embodiment;
[0032] Figure 2 This is a flowchart illustrating a server temperature monitoring method in a network configuration in one embodiment.
[0033] Figure 3 This is a schematic diagram of a server temperature monitoring method in a network configuration in one embodiment;
[0034] Figure 4 This is a schematic diagram of a server temperature monitoring method in a network configuration in one embodiment;
[0035] Figure 5 This is an application environment diagram of a server temperature monitoring method in a network configuration in one embodiment;
[0036] Figure 6This is a schematic diagram of a server temperature monitoring method in a network configuration in one embodiment;
[0037] Figure 7 This is a flowchart illustrating a server temperature monitoring method in a network configuration in another embodiment.
[0038] Figure 8 This is a structural block diagram of a server temperature monitoring device in a network configuration in one embodiment;
[0039] Figure 9 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0040] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0041] The server temperature monitoring method in the network provided in this application can be applied to, for example... Figure 1 In the application environment shown, temperature monitoring server 102 communicates with server 104 and terminal 106. Temperature monitoring server 102 acquires temperature data from server 104, which corresponds to sensor data records on server 104. Based on the temperature data, it acquires historical temperature data of the component to be monitored in server 104, categorizes and analyzes the historical temperature data to obtain temperature reference values corresponding to the temperature monitoring indicators of the component to be monitored, and acquires a temperature monitoring strategy based on the temperature reference values. According to the temperature monitoring strategy, it retrieves the temperature data to be processed for the component to be monitored from the temperature data, performs alarm analysis on the temperature data to be processed, and obtains alarm analysis results. When the alarm analysis result indicates that an alarm is required, it pushes an alarm notification to terminal 106. The temperature monitoring server 102 and server 104 can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal 106 can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. The terminal 106 and the temperature monitoring server 102 can be directly or indirectly connected via wired or wireless communication, which is not limited herein.
[0042] In one embodiment, such as Figure 2 As shown, a method for monitoring server temperature in a network is provided, which can be applied to... Figure 1Taking the temperature monitoring server 102 as an example, the following steps are included:
[0043] Step 202: Obtain the temperature data of the server, and match the temperature data with the sensor data records of the server.
[0044] In this context, "server" refers to a server that is currently operating within the network. For example, a server can specifically refer to a server providing services in an internet data center. To distinguish this server from the temperature monitoring server used in this application for performing server temperature monitoring, the following description uses "business server" to refer to the server. "Sensor data record" refers to the unparsed temperature data of the monitored component directly collected from the SDR (Sensor Data Record) sensor of the business server. For example, the ipmitool tool can be used to remotely collect the air inlet temperature of the server (this temperature comes from the server's temperature sensor). For instance, `ipmitool –I lanplus –H 1.1.1.1 –U ** -P ** sdr elist` represents collecting SDR sensor values from the server with the target IP address 1.1.1.1. "Component to be monitored" refers to the component on the business server that requires temperature monitoring. For example, the component to be monitored could specifically be an air vent. Or, for example, the component to be monitored could specifically be an air inlet. "Temperature data" refers to the data obtained after parsing the sensor data record.
[0045] Specifically, the temperature monitoring server collects sensor data records from the business server and parses these records using a preset parsing strategy table to obtain the temperature data corresponding to the business server. The preset parsing strategy table refers to the pre-defined rules for parsing the sensor data records, specifying the actual meaning of each parameter in the data records. For example, the data format in the sensor data record might be "Inlet_Temp0 | 08h | ok | 3.0 | 20 degress C", according to... Figure 3 The preset parsing strategy table shown can be parsed. Based on the collection item ID (Inlet_Temp), the component to be monitored is determined to be the air inlet temperature. Based on the value (regex: degress C) and the value type (decimal), the corresponding temperature data is determined.
[0046] Step 204: Based on the temperature data, obtain the historical temperature data of the components to be monitored in the server.
[0047] Historical temperature data refers to the temperature data of the component to be monitored within a preset historical time period. For example, historical temperature data can specifically refer to air outlet temperature data, air inlet temperature data, etc. The historical time period can be set as needed.
[0048] Specifically, the temperature monitoring server will retrieve historical temperature data of the components to be monitored corresponding to the business server from the temperature data according to a preset historical time period.
[0049] Step 206: Classify and analyze the historical temperature data to obtain the temperature reference value corresponding to the temperature monitoring index of the component to be monitored, and obtain the temperature monitoring strategy based on the temperature reference value.
[0050] Among them, the temperature monitoring indicators of the component to be monitored refer to the indicators for monitoring the temperature of the component. For example, the component to be monitored can be an air inlet and an air outlet, and the corresponding temperature monitoring indicators can be the maximum temperature of the air inlet, the minimum temperature of the air inlet, the maximum temperature of the air outlet, the minimum temperature of the air outlet, and the maximum temperature difference between the air inlet and outlet. The temperature reference value refers to the normal temperature value of the component to be monitored when the business server is actually running. Under this temperature reference value, the component to be monitored in the business server in the Internet data center can operate normally, and thus the business server corresponding to the component to be monitored can operate stably. For example, the temperature reference value can be a minimum air inlet temperature of 19 degrees Celsius and a maximum air inlet temperature of 35 degrees Celsius.
[0051] Temperature monitoring strategy refers to the strategy used to monitor the temperature of components within a business server. For example, a specific temperature monitoring strategy could be one that monitors the air inlets and outlets of the business server. The temperature monitoring strategy includes convergence time period, temperature alarm conditions, alarm dimensions, and the number of alarm triggers. The convergence time period refers to the time period for alarm analysis. For example, the convergence time period could be X minutes from the current time. For instance, if the convergence time period is 120 minutes from the current time, and the current time is 17:00, the convergence time period would be 15:00-17:00. The temperature alarm conditions describe the alarm temperature range of the monitored component.
[0052] The alarm temperature range refers to the temperature range within which the monitored component triggers an alarm, i.e., the abnormal temperature of the monitored component. The alarm dimension refers to the scope of alarm processing. For example, the alarm dimension could be a server rack dimension, a data center dimension, etc. Multiple business servers form a server rack, multiple server racks form a data center, and multiple data centers can form an internet data center. The number of triggered alarms refers to the number of abnormal servers that trigger the alarm notification. When the number of abnormal servers reaches the trigger alarm number, the temperature monitoring server will receive an alarm analysis result indicating that an alarm is required, and will then push an alarm notification.
[0053] It should be noted that the temperature monitoring strategy also includes alarm recovery judgment conditions. The alarm recovery judgment conditions are used to correct the alarm status corresponding to the business server. When the business server is already an abnormal server, the corresponding alarm status is "alarmed". If the temperature data of the business server corresponding to the next data acquisition node meets the alarm recovery judgment conditions, the temperature monitoring server will correct the alarm status corresponding to the business server to "alarm canceled".
[0054] Specifically, the historical temperature data includes temperature data to be processed corresponding to the temperature monitoring indicators of each component to be monitored. Therefore, the temperature monitoring server needs to classify the historical temperature data of the component to be monitored, divide the historical temperature data of the component to be monitored into temperature data to be processed corresponding to the temperature monitoring indicators of the component to be monitored, and then perform statistical analysis on the temperature data to be processed to obtain the temperature reference value corresponding to the temperature monitoring indicators of the component to be monitored.
[0055] For example, when the temperature monitoring index of the component to be monitored is the maximum temperature at the air inlet, the corresponding temperature data to be processed is the maximum air inlet temperature of each service server within a preset historical time period. As another example, when the temperature monitoring index of the component to be monitored is the maximum temperature difference between the air inlet and outlet, the corresponding temperature data to be processed is the maximum air inlet temperature, minimum air inlet temperature, maximum air outlet temperature, and minimum air outlet temperature of each service server within a preset historical time period. Based on these four temperature data, the maximum offset of the air inlet and outlet can be calculated.
[0056] Specifically, after obtaining the temperature reference value, it can be determined at what temperature the monitored component can operate normally and at what temperature it will malfunction. The temperature monitoring server will then obtain a temperature monitoring strategy based on the temperature reference value. Furthermore, the method for obtaining the temperature monitoring strategy based on the temperature reference value can be as follows: the temperature reference value is input into a preset temperature monitoring strategy template to obtain the temperature monitoring strategy. The temperature monitoring strategy template has pre-set parameters such as the convergence time period, temperature alarm conditions, alarm dimensions, and the number of alarms triggered. Alternatively, the method for obtaining the temperature monitoring strategy based on the temperature reference value can also be as follows: a monitoring strategy setting prompt is pushed to the maintenance terminal based on the temperature reference value, so that maintenance personnel using the maintenance terminal can provide feedback on the temperature monitoring strategy based on the temperature reference value. This embodiment does not impose specific limitations here.
[0057] Step 208: According to the temperature monitoring strategy, obtain the temperature data to be processed of the component to be monitored from the temperature data, perform alarm analysis on the temperature data to be processed, and obtain the alarm analysis results.
[0058] Specifically, the temperature monitoring server will obtain the temperature data to be processed of the monitored component from the temperature data according to the convergence time period in the temperature monitoring strategy, and perform alarm analysis on the temperature data to be processed using the temperature alarm conditions, alarm dimensions, number of alarm triggers, etc. in the temperature monitoring strategy to obtain alarm analysis results.
[0059] Step 210: When the alarm analysis result indicates that an alarm is required, push an alarm notification.
[0060] The alarm message includes the location information of the problematic server.
[0061] Specifically, when the alarm analysis result indicates that an alarm is required, the temperature monitoring server will push an alarm notification to the operation and maintenance terminal so that the operation and maintenance personnel using the terminal can handle the alarm according to the notification.
[0062] The server temperature monitoring method in the above network obtains temperature data corresponding to the sensor data records of the server, thus reflecting the actual temperature of the server. Based on the temperature records, historical temperature data of the components to be monitored in the server is obtained. By classifying and analyzing the historical temperature data, accurate temperature reference values corresponding to the temperature monitoring indicators of the components to be monitored can be obtained based on the actual temperature of the server in the past. Then, the temperature monitoring strategy obtained from the temperature reference values can be used to obtain the temperature data to be processed of the components to be monitored from the temperature data. Alarm analysis is performed on the temperature data to be processed, thus achieving accurate temperature monitoring of the server and obtaining accurate alarm analysis results. When the alarm analysis result indicates that an alarm is needed, an alarm prompt is pushed. The alarm prompt is used to maintain the network, that is, the stable operation of the Internet data center.
[0063] In one embodiment, obtaining the server's temperature data includes:
[0064] When a temperature monitoring request is received, the preset server configuration information is read;
[0065] Based on the server configuration information, obtain the location and region information of the server;
[0066] Based on the location information of the server, determine the server in the area to be collected;
[0067] According to the preset data acquisition interval and preset data acquisition strategy, data is collected from the server in the area to be collected, and the sensor data records of the server are obtained.
[0068] The sensor data records are parsed according to the preset parsing strategy table to obtain the server's temperature data.
[0069] The server configuration information refers to the pre-configured business servers, server racks, data center units, and the correspondence between data centers. The server location information describes the geographical location of the business servers. The data collection area refers to the area within the server's location where sensor data recording needs to be collected. The data collection interval refers to the interval between data collections; for example, a data collection interval of one minute means data is collected every minute. The data collection strategy refers to the method of data collection. Considering system performance and server rack airflow patterns, the data collection strategy can specifically be that each data collection covers the data collection area and collects data from at least two business servers within the data collection area.
[0070] Specifically, when a temperature monitoring request is received and sensor data recording needs to be collected, the temperature monitoring server reads the preset server configuration information, obtains the location information of the business server based on the server configuration information, divides the location area of the server into temperature zones based on the location information of the business server, determines the area to be collected and the business servers in the area to be collected, and collects data from the business servers in the area to be collected according to the preset data collection interval and data collection strategy, obtaining the sensor data records of the business servers. The sensor data records are then parsed according to the preset parsing strategy table to obtain the temperature data of the business servers.
[0071] It should be noted that the business servers are located on server racks, and the area where the business servers are located is the area where the server racks are located. Considering system performance and server rack airflow patterns, when collecting data from the business servers in the server racks, the area corresponding to the server racks will be divided into multiple areas for data collection, rather than collecting data from all business servers on the server racks at once. Server rack airflow patterns mainly include top airflow and bottom airflow. Taking bottom airflow as an example, the temperature at the top and bottom of the same server rack will be higher than that at the middle air inlet. This is because the airflow velocity at the bottom air inlet is faster and the temperature increases from low to high. Therefore, the server rack can be divided into three areas for data collection: top, middle, and bottom.
[0072] For example, such as Figure 4 As shown, this embodiment will be explained using the example of collecting sensor data from a server rack containing sixteen business servers. The temperature monitoring server reads the preset server configuration information and, based on this information, obtains the location area information of the servers. According to this location area information, the business servers in the server's location area can be divided into three collection areas: business servers numbered 1-5 are in the first collection area, business servers numbered 6-11 are in the second collection area, and business servers numbered 12-16 are in the third collection area. After determining the collection areas, the temperature monitoring server will collect sensor data from the business servers in the collection areas according to the data collection interval (assuming one minute) and the data collection strategy (assuming each data collection covers the collection area and collects data from at least two business servers in the collection area). It should be noted that when collecting sensor data according to the data collection strategy, it is necessary to ensure that the at least two business servers collected in adjacent data collection intervals are as different as possible to achieve more comprehensive data collection. This method of collecting sensor data records can simultaneously ensure collection efficiency and save resources, achieving comprehensive data collection without affecting the performance of the business server.
[0073] In this embodiment, by reading the server configuration information, the location area information of the server can be obtained. Based on the location area information of the server, the server in the area to be collected can be determined. Then, according to the preset data collection interval and data collection strategy, data can be collected from the server in the area to be collected to obtain the sensor data records of the server. Furthermore, the sensor data records are parsed according to the preset parsing strategy table to obtain the temperature data of the server.
[0074] In one embodiment, historical temperature data is categorized and analyzed to obtain temperature reference values corresponding to the temperature monitoring indicators of the component to be monitored, including:
[0075] Historical temperature data are categorized according to the temperature monitoring indicators of the components to be monitored, resulting in temperature data to be processed corresponding to the temperature monitoring indicators of the components to be monitored.
[0076] Statistical analysis was performed on the temperature data to be processed to obtain the data distribution corresponding to the temperature data to be processed.
[0077] Based on the data distribution and the preset theoretical values of the indicators, the temperature reference values corresponding to the temperature monitoring indicators of the components to be monitored are obtained, and the theoretical values of the indicators correspond to the temperature monitoring indicators of the components to be monitored.
[0078] The "temperature data to be processed" refers to the historical temperature data of the component to be monitored, corresponding to the component's temperature monitoring index. For example, when the monitoring index of the component to be monitored is the maximum inlet temperature, the corresponding temperature data to be processed is the maximum inlet temperature of each server within a preset historical time period. "Data distribution" represents the distribution of the temperature data to be processed, including the most frequently occurring temperature data. For example, "data distribution" can specifically refer to a temperature distribution map representing the temperature data to be processed. For instance, when the temperature data to be processed is the maximum inlet temperature of each server, the "data distribution" represents the distribution of the maximum inlet temperatures of the servers. "Theoretical value of the index" refers to a pre-set standard value. For example, "theoretical value of the index" can specifically refer to industry-recommended standard values.
[0079] Specifically, after obtaining the historical temperature data of the component to be monitored, the temperature monitoring server sorts the historical temperature data of the component corresponding to each business server according to the temperature monitoring index of the component, obtaining the temperature data to be processed corresponding to the temperature monitoring index of the component. After obtaining the temperature data to be processed, the temperature monitoring server performs statistical analysis on the temperature data to be processed, obtaining the data distribution corresponding to the temperature data to be processed. Based on the data distribution, the theoretical value of the index, and the distribution ratio threshold corresponding to the temperature monitoring index of the component to be monitored, the temperature reference value corresponding to the temperature monitoring index of the component to be monitored is obtained. Here, the distribution ratio threshold is a pre-set ratio value used to evaluate whether the temperature reference value is reasonable. For example, when the distribution ratio threshold is 99%, when determining the temperature reference value, the temperature reference value needs to meet the requirement that 99% of the temperature data to be processed falls within the effective temperature range corresponding to the temperature reference value. Here, the effective temperature range refers to the temperature range in which the business server operates normally.
[0080] Furthermore, the data distribution can specifically be a data distribution chart. Statistical analysis of the temperature data to be processed yields the data distribution corresponding to that temperature data. This can be achieved by plotting the temperature data to be processed on the x-axis and the frequency of occurrence of that temperature data on the y-axis. Based on the data distribution, theoretical values of the indicators, and the distribution ratio threshold, the temperature reference value can be obtained as follows: A candidate temperature reference value is determined based on the theoretical value of the indicator. Based on the candidate temperature reference value and the temperature monitoring indicators of the component to be monitored, the effective temperature range corresponding to the candidate temperature reference value is determined. The effective temperature range and data distribution are compared to determine the data distribution consistency with the candidate temperature reference value. The data distribution consistency is compared with the distribution ratio threshold. When the data distribution consistency meets the distribution ratio threshold, the candidate temperature reference value is determined as the temperature reference value.
[0081] Furthermore, if multiple candidate temperature reference values have a matching degree that meets the distribution ratio threshold, a temperature reference value needs to be selected from these multiple candidate temperature reference values based on the temperature monitoring index of the component to be monitored. For example, when the temperature monitoring index of the component to be monitored is the maximum air outlet temperature, the lowest temperature can be selected from multiple candidate temperature reference values as the temperature reference value.
[0082] For example, when the temperature monitoring index of the component to be monitored is the maximum temperature of the air inlet, the temperature monitoring server will sort the historical air inlet temperature data corresponding to each business server according to the maximum air inlet temperature index, determine the maximum air inlet temperature corresponding to each business server, perform statistical analysis on the maximum air inlet temperature corresponding to each business server, obtain the data distribution corresponding to the maximum air inlet temperature, and determine the temperature reference value corresponding to the maximum air inlet temperature based on the data distribution, the theoretical value of the maximum air inlet temperature index, and the distribution ratio threshold corresponding to the maximum air inlet temperature.
[0083] In this embodiment, historical temperature data is categorized according to the temperature monitoring indicators of the component to be monitored to obtain temperature data to be processed. Statistical analysis is performed on the temperature data to be processed to obtain the corresponding data distribution. Based on the data distribution and theoretical index values, a temperature reference value is obtained. By combining the data distribution and theoretical index values, the accurate determination of the temperature reference value can be achieved.
[0084] In one embodiment, according to a temperature monitoring strategy, the temperature data to be processed of the component to be monitored is obtained from temperature data, and alarm analysis is performed on the temperature data to obtain alarm analysis results, including:
[0085] Based on the convergence time period in the temperature monitoring strategy, the temperature data to be processed of the component to be monitored is obtained from the temperature data.
[0086] The temperature data to be processed is classified according to the preset data acquisition interval to obtain the temperature data to be monitored corresponding to the data acquisition node.
[0087] Alarm analysis was performed on the temperature data to be monitored separately to obtain alarm analysis results.
[0088] Here, "data acquisition node" refers to the time point at which data is acquired. "Temperature data to be monitored" refers to the temperature data that needs to be analyzed for alarm purposes.
[0089] Specifically, after determining the temperature monitoring strategy, the temperature monitoring server retrieves the temperature data to be processed for the monitored components from the temperature data according to the convergence time period specified in the strategy. This temperature data corresponds to the convergence time period and refers to the temperature data within that period. After obtaining the temperature data, the temperature monitoring server categorizes it according to a preset data acquisition interval, obtaining the temperature data to be monitored corresponding to each data acquisition node. Then, it uses the temperature monitoring strategy to perform alarm analysis on the temperature data to be monitored, obtaining the alarm analysis results. For example, when the convergence time period is 120 minutes, the temperature monitoring server retrieves the temperature data to be processed for the monitored components from the temperature data over the past 120 minutes, categorizes it according to the data acquisition interval (assuming one minute), and obtains the temperature data to be monitored corresponding to each data acquisition node (i.e., each minute within the past 120 minutes).
[0090] In this embodiment, the temperature data to be processed is obtained according to the convergence time period, and the temperature data to be processed is classified according to the data acquisition interval to obtain the temperature data to be monitored corresponding to the data acquisition node. Alarm analysis is performed on the temperature data to be monitored to obtain alarm analysis results.
[0091] In one embodiment, obtaining the temperature data to be processed for the component to be monitored from the temperature data, based on the convergence time period in the temperature monitoring strategy, includes:
[0092] Obtain the current time node, and determine the monitoring time period based on the current time node and the convergence time period in the temperature monitoring strategy;
[0093] Based on the time period to be monitored, the temperature data to be processed of the component to be monitored is obtained from the temperature data.
[0094] The time period to be monitored refers to the period during which temperature monitoring is required.
[0095] Specifically, the temperature monitoring server obtains the current time node, determines the monitoring time period based on the current time node and the convergence time period in the temperature monitoring strategy, and then retrieves the unprocessed temperature data of the monitored component corresponding to the business server from the temperature data. For example, when the current time node is 17:00 and the convergence time period is 120 minutes, the corresponding monitoring time period is 15:00-17:00. The temperature monitoring server will then retrieve the unprocessed temperature data of the monitored component corresponding to the business server within this time period from 15:00 to 17:00 from the temperature data.
[0096] In this embodiment, by obtaining the current time node, the time period to be monitored is determined based on the current time node and the convergence time period, and the corresponding temperature data to be processed can be obtained based on the time period to be monitored.
[0097] In one embodiment, alarm analysis is performed on the temperature data to be monitored, and the alarm analysis results include:
[0098] Determine the temperature alarm conditions based on the temperature monitoring strategy;
[0099] Compare the temperature data to be monitored with the alarm temperature range in the temperature alarm conditions to determine the target temperature data that meets the alarm temperature range;
[0100] Identify the target service server corresponding to the target monitored temperature data;
[0101] Based on the alarm dimensions and the number of alarms triggered in the target business server and temperature alarm conditions, alarm analysis results are obtained, with the number of alarms triggered corresponding to the alarm dimensions.
[0102] Here, alarm temperature range refers to the temperature range that requires alarming; target monitoring temperature data refers to the temperature data to be monitored that falls within the alarm temperature range; and target business server refers to the business server that generates the target monitoring temperature data. The number of triggered alarms refers to the number of abnormal servers that meet the alarm conditions and require alarming. The number of triggered alarms corresponds to the alarm dimension; different alarm dimensions may correspond to different numbers of triggered alarms.
[0103] Specifically, the temperature monitoring server determines temperature alarm conditions based on the temperature monitoring strategy, compares the temperature data to be monitored with the alarm temperature range in the temperature alarm conditions, and identifies the target monitored temperature data that falls within the alarm temperature range. After determining the target monitored temperature data, the temperature monitoring server further identifies the target business server corresponding to the target monitored temperature data, counts the number of abnormal servers corresponding to each alarm dimension, and compares the number of abnormal servers with the number of alarms triggered corresponding to the alarm dimension. When the number of abnormal servers reaches the number of alarms triggered, the alarm analysis result is "alarm required"; when the number of abnormal servers does not reach the number of alarms triggered, the alarm analysis result is "alarm not required".
[0104] For example, the temperature monitoring strategy can be as shown in Table 1, where 19 degrees is the temperature reference value corresponding to the minimum temperature at the air inlet, 40 degrees is the temperature reference value corresponding to the minimum temperature at the air outlet, 35 degrees is the temperature reference value corresponding to the maximum temperature at the air inlet, 46 degrees is the temperature reference value corresponding to the maximum temperature at the air outlet, and 10 degrees is the temperature reference value corresponding to the maximum temperature difference between the air inlet and outlet.
[0105] Table 1
[0106]
[0107] In this embodiment, by comparing the temperature data to be monitored with the alarm temperature range in the temperature alarm conditions, the target monitoring temperature data that meets the alarm temperature range can be determined. Then, the corresponding target service server can be located based on the target monitoring temperature data. Based on the target service server, the alarm dimension, and the number of alarms triggered, the corresponding alarm analysis results can be obtained.
[0108] In one embodiment, the alarm analysis results obtained based on the target service server, the alarm dimension in the temperature alarm conditions, and the number of alarm-triggered nodes include:
[0109] Based on the target business server and the preset server configuration information, count the number of abnormal servers corresponding to the alarm dimension in the temperature alarm conditions.
[0110] When the number of abnormal servers reaches the number of alarms triggered corresponding to the alarm dimension, the alarm analysis result indicates that an alarm is required.
[0111] Specifically, alarm dimensions include rack dimension and data center dimension. Based on the target business server and preset server configuration information, the correspondence between the target business server and the rack / data center can be determined, thereby allowing the number of abnormal servers corresponding to the alarm dimensions in the temperature alarm conditions to be counted. After counting the number of abnormal servers, the temperature monitoring server compares the number of abnormal servers with the number of alarms triggered. When the number of abnormal servers reaches the number of alarms triggered corresponding to the alarm dimension, the alarm analysis result is "alarm required"; when the number of abnormal servers does not reach the number of alarms triggered corresponding to the alarm dimension, the alarm analysis result is "alarm not required".
[0112] Furthermore, because the temperature change of the business server is a gradual process, not all servers will immediately become overheated when an anomaly occurs. Therefore, when counting the number of abnormal servers corresponding to the alarm dimension in the temperature alarm conditions, the temperature monitoring server will accumulate the number of abnormal servers corresponding to all data collection nodes within the convergence period in chronological order. As long as the accumulated number of abnormal servers obtained at any data collection node reaches the number of alarms triggered corresponding to the alarm dimension, the alarm analysis result will be that an alarm is required.
[0113] For example, if the number of abnormal servers corresponding to the alarm dimension in the temperature alarm condition is four at data acquisition node A, and the number of abnormal servers corresponding to the alarm dimension in the temperature alarm condition increases by one to five at data acquisition node B, and the number of triggered alarms corresponding to the alarm dimension is also five, then when performing alarm analysis on the temperature data to be monitored at data acquisition node A, the alarm analysis result will be "no alarm needed," while when performing alarm analysis on the temperature data to be monitored at data acquisition node B, the alarm analysis result will be "alarm needed."
[0114] In this embodiment, by counting the number of abnormal servers corresponding to the alarm dimension based on the server configuration information, when the number of abnormal servers reaches the number of alarms triggered corresponding to the alarm dimension, the alarm analysis result is that an alarm is needed, thereby achieving accurate alarm.
[0115] This application also provides an application scenario, such as Figure 5 As shown, the temperature monitoring method described above is applied in this application scenario. Specifically, the application of this temperature monitoring method in this scenario is as follows:
[0116] The temperature monitoring server collects raw SDR data (i.e., sensor data records), parses the raw SDR data to obtain temperature data corresponding to the business server. Based on the temperature data, it obtains historical temperature data of the monitored components corresponding to the business server, samples and analyzes the historical temperature data, and formulates a monitoring and detection strategy (i.e., classification analysis to obtain temperature reference values corresponding to the temperature monitoring indicators of the monitored components, and derives the temperature monitoring strategy based on the temperature reference values). The temperature monitoring server uses a 3*3 acquisition scheme to acquire the unprocessed temperature data of the monitored components corresponding to the business server, matches the unprocessed temperature data according to the temperature alarm convergence strategy (i.e., monitoring and detection strategy) (i.e., performs alarm analysis on the unprocessed temperature data to obtain alarm analysis results), and creates a temperature alarm event work order when the strategy is matched (i.e., pushes an alarm prompt when the alarm analysis result indicates that an alarm is needed), dispatches the work order to the SOC for processing, and closes the work order upon receiving a fault recovery prompt.
[0117] The 3x3 data acquisition scheme involves reading server configuration information during sensor data recording. Based on this configuration, the system obtains the server's location area information and divides the server's location area into three data acquisition zones. A one-minute data acquisition interval is set. Data is then collected from the business servers within each zone according to the acquisition interval and strategy. This process is repeated three times to collect sensor data from all business servers within the server's location area. The acquisition strategy ensures that each data acquisition covers all three zones, and to avoid issues with single-machine sensor malfunctions, data is collected from two business servers in each zone. It's important to note that sensor data is collected, parsed, and stored in real-time. Therefore, after determining the monitoring and detection strategy, it's only necessary to obtain the corresponding temperature data based on the convergence time period specified in the strategy.
[0118] For example, the process of collecting raw SDR data (i.e., sensor data records) and parsing the raw SDR data can be described as follows: Figure 6As shown, the temperature monitoring server includes a task scheduling module, a task execution module, and a data storage and parsing module. The task scheduling module is responsible for accepting and allocating data acquisition tasks. There are two servers in the main / backup redundancy architecture. The task execution module is based on IDC network modules and consists of a "module control manager" and a "client server" (i.e., business server). The module control manager receives acquisition tasks from the task scheduling module and is responsible for execution. Specifically, it can remotely and centrally acquire BMC temperature sensor values (i.e., sensor data records) from the business server via IPMITOOL SDR. The data storage and parsing module receives the raw data acquired from the task execution module, stores and parses the raw data to obtain temperature data. In addition, this data storage and parsing module can also serve as an external output window, allowing the temperature data to be output as operational data and supporting API call query services.
[0119] This application also provides a flowchart to illustrate the above-described temperature monitoring method, such as... Figure 7 As shown, this temperature monitoring method specifically includes the following steps:
[0120] Step 702: When a temperature monitoring request is received, read the preset server configuration information;
[0121] Step 704: Obtain the location region information of the server based on the server configuration information;
[0122] Step 706: Determine the server in the area to be collected based on the server's location information;
[0123] Step 708: According to the preset data acquisition interval and preset data acquisition strategy, data is acquired from the server in the area to be acquired to obtain the sensor data records of the server.
[0124] Step 710: Parse the sensor data records according to the preset parsing strategy table to obtain the server's temperature data;
[0125] Step 712: Based on the temperature data, obtain the historical temperature data of the component to be monitored in the server;
[0126] Step 714: Classify the historical temperature data according to the temperature monitoring index of the component to be monitored to obtain the temperature data to be processed corresponding to the temperature monitoring index of the component to be monitored.
[0127] Step 716: Perform statistical analysis on the temperature data to be processed to obtain the data distribution corresponding to the temperature data to be processed;
[0128] Step 718: Based on the data distribution and the preset theoretical values of the indicators, obtain the temperature reference values corresponding to the temperature monitoring indicators of the components to be monitored. The theoretical values of the indicators correspond to the temperature monitoring indicators of the components to be monitored.
[0129] Step 720: Obtain the temperature monitoring strategy based on the temperature reference value;
[0130] Step 722: Obtain the current time node, and determine the monitoring time period based on the current time node and the convergence time period in the temperature monitoring strategy;
[0131] Step 724: Based on the time period to be monitored, obtain the temperature data to be processed of the component to be monitored from the temperature data;
[0132] Step 726: Classify the temperature data to be processed according to the preset data acquisition interval to obtain the temperature data to be monitored corresponding to the data acquisition node;
[0133] Step 728: Determine the temperature alarm conditions according to the temperature monitoring strategy;
[0134] Step 730: Compare the temperature data to be monitored with the alarm temperature range in the temperature alarm conditions to determine the target temperature data that meets the alarm temperature range.
[0135] Step 732: Determine the target service server corresponding to the target monitored temperature data;
[0136] Step 734: Based on the target business server and the preset server configuration information, count the number of abnormal servers corresponding to the alarm dimension in the temperature alarm conditions.
[0137] Step 736: When the number of abnormal servers reaches the number of alarms triggered corresponding to the alarm dimension, the alarm analysis result is that an alarm is required.
[0138] Step 738: When the alarm analysis result indicates that an alarm is required, push an alarm notification.
[0139] In one embodiment, multiple temperature monitoring servers may form a blockchain, with the temperature monitoring servers being nodes on the blockchain.
[0140] In one embodiment, the data generated by the temperature monitoring method can be stored on a blockchain. For example, sensor data records, temperature data, historical temperature data, temperature reference values, temperature monitoring strategies, and temperature data to be processed can all be stored on the blockchain.
[0141] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps.
[0142] In one embodiment, such as Figure 8 As shown, a server temperature monitoring device in a network is provided. This device can be a software module, a hardware module, or a combination of both, integrated into a computer device. Specifically, the device includes: a first acquisition module 802, a second acquisition module 804, a classification and analysis module 806, an alarm analysis module 808, and a push module 810, wherein:
[0143] The first acquisition module 802 is used to acquire the temperature data of the server, and the temperature data corresponds to the sensor data records of the server.
[0144] The second acquisition module 804 is used to acquire historical temperature data of the component to be monitored in the server based on the temperature data.
[0145] The classification and analysis module 806 is used to classify and analyze historical temperature data, obtain temperature reference values corresponding to the temperature monitoring indicators of the components to be monitored, and obtain temperature monitoring strategies based on the temperature reference values.
[0146] The alarm analysis module 808 is used to obtain the temperature data to be processed of the monitored component from the temperature data according to the temperature monitoring strategy, perform alarm analysis on the temperature data to be processed, and obtain alarm analysis results.
[0147] The push module 810 is used to push alarm prompts when the alarm analysis result indicates that an alarm is required.
[0148] In the aforementioned network, the server temperature monitoring device acquires temperature data corresponding to the sensor data records of the server, thus obtaining temperature records reflecting the actual temperature of the server. Based on these temperature records, it obtains historical temperature data of the components to be monitored within the server, categorizes and analyzes this historical temperature data, and obtains accurate temperature reference values corresponding to the temperature monitoring indicators of the components to be monitored based on the server's past actual temperature conditions. Furthermore, using the temperature monitoring strategy obtained from these reference values, it extracts the temperature data to be processed from the temperature data, performs alarm analysis on this data, and achieves accurate temperature monitoring of the server, obtaining accurate alarm analysis results. When the alarm analysis result indicates that an alarm is needed, it pushes an alarm notification, using the alarm notification to maintain the network, i.e., the stable operation of the Internet data center.
[0149] In one embodiment, the first acquisition module is further configured to, upon receiving a temperature monitoring request, read preset server configuration information, obtain the location area information of the server based on the server configuration information, determine the server in the area to be collected based on the location area information of the server, collect data from the server in the area to be collected according to a preset data collection interval and a preset data collection strategy, obtain the sensor data records of the server, and parse the sensor data records according to a preset parsing strategy table to obtain the temperature data of the server.
[0150] In one embodiment, the classification analysis module is further configured to classify historical temperature data according to the temperature monitoring index of the component to be monitored, obtain temperature data to be sorted corresponding to the temperature monitoring index of the component to be monitored, perform statistical analysis on the temperature data to be sorted, obtain the data distribution corresponding to the temperature data to be sorted, and obtain the temperature reference value corresponding to the temperature monitoring index of the component to be monitored based on the data distribution and the preset theoretical value of the index. The theoretical value of the index corresponds to the temperature monitoring index of the component to be monitored.
[0151] In one embodiment, the alarm analysis module is further configured to obtain the temperature data to be processed of the component to be monitored from the temperature data according to the convergence time period in the temperature monitoring strategy, classify the temperature data to be processed according to the preset data acquisition interval, obtain the temperature data to be monitored corresponding to the data acquisition node, perform alarm analysis on the temperature data to be monitored respectively, and obtain the alarm analysis results.
[0152] In one embodiment, the alarm analysis module is further configured to obtain the current time node, determine the time period to be monitored based on the current time node and the convergence time period in the temperature monitoring strategy, and obtain the temperature data to be processed of the component to be monitored from the temperature data based on the time period to be monitored.
[0153] In one embodiment, the alarm analysis module is further configured to determine temperature alarm conditions according to the temperature monitoring strategy, compare the temperature data to be monitored with the alarm temperature range in the temperature alarm conditions, determine the target monitoring temperature data that meets the alarm temperature range, determine the target service server corresponding to the target monitoring temperature data, and obtain the alarm analysis result based on the target service server, the alarm dimension in the temperature alarm conditions, and the number of alarms triggered, wherein the number of alarms triggered corresponds to the alarm dimension.
[0154] In one embodiment, the alarm analysis module is further configured to count the number of abnormal servers corresponding to the alarm dimension in the temperature alarm condition based on the target business server and the preset server configuration information. When the number of abnormal servers reaches the number of alarms triggered corresponding to the alarm dimension, the alarm analysis result is that an alarm is required.
[0155] Specific limitations regarding the temperature monitoring device can be found in the limitations of the temperature monitoring method described above, and will not be repeated here. Each module in the aforementioned temperature monitoring device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0156] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 9 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores sensor data records, temperature data, historical temperature data, temperature reference values, temperature monitoring strategies, and temperature data to be processed. The network interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a temperature monitoring method.
[0157] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0158] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0159] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0160] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the steps in the above method embodiments.
[0161] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0162] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0163] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for monitoring server temperature in a network, characterized in that, The method includes: Acquire temperature data from the server, and the temperature data corresponds to the sensor data records of the server; Based on the temperature data, obtain the historical temperature data of the component to be monitored in the server; The historical temperature data is categorized according to the temperature monitoring indicators of the components to be monitored, resulting in temperature data to be processed corresponding to the temperature monitoring indicators of the components to be monitored. Statistical analysis is performed on the temperature data to be processed to obtain the data distribution corresponding to the temperature data to be processed. A candidate temperature reference value is determined based on a preset theoretical value of the indicator. Based on the candidate temperature reference value and the temperature monitoring indicator of the component to be monitored, an effective temperature range corresponding to the candidate temperature reference value is determined. The theoretical value of the indicator corresponds to the temperature monitoring indicator of the component to be monitored. The effective temperature range is the temperature range in which the server operates normally. By comparing the effective temperature range and the data distribution, the degree of agreement between the data distribution and the candidate temperature reference value is determined. By comparing the data distribution fit with a predefined distribution ratio threshold, when the data distribution fit meets the distribution ratio threshold, a candidate temperature reference value is determined to be a temperature reference value; the distribution ratio threshold is a ratio value used to evaluate whether the temperature reference value is reasonable. Based on the temperature reference value, a temperature monitoring strategy is obtained; According to the convergence time period in the temperature monitoring strategy, the temperature data to be processed of the component to be monitored is obtained from the temperature data; the convergence time period refers to the time period during which alarm analysis needs to be performed. The temperature data to be processed is classified according to the preset data acquisition interval to obtain the temperature data to be monitored corresponding to the data acquisition node. Based on the temperature monitoring strategy, determine the temperature alarm conditions; By comparing the temperature data to be monitored with the alarm temperature range in the temperature alarm conditions, the target monitoring temperature data that meets the alarm temperature range is determined. Identify the target service server corresponding to the target monitored temperature data; Based on the target service server and the alarm dimensions and the number of alarms triggered in the temperature alarm conditions, the alarm analysis results are obtained, wherein the number of alarms triggered corresponds to the alarm dimensions. When the alarm analysis result indicates that an alarm is required, an alarm notification will be pushed.
2. The method according to claim 1, characterized in that, The acquisition of server temperature data includes: When a temperature monitoring request is received, the preset server configuration information is read; Based on the server configuration information, obtain the location area information of the server; Based on the location information of the server, determine the server in the area to be collected; According to the preset data acquisition interval and preset data acquisition strategy, data is collected from the server in the area to be collected to obtain the sensor data records of the server. The sensor data records are parsed according to a preset parsing strategy table to obtain the server's temperature data.
3. The method according to claim 1, characterized in that, The step of obtaining the temperature data to be processed of the component to be monitored from the temperature data according to the convergence time period in the temperature monitoring strategy includes: Obtain the current time node, and determine the monitoring time period based on the current time node and the convergence time period in the temperature monitoring strategy; Based on the time period to be monitored, the temperature data to be processed of the component to be monitored is obtained from the temperature data.
4. The method according to claim 1, characterized in that, The alarm analysis results obtained based on the target service server, the alarm dimension in the temperature alarm conditions, and the number of alarm-triggered units include: Based on the target business server and the preset server configuration information, count the number of abnormal servers corresponding to the alarm dimension in the temperature alarm conditions. When the number of abnormal servers reaches the number of alarms triggered corresponding to the alarm dimension, the alarm analysis result indicates that an alarm is required.
5. A server temperature monitoring device in a network, characterized in that, The device includes: The first acquisition module is used to acquire temperature data from the server, and the temperature data corresponds to the sensor data records of the server. The second acquisition module is used to acquire historical temperature data of the component to be monitored in the server based on the temperature data. The classification and analysis module is used to classify the historical temperature data according to the temperature monitoring indicators of the component to be monitored, obtain the temperature data to be processed corresponding to the temperature monitoring indicators of the component to be monitored, perform statistical analysis on the temperature data to be processed to obtain the data distribution corresponding to the temperature data to be processed, determine the candidate temperature reference value according to the preset theoretical value of the indicator, and determine the effective temperature range corresponding to the candidate temperature reference value according to the candidate temperature reference value and the temperature monitoring indicators of the component to be monitored; the theoretical value of the indicator corresponds to the temperature monitoring indicator of the component to be monitored; the effective temperature range is the temperature range of the server during normal operation; compare the effective temperature range and the data distribution to determine the data distribution matching degree corresponding to the candidate temperature reference value; compare the data distribution matching degree with the predefined distribution ratio threshold; when the data distribution matching degree meets the distribution ratio threshold, the candidate temperature reference value is determined to be the temperature reference value; the distribution ratio threshold is a ratio value used to evaluate whether the temperature reference value is reasonable; and obtain the temperature monitoring strategy according to the temperature reference value. The alarm analysis module is used to obtain the temperature data to be processed of the component to be monitored from the temperature data according to the convergence time period in the temperature monitoring strategy. The convergence time period refers to the time period during which alarm analysis needs to be performed. The module classifies the temperature data to be processed according to the preset data acquisition interval to obtain the temperature data to be monitored corresponding to the data acquisition node. According to the temperature monitoring strategy, the module determines the temperature alarm conditions, compares the temperature data to be monitored with the alarm temperature range in the temperature alarm conditions, determines the target monitoring temperature data that meets the alarm temperature range, determines the target service server corresponding to the target monitoring temperature data, and obtains the alarm analysis result based on the target service server, the alarm dimension in the temperature alarm conditions, and the number of alarms triggered. The number of alarms triggered corresponds to the alarm dimension. The push module is used to push alarm prompts when the alarm analysis result indicates that an alarm is required.
6. The apparatus according to claim 5, characterized in that, The first acquisition module is further configured to, upon receiving a temperature monitoring request, read preset server configuration information, acquire the location area information of the server based on the server configuration information, determine the server in the area to be collected based on the location area information of the server, collect data from the server in the area to be collected according to a preset data collection interval and a preset data collection strategy, obtain sensor data records of the server, and parse the sensor data records according to a preset parsing strategy table to obtain the temperature data of the server.
7. The apparatus according to claim 5, characterized in that, The alarm analysis module is also used to obtain the current time node, determine the time period to be monitored based on the current time node and the convergence time period in the temperature monitoring strategy, and obtain the temperature data to be processed of the component to be monitored from the temperature data based on the time period to be monitored.
8. The apparatus according to claim 5, characterized in that, The alarm analysis module is also used to count the number of abnormal servers corresponding to the alarm dimension in the temperature alarm condition based on the target business server and the preset server configuration information. When the number of abnormal servers reaches the number of alarms triggered corresponding to the alarm dimension, the alarm analysis result is that an alarm is required.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Monitoring alarm strategy collocation method and device and monitoring alarm method and device
CN104572391A
Monitoring method and device of server
CN104899127A
