Method and device for producing and rendering digital twinning scene of machine room

Through the combination of user configuration and 2D/3D tools, the digital twin scene of the computer room is generated and rendered, which solves the problems of complex development and difficult real-time updates under traditional methods, and realizes efficient construction and management of digital twin scenes in the computer room.

CN119600208APending Publication Date: 2025-03-11CHINA TELECOM DIGITAL INTELLIGENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411818784.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The construction of traditional computer room digital twin scenarios requires multiple development roles and long development cycles, and it is impossible to update real-time situations when the internal structure data of the computer room changes.

Method used

The digital twin scene of the computer room is generated through user configuration, and the 2D plane resource management tool and the digital twin scene configuration tool of the computer room are used to import and manage resources and spatial locations, and dynamically render and display 3D scenes.

Benefits of technology

It realizes two-dimensional image management and three-dimensional dynamic presentation, simplifies the development process, shortens the development cycle, and supports real-time update of internal structure data of the computer room.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119600208A_ABST
    Figure CN119600208A_ABST
Patent Text Reader

Abstract

The invention relates to a method and a device for producing and rendering a digital twinning scene of a machine room, and belongs to the technical field of twinning scenes, and the method comprises the following steps: obtaining a drawing to be produced and rendered; the drawing is imported into a 2D plane resource management tool, resources and spatial positions are managed in a two-dimensional graph mode, and the 2D plane resource management tool receives operation of a user and carries out resource rendering configuration; the machine room digital twinning scene configuration tool receives configuration operation of a user, and configures a scene, a park model, a machine building model, a floor model, a machine room model, model linkage and a scene visual angle; and the machine room digital twinning scene dynamic rendering module performs rendering and display according to the resources, the spatial position, the resource rendering configuration, the model configuration and the scene configuration. The computer room digital twinning scene is generated through user configuration, the resources managed in the 2D plane resource management tool are dynamically mapped and rendered to the computer room digital twinning scene, and two-dimensional image management and three-dimensional dynamic presentation are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of digital twin scenes, and in particular, relates to a method and device for producing and rendering a digital twin scene of a computer room. Background Art

[0002] The digital twin of the computer room uses digital twin technology to monitor and predict the equipment status and environmental parameters of the data center in real time, thereby improving operation and maintenance efficiency and reducing failure rates. The digital twin of the data center is established based on the physical structure and operating characteristics of the data center to achieve real-time mapping of the physical world and the digital world, covering the five-level interaction of the data center park, building, floor, room, and equipment, to achieve macro-control of the data center environment, micro-level scaling, and active operation management, and maximize the value of the digital twin of the computer room. From buildings to environment, from energy consumption to fire protection, from video surveillance to equipment operation, all data are fully accessible. A digital twin base is established to establish information associations between the data center's buildings, equipment, pipelines, monitoring, energy consumption, environment and other systems, and to achieve unified, intuitive, efficient and refined management of the data center's physical structure, environment, and equipment status.

[0003] The computer room carries the core information infrastructure of the enterprise and is the core of the internal communication network of enterprises and organizations. Servers, switches and other equipment in the computer room are the key to achieving internal communications. With the development of digital twin technology, more and more digital twins of computer rooms are being built. Building a digital twin of a computer room through traditional development methods usually requires engineers with multiple development roles, including modeling, 3D art, UI design, front-end and back-end development. Most of the traditional computer room twin scene construction is customized development with a long development cycle. It usually uses modeling methods to model the buildings and computer rooms of the data center 1:1. When the internal structure data of the computer room changes, the corresponding digital twin scene cannot be updated in real time. Especially in telecom operators, the number of computer rooms is huge and the data is updated very quickly. Obviously, the traditional computer room digital twin production method can no longer meet their requirements. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the purpose of the invention is to provide a method and device for producing and rendering a digital twin scene of a computer room, generate a digital twin scene of a computer room through user configuration, dynamically map and render the resources managed in the 2D plane resource management tool to the digital twin scene of the computer room, and realize three-dimensional dynamic presentation of two-dimensional image management.

[0005] The first aspect of the present invention provides a method for producing and rendering a computer room digital twin scene, which is characterized by being applied to a system including: a 2D plane resource management tool, a computer room digital twin scene configuration tool and a computer room digital twin scene dynamic rendering module, and comprising:

[0006] Obtain drawings to be produced and rendered;

[0007] The drawings to be produced and rendered are imported into the 2D plane resource management tool to manage resources and spatial positions in the form of two-dimensional graphics. The 2D plane resource management tool receives the user's operation and performs resource rendering configuration;

[0008] The computer room digital twin scene configuration tool receives the user's configuration operation and configures the scene, campus model, computer building model, floor model, computer room model, model linkage, and scene perspective;

[0009] The computer room digital twin scene dynamic rendering module renders and displays resources, spatial locations, resource rendering configurations, campus models, computer building models, floor models, computer room models, scenes, and scene perspectives;

[0010] Among them, resources include at least: park, computer building, floor, computer room, computer position, cabinet, equipment, and pipeline.

[0011] Furthermore, in the above-mentioned method for producing and rendering a digital twin scene of a computer room, the drawings to be produced and rendered are imported into a 2D plane resource management tool to manage resources and spatial positions in the form of two-dimensional graphics, including:

[0012] Extract the drawings to be produced and rendered after parsing, vectorization, feature data recognition and data classification;

[0013] Publish the extracted data as GIS layer services, display each layer data in a tree structure in the layer tool, and edit each layer data through the graphic processing tools of each layer;

[0014] Using graphics processing technology, based on the computer room vector data, the computer room resources and spatial locations are displayed graphically;

[0015] The operation configuration panel in the 2D plane resource management tool receives the user's operation and configures the theme and visualization indicators;

[0016] Among them, editing each layer data at least includes: graphic selection, dragging, drawing, vertex editing, graphic rotation, splitting, merging, moving, copying, cutting and deleting;

[0017] The topics shall at least include: equipment in the computer room, cabinet capacity, cabinet energy consumption, computer room environment, and alarm filtering.

[0018] Furthermore, in the above-mentioned method for producing and rendering a digital twin scene of a computer room, configuring a scene, a campus model, a computer building model, a floor model, a computer room model, model linkage, and a scene perspective includes:

[0019] The scene configuration interface receives the user's operation and configures the scene;

[0020] The model configuration interface receives the user's operation and binds the campus model, the machine building model, the floor model and the machine room model to the resources in the tree structure;

[0021] The model linkage configuration interface receives the user's operation and configures the model linkage relationship;

[0022] The perspective configuration interface receives the user's operation and configures the perspective of the display of each level model of the computer room digital twin scene.

[0023] Furthermore, in the above-mentioned method for producing and rendering a computer room digital twin scene, the computer room digital twin scene dynamic rendering module renders and displays resources, spatial locations, resource rendering configurations, campus models, computer building models, floor models, computer room models, scenes, and scene perspectives, including:

[0024] In the pre-developed digital twin scene rendering framework of the computer room, the campus model, computer building model, floor model, computer room model, scene and scene perspective are dynamically loaded and rendered according to the configured campus model, computer building model, floor model, computer room model scene and scene perspective, and a 3D scene is generated. The scene is drilled down and displayed step by step according to the linkage of the models configured in the scene.

[0025] When the scene is initialized, the resources in the computer room are queried, and points and rendering are performed in the scene according to the resource coordinates, spatial position coordinates and resource rendering configuration in the pre-developed computer room digital twin scene rendering framework;

[0026] The resources for dotting and rendering shall at least include: the outline of the computer room, the name of the computer room, the function label, the position data, the cabinet, the pipeline and the equipment;

[0027] Among them, the equipment includes at least: air conditioning, power supply, monitoring, smoke detection, temperature detection, and water immersion.

[0028] Furthermore, the above-mentioned method for producing and rendering a digital twin scene of a computer room further includes: resource positioning;

[0029] The steps of resource location include:

[0030] Query the device by associating device attributes and alarm information;

[0031] The spatial position of the equipment in the 3D scene is obtained based on the relationship between equipment, cabinets, and positions, so as to achieve accurate positioning of equipment and alarms in the computer room.

[0032] Furthermore, the above-mentioned method for producing and rendering a digital twin scene of a computer room further includes:

[0033] In the pre-developed computer room digital twin scene rendering framework, the operation form is dynamically generated in the 3D scene according to the equipment operation items configured in the 2D plane resource management tool;

[0034] Encapsulate and open API interfaces in the pre-developed computer room digital twin scene rendering framework;

[0035] Among them, the API interfaces include: perspective switching, model query, model positioning, coordinate picking, device dotting, electronic fence, billboard, model drilling, model display and hiding, and custom code execution interface.

[0036] Furthermore, in the above-mentioned method for producing and rendering a computer room digital twin scene, the steps of the rendering pipeline include:

[0037] Query the pipelines drawn in the 2D plane resource management tool;

[0038] Traverse pipeline types and calculate height;

[0039] When the pipeline is drawn, the device is queried based on the location of the starting point and the end point of the pipeline. In the pre-developed digital twin scene rendering framework of the computer room, it is decided whether to generate a downlink path based on whether there are devices connected to the starting point and the end point.

[0040] Calculate the distance and point difference between every two points according to the pipeline path, stretch and rotate the basic pipeline model to generate the pipeline model;

[0041] Spheres that generate pipeline paths at the corners of the pipeline paths are placed at the seams;

[0042] Rendering according to the size, color, and texture of the configured pipeline path;

[0043] Apply flow effects to pipelines.

[0044] In a second aspect of the present invention, a device for producing and rendering a computer room digital twin scene is provided, which is applied to a system including: a 2D plane resource management tool, a computer room digital twin scene configuration tool, and a computer room digital twin scene dynamic rendering module.

[0045] Acquisition module: used to obtain drawings to be produced and rendered;

[0046] The management module and the first configuration module are used to import the drawings to be produced and rendered into the 2D plane resource management tool to manage resources and spatial positions in the form of two-dimensional graphics. The 2D plane resource management tool receives the user's operation and performs resource rendering configuration;

[0047] The second configuration module: used for the computer room digital twin scene configuration tool to receive the user's configuration operation, configure the scene, campus model, computer building model, floor model, computer room model, model linkage and scene perspective;

[0048] Rendering module and display module: The dynamic rendering module of the computer room digital twin scene is used to render and display resources, spatial locations, resource rendering configurations, campus models, computer building models, floor models, computer room models, scenes, and scene perspectives;

[0049] Among them, resources include at least: park, computer building, floor, computer room, computer position, cabinet, equipment, and pipeline.

[0050] According to a third aspect of the present invention, an electronic device is provided, comprising: a processor and a memory;

[0051] The processor calls the program or instructions stored in the memory to execute any of the above methods for producing and rendering a digital twin scene of a computer room.

[0052] In a fourth aspect of the present invention, a computer-readable storage medium is further proposed, which stores a program or instruction, and the program or instruction enables a computer to execute any of the above methods for producing and rendering a digital twin scene of a computer room.

[0053] The beneficial effects of the present invention are as follows: the present invention obtains drawings to be produced and rendered; imports the drawings into a 2D plane resource management tool to manage resources and spatial positions in the form of two-dimensional graphics; the 2D plane resource management tool receives the user's operation and performs resource rendering configuration; the computer room digital twin scene configuration tool receives the user's configuration operation, configures the scene, campus model, machine building model, floor model, computer room model, model linkage and scene perspective; the computer room digital twin scene dynamic rendering module renders and displays according to resources, spatial position, resource rendering configuration, model configuration and scene configuration. The present invention generates a computer room digital twin scene through user configuration, dynamically maps and renders the resources managed in the 2D plane resource management tool to the computer room digital twin scene, and realizes two-dimensional image management and three-dimensional dynamic presentation. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The accompanying drawings are only used to illustrate specific embodiments and are not considered to limit the present invention. In the entire drawings, the same reference symbols represent the same components. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.

[0055] Figure 1 A diagram of a method for producing and rendering a digital twin scene of a computer room provided in an embodiment of the present invention;

[0056] Figure 2 A method diagram for managing resources and spatial locations in the form of two-dimensional graphics provided by an embodiment of the present invention;

[0057] Figure 3 A diagram of a resource location method provided by an embodiment of the present invention;

[0058] Figure 4 A rendering pipeline method diagram provided by an embodiment of the present invention;

[0059] Figure 5 A diagram of a production and rendering device for a digital twin scene of a computer room provided in an embodiment of the present invention;

[0060] Figure 6 A schematic block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0061] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present invention.

[0062] Furthermore, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts disclosed in the present invention.

[0063] In the description of the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be internal communication between two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0064] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of methods and systems consistent with some aspects of the present invention as detailed in the appended claims.

[0065] The present invention proposes a method, device, electronic device and storage medium for producing and rendering a digital twin scene of a computer room. The digital twin scene of a computer room is generated through user configuration, and the resources managed in a 2D plane resource management tool are dynamically mapped and rendered to the digital twin scene of the computer room, thereby realizing two-dimensional image management and three-dimensional dynamic presentation.

[0066] Method Embodiment

[0067] Figure 1 A diagram of a method for producing and rendering a digital twin scene of a computer room provided in an embodiment of the present invention.

[0068] The first aspect of the present invention provides a method for producing and rendering a computer room digital twin scene, which is characterized by being applied to a system including: a 2D plane resource management tool, a computer room digital twin scene configuration tool and a computer room digital twin scene dynamic rendering module, combined with Figure 1 ,include:

[0069] S1: Get drawings to be produced and rendered.

[0070] Specifically, in an embodiment of the present invention, the drawings to be produced and rendered may be CAD design drawings, or schematic diagrams and photos, and the schematic diagrams and photos may be calibrated in coordinates and dimensions through tools such as rulers, rotations, and stretching in the plane management tool.

[0071] S2: Import the drawings to be produced and rendered into the 2D plane resource management tool to manage resources and spatial positions in the form of two-dimensional graphics. The 2D plane resource management tool receives the user's operation and performs resource rendering configuration;

[0072] Specifically, in an embodiment of the present invention, a method for importing drawings to be produced and rendered into a 2D plane resource management tool to manage resources and spatial positions in the form of two-dimensional graphics is described in detail below. The 2D plane resource management tool receives the user's operation and performs resource rendering configuration, including: configuring through the style configuration function of the equipment, pipelines and topics of the 2D plane resource management tool, specifically configuring the display icon (normal style and alarm style), equipment pop-up window and equipment interaction operation of the equipment through the equipment configuration function, configuring the diameter size, rendering color and texture map of the pipeline through the pipeline configuration function, and configuring the cabinet capacity, computer room environment thermal range, indicator threshold and other parameters through the topic style configuration function, wherein the resources include at least: park, computer building, floor, computer room, machine position, cabinet, equipment, pipeline.

[0073] It should be understood that through the plane management tool, graphical management of resources such as parks, computer buildings, floors, computer rooms, machine positions, cabinets, equipment, pipelines, etc. can be achieved, and the computer room asset data can be intuitively displayed, and the equipment location, pipeline distribution, and equipment alarms can be clearly visible.

[0074] S3: The computer room digital twin scene configuration tool receives the user's configuration operation and configures the scene, campus model, computer building model, floor model, computer room model, model linkage, and scene perspective.

[0075] Specifically, in an embodiment of the present invention, multiple interfaces are developed in the computer room digital twin scene configuration tool, and the multiple interfaces include: a model configuration interface, a scene configuration interface, a model linkage configuration interface and a scene perspective interface. The scene, campus model, computer building model, floor model, computer room model, model linkage and scene perspective are configured through multiple interfaces.

[0076] It should be understood that the computer room digital twin scene configuration tool can realize operations such as campus, computer building, floor, and computer room model binding, scene perspective setting at each level, scene interaction configuration, and dynamic rendering.

[0077] S4: The computer room digital twin scene dynamic rendering module renders and displays resources, spatial locations, resource rendering configurations, campus models, computer building models, floor models, computer room models, scenes, and scene perspectives.

[0078] Specifically, in an embodiment of the present invention, the dynamic rendering module of the digital twin scene of the computer room renders and displays according to the resources, spatial position, resource rendering configuration in the 2D plane management tool and the campus model, machine building model, floor model, computer room model, scene and scene perspective configured in the digital twin scene configuration tool of the computer room, and integrates the rendering of the model and computer room resources in the digital twin scene of the computer room, real-time interaction of equipment and status feedback, realizes dynamic mapping of 2D / 3D resources and real-time data linkage, and provides strong guarantees for the digital management of the computer room.

[0079] Figure 2 A method diagram for managing resources and spatial locations in the form of two-dimensional graphics provided by an embodiment of the present invention.

[0080] Furthermore, in the above-mentioned method for producing and rendering a digital twin scene of a computer room, the drawings to be produced and rendered are imported into a 2D plane resource management tool to manage resources and spatial positions in the form of two-dimensional graphics, and combined with Figure 2 , including four steps from S21 to S24:

[0081] S21: Extract the drawings to be produced and rendered after parsing, vectorization, feature data recognition and data classification.

[0082] Specifically, in an embodiment of the present invention, by parsing and vectorizing drawings, feature data is identified, such as: identifying computer room walls, identifying pipelines, identifying machine positions, and identifying doors and windows, and classification is performed after identification, such as: all machine positions are classified into the same category, all pipelines are classified into the same category, etc.

[0083] S22: Publish the extracted data as a GIS layer service, display each layer data through a tree structure in the layer tool, and edit each layer data through the graphic processing tool of each layer.

[0084] Specifically, in an embodiment of the present invention, the extracted data is published as a GIS layer service through GIS service software. According to the hierarchical relationship of the layer data, the resources of each level are displayed in a tree structure in the layer tool, and classified display is supported. Each layer data is edited through the graphic processing tool of each layer.

[0085] For example: edit the extracted vector data, draw new walls, set the height, thickness and material mapping of the wall, select a single graphic to delete, draw, edit, split, move and delete camera positions, number all camera positions by box selection, add, cancel and move the mapping of monitoring, fire protection, environmental monitoring and other equipment, draw and edit directed line segments of pipelines, mark key locations in the computer room, intuitively and quickly understand the functional areas of the computer room space, and provide basic configuration for 3D rendering of the digital twin scene of the computer room.

[0086] S23: Using graphics processing technology and based on the computer room vector data, the computer room resources and spatial locations are displayed graphically.

[0087] Specifically, in the embodiment of the present invention, graphic processing technologies such as VUE, GIS, and CAVANS are used to display the layout of the computer room, the resources inside the computer room, and the spatial location in a graphical manner based on the computer room vector data.

[0088] S24: The operation configuration panel in the 2D plane resource management tool receives the user's operation and configures the theme and visualization indicators.

[0089] Specifically, in an embodiment of the present invention, through the operation configuration panel, the visualization configuration of topics and indicators such as equipment in the computer room, cabinet capacity, cabinet energy consumption, computer room environment, and alarm filtering is realized, which can be dynamically configured and rendered in the computer room twin scene. Here, equipment alarm filtering, asset capacity warning, and environmental indicator warning configuration are taken as examples: Alarm filtering settings, users can select the alarm type to be displayed, the alarm display icon, the warning color value, etc. in the operation configuration panel; asset capacity warning can select asset type, warning indicator, indicator heat range, indicator threshold, display form, etc.; environmental indicator warning configuration provides warning indicators, heat range, indicator threshold, display form, etc.

[0090] Among them, editing each layer data at least includes: graphic selection, dragging, drawing, vertex editing, graphic rotation, splitting, merging, moving, copying, cutting and deleting.

[0091] The topics shall at least include: equipment in the computer room, cabinet capacity, cabinet energy consumption, computer room environment, and alarm filtering.

[0092] It should be understood that editing each layer data and topic includes not only the items listed above, but may also include other items, which are not listed here one by one, and the protection scope of the present invention is not limited thereto.

[0093] Furthermore, in the above-mentioned method for producing and rendering a digital twin scene of a computer room, configuring a scene, a campus model, a computer building model, a floor model, a computer room model, model linkage, and a scene perspective includes:

[0094] The scene configuration interface receives the user's operation and configures the scene;

[0095] The model configuration interface receives the user's operation and binds the campus model, the machine building model, the floor model and the machine room model to the resources in the tree structure;

[0096] The model linkage configuration interface receives the user's operation and configures the model linkage relationship;

[0097] The perspective configuration interface receives the user's operation and configures the perspective of each level model display of the computer room digital twin scene;

[0098] Specifically, in an embodiment of the present invention, a scene configuration interface, a model configuration interface, a model linkage configuration interface and a perspective configuration interface are developed to realize the configuration of scenes, campus models, machine building models, floor models, computer room models, model linkage and scene perspectives. For example, the corresponding model linkage configuration interface can output the association between the campus model and the machine building ID, and the machine building model and the floor ID. The model linkage configuration process can be to parse the campus model and the machine building model, and perform machine building selection and binding, and floor selection and binding through the model mesh group.

[0099] In some embodiments, the model configuration interface also provides a real-time preview function, and the display effect can be directly previewed after the resources in the tree structure are bound to the model.

[0100] Furthermore, in the above-mentioned method for producing and rendering a computer room digital twin scene, the computer room digital twin scene dynamic rendering module renders and displays resources, spatial locations, resource rendering configurations, campus models, computer building models, floor models, computer room models, scenes, and scene perspectives, including:

[0101] In the pre-developed computer room digital twin scene rendering framework, the campus model, computer building model, floor model, computer room model scene and scene perspective are dynamically loaded and rendered according to the configured campus model, computer building model, floor model, computer room model, scene and scene perspective to generate a 3D scene. The scene is then drilled down and displayed step by step according to the model linkage configured in the scene.

[0102] Specifically, in an embodiment of the present invention, the pre-developed computer room digital twin scene rendering framework is developed using webgl technology. The pre-developed computer room digital twin scene rendering framework dynamically loads and renders models according to configuration data, generates a 3D scene, and realizes step-by-step drilling and display of the scene according to the model linkage configuration in the scene.

[0103] When the scene is initialized, the resources in the computer room are queried, and points and rendering are performed in the scene according to the resource coordinates, spatial position coordinates and resource rendering configuration in the pre-developed computer room digital twin scene rendering framework;

[0104] The resources for dotting and rendering shall at least include: the outline of the computer room, the name of the computer room, the function label, the position data, the cabinet, the pipeline and the equipment;

[0105] Among them, the equipment includes at least: air conditioning, power supply, monitoring, smoke detection, temperature detection, and water immersion.

[0106] Specifically, in an embodiment of the present invention, data such as machine positions, pipelines, cabinets, equipment positions, etc. in the computer room are queried when the scene is initialized, and in a pre-developed computer room digital twin scene rendering framework, points and rendering are quickly performed in the scene according to the resource coordinates and resource rendering configuration, including the computer room outline, computer room name, function labels, machine position data, cabinets, air conditioners, power supplies, monitoring, smoke sensors, temperature sensors, water immersion and other equipment.

[0107] Figure 3 A diagram of a resource locating method provided by an embodiment of the present invention.

[0108] Furthermore, the above-mentioned method for producing and rendering a digital twin scene of a computer room further includes: resource positioning;

[0109] Combination Figure 3 , the resource location step includes two steps S31 to S32:

[0110] S31: query the device by associating the device attributes and alarm information;

[0111] S32: The spatial position of the device in the 3D scene is obtained based on the association relationship between the device, cabinet, and position, so as to realize the precise positioning of the equipment and alarms in the computer room.

[0112] Specifically, in an embodiment of the present invention, a pre-developed digital twin scene rendering framework of a computer room has the capability to locate equipment and alarms. The equipment is queried by associating equipment attributes with alarm information, and then the spatial position of the equipment in the scene is obtained based on the association between the equipment, cabinets, and positions, thereby achieving accurate positioning of equipment and alarms in the computer room.

[0113] Furthermore, the above-mentioned method for producing and rendering a digital twin scene of a computer room further includes:

[0114] In the pre-developed computer room digital twin scene rendering framework, the operation form is dynamically generated in the 3D scene according to the equipment operation items configured in the 2D plane resource management tool;

[0115] Encapsulate and open API interfaces in the pre-developed computer room digital twin scene rendering framework;

[0116] Among them, the API interfaces include: perspective switching, model query, model positioning, coordinate picking, device dotting, electronic fence, billboard, model drilling, model display and hiding, and custom code execution interface.

[0117] Specifically, in an embodiment of the present invention, in a pre-developed computer room digital twin scene rendering framework, an operation form can be dynamically generated in a 3D scene according to the equipment operation items configured in the 2D plan view, real-time interaction with the equipment in the form is supported, and some commonly used API interfaces are encapsulated and opened in the pre-developed computer room digital twin scene rendering framework to support personalized business needs that are not realized in the current framework.

[0118] Figure 4 A rendering pipeline method diagram provided by an embodiment of the present invention.

[0119] Furthermore, in the above-mentioned method for producing and rendering a digital twin scene of a computer room, Figure 4 , the steps of the rendering pipeline include:

[0120] S41: querying pipelines drawn in the 2D plane resource management tool;

[0121] S42: traverse pipeline types and calculate height;

[0122] S43: When the pipeline is drawn, the device is queried according to the position association of the starting point and the end point of the pipeline, and in the pre-developed computer room digital twin scene rendering framework, it is determined whether to generate a downlink path according to whether there are devices connected to the starting point and the end point;

[0123] S44: calculating the distance and point difference between every two points according to the path of the pipeline, stretching and rotating the basic pipeline model to generate a pipeline model;

[0124] S45: generating a sphere of the pipeline path at the corner of the pipeline path and placing it at the joint;

[0125] S46: Rendering according to the size, color, and texture of the configured pipeline path;

[0126] S47: Perform flow effects processing on pipelines.

[0127] Specifically, in an embodiment of the present invention, a pipeline drawn in a 2D plane resource management tool is queried, including: type, ID, path, ID and color of the starting point and the ending point; the pipeline types are traversed and height calculation is performed, including: a fixed distance is sequentially increased on the basis of the reference height, and multiple types of pipelines do not overlap; when stretching and rotating to generate a pipeline model, the rotation angle is consistent with the path; a sphere generating a pipeline path at the corner of the pipeline path is placed at the joint, and the pipeline corner can be smoothly transitioned; flow special effects processing of the pipeline includes: calculating the total length of each pipeline, calculating the X-fold factor of the UV of the flow direction, giving the pipeline UV animation, and dynamically generating a pipeline model in real time according to the pipeline path, pipe diameter size, and material style in the digital twin scene of the computer room, saving the pipeline model production link and accelerating the scene delivery efficiency.

[0128] Device Embodiment

[0129] Figure 5 A diagram of a production and rendering device for a digital twin scene of a computer room provided in an embodiment of the present invention.

[0130] In a second aspect of the present invention, a production and rendering device for a computer room digital twin scene is also proposed, which is applied to a system including: a 2D plane resource management tool, a computer room digital twin scene configuration tool and a computer room digital twin scene dynamic rendering module, combined with Figure 5 ,include:

[0131] Acquisition module 51: used to acquire drawings to be produced and rendered.

[0132] Specifically, in an embodiment of the present invention, the drawings to be produced and rendered acquired by the acquisition module 51 may be CAD design drawings, or schematic diagrams and photos. The schematic diagrams and photos may be calibrated in coordinates and dimensions through tools such as rulers, rotations, and stretching in the plane management tool.

[0133] The management module 52 and the first configuration module 53 are used to import the drawings to be produced and rendered into the 2D plane resource management tool to manage resources and spatial positions in the form of two-dimensional graphics. The 2D plane resource management tool receives the user's operation and performs resource rendering configuration.

[0134] Specifically, in an embodiment of the present invention, the drawings to be produced and rendered are imported into a 2D plane resource management tool, and resources and spatial positions are managed in the form of two-dimensional graphics through a management module 52. The 2D plane resource management tool receives the user's operation, and performs resource rendering configuration through a first configuration module 53, including: configuration through the style configuration function of the equipment, pipelines and topics of the 2D plane resource management tool, specifically, configuring the display icon (normal style and alarm style), equipment pop-up window and equipment interaction operation of the equipment through the equipment configuration function, configuring the diameter size, rendering color and texture map of the pipeline through the pipeline configuration function, and configuring the cabinet capacity, thermal range of the computer room environment, index threshold and other parameters through the style configuration function of the topic, wherein the resources include at least: park, computer building, floor, computer room, machine position, cabinet, equipment, pipeline.

[0135] It should be understood that through the plane management tool, graphical management of resources such as parks, computer buildings, floors, computer rooms, machine positions, cabinets, equipment, pipelines, etc. can be achieved, and the computer room asset data can be intuitively displayed, and the equipment location, pipeline distribution, and equipment alarms can be clearly visible.

[0136] The second configuration module 54 is used for the computer room digital twin scene configuration tool to receive the user's configuration operation, configure the scene, campus model, computer building model, floor model, computer room model, model linkage and scene perspective.

[0137] Specifically, in an embodiment of the present invention, multiple interfaces are developed in the computer room digital twin scene configuration tool, and the multiple interfaces include: a model configuration interface, a scene configuration interface, a model linkage configuration interface and a scene perspective interface. The second configuration module 54 configures the scene, campus model, computer building model, floor model, computer room model, model linkage and scene perspective through multiple interfaces.

[0138] It should be understood that the computer room digital twin scene configuration tool can realize operations such as campus, computer building, floor, and computer room model binding, scene perspective setting at each level, scene interaction configuration, and dynamic rendering.

[0139] Rendering module 55 and display module 56: The dynamic rendering module of the computer room digital twin scene renders and displays resources, spatial locations, resource rendering configurations, campus models, computer building models, floor models, computer room models, scenes, and scene perspectives.

[0140] Specifically, in an embodiment of the present invention, the rendering module 55 and the display module 56 render and display according to the resources, spatial position, resource rendering configuration in the 2D plane management tool and the campus model, machine building model, floor model, computer room model, scene and scene perspective configured in the computer room digital twin scene configuration tool, and integrate the rendering of the model and computer room resources in the computer room digital twin scene, real-time interaction and status feedback of the equipment, to realize dynamic mapping of 2D / 3D resources and real-time data linkage, providing strong guarantee for the digital management of the computer room.

[0141] According to a third aspect of the present invention, an electronic device is provided, comprising: a processor and a memory;

[0142] The processor calls the program or instructions stored in the memory to execute any of the above methods for producing and rendering a digital twin scene of a computer room.

[0143] In a fourth aspect of the present invention, a computer-readable storage medium is further proposed, which stores a program or instruction, and the program or instruction enables a computer to execute any of the above methods for producing and rendering a digital twin scene of a computer room.

[0144] Figure 6 It is a schematic block diagram of an electronic device provided by an embodiment of the present invention.

[0145] like Figure 6 As shown, the electronic device includes: at least one processor 601, at least one memory 602 and at least one communication interface 603. The various components in the electronic device are coupled together through a bus system 604. The communication interface 603 is used to transmit information between external devices. It can be understood that the bus system 604 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 604 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 6 Various buses are labeled as bus system 604 .

[0146] It can be understood that the memory 602 in this embodiment can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories.

[0147] In some implementations, the memory 602 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system and application programs.

[0148] Among them, the operating system includes various system programs, such as the framework layer, the core library layer, the driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. A program that implements any of the methods for producing and rendering a digital twin scene of a computer room provided in an embodiment of the present invention can be included in the application program.

[0149] In an embodiment of the present invention, the processor 601 calls a program or instruction stored in the memory 602, specifically, a program or instruction stored in an application, and the processor 601 is used to execute the steps of each embodiment of a method for producing and rendering a digital twin scene of a computer room provided in an embodiment of the present invention.

[0150] Obtain drawings to be produced and rendered;

[0151] Importing the drawings to be produced and rendered into a 2D plane resource management tool to manage resources and spatial positions in the form of two-dimensional graphics, and the 2D plane resource management tool receives the user's operation and performs resource rendering configuration;

[0152] The computer room digital twin scene configuration tool receives the user's configuration operation and configures the scene, campus model, computer building model, floor model, computer room model, model linkage, and scene perspective;

[0153] The computer room digital twin scene dynamic rendering module renders and displays resources, spatial locations, resource rendering configurations, campus models, computer building models, floor models, computer room models, scenes, and scene perspectives;

[0154] Among them, resources include at least: park, computer building, floor, computer room, computer position, cabinet, equipment, and pipeline.

[0155] Any of the methods for producing and rendering a digital twin scene of a computer room provided in an embodiment of the present invention can be applied to a processor 601, or implemented by a processor 601. The processor 601 may be an integrated circuit chip having signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 601 or by instructions in the form of software. The above-mentioned processor 601 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0156] The steps of any method in the method for producing and rendering a digital twin scene of a computer room provided by an embodiment of the present invention can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software units in the decoding processor. The software unit can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and completes the steps of the method in combination with its hardware.

[0157] Those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present invention and to form different embodiments.

[0158] Those skilled in the art will appreciate that the description of each embodiment has its own emphasis, and for parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0159] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the appended claims. The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed by the present invention, and these modifications or substitutions should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

[0160] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for producing and rendering a digital twin scene of a computer room, characterized in that: Applied in systems including: 2D plane resource management tools, computer room digital twin scene configuration tools and computer room digital twin scene dynamic rendering modules, including: Obtain drawings to be produced and rendered; Importing the drawings to be produced and rendered into a 2D plane resource management tool to manage resources and spatial positions in the form of two-dimensional graphics, and the 2D plane resource management tool receives the user's operation and performs resource rendering configuration; The computer room digital twin scene configuration tool receives the user's configuration operation and configures the scene, campus model, computer building model, floor model, computer room model, model linkage, and scene perspective; The computer room digital twin scene dynamic rendering module renders and displays resources, spatial locations, resource rendering configurations, campus models, computer building models, floor models, computer room models, scenes, and scene perspectives; Among them, resources include at least: park, computer building, floor, computer room, computer position, cabinet, equipment, and pipeline.

2. The method for producing and rendering a digital twin scene of a computer room according to claim 1, characterized in that: The step of importing the drawings to be produced and rendered into a 2D plane resource management tool to manage resources and spatial positions in the form of two-dimensional graphics includes: Extract the drawings to be produced and rendered after parsing, vectorization, feature data recognition and data classification; Publish the extracted data as GIS layer services, display each layer data in a tree structure in the layer tool, and edit each layer data through the graphic processing tools of each layer; Using graphics processing technology, based on the computer room vector data, the computer room resources and spatial locations are displayed graphically; The operation configuration panel in the 2D plane resource management tool receives the user's operation and configures the theme and visualization indicators; Among them, editing each layer data at least includes: graphic selection, dragging, drawing, vertex editing, graphic rotation, splitting, merging, moving, copying, cutting and deleting; The topics shall at least include: equipment in the computer room, cabinet capacity, cabinet energy consumption, computer room environment, and alarm filtering.

3. The method for producing and rendering a digital twin scene of a computer room according to claim 1, characterized in that: Configure scenarios, campus models, machine building models, floor models, machine room models, model linkage, and scenario perspectives, including: The scene configuration interface receives the user's operation and configures the scene; The model configuration interface receives the user's operation and binds the campus model, the machine building model, the floor model and the machine room model to the resources in the tree structure; The model linkage configuration interface receives the user's operation and configures the model linkage relationship; The perspective configuration interface receives the user's operation and configures the perspective of the display of each level model of the computer room digital twin scene.

4. The method for producing and rendering a digital twin scene of a computer room according to claim 1, characterized in that: The dynamic rendering module of the computer room digital twin scene renders and displays resources, spatial locations, resource rendering configurations, campus models, computer building models, floor models, computer room models, scenes, and scene perspectives, including: In the pre-developed digital twin scene rendering framework of the computer room, the campus model, computer building model, floor model, computer room model, scene and scene perspective are dynamically loaded and rendered according to the configured campus model, computer building model, floor model, computer room model scene and scene perspective, and a 3D scene is generated. The scene is drilled down and displayed step by step according to the linkage of the models configured in the scene. When the scene is initialized, the resources in the computer room are queried, and points and rendering are performed in the scene according to the resource coordinates, spatial position coordinates and resource rendering configuration in the pre-developed computer room digital twin scene rendering framework; The resources for dotting and rendering shall at least include: room outline, room name, function label, machine position data, cabinets, pipelines and equipment; Among them, the equipment includes at least: air conditioning, power supply, monitoring, smoke detection, temperature detection, and water immersion.

5. The method for producing and rendering a digital twin scene of a computer room according to claim 1, characterized in that: The method further comprises: resource locating; The steps of resource location include: Query the device by associating device attributes and alarm information; The spatial position of the equipment in the 3D scene is obtained based on the relationship between equipment, cabinets, and positions, so as to achieve accurate positioning of equipment and alarms in the computer room.

6. The method for producing and rendering a computer room digital twin scene according to claim 4, characterized in that: The method further comprises: In the pre-developed computer room digital twin scene rendering framework, the operation form is dynamically generated in the 3D scene according to the equipment operation items configured in the 2D plane resource management tool; Encapsulate and open API interfaces in the pre-developed computer room digital twin scene rendering framework; Among them, the API interfaces include: perspective switching, model query, model positioning, coordinate picking, device dotting, electronic fence, billboard, model drilling, model display and hiding, and custom code execution interface.

7. The method for producing and rendering a digital twin scene of a computer room according to claim 4, characterized in that: The steps of the rendering pipeline include: Query the pipelines drawn in the 2D plane resource management tool; Traverse pipeline types and calculate height; When the pipeline is drawn, the device is queried based on the location of the starting point and the end point of the pipeline. In the pre-developed digital twin scene rendering framework of the computer room, it is decided whether to generate a downlink path based on whether there are devices connected to the starting point and the end point. Calculate the distance and point difference between every two points according to the pipeline path, stretch and rotate the basic pipeline model to generate the pipeline model; Spheres that generate pipeline paths at the corners of the pipeline paths are placed at the seams; Rendering according to the size, color, and texture of the configured pipeline path; Apply flow effects to pipelines.

8. A device for producing and rendering a digital twin scene of a computer room, characterized in that: Applied in systems including: 2D plane resource management tools, computer room digital twin scene configuration tools and computer room digital twin scene dynamic rendering modules. Acquisition module: used to obtain drawings to be produced and rendered; The management module and the first configuration module are used to import the drawings to be produced and rendered into the 2D plane resource management tool to manage resources and spatial positions in the form of two-dimensional graphics. The 2D plane resource management tool receives the user's operation and performs resource rendering configuration; The second configuration module: used for the computer room digital twin scene configuration tool to receive the user's configuration operation, configure the scene, campus model, computer building model, floor model, computer room model, model linkage and scene perspective; Rendering module and display module: The dynamic rendering module of the computer room digital twin scene is used to render and display resources, spatial locations, resource rendering configurations, campus models, computer building models, floor models, computer room models, scenes, and scene perspectives; Among them, resources include at least: park, computer building, floor, computer room, computer position, cabinet, equipment, and pipeline.

9. An electronic device, characterized in that: include: Processor and memory; The processor is used to execute a method for producing and rendering a digital twin scene of a computer room as described in any one of claims 1 to 7 by calling a program or instruction stored in the memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores programs or instructions, and the programs or instructions enable a computer to execute a method for producing and rendering a digital twin scene of a computer room as described in any one of claims 1 to 7.