Machine room visualization method and device
By using three-dimensional virtual models and real-time status information in the computer room, the problem of low visualization in the computer room in the existing technology is solved, and more efficient equipment management and monitoring is achieved.
Patent Information
- Application Number
- CN202510087725.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-05-06
AI Technical Summary
In the prior art, the computer room has a low degree of visualization, making it difficult to effectively manage and monitor the equipment and environment in the computer room.
By obtaining the pre-built initial computer room three-dimensional virtual model, users can add and drag the device three-dimensional model in the virtual environment and display the device status information in real time to improve the visualization of the computer room.
It realizes more efficient visualization and management of equipment and environment in the computer room, and improves the convenience of safety monitoring and equipment maintenance.
Smart Images

Figure CN119938457A_ABST
Abstract
Description
[0001] This application is filed on September 27, 2024, with application number 202411355791.X, and the name of the invention is " This is a divisional application of a patent application entitled "Visualization method and device for a computer program product" and the entire contents of the parent application are incorporated herein by reference. Application in progress. Technical Field
[0002] The present application relates to the technical field of data visualization, and in particular to a visualization method and device for a computer room. Background Art
[0003] A computer room usually refers to a room specially designed to store servers, network equipment, etc. to support the continuous operation of computer systems and data processing activities. They can be core facilities of enterprises, government agencies or telecommunications operators, and are essential to maintaining the normal operation of information technology. The construction and management of a computer room need to consider multiple aspects, including structure, system, service and management, to ensure an efficient, convenient and safe environment. A data center computer room is a form of computer room, which includes a main computer room, basic workrooms, auxiliary rooms, etc. The main computer room stores a large number of switches, server clusters, etc., and is the core of integrated wiring and information network equipment. Regardless of the type of computer room, security monitoring is essential to ensure the normal operation of each device in the computer room.
[0004] However, the visualization level of the existing technology computer room is low. Summary of the invention
[0005] The embodiments of the present application provide a method and device for visualizing a computer room, which can improve the visualization level of the computer room.
[0006] In a first aspect, the computer room visualization method provided by the present application includes: Acquire a pre-built initial three-dimensional virtual model of the computer room, wherein the initial three-dimensional virtual model of the computer room includes a plurality of first equipment placement areas, wherein different first equipment placement areas are used to place different types of computer room equipment; When a device adding instruction issued by the user is obtained, an environmental control setting pop-up window is issued, and the environmental control setting pop-up window is used to fill in the device information of the device to be added; When the device information of the device to be added is obtained, a device three-dimensional model of the device to be added is generated based on the device information of the device to be added; Based on the device type of the device to be added, the three-dimensional model of the device is placed in a first device placement area that matches the device type of the device to be added, to obtain a three-dimensional virtual model of the target computer room and display it on a first preset display interface; When a dragging instruction of a user dragging a three-dimensional model of a device from the first preset display interface to the second preset display interface is obtained, the device type of the three-dimensional model of the device being dragged by the dragging instruction is obtained, wherein a plurality of second device placement areas and a plurality of system status display areas are provided on the second preset display interface; placing the dragged device three-dimensional model into the second device placement area on the second preset display interface that matches the device type of the dragged device three-dimensional model, wherein the layout of the plurality of first device placement areas on the first preset display interface is different from the layout of the plurality of second device placement areas on the second preset display interface; The real-time status information of the three-dimensional models of some devices in the second device placement area on the second preset display interface is displayed in the plurality of system status display areas.
[0007] Optionally, the obtaining of a pre-built initial three-dimensional virtual model of the computer room includes: Acquire architectural structure information of a real computer room, wherein the architectural structure information includes wall information and floor information, wherein the real computer room includes a plurality of sub-computer rooms separated by walls; The initial three-dimensional virtual model of the computer room is constructed based on the building structure information, wherein the initial three-dimensional virtual model of the computer room includes a floor model and a wall model on the floor model, and the floor model is divided by the wall model into a plurality of first equipment placement areas corresponding one to one to the plurality of sub-computer rooms.
[0008] Optionally, the sub-computer room includes a plurality of equipment placement positions, a plurality of first equipment sub-regions corresponding to the plurality of equipment placement positions are provided in the first equipment placement area, and the plurality of first equipment sub-regions are arranged in an array, and the device type of the device to be added is based on the device type of the device to be added. The device three-dimensional model is placed in the first equipment placement area matching the device type of the device to be added, and the target computer room three-dimensional virtual model is obtained and displayed on the first preset display interface, including: Determine a first device placement area corresponding to the device to be added based on the device type of the device to be added; Searching the first device sub-area corresponding to the device placement position where the device to be added is located in the first device placement area corresponding to the device to be added; The device three-dimensional model corresponding to the device to be added is placed in the first device sub-area matching the device type of the device to be added, and a three-dimensional virtual model of the target computer room is obtained and displayed on a first preset display interface.
[0009] Optionally, the second preset display interface includes a device model display area, a plurality of the second device placement areas are located in the device model display area, a plurality of the system status display areas surround the device model display area, the plurality of the system status display areas include a system overall status display area and a plurality of device information display areas, and the plurality of the device information display areas correspond one to one to the plurality of the second device placement areas. The visualization method of the computer room includes: When it is obtained that the user clicks on the target device three-dimensional model on the second device placement area, obtaining the target device information display area corresponding to the second device placement area where the target device three-dimensional model is located; The real-time status information of the device corresponding to the three-dimensional model of the target device is displayed in the target device information display area.
[0010] Optionally, the second device placement area includes a plurality of second device sub-areas, and the second device sub-areas are used to place the three-dimensional model of the device dragged by the user; the visualization method of the computer room includes: When it is obtained that the user clicks on the target device three-dimensional model on the second device sub-area, a preset device association relationship is obtained, wherein the device association relationship includes associated device three-dimensional models corresponding to each device three-dimensional model; Acquire a three-dimensional model of a device associated with the three-dimensional model of the target device; While the real-time device status information corresponding to the target device three-dimensional model is displayed in the target device information display area, the real-time device status information of the associated device three-dimensional model of the target device three-dimensional model is displayed in the corresponding device information display area.
[0011] Optionally, displaying the real-time status information of the three-dimensional models of some devices in the second device placement area on the second preset display interface in the plurality of system status display areas includes: Obtaining the number of alarms that occurred in the three-dimensional model of each device in the second device placement area within a historical time period; Determining a display priority based on the alarm number, wherein the higher the alarm number, the higher the display priority; The real-time status information of the device three-dimensional model with the highest display priority in the second device placement area on the second preset display interface is displayed in the corresponding system status display area.
[0012] Optionally, the computer room visualization method includes: After the three-dimensional virtual model of the target computer room is obtained and displayed on the first preset display interface, it is determined whether an alarm occurs in the three-dimensional model of each device in the three-dimensional virtual model of the target computer room based on a preset alarm strategy; Displaying an alarm mark on the top of the three-dimensional model of the alarm device where the alarm occurs on the three-dimensional virtual model of the target computer room; Adjusting the color of the three-dimensional model of the alarm device to a preset color; When it is detected that the alarm mark of the three-dimensional model of the alarm device is clicked, a pop-up window is popped up to display the alarm information.
[0013] In a second aspect, the visualization device of a computer room provided by the present application includes: A first acquisition module is used to acquire a pre-built initial three-dimensional virtual model of the computer room, wherein the initial three-dimensional virtual model of the computer room includes a plurality of first equipment placement areas, wherein different first equipment placement areas are used to place different types of computer room equipment; An issuing module, configured to issue an environmental control setting pop-up window when a device adding instruction issued by a user is obtained, wherein the environmental control setting pop-up window is used to fill in the device information of the device to be added; A generating module, configured to generate a three-dimensional device model of the device to be added based on the device information of the device to be added when the device information of the device to be added is obtained; A first placing module, used for placing the three-dimensional model of the device into a first device placement area matching the device type of the device to be added based on the device type of the device to be added, obtaining a three-dimensional virtual model of the target computer room and displaying it on a first preset display interface; A second acquisition module is used to acquire, when acquiring a drag instruction of a user to drag a three-dimensional model of a device from the first preset display interface to a second preset display interface, a device type of the three-dimensional model of the device being dragged by the drag instruction, wherein a plurality of second device placement areas and a plurality of system status display areas are provided on the second preset display interface; A second placing module is used to place the dragged device three-dimensional model into the second device placement area on the second preset display interface that matches the device type of the dragged device three-dimensional model, wherein the layout of the plurality of first device placement areas on the first preset display interface is different from the layout of the plurality of second device placement areas on the second preset display interface; The display module is used to display the real-time status information of the three-dimensional models of some devices in the second device placement area on the second preset display interface in the multiple system status display areas.
[0014] Optionally, the obtaining of a pre-built initial three-dimensional virtual model of the computer room includes: Acquire architectural structure information of a real computer room, wherein the architectural structure information includes wall information and floor information, wherein the real computer room includes a plurality of sub-computer rooms separated by walls; The initial three-dimensional virtual model of the computer room is constructed based on the building structure information, wherein the initial three-dimensional virtual model of the computer room includes a floor model and a wall model on the floor model, and the floor model is divided by the wall model into a plurality of first equipment placement areas corresponding one to one to the plurality of sub-computer rooms.
[0015] Optionally, the sub-computer room includes a plurality of equipment placement positions, a plurality of first equipment sub-regions corresponding to the plurality of equipment placement positions are provided in the first equipment placement area, and the plurality of first equipment sub-regions are arranged in an array, and the device type of the device to be added is based on the device type of the device to be added. The device three-dimensional model is placed in the first equipment placement area matching the device type of the device to be added, and the target computer room three-dimensional virtual model is obtained and displayed on the first preset display interface, including: Determine a first device placement area corresponding to the device to be added based on the device type of the device to be added; Searching the first device sub-area corresponding to the device placement position where the device to be added is located in the first device placement area corresponding to the device to be added; The device three-dimensional model corresponding to the device to be added is placed in the first device sub-area matching the device type of the device to be added, and a three-dimensional virtual model of the target computer room is obtained and displayed on a first preset display interface.
[0016] Optionally, the second preset display interface includes a device model display area, a plurality of the second device placement areas are located in the device model display area, a plurality of the system status display areas surround the device model display area, the plurality of the system status display areas include a system overall status display area and a plurality of device information display areas, and the plurality of the device information display areas correspond one to one to the plurality of the second device placement areas. The visualization method of the computer room includes: When it is obtained that the user clicks on the target device three-dimensional model on the second device placement area, obtaining the target device information display area corresponding to the second device placement area where the target device three-dimensional model is located; The real-time status information of the device corresponding to the three-dimensional model of the target device is displayed in the target device information display area.
[0017] Optionally, the second device placement area includes a plurality of second device sub-areas, and the second device sub-areas are used to place the three-dimensional model of the device dragged by the user; the visualization method of the computer room includes: When it is obtained that the user clicks on the target device three-dimensional model on the second device sub-area, a preset device association relationship is obtained, wherein the device association relationship includes associated device three-dimensional models corresponding to each device three-dimensional model; Acquire a three-dimensional model of a device associated with the three-dimensional model of the target device; While the real-time device status information corresponding to the target device three-dimensional model is displayed in the target device information display area, the real-time device status information of the associated device three-dimensional model of the target device three-dimensional model is displayed in the corresponding device information display area.
[0018] Optionally, displaying the real-time status information of the three-dimensional models of some devices in the second device placement area on the second preset display interface in the plurality of system status display areas includes: Obtaining the number of alarms that occurred in the three-dimensional model of each device in the second device placement area within a historical time period; Determining a display priority based on the alarm number, wherein the higher the alarm number, the higher the display priority; The real-time status information of the device three-dimensional model with the highest display priority in the second device placement area on the second preset display interface is displayed in the corresponding system status display area.
[0019] Optionally, the computer room visualization method includes: After the three-dimensional virtual model of the target computer room is obtained and displayed on the first preset display interface, it is determined whether an alarm occurs in the three-dimensional model of each device in the three-dimensional virtual model of the target computer room based on a preset alarm strategy; Displaying an alarm mark on the top of the three-dimensional model of the alarm device where the alarm occurs on the three-dimensional virtual model of the target computer room; Adjusting the color of the three-dimensional model of the alarm device to a preset color; When it is detected that the alarm mark of the three-dimensional model of the alarm device is clicked, a pop-up window is popped up to display the alarm information.
[0020] In a third aspect, the electronic device provided in the present application includes a memory and a processor, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to implement the steps in the computer room visualization method provided in the present application.
[0021] In a fourth aspect, the computer-readable storage medium provided in the present application stores a plurality of instructions, which are suitable for loading by a processor to implement the steps in the computer room visualization method provided in the present application.
[0022] In a fifth aspect, the computer program product provided in the present application includes a computer program or instructions, which, when executed by a processor, implement the steps in the computer room visualization method provided in the present application.
[0023] In the present application, compared with the related art, a pre-built initial three-dimensional virtual model of the computer room is obtained, wherein the initial three-dimensional virtual model of the computer room includes multiple first equipment placement areas, wherein different first equipment placement areas are used to place different types of computer room equipment; when a device adding instruction issued by a user is obtained, an environmental control setting pop-up window is issued, and the environmental control setting pop-up window is used to fill in the device information of the device to be added; when the device information of the device to be added is obtained, a device three-dimensional model of the device to be added is generated based on the device information of the device to be added; based on the device type of the device to be added, the device three-dimensional model is placed in the first device placement area matching the device type of the device to be added, and the target computer room three-dimensional virtual model is obtained and displayed on the first preset display interface; when the device adding instruction issued by the user is obtained, an environmental control setting pop-up window is issued, and the environmental control setting pop-up window is used to fill in the device information of the device to be added; when the device information of the device to be added is obtained, the device three-dimensional model of the device to be added is generated based on the device information of the device to be added; based on the device type of the device to be added, the device three-dimensional model is placed in the first device placement area matching the device type of the device to be added, and the target computer room three-dimensional virtual model is obtained and displayed on the first preset display interface; When a user issues a drag command to drag a three-dimensional model of a device from a first preset display interface to a second preset display interface, the device type of the three-dimensional model of the device being dragged by the drag command is obtained, wherein the second preset display interface is provided with multiple second device placement areas and multiple system status display areas; the three-dimensional model of the device being dragged is placed in a second device placement area on the second preset display interface that matches the device type of the three-dimensional model of the device being dragged, wherein the layout of the multiple first device placement areas on the first preset display interface is different from the layout of the multiple second device placement areas on the second preset display interface; the real-time status information of the device three-dimensional models of some devices in the second device placement area on the second preset display interface is displayed in multiple system status display areas. This application can improve the visualization of the computer room. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 It is a scene schematic diagram of a visualization system of a computer room provided in an embodiment of the present application; Figure 2 It is a flowchart of an embodiment of a method for visualizing a computer room provided in an embodiment of the present application; Figure 3 It is a structural schematic diagram of a visualization device for a computer room provided in an embodiment of the present application; Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] It should be noted that the principles of the present application are illustrated by implementing them in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application and should not be considered as limiting other specific embodiments of the present application that are not described in detail herein.
[0027] In the following description of the present application, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0028] In the following description of the present application, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0030] In order to improve the visualization effect of a computer room, the embodiments of the present application provide a computer room visualization method, a computer room visualization device, an electronic device, a computer readable storage medium, and a computer program product. The computer room visualization method can be executed by the computer room visualization device, or by an electronic device integrated with the computer room visualization device.
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0032] Please refer to Figure 1 ,This application also provides a visualization system for a computer room, such as Figure 1 As shown, the visualization system of the computer room includes an electronic device 100, and the visualization device of the computer room provided by the present application is integrated in the electronic device 100.
[0033] Among them, the electronic device 100 can be any device equipped with a processor and has processing capabilities, such as mobile electronic devices with processors such as smart phones, tablet computers, PDAs, laptops, smart speakers, or fixed electronic devices with processors such as desktop computers, televisions, servers, industrial equipment, etc.
[0034] In addition, if Figure 1 As shown, the visualization system of the computer room may further include a memory 200 for storing original data, intermediate data and result data.
[0035] In the embodiment of the present application, the memory may be a cloud memory. Cloud storage is a new concept extended and developed from the concept of cloud computing. A distributed cloud storage system (hereinafter referred to as the storage system) refers to a storage system that uses cluster applications, grid technology, and distributed storage file systems to bring together a large number of storage devices of various types (storage devices are also called storage nodes) in the network through application software or application interfaces to work together and provide external data storage and business access functions.
[0036] At present, the storage method of the storage system is: create a logical volume, and when creating a logical volume, allocate physical storage space for each logical volume, and the physical storage space may be composed of disks of a storage device or several storage devices. The client stores data on a logical volume, that is, stores the data on the file system. The file system divides the data into many parts, each of which is an object. The object contains not only data but also additional information such as data identification (ID, ID entity). The file system writes each object into the physical storage space of the logical volume, and the file system records the storage location information of each object, so that when the client requests to access the data, the file system can allow the client to access the data according to the storage location information of each object.
[0037] The process of the storage system allocating physical storage space to a logical volume is as follows: based on the estimated capacity of the objects stored in the logical volume (this estimate often has a large margin relative to the actual capacity of the objects to be stored) and the grouping of independent redundant disk arrays (RAID, Redundant Array of Independent Disks), the physical storage space is divided into stripes in advance. A logical volume can be understood as a stripe, thereby allocating physical storage space to the logical volume.
[0038] It should be noted that Figure 1 The scene diagram of the visualization system of the computer room shown is merely an example. The visualization system and scene of the computer room described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the visualization system of the computer room and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is equally applicable to similar technical problems.
[0039] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.
[0040] Please refer to Figure 2 , Figure 2 is a flow chart of an embodiment of a method for visualizing a computer room provided in an embodiment of the present application, such as Figure 2 As shown, the process of the computer room visualization method provided by this application is as follows: 201. Obtain a pre-built initial three-dimensional virtual model of the computer room.
[0041] The initial three-dimensional virtual model of the computer room includes a plurality of first equipment placement areas, wherein different first equipment placement areas are used to place different types of computer room equipment.
[0042] The environmental monitoring system is a computer network that comprehensively utilizes computer network technology, database technology, communication technology, automatic control technology, new sensor technology, etc. It provides an automated, intelligent and efficient technical means based on computer technology and centralized management and monitoring mode. The system monitors mainly equipment such as computer room power and environmental equipment.
[0043] The environmental monitoring system has powerful environmental monitoring functions and can monitor multiple parameters in the environment in real time, such as temperature, humidity, air quality, light intensity, etc. Through sensors installed in various areas, the system can collect environmental parameter data in real time and transmit it to the central control unit for analysis and processing. In this way, users can understand the current environmental conditions at any time, providing data support for subsequent environmental adjustment and control.
[0044] Computer rooms usually refer to rooms specially designed to house servers, network equipment, etc. to support the continuous operation of computer systems and data processing activities. They can be core facilities of enterprises, government agencies or telecommunications operators, and are essential to maintaining the normal operation of information technology. The construction and management of computer rooms need to consider multiple aspects, including structure, system, service and management, to ensure an efficient, convenient and safe environment.
[0045] The data center room is a form of computer room, which includes the main computer room, basic workroom, auxiliary rooms, etc. The main computer room stores a large number of switches, server clusters, etc., and is the core of integrated wiring and information network equipment. Regardless of the type of computer room, security monitoring is essential to ensure the normal operation of the equipment in the computer room, especially temperature and humidity monitoring, which is more important for the safety in the computer room.
[0046] In the embodiment of the present application, the initial three-dimensional virtual model of the computer room can be manually created. Different types of computer room equipment can be distribution boxes, UPS equipment, air conditioning equipment, and temperature and humidity detection equipment.
[0047] In another specific embodiment, obtaining a pre-built initial three-dimensional virtual model of a computer room includes: (1) Obtaining architectural structure information of a real computer room, where the architectural structure information includes wall information and floor information. The real computer room includes multiple sub-computer rooms separated by walls.
[0048] (2) Constructing an initial three-dimensional virtual model of the computer room based on the building structure information. The initial three-dimensional virtual model of the computer room includes a floor model and a wall model on the floor model. The floor model is divided by the wall model into a plurality of first equipment placement areas corresponding to the plurality of sub-computer rooms.
[0049] In the embodiment of the present application, the initial three-dimensional virtual model of the computer room is a three-dimensional model obtained by scaling the real computer room according to a preset ratio. The layout of the initial three-dimensional virtual model of the computer room is the same as that of the real computer room. Since the wall model is added, the physical division between the various devices can be clearly seen, which is convenient for users to observe.
[0050] 202. When a device adding instruction issued by the user is obtained, an environmental control setting pop-up window is issued.
[0051] The environmental control settings pop-up window is used to fill in the device information of the device to be added.
[0052] In the embodiments of the present application, the user may issue a device adding instruction in various ways.
[0053] In the embodiment of the present application, the environmental control setting pop-up window is used to fill in the device information of the device to be added.
[0054] In the embodiment of the present application, the environment control setting pop-up window provides a text box for filling in the device information of the device to be added, and the user can fill in the device information of the device to be added in the text box. The device information of the device to be added may include the environment control data source, IP, port, account, password, and alarm group.
[0055] 203. When the device information of the device to be added is obtained, a device three-dimensional model of the device to be added is generated based on the device information of the device to be added.
[0056] In the embodiment of the present application, different devices to be added have different three-dimensional device models, and the three-dimensional device models of different devices to be added can be preset.
[0057] In a specific embodiment, the equipment 3D model is a 3D model obtained by scaling the real equipment in the computer room according to a preset ratio, wherein the preset ratio may be 100:1 or other values, which are set according to specific circumstances.
[0058] In another specific embodiment, in order to improve the authenticity of the three-dimensional model of the equipment, a number of modeling images uploaded by the user are obtained, wherein the several modeling images are collected by the user using different shooting angles for the equipment in the computer room; based on the target key feature points of the several modeling images, the several modeling images are combined to obtain a modeling image group; and the modeling image group is used to perform three-dimensional reconstruction to obtain a three-dimensional model of the equipment in the computer room. The target key feature points are obtained by feature recognition according to the connection position and similarity of the images, and the modeling images are further combined to obtain a modeling image group.
[0059] In an embodiment of the present application, based on the target key feature points of the multiple modeling images, the multiple modeling images are combined to obtain a modeling image group, including: based on the target key feature points of the multiple modeling images, the multiple modeling images are arranged in a ring in a preset order to obtain a modeling image group. Specifically, according to the target key feature points of the multiple modeling images, the multiple modeling images are arranged in a ring in the order of shooting or the order of arrangement of the key feature points of the images to obtain a modeling image group. According to the order of image sorting in the modeling image group, the multiple modeling images are sequentially three-dimensionally reconstructed to obtain a three-dimensional model of the equipment in the computer room.
[0060] 204. Based on the device type of the device to be added, place the device three-dimensional model in a first device placement area matching the device type of the device to be added, obtain the target computer room three-dimensional virtual model and display it on a first preset display interface.
[0061] In the embodiment of the present application, the sub-machine room includes a plurality of equipment placement positions. A plurality of first equipment sub-regions corresponding to the plurality of equipment placement positions are provided in the first equipment placement region, and the plurality of first equipment sub-regions are arranged in an array. Based on the device type of the device to be added, the device three-dimensional model is placed in the first device placement region matching the device type of the device to be added, and the three-dimensional virtual model of the target machine room is obtained and displayed on the first preset display interface, including: (1) Determine a first device placement area corresponding to the device to be added based on the device type of the device to be added.
[0062] In the embodiment of the present application, different first device placement areas correspond to devices of different device types.
[0063] (2) Searching the first device sub-area corresponding to the device placement position where the device to be added is located in the first device placement area corresponding to the device to be added.
[0064] In the embodiment of the present application, the position of the equipment placement position corresponds to the position of the first equipment sub-area one-to-one. The position relationship of the multiple equipment placement positions in the sub-machine room is the same as the position relationship of the multiple first equipment sub-areas in the first equipment placement area.
[0065] (3) The device 3D model corresponding to the device to be added is placed in the first device sub-area matching the device type of the device to be added, and the 3D virtual model of the target computer room is obtained and displayed on the first preset display interface.
[0066] The layout of the initial computer room 3D virtual model is the same as that of the real computer room, and the layout and position of each equipment 3D model in the initial computer room 3D virtual model are the same as that of each equipment in the real computer room. After adding equipment, the position and shape of each added equipment can be clearly seen in the first preset display interface, which is convenient for staff to view.
[0067] 205. When a drag instruction is obtained for the user to drag the three-dimensional model of the device from the first preset display interface to the second preset display interface, obtain a device type of the three-dimensional model of the device being dragged by the drag instruction.
[0068] Among them, the second preset display interface is provided with multiple second device placement areas and multiple system status display areas.
[0069] In the embodiment of the present application, the plurality of second equipment placement areas are respectively used to place the three-dimensional models of the distribution box, UPS equipment, air conditioning equipment and temperature and humidity detection equipment. The plurality of system status display areas are used to display the system status of the equipment on the second equipment placement area.
[0070] In an embodiment of the present application, the second preset display interface includes a device model display area, multiple second device placement areas are located in the device model display area, multiple system status display areas surround the device model display area, the multiple system status display areas include a system overall status display area and multiple device information display areas, the multiple device information display areas and the multiple second device placement areas correspond one to one, the second device placement area includes multiple second device sub-areas, and the second device sub-areas are used to place the three-dimensional model of the device dragged by the user.
[0071] In the embodiment of the present application, the multiple equipment information display areas are respectively a distribution box information display area, a UPS equipment information display area, an air conditioning equipment information display area, and a temperature and humidity information display area, which are respectively used to display the equipment information of the distribution box, UPS equipment, air conditioning equipment, and temperature and humidity detection equipment; the system overall status display area is used to display the computer room information of the entire computer room.
[0072] 206 . Place the three-dimensional model of the dragged device into a second device placement area on the second preset display interface that matches the device type of the three-dimensional model of the dragged device.
[0073] Among them, the layout of the multiple first device placement areas on the first preset display interface is different from the layout of the multiple second device placement areas on the second preset display interface.
[0074] In the embodiment of the present application, the layout of multiple first device placement areas on the first preset display interface is the same as the layout of a real computer room, which is convenient for users to view the devices.
[0075] Specifically, the layout of the plurality of second device placement areas on the second preset display interface is an array arrangement. The layout of the plurality of second device placement areas on the second preset display interface is relatively compact, so as to facilitate displaying more three-dimensional device models.
[0076] Furthermore, on the second preset display interface, the top of the device three-dimensional model displays the real position information of the device three-dimensional model.
[0077] Furthermore, in order to facilitate the operation of elements on the second preset display interface, the three-dimensional equipment model of the same equipment room equipment on the second preset display interface is different from the three-dimensional equipment model on the first preset display interface.
[0078] In a specific embodiment, the drag position of the three-dimensional model of the dragged device by the drag instruction is detected. If the drag position of the three-dimensional model of the dragged device is located within a first preset display interface, it is displayed in a first three-dimensional form. If the drag position of the three-dimensional model of the dragged device is located within a second preset display interface, it is displayed in a second three-dimensional form.
[0079] Among them, the first three-dimensional form of each computer room equipment in the first preset display interface is a three-dimensional model of equipment with different sizes obtained by scaling each computer room equipment according to the same preset ratio; the second three-dimensional form of each computer room equipment in the second preset display interface is a three-dimensional model of equipment obtained by scaling each computer room equipment according to different ratios. The scaling ratio of each computer room equipment in the second preset display interface is proportional to the volume of each computer room equipment. Of course, the second three-dimensional form of each computer room equipment in the second preset display interface can be a three-dimensional model of equipment with the same volume. Since the second preset display interface is mainly used to display the monitoring information of each computer room equipment, modifying the three-dimensional model of the equipment in the second preset display interface to have the same volume can display more information.
[0080] 207. Display the real-time status information of the three-dimensional models of some devices in the second device placement area on the second preset display interface in the multiple system status display areas.
[0081] In the embodiment of the present application, different three-dimensional equipment models have different real-time status information. For example, the real-time status information of a UPS device includes battery temperature, battery life, and the like.
[0082] In the embodiment of the present application, the real-time status information of the device of the three-dimensional model of some devices in the second device placement area on the second preset display interface is displayed in multiple system status display areas, including: (1) Obtain the number of alarms that occurred in the three-dimensional model of each device in the second device placement area within a historical time period.
[0083] In the embodiment of the present application, after the three-dimensional virtual model of the target computer room is obtained and displayed on the first preset display interface, it is determined whether the three-dimensional models of each device in the three-dimensional virtual model of the target computer room have an alarm based on the preset alarm strategy; an alarm mark is displayed on the top of the three-dimensional model of the alarm device that has an alarm on the three-dimensional virtual model of the target computer room; the color of the three-dimensional model of the alarm device is adjusted to a preset color; when it is detected that the alarm mark of the three-dimensional model of the alarm device is clicked, an alarm information display pop-up window pops up. The alarm information display pop-up window is used to display alarm information. Among them, the preset color can be red or other colors different from the three-dimensional model of the device itself.
[0084] (2) Determine the display priority based on the number of alarms, where the higher the number of alarms, the higher the display priority.
[0085] In a specific embodiment, the alarm time difference between the last alarm time and the current time of each device three-dimensional model is obtained, and the display priority is determined based on the alarm time difference and the number of alarms of each device three-dimensional model, wherein the higher the number of alarms, the higher the display priority, and the smaller the alarm time difference, the higher the display priority.
[0086] (3) Displaying the real-time status information of the three-dimensional model of the device with the highest display priority in the second device placement area on the second preset display interface in the corresponding system status display area.
[0087] Each system status display area displays the real-time status information of the device of the three-dimensional model with the highest display priority in the second device placement area.
[0088] Further, the visualization methods of the computer room include: (1) When it is obtained that the user clicks on the target device three-dimensional model on the second device placement area, the target device information display area corresponding to the second device placement area where the target device three-dimensional model is located is obtained.
[0089] For example, if the target device three-dimensional model is the temperature and humidity detection device A, the temperature and humidity information display area corresponding to the temperature and humidity detection device A is determined as the target device information display area.
[0090] (2) Display the real-time status information of the target device corresponding to the three-dimensional model in the target device information display area.
[0091] For example, the target device three-dimensional model is temperature and humidity detection device A, and the device real-time status information corresponding to the temperature and humidity detection device A is displayed in the temperature and humidity information display area.
[0092] Further, the visualization methods of the computer room include: (1) When it is obtained that the user clicks on the three-dimensional model of the target device in the second device sub-area, a preset device association relationship is obtained.
[0093] The device association relationship includes the associated device three-dimensional models corresponding to each device three-dimensional model.
[0094] For example, distribution box A, UPS device A, air conditioning device A and temperature and humidity detection device A are associated devices.
[0095] (2) Obtain the three-dimensional model of the device associated with the three-dimensional model of the target device.
[0096] When the target device three-dimensional model is temperature and humidity detection device A, the associated device three-dimensional models of the target device three-dimensional model are distribution box A, UPS device A, and air conditioning device A.
[0097] (3) While displaying the real-time status information of the device corresponding to the target device three-dimensional model in the target device information display area, the real-time status information of the device three-dimensional model associated with the target device three-dimensional model is displayed in the corresponding device information display area.
[0098] When the target device three-dimensional model is temperature and humidity detection device A, the associated device three-dimensional models of the target device three-dimensional model are distribution box A, UPS device A, and air conditioning device A.
[0099] Specifically, the real-time status information of the temperature and humidity detection device A is displayed in the temperature and humidity information display area. The real-time status information of the distribution box A, UPS device A, and air conditioning device A are displayed in the distribution box information display area, UPS device information display area, and air conditioning device information display area, respectively.
[0100] Furthermore, in an embodiment of the present application, when a dragging instruction is obtained for the user to drag a device three-dimensional model from a first preset display interface to a second preset display interface, the device type of the dragged device three-dimensional model dragged by the dragging instruction is obtained, and the second device placement area corresponding to the dragged device three-dimensional model is determined based on the device type of the dragged device three-dimensional model, and the number of placed device three-dimensional models in the second device placement area corresponding to the dragged device three-dimensional model is obtained; if the number of placed device three-dimensional models is greater than the preset number, the deletion priority of each placed device three-dimensional model is obtained, the placed device three-dimensional model with the highest deletion priority is deleted, and the dragged device three-dimensional model is placed in the second device placement area on the second preset display interface that matches the device type of the dragged device three-dimensional model.
[0101] Furthermore, the number of clicks on each placed device is obtained, and the deletion priority is determined based on the number of clicks on each placed device, wherein the greater the number of clicks, the lower the deletion priority.
[0102] In order to facilitate better implementation of the computer room visualization method provided in the embodiment of the present application, the embodiment of the present application also provides a computer room visualization device based on the above computer room visualization method. The meanings of the terms are the same as those in the above computer room visualization method. For specific implementation details, please refer to the description in the above method embodiment.
[0103] Please refer to Figure 3 , Figure 3 A schematic diagram of the structure of a visualization device for a computer room provided in an embodiment of the present application. The visualization device for the computer room may include: A first acquisition module 701 is used to acquire a pre-built initial three-dimensional virtual model of a computer room, wherein the initial three-dimensional virtual model of the computer room includes a plurality of first equipment placement areas, wherein different first equipment placement areas are used to place different types of computer room equipment; The issuing module 702 is used to issue an environmental control setting pop-up window when obtaining a device adding instruction issued by the user, and the environmental control setting pop-up window is used to fill in the device information of the device to be added; A generating module 703 is used to generate a three-dimensional device model of the device to be added based on the device information of the device to be added when the device information of the device to be added is obtained; A first placing module 704 is used to place the device three-dimensional model into a first device placement area matching the device type of the device to be added based on the device type of the device to be added, obtain a three-dimensional virtual model of the target computer room and display it on a first preset display interface; The second acquisition module 705 is used to acquire the device type of the three-dimensional model of the device being dragged by the dragging instruction when acquiring a dragging instruction of the user to drag the three-dimensional model of the device from the first preset display interface to the second preset display interface, wherein the second preset display interface is provided with a plurality of second device placement areas and a plurality of system status display areas; A second placing module 706 is used to place the dragged device three-dimensional model into the second device placement area on the second preset display interface that matches the device type of the dragged device three-dimensional model, wherein the layout of the plurality of first device placement areas on the first preset display interface is different from the layout of the plurality of second device placement areas on the second preset display interface; The display module 707 is used to display the real-time status information of the three-dimensional models of some devices in the second device placement area on the second preset display interface in the multiple system status display areas.
[0104] Optionally, the obtaining of a pre-built initial three-dimensional virtual model of the computer room includes: Acquire architectural structure information of a real computer room, wherein the architectural structure information includes wall information and floor information, wherein the real computer room includes a plurality of sub-computer rooms separated by walls; The initial three-dimensional virtual model of the computer room is constructed based on the building structure information, wherein the initial three-dimensional virtual model of the computer room includes a floor model and a wall model on the floor model, and the floor model is divided by the wall model into a plurality of first equipment placement areas corresponding one to one to the plurality of sub-computer rooms.
[0105] Optionally, the sub-computer room includes a plurality of equipment placement positions, a plurality of first equipment sub-regions corresponding to the plurality of equipment placement positions are provided in the first equipment placement area, and the plurality of first equipment sub-regions are arranged in an array, and the device type of the device to be added is based on the device type of the device to be added. The device three-dimensional model is placed in the first equipment placement area matching the device type of the device to be added, and the target computer room three-dimensional virtual model is obtained and displayed on the first preset display interface, including: Determine a first device placement area corresponding to the device to be added based on the device type of the device to be added; Searching the first device sub-area corresponding to the device placement position where the device to be added is located in the first device placement area corresponding to the device to be added; The device three-dimensional model corresponding to the device to be added is placed in the first device sub-area matching the device type of the device to be added, and a three-dimensional virtual model of the target computer room is obtained and displayed on a first preset display interface.
[0106] Optionally, the second preset display interface includes a device model display area, a plurality of the second device placement areas are located in the device model display area, a plurality of the system status display areas surround the device model display area, the plurality of the system status display areas include a system overall status display area and a plurality of device information display areas, and the plurality of the device information display areas correspond one to one to the plurality of the second device placement areas. The visualization method of the computer room includes: When it is obtained that the user clicks on the target device three-dimensional model on the second device placement area, obtaining the target device information display area corresponding to the second device placement area where the target device three-dimensional model is located; The real-time status information of the device corresponding to the three-dimensional model of the target device is displayed in the target device information display area.
[0107] Optionally, the second device placement area includes a plurality of second device sub-areas, and the second device sub-areas are used to place the three-dimensional model of the device dragged by the user; the visualization method of the computer room includes: When it is obtained that the user clicks on the target device three-dimensional model on the second device sub-area, a preset device association relationship is obtained, wherein the device association relationship includes associated device three-dimensional models corresponding to each device three-dimensional model; Acquire a three-dimensional model of a device associated with the three-dimensional model of the target device; While the real-time device status information corresponding to the target device three-dimensional model is displayed in the target device information display area, the real-time device status information of the associated device three-dimensional model of the target device three-dimensional model is displayed in the corresponding device information display area.
[0108] Optionally, displaying the real-time status information of the three-dimensional models of some devices in the second device placement area on the second preset display interface in the plurality of system status display areas includes: Obtaining the number of alarms that occurred in the three-dimensional model of each device in the second device placement area within a historical time period; Determining a display priority based on the alarm number, wherein the higher the alarm number, the higher the display priority; The real-time status information of the device three-dimensional model with the highest display priority in the second device placement area on the second preset display interface is displayed in the corresponding system status display area.
[0109] Optionally, the computer room visualization method includes: After the three-dimensional virtual model of the target computer room is obtained and displayed on the first preset display interface, it is determined whether an alarm occurs in the three-dimensional model of each device in the three-dimensional virtual model of the target computer room based on a preset alarm strategy; Displaying an alarm mark on the top of the three-dimensional model of the alarm device where the alarm occurs on the three-dimensional virtual model of the target computer room; Adjusting the color of the three-dimensional model of the alarm device to a preset color; When it is detected that the alarm mark of the three-dimensional model of the alarm device is clicked, a pop-up window is popped up to display the alarm information.
[0110] The specific implementation of each of the above modules can be found in the previous embodiments and will not be described in detail here.
[0111] An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the processor is used to execute the steps of the computer room visualization method provided in this embodiment by calling a computer program stored in the memory.
[0112] Please refer to Figure 4 , Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0113] The electronic device may include components such as a processor 101 with one or more processing cores, a memory 102 with one or more computer-readable storage media, a power supply 103, and an input unit 104. Those skilled in the art will appreciate that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them: The processor 101 is the control center of the electronic device, which uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 102, and calling data stored in the memory 102. Optionally, the processor 101 may include one or more processing cores; optionally, the processor 101 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 101.
[0114] The memory 102 can be used to store software programs and modules. The processor 101 executes various functional applications and data processing by running the software programs and modules stored in the memory 102. The memory 102 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 102 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 102 may also include a memory controller to provide the processor 101 with access to the memory 102.
[0115] The electronic device also includes a power supply 103 for supplying power to each component. Optionally, the power supply 103 can be logically connected to the processor 101 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 103 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0116] The electronic device may further include an input unit 104, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0117] Although not shown, the electronic device may also include a display unit, an image acquisition component, etc., which will not be described in detail here. Specifically in this embodiment, the processor 101 in the electronic device will load the executable code corresponding to one or more computer programs into the memory 102 according to the following instructions, and the processor 101 will execute the steps in the visualization method of the computer room provided in this application, such as: A pre-built initial three-dimensional virtual model of the computer room is obtained, wherein the initial three-dimensional virtual model of the computer room includes a plurality of first equipment placement areas, wherein different first equipment placement areas are used to place different types of computer room equipment; when an equipment adding instruction issued by a user is obtained, an environmental control setting pop-up window is issued, and the environmental control setting pop-up window is used to fill in the equipment information of the equipment to be added; when the equipment information of the equipment to be added is obtained, a three-dimensional equipment model of the equipment to be added is generated based on the equipment information of the equipment to be added; based on the equipment type of the equipment to be added, the three-dimensional equipment model is placed in a first equipment placement area matching the equipment type of the equipment to be added, and the three-dimensional virtual model of the target computer room is obtained and displayed on a first preset display interface; when the user obtains the first When a dragging instruction is issued from the preset display interface to drag a three-dimensional model of a device from the preset display interface to the second preset display interface, the device type of the three-dimensional model of the device being dragged by the dragging instruction is obtained, wherein the second preset display interface is provided with multiple second device placement areas and multiple system status display areas; the three-dimensional model of the dragged device is placed in the second device placement area on the second preset display interface that matches the device type of the three-dimensional model of the dragged device, wherein the layout of the multiple first device placement areas on the first preset display interface is different from the layout of the multiple second device placement areas on the second preset display interface; and the real-time status information of some device three-dimensional models in the second device placement area on the second preset display interface is displayed in multiple system status display areas.
[0118] It should be noted that the electronic device provided in the embodiment of the present application and the visualization method of the computer room in the above embodiment belong to the same concept, and its specific implementation process is detailed in the above related embodiments and will not be repeated here.
[0119] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program stored therein is executed on a processor of an electronic device provided in an embodiment of the present application, the processor of the electronic device executes the steps in the computer room visualization method provided in the present application. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0120] The present application also provides a computer program product or a computer program, which includes 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 the processor executes the computer instructions, so that the computer device executes various optional implementations of the above-mentioned computer room visualization method.
[0121] The above is a detailed introduction to a computer room visualization method and device provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
[0122] It should be noted that when the above embodiments of the present application are applied to specific products or technologies, the relevant data of the user is involved, and the user's permission or consent is required, and the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
Claims
1. A visualization method for a computer room, characterized in that: include: Acquire a pre-built initial three-dimensional virtual model of a computer room, wherein the initial three-dimensional virtual model of the computer room includes a plurality of first equipment placement areas, wherein different first equipment placement areas are used to place different types of computer room equipment, wherein architectural structure information of a real computer room is acquired, wherein the architectural structure information includes wall information and floor information, and the real computer room includes a plurality of sub-computer rooms separated by walls; construct the initial three-dimensional virtual model of the computer room based on the architectural structure information, wherein the initial three-dimensional virtual model of the computer room includes a floor model and a wall model on the floor model, and the floor model is divided by the wall model into a plurality of first equipment placement areas corresponding to the plurality of sub-computer rooms one by one; When a device adding instruction issued by the user is obtained, an environmental control setting pop-up window is issued, and the environmental control setting pop-up window is used to fill in the device information of the device to be added; When the device information of the device to be added is obtained, a device 3D model of the device to be added is generated based on the device information of the device to be added, wherein a plurality of modeling images uploaded by the user are obtained, wherein the plurality of modeling images are collected by the user at different shooting angles for the equipment in the computer room; based on the target key feature points of the plurality of modeling images, the plurality of modeling images are arranged in a ring in a preset order to obtain a modeling image group; according to the image sorting order in the modeling image group, the plurality of modeling images are sequentially 3D reconstructed to obtain a 3D model of the equipment in the computer room; Based on the device type of the device to be added, the device three-dimensional model is placed in a first device placement area that matches the device type of the device to be added, and a three-dimensional virtual model of the target computer room is obtained and displayed on a first preset display interface; When a drag instruction of a user dragging a three-dimensional model of a device from the first preset display interface to the second preset display interface is obtained, the device type of the three-dimensional model of the device being dragged by the drag instruction is obtained, wherein a plurality of second device placement areas and a plurality of system status display areas are provided on the second preset display interface; the drag position of the three-dimensional model of the device being dragged by the drag instruction is detected, and if the drag position of the three-dimensional model of the device being dragged is located in the first preset display interface, it is displayed in the first three-dimensional form, and if the drag position of the three-dimensional model of the device being dragged is located in the second preset display interface, it is displayed in the second three-dimensional form; The three-dimensional model of the dragged device is placed in the second device placement area on the second preset display interface that matches the device type of the three-dimensional model of the dragged device, wherein the layout of multiple first device placement areas on the first preset display interface is different from the layout of multiple second device placement areas on the second preset display interface, wherein the first three-dimensional form of each computer room device in the first preset display interface is a three-dimensional device model of different sizes obtained by scaling each computer room device at the same preset ratio; the second three-dimensional form of each computer room device in the second preset display interface is a three-dimensional device model obtained by scaling each computer room device at different ratios, the layout of multiple first device placement areas on the first preset display interface is the same as the layout of the real computer room, the layout of multiple second device placement areas on the second preset display interface is an array arrangement, and the three-dimensional device model of the same computer room device on the second preset display interface is different from the three-dimensional device model on the first preset display interface; The real-time status information of the three-dimensional models of some devices in the second device placement area on the second preset display interface is displayed in the plurality of system status display areas.
2. The computer room visualization method according to claim 1, characterized in that: The sub-computer room includes a plurality of equipment placement positions, a plurality of first equipment sub-regions corresponding to the plurality of equipment placement positions are arranged in the first equipment placement area, and the plurality of first equipment sub-regions are arranged in an array, and the device type of the device to be added is based on the device type of the device to be added. The device three-dimensional model is placed in the first equipment placement area matching the device type of the device to be added, and the target computer room three-dimensional virtual model is obtained and displayed on the first preset display interface, including: Determine a first device placement area corresponding to the device to be added based on the device type of the device to be added; Searching the first device sub-area corresponding to the device placement position where the device to be added is located in the first device placement area corresponding to the device to be added; The device three-dimensional model corresponding to the device to be added is placed in the first device sub-area matching the device type of the device to be added, and a three-dimensional virtual model of the target computer room is obtained and displayed on a first preset display interface.
3. The computer room visualization method according to claim 2, characterized in that: The second preset display interface includes a device model display area, a plurality of second device placement areas are located in the device model display area, a plurality of system status display areas surround the device model display area, the plurality of system status display areas include a system overall status display area and a plurality of device information display areas, and the plurality of device information display areas correspond one to one to the plurality of second device placement areas. The visualization method of the computer room includes: When it is obtained that the user clicks on the target device three-dimensional model on the second device placement area, obtaining the target device information display area corresponding to the second device placement area where the target device three-dimensional model is located; The real-time status information of the device corresponding to the three-dimensional model of the target device is displayed in the target device information display area.
4. The computer room visualization method according to claim 3, characterized in that: The second device placement area includes a plurality of second device sub-areas, and the second device sub-areas are used to place the three-dimensional model of the device dragged by the user; and the visualization method of the computer room includes: When it is obtained that the user clicks on the target device three-dimensional model on the second device sub-area, a preset device association relationship is obtained, wherein the device association relationship includes associated device three-dimensional models corresponding to each device three-dimensional model; Acquire a three-dimensional model of a device associated with the three-dimensional model of the target device; While the real-time device status information corresponding to the target device three-dimensional model is displayed in the target device information display area, the real-time device status information of the associated device three-dimensional model of the target device three-dimensional model is displayed in the corresponding device information display area.
5. The computer room visualization method according to claim 4, characterized in that: The displaying of the real-time status information of the device of the three-dimensional model of some devices in the second device placement area on the second preset display interface in the plurality of system status display areas includes: Obtaining the number of alarms that occurred in the three-dimensional model of each device in the second device placement area within a historical time period; Determining a display priority based on the alarm number, wherein the higher the alarm number, the higher the display priority; The real-time status information of the device three-dimensional model with the highest display priority in the second device placement area on the second preset display interface is displayed in the corresponding system status display area.
6. The computer room visualization method according to claim 5, characterized in that: The visualization method of the computer room includes: After the three-dimensional virtual model of the target computer room is obtained and displayed on the first preset display interface, it is determined whether an alarm occurs in the three-dimensional model of each device in the three-dimensional virtual model of the target computer room based on a preset alarm strategy; Displaying an alarm mark on the top of the three-dimensional model of the alarm device where the alarm occurs on the three-dimensional virtual model of the target computer room; Adjusting the color of the three-dimensional model of the alarm device to a preset color; When it is detected that the alarm mark of the three-dimensional model of the alarm device is clicked, a pop-up window is popped up to display the alarm information.
7. A visualization device for a computer room, characterized in that: include: A first acquisition module is used to acquire a pre-constructed initial three-dimensional virtual model of a computer room, wherein the initial three-dimensional virtual model of the computer room includes a plurality of first equipment placement areas, wherein different first equipment placement areas are used to place different types of computer room equipment, wherein architectural structure information of a real computer room is acquired, wherein the architectural structure information includes wall information and floor information, and the real computer room includes a plurality of sub-computer rooms separated by walls; the initial three-dimensional virtual model of the computer room is constructed based on the architectural structure information, wherein the initial three-dimensional virtual model of the computer room includes a floor model and a wall model on the floor model, and the floor model is divided by the wall model into a plurality of first equipment placement areas corresponding to the plurality of sub-computer rooms one by one; An issuing module, configured to issue an environmental control setting pop-up window when a device adding instruction issued by a user is obtained, wherein the environmental control setting pop-up window is used to fill in the device information of the device to be added; A generation module is used to generate a device 3D model of the device to be added based on the device information of the device to be added when the device information of the device to be added is obtained, wherein a plurality of modeling images uploaded by a user are obtained, wherein the plurality of modeling images are collected by the user at different shooting angles for the equipment in the computer room; based on target key feature points of the plurality of modeling images, the plurality of modeling images are arranged in a ring in a preset order to obtain a modeling image group; and the plurality of modeling images are sequentially reconstructed in three dimensions according to the image sorting order in the modeling image group to obtain a three-dimensional model of the equipment in the computer room; A first placing module, used for placing the three-dimensional model of the device into a first device placement area matching the device type of the device to be added based on the device type of the device to be added, obtaining a three-dimensional virtual model of the target computer room and displaying it on a first preset display interface; a second acquisition module, configured to acquire, when acquiring a drag instruction of a user dragging a three-dimensional model of a device from the first preset display interface to the second preset display interface, the device type of the three-dimensional model of the device being dragged by the drag instruction, wherein a plurality of second device placement areas and a plurality of system status display areas are provided on the second preset display interface; detect the drag position of the three-dimensional model of the device being dragged by the drag instruction, and if the drag position of the three-dimensional model of the device being dragged is within the first preset display interface, display it in the first three-dimensional form; and if the drag position of the three-dimensional model of the device being dragged is within the second preset display interface, display it in the second three-dimensional form; A second placing module is used to place the three-dimensional model of the dragged device into the second device placement area on the second preset display interface that matches the device type of the three-dimensional model of the dragged device, wherein the layout of multiple first device placement areas on the first preset display interface is different from the layout of multiple second device placement areas on the second preset display interface, wherein the first three-dimensional form of each computer room device in the first preset display interface is a three-dimensional device model of different sizes obtained by scaling each computer room device at the same preset ratio; the second three-dimensional form of each computer room device in the second preset display interface is a three-dimensional device model obtained by scaling each computer room device at different ratios, the layout of multiple first device placement areas on the first preset display interface is the same as the layout of a real computer room, the layout of multiple second device placement areas on the second preset display interface is an array arrangement, and the three-dimensional device model of the same computer room device on the second preset display interface is different from the three-dimensional device model on the first preset display interface; The display module is used to display the real-time status information of the three-dimensional models of some devices in the second device placement area on the second preset display interface in the multiple system status display areas.
8. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the steps in the computer room visualization method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the computer room visualization method according to any one of claims 1 to 6.