Server three-dimensional thermodynamic diagram generation method and device, equipment, medium and program product

By generating a 3D heatmap of the server, the problem of unintuitive sensor data distribution display in existing technologies is solved, enabling faster fault location and improved operation and maintenance efficiency.

CN120909884APending Publication Date: 2025-11-07SUGON INFORMATION IND +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511141248.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-14
Publication Date
2025-11-07

AI Technical Summary

Technical Problem

In existing technologies, the display methods of server monitoring are not effective and cannot intuitively reflect the data distribution of sensors, making it difficult for maintenance personnel to quickly locate anomalies.

Method used

By acquiring the coordinate and data information of the sensors, a 3D model of the target server is generated. Then, using interpolation algorithms and height field mapping technology, an intuitive 3D heat map is generated to show the data distribution of the sensors.

Benefits of technology

It enables intuitive display of sensor data, making it easier for maintenance personnel to quickly locate anomalies and improving troubleshooting efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120909884A_ABST
    Figure CN120909884A_ABST
Patent Text Reader

Abstract

The invention relates to a server three-dimensional thermodynamic diagram generation method and device, equipment, a medium and a program product. The method comprises the following steps: firstly, in response to a triggering operation on a target page, obtaining coordinate information and data information of each sensor in a target server through a target interface, then, rendering to obtain a target three-dimensional model of the target server, mapping each sensor into the target three-dimensional model according to the coordinate information of each sensor, and then, obtaining a target three-dimensional model of the target server; and according to the coordinate information and the data information of each sensor, generating thermodynamic distribution of the target server in the target three-dimensional model, and finally, performing height field mapping according to the thermodynamic distribution of the target server to obtain a three-dimensional thermodynamic diagram of the target server, which is used for representing the data distribution condition of each sensor. By adopting the method, the data display of each sensor of the target server can be more intuitive, and the operation and maintenance personnel can use the data conveniently.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of server monitoring, and in particular to a server three-dimensional heat map generation method, device, equipment, medium and program product. BACKGROUND

[0002] With the rapid expansion of the scale of data centers and the improvement of the complexity of server equipment, it is necessary to monitor the server to discover problems in the operation of the server in a timely manner.

[0003] At present, in the related art, the state of the server can be monitored through a BMC (Baseboard Management Controller). The BMC is a small operating system independent of the server system, which connects the sensors inside the server through various hardware interfaces to collect data such as temperature, voltage, and fan speed in real time. The collected raw data is analyzed by the BMC firmware and compared with the respective preset threshold. If the collected data exceeds the preset threshold, the BMC will trigger an alarm mechanism and send the alarm data through the Dbus interface. The management interface obtains the alarm data and displays it in the form of a table. However, this display method is not good. SUMMARY

[0004] Therefore, it is necessary to provide a server three-dimensional heat map generation method, device, equipment, medium and program product with a more intuitive display method to solve the above technical problems.

[0005] In a first aspect, the present application provides a server three-dimensional heat map generation method, which comprises the following steps:

[0006] In response to a triggering operation on a target page, coordinate information and data information of each sensor in a target server are obtained through a target interface;

[0007] A target three-dimensional model of the target server is rendered, and each sensor is mapped into the target three-dimensional model according to the coordinate information of each sensor;

[0008] A heat distribution of the target server is generated in the target three-dimensional model according to the coordinate information and the data information of each sensor;

[0009] A height field mapping is performed according to the heat distribution of the target server to obtain a three-dimensional heat map of the target server, and the three-dimensional heat map is used to represent the data distribution of each sensor.

[0010] In the above embodiment, first, in response to a triggering operation on a target page, coordinate information and data information of sensors in a target server are acquired through a target interface, then a target three-dimensional model of the target server is rendered, and each sensor is mapped into the target three-dimensional model according to the coordinate information of each sensor, then a heat distribution of the target server is generated in the target three-dimensional model according to the coordinate information and the data information of each sensor, and finally, a height field mapping is performed according to the heat distribution of the target server to obtain a three-dimensional heat map of the target server for representing data distribution of each sensor. In this way, the three-dimensional model of the target server is rendered through the coordinate information and the data information of each sensor in the target server, then the heat distribution of the target server is generated, and the three-dimensional heat map of the target server is obtained according to the heat distribution, so that data display of each sensor of the target server is more intuitive and convenient for operation and maintenance personnel to use.

[0011] In one of the embodiments, the target three-dimensional model of the target server is rendered, and each sensor is mapped into the target three-dimensional model according to the coordinate information of each sensor, including:

[0012] An illustration of a mainboard of the target server is acquired;

[0013] A three-dimensional framework of the target server is rendered through a three-dimensional rendering engine;

[0014] The illustration of the mainboard is loaded into the three-dimensional framework to obtain the target three-dimensional model;

[0015] After matrix transformation of the coordinate information of each sensor, each sensor is mapped into the target three-dimensional model.

[0016] In the above embodiment, the target three-dimensional model of the target server is rendered through the illustration of the mainboard and the three-dimensional rendering engine, and then each sensor is mapped into the target three-dimensional model, so that the actual positions of each sensor in the target server can be determined intuitively through the target three-dimensional model, thereby facilitating quick positioning when data of a certain sensor is abnormal.

[0017] In one of the embodiments, the heat distribution of the target server is generated in the target three-dimensional model according to the coordinate information and the data information of each sensor, including:

[0018] A plurality of virtual points in a target region are determined according to the coordinate information of each sensor;

[0019] Sensor data values of each virtual point are generated by using an interpolation algorithm to perform data interpolation on the plurality of virtual points;

[0020] The heat distribution of the target server is generated according to the data information of each sensor and the sensor data values of the plurality of virtual points.

[0021] In the above embodiment, the virtual point interpolation is performed on the sensor data according to the positions and data of the sensors by using an interpolation algorithm, so that a continuous heat distribution of the target server is generated, and the problem of incomplete data caused by the limited number of sensors in the traditional monitoring is solved.

[0022] In one of the embodiments, a height field mapping is performed according to the heat distribution of the target server, so as to obtain a three-dimensional heat map of the target server, including:

[0023] The first Alpha value of each pixel point of the heat distribution of the target server is read, and each first Alpha value is taken as a dynamic displacement amount of each pixel point in the Y-axis direction, and the first Alpha value is used to represent the data strength of the heat distribution;

[0024] According to the preset scaling factor and data parameter range, the height field mapping is performed on each dynamic displacement amount, so as to obtain the three-dimensional heat map.

[0025] In the above embodiment, the height field mapping is performed on the heat distribution of the target server, so as to obtain the three-dimensional heat map of the target server, and the conversion from two-dimensional to three-dimensional is realized, and the data change of each sensor in the three-dimensional situation is more directly reflected.

[0026] In one of the embodiments, the method further includes:

[0027] According to the second Alpha value of each pixel point of the gray scale map of the heat distribution of the target server, the height of each vertex of the three-dimensional heat map is determined;

[0028] According to the alarm level, a corresponding display element is set at each vertex height;

[0029] A triggering operation on each display element is listened to, and in the case that the display element is triggered, the data information of the sensor corresponding to the display element is displayed.

[0030] In the above embodiment, the visual display of the sensor alarm is realized by placing alarm balls of different colors, and the triggering operation on each alarm ball is detected, so as to realize the display of the sensor information, improve the interaction efficiency, and support the rapid troubleshooting.

[0031] In one of the embodiments, the coordinate information and data information of each sensor in the target server are obtained by a baseboard management controller in the target server and synchronized to the target interface.

[0032] In a second aspect, the application further provides a server three-dimensional heat map generation device, which includes:

[0033] The obtaining module is configured to obtain the coordinate information and data information of each sensor in a target server through a target interface in response to a triggering operation on a target page.

[0034] a rendering module, configured to render a target three-dimensional model of the target server, and map each sensor into the target three-dimensional model according to the coordinate information of each sensor;

[0035] a generating module, configured to generate a heat distribution of the target server in the target three-dimensional model according to the coordinate information and the data information of each sensor;

[0036] a height mapping module, configured to perform height field mapping according to the heat distribution of the target server, to obtain a three-dimensional heat map of the target server, the three-dimensional heat map being used to represent the data distribution of each sensor.

[0037] In a third aspect, the present application also provides a computer device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method in any one of the first aspect when executing the computer program.

[0038] In a fourth aspect, the present application also provides a computer readable storage medium, which stores a computer program, and the computer program implements the steps of the method in any one of the first aspect when executed by a processor.

[0039] In a fifth aspect, the present application also provides a computer program product, comprising a computer program, and the computer program implements the steps of the method in any one of the first aspect when executed by a processor.

[0040] The server three-dimensional heat map generation method, device, equipment, medium and program product, first, in response to the triggering operation on the target page, the coordinate information and the data information of each sensor in the target server are obtained through a target interface, then a target three-dimensional model of the target server is rendered, and each sensor is mapped into the target three-dimensional model according to the coordinate information of each sensor, then a heat distribution of the target server in the target three-dimensional model is generated according to the coordinate information and the data information of each sensor, and finally, a three-dimensional heat map of the target server is obtained by performing height field mapping according to the heat distribution of the target server, which is used to represent the data distribution of each sensor. In this way, the three-dimensional model of the target server is rendered through the coordinate information and the data information of each sensor in the target server, then the heat distribution of the target server is generated, and the three-dimensional heat map of the target server is obtained according to the heat distribution, so that the data display of each sensor of the target server is more intuitive, and it is convenient for operation and maintenance personnel to use. BRIEF DESCRIPTION OF DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application or the related art. Obviously, the drawings in the following description only some embodiments of the present application, and for those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.

[0042] Figure 1 For an embodiment of the application environment map of the server three-dimensional heat map generation method;

[0043] Figure 2 For an embodiment of the application environment map of the server three-dimensional heat map generation method;

[0044] Figure 3 For another embodiment of the application environment map of the server three-dimensional heat map generation method;

[0045] Figure 4 For another embodiment of the application environment map of the server three-dimensional heat map generation method;

[0046] Figure 5 For another embodiment of the application environment map of the server three-dimensional heat map generation method;

[0047] Figure 6 For an embodiment of the application environment map of the server three-dimensional heat map generation method;

[0048] Figure 7 For another embodiment of the application environment map of the server three-dimensional heat map generation method;

[0049] Figure 8 For another embodiment of the application environment map of the server three-dimensional heat map generation method;

[0050] Figure 9 For another embodiment of the application environment map of the server three-dimensional heat map generation method;

[0051] Figure 10 For an embodiment of the application environment map of the server three-dimensional heat map generation method;

[0052] Figure 11 For another embodiment of the application environment map of the server three-dimensional heat map generation method;

[0053] Figure 12 For an embodiment of the application environment map of the server three-dimensional heat map generation method;

[0054] Figure 13 For an embodiment of the application environment map of the server three-dimensional heat map generation method;

[0055] Figure 14 Figure 1 is a schematic diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0056] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application.

[0057] It should be noted that the terms "first", "second", and the like used in the present application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "include" and "have" and any variations thereof used in the present application are intended to cover non-exclusive inclusion. The term "multiple" used in the present application refers to two or more. The term "and / or" used in the present application refers to one of the options or any combination of multiple options.

[0058] The server three-dimensional heat map generation method provided by the embodiments of the present application can be applied to the application environment as shown in Figure 1 . Among them, the terminal 102 communicates with the server 104 through the network. The server 104 is integrated with the BMC controller 106 for monitoring and managing the hardware state of the server 104. The BMC controller 106 is mainly connected with the server 104 through the hardware layer. Among them, the terminal 102 can be but not limited to various personal computers, notebook computers, smart phones, tablet computers and the like. The server 104 can be a stand-alone physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.

[0059] In an exemplary embodiment, as shown in Figure 2 , a server three-dimensional heat map generation method is provided. Taking the terminal in Figure 1 as an example, the method includes the following steps:

[0060] Step 201, in response to a triggering operation on a target page, obtaining coordinate information and data information of each sensor in a target server through a target interface.

[0061] Among them, the target page can be a page of BMC WEBUI (Web User Interface, WEB user interface), and the triggering operation on the target page can be that the user can access the BMC address through the browser of the terminal. After the user accesses the target page and passes the login authentication, the target page automatically obtains the coordinate information and data information of each sensor deployed in the target server through the target interface.

[0062] The target server is a server to be generated with a three-dimensional heat map. Different positions in the target server are deployed with various types of sensors, which can optionally include temperature sensors, power consumption sensors, etc. The coordinate information of each sensor is used to represent the position of each sensor in the target server, and the data information is used to represent the data collected by each sensor, such as temperature data and power consumption data.

[0063] Optionally, the coordinate information and data information of each sensor in the target server are obtained by the BMC in the target server and synchronized to the target interface. The BMC determines the coordinate information of each sensor by obtaining the configuration file of the target server in JSON format, wherein the configuration file stores the coordinate information of each sensor in the target server and is persistently stored in the NFS root file system. Then, the coordinate information of each sensor is transmitted to the message bus D-Bus interface. At the same time, the BMC can periodically obtain the real-time data of each sensor through the D-Bus bus and synchronize to the Redfish resource model. When the data of each sensor changes, the Redfish resource model is also updated synchronously to realize the update of the data information. The target interface is the interface of Redfish, and the BMC synchronizes the coordinate information and data information of each sensor to the target interface, so that the target page can obtain the coordinate information and data information of each sensor through the target interface.

[0064] Optionally, after obtaining the coordinate information and data information of each sensor in the target server, the validity of the data is further verified. If the data is valid, the next step is continued, and if the data is empty, the user is prompted with no data information.

[0065] In step 202, a target three-dimensional model of the target server is rendered, and each sensor is mapped to the target three-dimensional model according to the coordinate information of each sensor.

[0066] After obtaining the valid coordinate information of each sensor, the structure information of the target server is obtained, which can include the size information, appearance information, etc. of the target server. Then, the target three-dimensional model of the target server is rendered by a rendering tool according to the structure information of the target server. Further, each sensor is mapped to the target three-dimensional model according to the coordinate information of each sensor obtained in the above step, so that the specific position of each sensor in the target server can be intuitively viewed in the target three-dimensional model.

[0067] In step 203, a heat distribution of the target server is generated in the target three-dimensional model according to the coordinate information and data information of each sensor.

[0068] The heat distribution is a visualization technique, and the heat distribution of the target server can visually display the distribution of the data information of each sensor in the target server space in the form of color or graphics. For example, taking a temperature sensor as an example, the heat distribution can display the temperature of each sensor through different colors.

[0069] In step 204, height field mapping is performed according to the heat distribution of the target server to obtain a three-dimensional heat map of the target server.

[0070] The three-dimensional heat map is used to represent the data distribution of each sensor. The heat distribution of the target server is a two-dimensional plane data distribution, and the height field mapping is to convert the heat value in the heat distribution of the target sensor into a height value in a three-dimensional space, so as to obtain a three-dimensional heat map of the target server. Optionally, each sensor can include different types, and the three-dimensional heat map can display the three-dimensional heat map corresponding to different sensors through view switching, for example, a temperature view can display the three-dimensional heat map corresponding to the temperature sensor, and a power consumption view can display the three-dimensional heat map corresponding to the power consumption sensor, so as to realize the correlation analysis of different types of sensors.

[0071] In the above embodiment, first, in response to the triggering operation on the target page, the coordinate information and the data information of each sensor in the target server are obtained through the target interface, then a target three-dimensional model of the target server is rendered, and each sensor is mapped into the target three-dimensional model according to the coordinate information of each sensor, then the heat distribution of the target server is generated in the target three-dimensional model according to the coordinate information and the data information of each sensor, and finally, the height field mapping is performed according to the heat distribution of the target server to obtain a three-dimensional heat map of the target server, which is used to represent the data distribution of each sensor. In this way, the three-dimensional model of the target server is rendered through the coordinate information and the data information of each sensor in the target server, then the heat distribution of the target server is generated, and the three-dimensional heat map of the target server is obtained according to the heat distribution. The data display of each sensor of the target server is more intuitive, and it is convenient for operation and maintenance personnel to use.

[0072] In the embodiment of the present application, the rendering of step 202 obtains a target three-dimensional model of the target server, and each sensor is mapped into the target three-dimensional model according to the coordinate information of each sensor, as shown in Figure 3 , including:

[0073] In step 301, a mainboard schematic diagram of a target server is obtained.

[0074] The schematic diagram of the mainboard is a detailed plan view of the mainboard of the target server, and is used to show the positions, connection modes and identification information of various components on the mainboard. Optionally, the schematic diagram of the mainboard of the target server is obtained simultaneously in response to the triggering operation on the target page. The schematic diagram of the mainboard can be pre-stored in a database of the target server or the terminal, or can be obtained by querying an official technical document according to the model of the target server.

[0075] In step 302, the three-dimensional framework of the target server is obtained by rendering through a three-dimensional rendering engine.

[0076] The three-dimensional rendering engine can perform three-dimensional rendering, and is used to create and render three-dimensional graphics in a browser. Common three-dimensional rendering engines include Three.js, CesiumJS, Babylon.js and the like. The three-dimensional rendering engine in this embodiment can be Three.js, and the three-dimensional framework of the target server is constructed by BoxGeometry of Three.js. BoxGeometry is a class function used to create a regular geometric body.

[0077] In step 303, the schematic diagram of the mainboard is loaded to the three-dimensional framework to obtain a target three-dimensional model.

[0078] The schematic diagram of the mainboard is loaded to the three-dimensional framework in the form of a texture map, and UV coordinates are aligned. The UV coordinates are texture coordinates, and the alignment of the UV coordinates ensures that the schematic diagram of the mainboard can be correctly mapped to the surface of the three-dimensional framework, so as to obtain the target three-dimensional model.

[0079] In step 304, the coordinates of each sensor are transformed by a matrix, and each sensor is mapped to the target three-dimensional model.

[0080] The coordinates of each sensor are transformed by a matrix according to the obtained coordinates of each sensor, and the coordinates of each sensor are mapped to the coordinate system of the target three-dimensional model, so that the positions of the sensors are displayed in the target three-dimensional model. Optionally, an orthogonal projection is adopted to ensure the accuracy of the proportion of the target three-dimensional model.

[0081] In the above embodiment, the target three-dimensional model of the target server is obtained by the schematic diagram of the mainboard and the three-dimensional rendering engine, and then each sensor is mapped to the target three-dimensional model. The actual positions of the sensors in the target server can be determined intuitively through the target three-dimensional model, so that when the data of a sensor is abnormal, the sensor can be quickly located.

[0082] In one embodiment, a heat distribution of the target server is generated in the target three-dimensional model according to the coordinate information and data information of each sensor, as shown in FIG. 6. Figure 4 As shown in FIG. 6, the heat distribution of the target server includes:

[0083] At step 401, a plurality of virtual points in the target region are determined according to coordinate information of each sensor.

[0084] In the target server case, the number of sensors deployed is limited, and therefore the heat distribution obtained according to the data of each sensor is discrete, and a continuous heat field cannot be generated, resulting in an "island effect" in the visualization result. Therefore, in order to make the heat distribution more continuous, a continuous heat distribution can be generated by performing a virtual point difference algorithm on each sensor. In the target region, i.e., the range of the target server, the position information of the target server where no sensor is deployed is determined according to the coordinate information of each sensor, and a plurality of virtual points are generated according to the position information.

[0085] At step 402, an interpolation algorithm is used to interpolate data of the plurality of virtual points to generate sensor data values of each virtual point.

[0086] Optionally, the interpolation algorithm includes linear interpolation, bilinear interpolation, cubic spline interpolation, Kriging interpolation, or inverse distance weighted interpolation, etc. In the embodiment, a suitable interpolation algorithm can be selected according to actual needs to interpolate data of the plurality of virtual points, i.e., to generate corresponding sensor data values of each virtual point.

[0087] At step 403, a heat distribution of the target server is generated according to the data information of each sensor and the sensor data values of the plurality of virtual points.

[0088] After obtaining the sensor data of the plurality of virtual points, a continuous heat distribution can be generated according to the sensor data of each sensor and the sensor data of the virtual points by using heatmap.js, and an alpha channel bitmap is output. The heatmap.js is an open source library that can convert discrete data into a color gradient heat plane, and a two-dimensional heat map of the target server case is generated by using the heatmap.js to provide a data basis for subsequent three-dimensional mapping. The alpha channel is a transparency channel in graphic data, which can be used to control the transparency effect of an image.

[0089] In the above embodiment, the virtual point interpolation of each sensor data is performed according to the position and data of each sensor by using the interpolation algorithm, and a continuous heat distribution of the target server is generated, and the problem of incomplete data caused by the limited number of sensors in the traditional monitoring is solved.

[0090] In the embodiment of the present application, in order to generate a three-dimensional heat map from a two-dimensional heat distribution map, a height field mapping is performed according to the heat distribution of the target server to obtain a three-dimensional heat map of the target server, as shown in Figure 5 , which includes:

[0091] In step 501, the first Alpha value of each pixel point of the heat distribution of the target server is read, and each first Alpha value is taken as the dynamic displacement of each pixel point in the Y-axis direction.

[0092] The first Alpha value is used to represent the data intensity of the heat distribution. The first Alpha value corresponding to each pixel point in the heat distribution bitmap is obtained according to the bitmap with the Alpha channel output at the same time when the heat distribution is generated. The first Alpha value of each pixel point is taken as the dynamic displacement of each pixel point in the Y-axis direction.

[0093] In step 502, the dynamic displacement is height field mapped according to a preset scaling factor and a data parameter range, and a three-dimensional heat map is obtained.

[0094] The preset scaling factor and the data parameter range are set by the user according to the display requirement, or are input by the target page. Alternatively, the first Alpha value of each pixel point is obtained as the Y-axis dynamic displacement of each pixel point by a shader tool, and the height field mapping is performed in combination with the scaling factor and the data parameter range, and the calculation method is Y=Alpha*scaling factor. Finally, a three-dimensional heat map with a stereoscopic relief is generated.

[0095] At present, the implementation of the existing two-dimensional heat map usually depends on the processing of the CPU. The core process includes the steps of data preprocessing, gray brush superposition, and palette coloring. These steps are executed in series on the CPU. When the data point scale is large, the single-thread CPU processing will cause calculation delay and memory pressure. In order to reduce the CPU pressure, in the process of generating the three-dimensional heat map from the heat distribution, the frame buffer in the shader pipeline and the WebGL rendering process can run in the GPU acceleration calculation area, as shown in Figure 6 The GPU rendering pipeline of WebGL is activated, and the local resource integration is performed in cooperation with the CPU and GPU heterogeneous computing power, so as to avoid resource waste and improve the page response efficiency.

[0096] In the above embodiment, the three-dimensional heat map of the target server is obtained by height field mapping the heat distribution of the target server, the two-dimensional to three-dimensional conversion is realized, and the data change of each sensor in the three-dimensional situation is more directly reflected.

[0097] In one embodiment, in order to realize the dynamic interaction with the three-dimensional heat map, as shown in Figure 7 The step further includes:

[0098] In step 701, the height of each vertex of the three-dimensional heat map is determined according to the second Alpha value of each pixel point of the gray image of the heat distribution of the target server.

[0099] The second Alpha value of each pixel point in the grayscale image of the heat distribution of the target server is acquired, and the three-dimensional vertex height is calculated by combining a preset scaling factor and a basic height offset, so as to realize heat terrain vertex coordinate mapping and obtain the height information of each vertex in the three-dimensional heat map. The basic height offset can be input by a user or determined according to the difference between the mainboard schematic diagram and the coordinate origin.

[0100] In step 702, according to the alarm level, a corresponding display element is set at each vertex height.

[0101] For example, the display element can be an alarm ball of different colors, and the alarm ball of different colors is placed at the position of each vertex according to the alarm level, so that the severity of each alarm can be identified by color.

[0102] In step 703, a triggering operation on each display element is listened to, and in the case that the display element is triggered, the data information of the sensor corresponding to the display element is displayed.

[0103] Meanwhile, a triggering operation on each alarm ball is listened to. Optionally, the triggering operation can be that the alarm ball is passed when the mouse moves, for example, a mouse movement event triggers Three.js ray detection, calculates the nearest intersection point of the mouse ray and the alarm ball, projects the three-dimensional collision point to the screen coordinates to dynamically position, if collision occurs, it is determined that the display element is punished, and the detailed data information of the sensor corresponding to the display element is displayed through an information box, and the information box is hidden when there is no collision, so as to realize dynamic interaction with the three-dimensional heat map. The flowchart of dynamic interaction can be as shown in Figure 8 .

[0104] In the above embodiment, by placing alarm balls of different colors, the visualization display of sensor alarms is realized, and the triggering operation on each alarm ball is detected to display the sensor information, thereby improving the interaction efficiency and supporting rapid fault diagnosis.

[0105] In the embodiments of the present application, a server three-dimensional heat map generation method is provided, as shown in Figure 9 , which comprises the following steps.

[0106] In step 901, in response to a triggering operation on a target page, the coordinate information and data information of each sensor in a target server are acquired through a target interface.

[0107] In step 902, a mainboard schematic diagram of the target server is acquired.

[0108] In step 903, a three-dimensional framework of the target server is obtained by rendering through a three-dimensional rendering engine.

[0109] In step 904, the mainboard schematic diagram is loaded into the three-dimensional framework to obtain a target three-dimensional model.

[0110] Step 905, determining a plurality of virtual points in the target area according to the coordinate information of each sensor.

[0111] Step 906, performing data interpolation on the plurality of virtual points using an interpolation algorithm to generate sensor data values of each virtual point.

[0112] Step 907, generating a thermal distribution of the target server according to the data information of each sensor and the sensor data values of the plurality of virtual points.

[0113] Step 908, reading first Alpha values of each pixel point of the thermal distribution of the target server, and taking each first Alpha value as a dynamic displacement amount of each pixel point in the Y-axis direction.

[0114] Step 909, performing height field mapping on each dynamic displacement amount according to a preset scaling factor and a data parameter range to obtain a three-dimensional thermal map.

[0115] To facilitate the reader's understanding, the server three-dimensional thermal map generation method provided by the embodiments of the present application is exemplified as shown in Figure 10 The system architecture diagram of the server three-dimensional thermal map generation system corresponding to the server three-dimensional thermal map generation method. The hardware layer includes a BMC and each sensor physical interface to obtain the coordinate information and data information of each sensor, the data layer obtains data through a target interface and a JSON parser, the front-end layer generates a target three-dimensional model through a Three.js rendering engine, and the user layer displays the target three-dimensional model through a browser and realizes interaction with the user. The loading process of the target page is shown in Figure 11 The process of the BMC obtaining the coordinate information and data information of each sensor is shown in Figure 12 The user accesses the BMC address through the browser and completes authentication, the page is automatically triggered after loading to request the motherboard schematic diagram and the coordinate information and data information of each sensor through the target interface Redfish API, the data is parsed and verified for validity, if the data is empty, a no-data prompt is dynamically displayed, otherwise, the multi-source sensor information is synchronously rendered through the three-dimensional thermal map and the structured table, finally entering an interactive state, supporting user refresh, export or view switching operations, realizing the integrated display of dynamic acquisition, verification and visualization of each sensor data. Among them, the structured table can display the data information of multiple types of sensors, which can be set according to actual needs.

[0116] In the above embodiments, through the three-dimensional visualization engine, real-time data pipeline and deep interaction design, the problems of data display fragmentation, response delay and complicated operation of the traditional BMC monitoring system are solved, the operation and maintenance efficiency is improved, the target server overheating problem can be quickly and accurately located through the temperature view of the three-dimensional heat map, the hardware failure can be predicted through the real-time heat distribution, the hardware damage rate is reduced, and the fault prevention capability is improved. Through the interaction of the three-dimensional view, the display is more visual than the plane image and the traditional table display, which is convenient for operation and maintenance personnel to use.

[0117] It should be understood that, although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in the order indicated by the arrow. Unless otherwise specified herein, there is no strict order limitation for the execution of these steps, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but can be alternately executed with at least part of other steps or steps or stages in other steps. It can be understood that the steps in different embodiments can be freely combined as needed, and various non-contradictory schemes formed by the combination are within the scope of protection of the present application.

[0118] Based on the same inventive concept, the embodiments of the present application also provide a server three-dimensional heat map generation device for implementing the above-mentioned server three-dimensional heat map generation method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more server three-dimensional heat map generation device embodiments provided below can refer to the limitations of the server three-dimensional heat map generation method in the above text, which will not be repeated here.

[0119] In one exemplary embodiment, as shown in Figure 13 A server three-dimensional heat map generation device 1300 is provided, comprising: an acquisition module 1301, a rendering module 1302, a generation module 1303 and a height mapping module 1304, wherein:

[0120] The acquisition module 1301 is configured to acquire coordinate information and data information of each sensor in the target server through a target interface in response to a triggering operation on a target page;

[0121] The rendering module 1302 is configured to render a target three-dimensional model of the target server, and map each sensor into the target three-dimensional model according to the coordinate information of each sensor;

[0122] The generating module 1303 is configured to generate the heat distribution of the target server in the target three-dimensional model according to the coordinate information and the data information of each sensor.

[0123] The height mapping module 1304 is configured to perform height field mapping according to the heat distribution of the target server, to obtain a three-dimensional heat map of the target server, and the three-dimensional heat map is used to represent the data distribution of each sensor.

[0124] In one of the embodiments, the rendering module 1302 is specifically configured to obtain a schematic diagram of a motherboard of the target server; perform rendering through a three-dimensional rendering engine to obtain a three-dimensional framework of the target server; load the schematic diagram of the motherboard to the three-dimensional framework to obtain the target three-dimensional model; and map each sensor to the target three-dimensional model after performing matrix transformation on the coordinate information of each sensor.

[0125] In one of the embodiments, the generating module 1303 is specifically configured to determine a plurality of virtual points in a target area according to the coordinate information of each sensor; perform data interpolation on the plurality of virtual points by using an interpolation algorithm to generate a sensor data value of each virtual point; and generate the heat distribution of the target server according to the data information of each sensor and the sensor data value of the plurality of virtual points.

[0126] In one of the embodiments, the height mapping module 1304 is specifically configured to read a first Alpha value of each pixel point of the heat distribution of the target server, and use each first Alpha value as a dynamic displacement amount of each pixel point in a Y-axis direction, and the first Alpha value is used to represent a data intensity of the heat distribution; perform height field mapping on each dynamic displacement amount according to a preset scaling factor and a data parameter range to obtain the three-dimensional heat map.

[0127] In one of the embodiments, the apparatus further includes a display module configured to determine a height of each vertex of the three-dimensional heat map according to a second Alpha value of each pixel point of a grayscale map of the heat distribution of the target server; set a corresponding display element at each vertex height according to an alarm level; and listen to a triggering operation on each display element, and display data information of a sensor corresponding to the display element in a case where the display element is triggered.

[0128] In one of the embodiments, the coordinate information and the data information of each sensor in the target server are obtained by a baseboard management controller in the target server and synchronized to the target interface.

[0129] Each of the modules in the server three-dimensional heat map generation apparatus can be realized by software, hardware, and combinations thereof, in whole or in part. The modules can be embedded in or independent of a processor in a computer device in hardware form, or stored in a memory in a computer device in software form, so as to be called and executed by a processor to perform operations corresponding to each of the modules.

[0130] In an exemplary embodiment, a computer device, which can be a terminal, has an internal structure diagram as shown in Figure 14 The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to perform wired or wireless communication with external terminals. The wireless communication can be achieved through WIFI, mobile cellular network, Near Field Communication (NFC), or other technologies. The computer program is executed by the processor to implement a server three-dimensional heat map generation method. The display unit of the computer device is configured to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball, or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0131] Those skilled in the art can understand that Figure 14 The structure shown in the above

[0132] In one example embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program: in response to a triggering operation on a target page, obtaining coordinate information and data information of each sensor in a target server through a target interface; rendering a target three-dimensional model of the target server, and mapping each sensor into the target three-dimensional model according to the coordinate information of each sensor; generating a heat distribution of the target server in the target three-dimensional model according to the coordinate information and the data information of each sensor; performing height field mapping according to the heat distribution of the target server to obtain a three-dimensional heat map of the target server, and the three-dimensional heat map is used to represent the data distribution of each sensor.

[0133] In one embodiment, the processor further implements the following steps when executing the computer program: obtaining a schematic diagram of a motherboard of the target server; rendering a three-dimensional framework of the target server through a three-dimensional rendering engine; loading the schematic diagram of the motherboard into the three-dimensional framework to obtain the target three-dimensional model; and mapping each sensor into the target three-dimensional model after matrix transformation of the coordinate information of each sensor.

[0134] In one embodiment, the processor further implements the following steps when executing the computer program: determining a plurality of virtual points in a target area according to the coordinate information of each sensor; generating a sensor data value of each virtual point by using an interpolation algorithm to perform data interpolation on the plurality of virtual points; and generating a heat distribution of the target server according to the data information of each sensor and the sensor data values of the plurality of virtual points.

[0135] In one embodiment, the processor further implements the following steps when executing the computer program: reading a first Alpha value of each pixel point of the heat distribution of the target server, and taking each first Alpha value as a dynamic displacement amount of each pixel point in a Y-axis direction, and the first Alpha value is used to represent a data intensity of the heat distribution; and performing height field mapping on each dynamic displacement amount according to a preset scaling factor and a data parameter range to obtain the three-dimensional heat map.

[0136] In one embodiment, the processor further implements the following steps when executing the computer program: determining a height of each vertex of the three-dimensional heat map according to a second Alpha value of each pixel point of a grayscale map of the heat distribution of the target server; setting a corresponding display element at each vertex height according to an alarm level; and listening to a triggering operation on each display element, and displaying data information of a sensor corresponding to the display element in a case where the display element is triggered.

[0137] In one embodiment, the coordinate information and the data information of each sensor in the target server are obtained by a baseboard management controller in the target server and synchronized to the target interface.

[0138] In one embodiment, a computer readable storage medium is provided, and a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to implement the following steps: in response to a triggering operation on a target page, obtaining coordinate information and data information of each sensor in a target server through a target interface; rendering a target three-dimensional model of the target server, and mapping each sensor into the target three-dimensional model according to the coordinate information of each sensor; generating a heat distribution of the target server in the target three-dimensional model according to the coordinate information and the data information of each sensor; performing height field mapping according to the heat distribution of the target server to obtain a three-dimensional heat map of the target server, and the three-dimensional heat map is used to represent the data distribution of each sensor.

[0139] In one embodiment, the computer program is executed by the processor to further implement the following steps: obtaining a schematic diagram of a motherboard of the target server; rendering a three-dimensional framework of the target server through a three-dimensional rendering engine; loading the schematic diagram of the motherboard into the three-dimensional framework to obtain the target three-dimensional model; and mapping each sensor into the target three-dimensional model after matrix transformation of the coordinate information of each sensor.

[0140] In one embodiment, the computer program is executed by the processor to further implement the following steps: determining a plurality of virtual points in a target area according to the coordinate information of each sensor; generating a sensor data value of each virtual point by using an interpolation algorithm to perform data interpolation on the plurality of virtual points; and generating the heat distribution of the target server according to the data information of each sensor and the sensor data values of the plurality of virtual points.

[0141] In one embodiment, the computer program is executed by the processor to further implement the following steps: reading a first Alpha value of each pixel point of the heat distribution of the target server, and taking each first Alpha value as a dynamic displacement amount of each pixel point in a Y-axis direction, and the first Alpha value is used to represent the data intensity of the heat distribution; and performing height field mapping on each dynamic displacement amount according to a preset scaling factor and a data parameter range to obtain the three-dimensional heat map.

[0142] In one embodiment, the computer program is executed by the processor to further implement the following steps: determining the height of each vertex of the three-dimensional heat map according to a second Alpha value of each pixel point of a grayscale image of the heat distribution of the target server; setting a corresponding display element at each vertex height according to an alarm level; and listening to a triggering operation on each display element, and displaying the data information of the sensor corresponding to the display element in a case where the display element is triggered.

[0143] In one embodiment, the coordinate information and the data information of each sensor in the target server are obtained by a baseboard management controller in the target server and synchronized to the target interface.

[0144] In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the following steps: in response to a triggering operation on a target page, obtaining coordinate information and data information of each sensor in a target server through a target interface; rendering a target three-dimensional model of the target server, and mapping each sensor into the target three-dimensional model according to the coordinate information of each sensor; generating a heat distribution of the target server in the target three-dimensional model according to the coordinate information and the data information of each sensor; performing height field mapping according to the heat distribution of the target server to obtain a three-dimensional heat map of the target server, the three-dimensional heat map being used to represent data distribution of each sensor.

[0145] In one embodiment, the computer program, when executed by the processor, further implements the following steps: obtaining a schematic diagram of a motherboard of the target server; rendering a three-dimensional framework of the target server through a three-dimensional rendering engine; loading the schematic diagram of the motherboard into the three-dimensional framework to obtain the target three-dimensional model; and mapping each sensor into the target three-dimensional model after matrix transformation of the coordinate information of each sensor.

[0146] In one embodiment, the computer program, when executed by the processor, further implements the following steps: determining a plurality of virtual points in a target area according to the coordinate information of each sensor; generating a sensor data value of each virtual point by using an interpolation algorithm to perform data interpolation on the plurality of virtual points; and generating the heat distribution of the target server according to the data information of each sensor and the sensor data values of the plurality of virtual points.

[0147] In one embodiment, the computer program, when executed by the processor, further implements the following steps: reading first Alpha values of each pixel point of the heat distribution of the target server, and taking each first Alpha value as a dynamic displacement amount of each pixel point in a Y-axis direction, the first Alpha value being used to represent a data intensity of the heat distribution; and performing height field mapping on each dynamic displacement amount according to a preset scaling factor and a data parameter range to obtain the three-dimensional heat map.

[0148] In one embodiment, the computer program, when executed by the processor, further implements the following steps: determining heights of each vertex of the three-dimensional heat map according to second Alpha values of each pixel point of a grayscale image of the heat distribution of the target server; setting corresponding display elements at each vertex height according to an alarm level; and listening to a triggering operation on each display element, and displaying data information of a sensor corresponding to the display element in a case where the display element is triggered.

[0149] In one embodiment, the coordinate information and the data information of each sensor in the target server are obtained by a baseboard management controller in the target server and synchronized to the target interface.

[0150] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant regulations.

[0151] It can be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments of each method. In the embodiments provided in the present application, any reference to memory, database or other medium can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.

[0152] Any technical features in the above embodiments can be combined, and for the sake of brevity, not all possible combinations are described above, however, any combination of these technical features is deemed to be within the scope of the present application.

[0153] The above embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the patent scope of the present application. It should be pointed out that, for ordinary skilled persons in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A method for generating a three-dimensional heatmap of a server, characterized in that, The method comprises: in response to a triggering operation on a target page, obtaining coordinate information and data information of each sensor in a target server through a target interface; rendering a target three-dimensional model of the target server, and mapping each sensor into the target three-dimensional model according to the coordinate information of each sensor; generating a heat distribution of the target server in the target three-dimensional model according to the coordinate information and the data information of each sensor; performing height field mapping according to the heat distribution of the target server to obtain a three-dimensional heat map of the target server, and the three-dimensional heat map is used to represent the data distribution of each sensor.

2. The method of claim 1, wherein, The rendering of the target three-dimensional model of the target server and the mapping of each sensor into the target three-dimensional model according to the coordinate information of each sensor comprise: obtaining a schematic diagram of a mainboard of the target server; rendering by a three-dimensional rendering engine to obtain a three-dimensional framework of the target server; loading the schematic diagram of the mainboard into the three-dimensional framework to obtain the target three-dimensional model; after matrix transformation of the coordinate information of each sensor, mapping each sensor into the target three-dimensional model.

3. The method according to any one of claims 1 or 2, characterized in that, The generation of the heat distribution of the target server in the target three-dimensional model according to the coordinate information and the data information of each sensor comprises: determining a plurality of virtual points in a target area according to the coordinate information of each sensor; using an interpolation algorithm to perform data interpolation on a plurality of virtual points to generate a sensor data value of each virtual point; generating the heat distribution of the target server according to the data information of each sensor and the sensor data values of a plurality of virtual points.

4. The method of claim 3, wherein, The height field mapping according to the heat distribution of the target server to obtain the three-dimensional heat map of the target server comprises: reading a first Alpha value of each pixel point of the heat distribution of the target server, and taking each first Alpha value as a dynamic displacement amount of each pixel point in the Y-axis direction, and the first Alpha value is used to represent the data intensity of the heat distribution; performing height field mapping on each dynamic displacement amount according to a preset scaling factor and a data parameter range to obtain the three-dimensional heat map.

5. The method of claim 4, wherein, The method further comprises: determining the height of each vertex of the three-dimensional heat map according to a second Alpha value of each pixel point of a gray-scale map of the heat distribution of the target server; setting a corresponding display element at each vertex height according to an alarm level; listening to a triggering operation on each display element, and displaying the data information of the sensor corresponding to the display element if the display element is triggered.

6. The method of claim 1, wherein, The coordinate information and the data information of each sensor in the target server are obtained by a baseboard management controller in the target server and synchronized to the target interface.

7. A server three-dimensional heat map generation apparatus, characterized by comprising: The device comprises: an obtaining module, configured to obtain coordinate information and data information of each sensor in a target server through a target interface in response to a triggering operation on a target page; a rendering module, configured to render a target three-dimensional model of the target server, and map each of the sensors into the target three-dimensional model according to coordinate information of each of the sensors; a generating module, configured to generate a thermal distribution of the target server in the target three-dimensional model according to the coordinate information and data information of each of the sensors; a height mapping module, configured to perform height field mapping according to the thermal distribution of the target server to obtain a three-dimensional thermal map of the target server, the three-dimensional thermal map being used to represent data distribution of each of the sensors.

8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The processor executes the computer program to implement the steps of the method in any one of claims 1 to 6.

9. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 6.

10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 6.