Port automatic connection method and device and readable storage medium

By displaying the equipment and ports of the communication machine room on the digital twin platform, and automatically generating port connecting lines, the traditional resource management methods cannot directly display the complex wiring and equipment layout in the machine room, which improves operation and maintenance efficiency and accuracy Essence

CN119363802AActive Publication Date: 2025-01-24CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411455663.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-01-24
Estimated Expiration
2044-10-17

AI Technical Summary

Technical Problem

Traditional resource management methods cannot intuitively display the complex wiring and equipment layout in the communication computer room, resulting in low operation and maintenance efficiency, difficult problem positioning, and lagging data updates.

Method used

By collecting data from the resource management system, network management system and ledger of the computer room, we can obtain basic information about each device and port, analyze the connection relationship between the ports between devices, form link data in the port dimension, and calculate the link between ports. Wiring paths, and create a 3D model in the digital twin platform to display devices and ports, and render the wiring paths to achieve automatic port-to-port wiring.

Benefits of technology

The automatic generation of port connection is realized, the intuitive management and rapid retrieval of resources are improved, the efficiency and accuracy of operation and maintenance are significantly improved, and the problems of complex wiring and equipment layout in the machine room cannot be directly displayed in traditional resource management methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119363802A_ABST
    Figure CN119363802A_ABST
Patent Text Reader

Abstract

The invention provides an automatic port connection method and device and a readable storage medium, and relates to the technical field of resource management, the method comprises the following steps: acquiring basic information of each device and port in a machine room by collecting data in a resource management system, a network management system and a machine account of the machine room; according to the basic information of each device and each port in the machine room, analyzing a connection relationship between each port of the devices so as to form link data of a port dimension; calculating a connection path between the ports based on the link data of the port dimension; creating a three-dimensional model corresponding to the machine room in a digital twin platform, and displaying equipment and ports of the machine room; and rendering the calculated line connection path into the three-dimensional model so as to realize automatic line connection from ports to ports. According to the method, the device and the readable storage medium, the problem that complex wiring and equipment layout in a machine room cannot be visually displayed in a traditional resource management mode is at least solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of resource management, and in particular to a method and device for automatically connecting a port, and a readable storage medium. Background Art

[0002] With the popularity of smart phones and the rapid development of mobile network technology, especially the widespread application of 4G and 5G networks, the number of mobile network element devices and ODF (Optical Distribution Frame) devices in communication rooms has increased dramatically. However, traditional resource management methods, such as ledgers and traditional network management systems, can no longer meet the high efficiency and intuitiveness requirements of modern operation and maintenance, and have the following main shortcomings:

[0003] (1) Resource management limitations: Traditional communication room resource management relies on ledgers and network management systems. These methods have obvious limitations in resource retrieval and data search, and cannot intuitively display the complex wiring and equipment layout in the room.

[0004] (2) Low O&M efficiency: Due to the lack of intuitive resource display, O&M personnel often need to spend a lot of time searching for information in complex two-dimensional drawings and data tables when troubleshooting and locating problems, resulting in low O&M efficiency.

[0005] (3) Difficulty in locating problems: Under the existing management method, it is difficult for operation and maintenance personnel to locate problems quickly and accurately, especially in the core equipment rooms of 4G and 5G mobile networks where the number of devices has increased dramatically. This problem is particularly prominent.

[0006] (4) Data update lag: Traditional systems often have the problem of untimely data updates, which leads to operation and maintenance decisions and operations being based on outdated information, increasing operation and maintenance risks. Summary of the invention

[0007] The technical problem to be solved by the present invention is to provide a port automatic connection method, device and readable storage medium in view of the above-mentioned deficiencies in the prior art, so as to at least solve the problem that the traditional resource management method cannot intuitively display the complex wiring and equipment layout in the computer room.

[0008] In a first aspect, the present invention provides a method for automatically connecting a port, the method comprising:

[0009] By collecting data from the resource management system, network management system and ledger of the computer room, basic information of each device and port in the computer room can be obtained;

[0010] According to the basic information of each device and port in the computer room, the connection relationship between the ports of the devices is analyzed to form link data of the port dimension;

[0011] Calculate the connection path between ports based on the link data of the port dimension;

[0012] Creating a three-dimensional model corresponding to the computer room in the digital twin platform to display the equipment and ports of the computer room;

[0013] The calculated connection path is rendered into the three-dimensional model to realize automatic connection from port to port.

[0014] Furthermore, the basic information of each device and port in the computer room is obtained by collecting data from the resource management system, network management system and ledger of the computer room, including:

[0015] Collect data from the resource management system, network management system and ledger using a web crawler or application programming interface (API);

[0016] Based on the collected data, the cabinet data is associated with the computer room data, the equipment data is associated with the cabinet data, and the ports of the devices are associated with each other through the circuit data to obtain the basic information of each device and port in the computer room.

[0017] Furthermore, after collecting data from the resource management system, network management system and ledger using a web crawler or an application programming interface (API), the method further includes:

[0018] Clean the collected data, remove invalid or duplicate data items, and integrate data from different devices and ports to form a unified data format.

[0019] Further, the link data of the port dimension includes a port table and a link table, the port table includes a port identifier, physical space coordinate data of the port, the link table includes a link identifier and port identifiers at both ends of the link, and the link data based on the port dimension is used to calculate the connection path between the ports, specifically including:

[0020] According to the port identifiers at both ends of each link in the link table and their corresponding physical space coordinate data, calculate the three-dimensional space coordinates of the ports at both ends of the link in the digital twin platform, and determine the port starting point and port end point according to the three-dimensional space coordinates;

[0021] According to the port starting point and port end point corresponding to each link, the key inflection point coordinates of the line from the port starting point to the port end point are calculated;

[0022] The connection path between the ports is determined according to the key turning point coordinates and the port starting point and the port end point of each link.

[0023] Further, the calculating of the key turning point coordinates of the line from the port starting point to the port ending point according to the port starting point and the port ending point corresponding to each link specifically includes:

[0024] Obtaining a preset height and extension parameter of a distribution frame in a computer room, wherein the extension parameter indicates the distance that a connection line extends from a port;

[0025] According to the X-axis, Y-axis, and Z-axis coordinates of the port starting point and the port end point corresponding to each link and the height and extension parameters of the distribution frame in the computer room, the key inflection point coordinates of the line connecting the port starting point to the port end point are calculated.

[0026] Furthermore, the method further comprises:

[0027] A user interaction interface is designed, which allows the user to view detailed information of different devices and ports by clicking and / or dragging.

[0028] Furthermore, the method further comprises:

[0029] The three-dimensional model in the digital twin platform is updated according to the real-time data of each device and port in the computer room.

[0030] In a second aspect, the present invention provides a port automatic connection device, the device comprising:

[0031] The basic information acquisition module is used to obtain the basic information of each device and port in the computer room by collecting data from the resource management system, network management system and ledger of the computer room;

[0032] A link data acquisition module, connected to the basic information acquisition module, is used to analyze the connection relationship between the ports of the devices according to the basic information of the devices and ports in the computer room, so as to form link data of the port dimension;

[0033] A connection path calculation module, connected to the link data acquisition module, and used to calculate the connection path between ports based on the link data of the port dimension;

[0034] A three-dimensional model creation module, connected to the connection path calculation module, is used to create a three-dimensional model corresponding to the computer room in the digital twin platform to display the equipment and ports of the computer room;

[0035] The port automatic connection module is connected to the three-dimensional model creation module and is used to render the calculated connection path into the three-dimensional model to realize automatic connection from port to port.

[0036] In a third aspect, the present invention provides an automatic port connection device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the automatic port connection method described in the first aspect.

[0037] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the automatic port connection method described in the first aspect is implemented.

[0038] The present invention provides a method, device and readable storage medium for automatic port connection. First, by collecting data from the resource management system, network management system and ledger of the computer room, the basic information of each device and port in the computer room is obtained; then, according to the basic information of each device and port in the computer room, the connection relationship between the ports between the devices is analyzed, thereby forming link data of the port dimension; and the connection path between the ports is calculated based on the link data of the port dimension; then a three-dimensional model corresponding to the computer room is created in the digital twin platform to display the equipment and ports of the computer room; and the calculated connection path is rendered into the three-dimensional model to realize automatic connection from port to port. The present invention automatically generates link data of the port dimension through the collected data, and calculates the connection path between the ports, thereby realizing the automatic generation of port connection. At the same time, the present invention makes it possible to intuitively manage and quickly retrieve resources by intuitively displaying the equipment and ports of the computer room in the digital twin platform, greatly improving the efficiency and accuracy of operation and maintenance. At least the problem that the traditional resource management method cannot intuitively display the complex wiring and equipment layout in the computer room is solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 This is a flow chart of a method for automatically connecting ports according to Embodiment 1 of the present invention;

[0040] Figure 2 A structural diagram of a port automatic connection method according to an embodiment of the present invention;

[0041] Figure 3 A flowchart of another method for automatically connecting ports according to an embodiment of the present invention;

[0042] Figure 4 Automatically generate a schematic diagram for the connection of an embodiment of the present invention;

[0043] Figure 5 A schematic diagram of a three-dimensional rendering of an embodiment of the present invention;

[0044] Figure 6 This is a schematic diagram of the structure of an automatic port connection device according to Embodiment 2 of the present invention;

[0045] Figure 7 This is a schematic diagram of the structure of an automatic port connection device according to Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0046] In order to enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0047] It should be understood that the specific embodiments and drawings described herein are only used to explain the present invention rather than to limit the present invention.

[0048] It can be understood that, in the absence of conflict, the various embodiments of the present invention and the various features in the embodiments can be combined with each other.

[0049] It can be understood that, for the convenience of description, the drawings of the present invention only show the parts related to the present invention, while the parts irrelevant to the present invention are not shown in the drawings.

[0050] It can be understood that each unit and module involved in the embodiments of the present invention may correspond to only one physical structure, or may be composed of multiple physical structures, or multiple units and modules may be integrated into one physical structure.

[0051] It can be understood that the terms "first", "second", etc. in the embodiments of the present invention are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0052] It can be understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of the present invention may occur in an order different from that marked in the drawings.

[0053] It is understood that the flowcharts and block diagrams of the present invention illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present invention. Each box in the flowchart or block diagram may represent a unit, module, program segment, or code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or may be implemented by a combination of hardware and computer instructions.

[0054] It can be understood that the units and modules involved in the embodiments of the present invention can be implemented by software or hardware. For example, the units and modules can be located in a processor.

[0055] Embodiment 1:

[0056] This embodiment provides a method for automatically connecting ports. Figure 1 As shown, the method includes:

[0057] Step S101: basic information of each device and port in the computer room is obtained by collecting data from the resource management system, network management system and ledger of the computer room.

[0058] In this embodiment, the equipment includes mobile network element equipment and ODF equipment. The basic information of each equipment and port in the computer room includes but is not limited to equipment type, location coordinates, port status, connection relationship, etc.

[0059] Optionally, the basic information of each device and port in the computer room is obtained by collecting data in the resource management system, network management system and ledger of the computer room, specifically including:

[0060] Collect data from the resource management system, network management system and ledger using a web crawler or API (Application Programming Interface);

[0061] Based on the collected data, the cabinet data is associated with the computer room data, the equipment data is associated with the cabinet data, and the ports of the devices are associated with each other through the circuit data to obtain the basic information of each device and port in the computer room.

[0062] In this embodiment, a web crawler or API interface is used to obtain data information such as the type, model, manufacturer, IP, port, etc. of the equipment, and the port and port data information of the computer room circuit from the resource management system of the computer room; the online status of the equipment and the port connectivity status are obtained through the network management system; the room structure diagram, cabinet model, cabinet layout diagram and the location of the equipment in the cabinet are obtained through the ledger.

[0063] In this embodiment, for the collected data, the cabinet data is associated with the computer room data, the equipment data is associated with the cabinet data, and the ports of the devices are associated with each other through the circuit data, so as to obtain the basic information of each device and port in the computer room.

[0064] Optionally, after collecting data from the resource management system, the network management system and the ledger using a web crawler or an application programming interface (API), the method further includes:

[0065] Clean the collected data, remove invalid or duplicate data items, and integrate data from different devices and ports to form a unified data format.

[0066] In this embodiment, in order to ensure the consistency and accuracy of the data, the collected data is cleaned to remove invalid or duplicate data items. At the same time, the data of different devices and ports are integrated to form a unified data format for subsequent processing.

[0067] Step S102: According to the basic information of each device and port in the computer room, the connection relationship between the ports of the devices is analyzed to form link data of the port dimension.

[0068] In this embodiment, link data of the port dimension may be formed by analyzing the connection relationship between ports, wherein the link data of the port dimension is used to indicate the logical connection relationship between ports.

[0069] Step S103: Calculate the connection paths between ports based on the link data of the port dimension.

[0070] In this embodiment, based on the logical connection relationship between ports in the link data of the port dimension, the connection path between the ports is calculated to ensure the rationality and accuracy of the connection. At the same time, an optimized connection algorithm can be used to reduce intersections and overlaps and improve the aesthetics and readability of the connection.

[0071] Optionally, the link data of the port dimension includes a port table and a link table, the port table includes a port identifier and physical space coordinate data of the port, the link table includes a link identifier and port identifiers at both ends of the link, and the link data based on the port dimension is used to calculate the connection path between the ports, specifically including:

[0072] According to the port identifiers at both ends of each link in the link table and their corresponding physical space coordinate data, calculate the three-dimensional space coordinates of the ports at both ends of the link in the digital twin platform, and determine the port starting point and port end point according to the three-dimensional space coordinates;

[0073] According to the port starting point and port end point corresponding to each link, the key inflection point coordinates of the line from the port starting point to the port end point are calculated;

[0074] The connection path between the ports is determined according to the key turning point coordinates and the port starting point and the port end point of each link.

[0075] In this embodiment, the port identifier may be a port ID or a port name, the physical space coordinate data of the port may include the physical space X-axis, Y-axis, and Z-axis coordinates of the port, and the link identifier may be a link ID or a link name. For example, the port table may be shown in Table 1, and the link table may be shown in Table 2:

[0076] Table 1: Port table

[0077] Fields type illustrate PORT_ID Long Port ID PORT_NAME Varchar Port Name PORT_X Double Port space X-axis coordinate PORT_Y Double Port space Y-axis coordinate PORT_Z Double Port space Z-axis coordinate

[0078] Table 2: Link table

[0079] Fields type illustrate LING_ID Long Link ID LING_NAME Varchar Link Name LING_PORT_A_ID Long A port ID in the link LING_PORT_B_ID Long B port ID in the link

[0080] Optionally, the calculating of the key turning point coordinates of the line from the port starting point to the port ending point according to the port starting point and the port ending point corresponding to each link specifically includes:

[0081] Obtaining a preset height and extension parameter of a distribution frame in a computer room, wherein the extension parameter indicates the distance that a connection line extends from a port;

[0082] According to the X-axis, Y-axis, and Z-axis coordinates of the port starting point and the port end point corresponding to each link and the height and extension parameters of the distribution frame in the computer room, the key inflection point coordinates of the line connecting the port starting point to the port end point are calculated.

[0083] In this embodiment, the port starting point is set to P1 = (x1, y1, z1), and the port end point is set to P2 = (x2, y2, z2). Then the key turning point coordinates can be calculated as follows:

[0084] Z1=(x1+s,y1,z1)

[0085] Z2=(x1+s,y max ,z1)

[0086] Z3=(x2+s,y max ,z1)

[0087] Z4=(x2+s,y max ,z2)

[0088] Z5=(x2+s,y2,z2)

[0089] In the formula, s represents the extension parameter, y max Indicates the height of the wiring rack in the equipment room.

[0090] Among them, when the X-axis coordinate of point P1 is equal to the X-axis coordinate of point P2, point Z2 will coincide with point Z3 to form one point; when the Z-axis coordinate of point P1 is equal to the Z-axis coordinate of point P2, point Z3 will coincide with point Z4 to form one point.

[0091] It should be noted that defining s as 0.5 has a better display effect. In actual application scenarios, s can also be adjusted or set according to specific needs.

[0092] Step S104: creating a three-dimensional model corresponding to the computer room in the digital twin platform to display the equipment and ports of the computer room;

[0093] Step S105: Rendering the calculated connection path into the three-dimensional model to realize automatic connection from port to port.

[0094] In this embodiment, the three.js engine technology is used to build a 3D model of the digital twin platform, display the equipment and ports in the computer room, and render the calculated connection path into the 3D model to achieve automatic port-to-port connection. This innovation presents users with an intuitive and interactive resource management interface, which greatly helps operation and maintenance personnel to quickly locate problems and simplify the wiring management process.

[0095] Optionally, the method further comprises:

[0096] A user interaction interface is designed, which allows the user to view detailed information of different devices and ports by clicking and / or dragging.

[0097] In this embodiment, a user interaction interface is designed to allow the user to view detailed information of different devices and ports by clicking, dragging, etc., thereby improving operation and maintenance efficiency.

[0098] Optionally, the method further comprises:

[0099] The three-dimensional model in the digital twin platform is updated according to the real-time data of each device and port in the computer room.

[0100] In this embodiment, the digital twin platform has real-time data update capabilities to ensure that the displayed information is synchronized with the actual equipment status, thereby effectively preventing operation and maintenance risks caused by delayed data updates.

[0101] The automatic port connection method provided in the embodiment of the present invention utilizes digital twin technology to collect resource data from existing ledgers, resource management systems, and network management systems, and further processes these data to form link data in the port dimension. These resource data are then rendered onto the digital twin platform, and at the same time, the three-dimensional spatial coordinate position of the port of the link data on the digital twin platform is calculated to automatically generate and render the port-to-port connection. This technical solution not only provides an intuitive resource management view, but also realizes the automation and intelligence of port wiring, greatly improving the efficiency and accuracy of operation and maintenance. In this way, operation and maintenance personnel can quickly and accurately locate problems and optimize the wiring process, thereby significantly improving the operation and maintenance management level of the communication room.

[0102] In a specific embodiment, a method for automatically connecting ports between a mobile network element device and an ODF device in a mobile network core room is designed based on digital twin technology. The structure diagram of the method is shown in FIG. Figure 2 As shown, it includes a data collection module, a data processing module, an automatic wiring module and a visual display module. The flowchart of the method is as follows Figure 3 As shown, it mainly consists of the following steps:

[0103] S1. Data Collection

[0104] (1) Requirements:

[0105] It is necessary to access the computer room's resource management system, network management system, and import ledgers to obtain equipment resource data, circuit data, equipment status data, and equipment layout in the computer room.

[0106] The collected data is analyzed and processed by the data processing module, the cabinet data is associated with the computer room data, the equipment data is associated with the cabinet data, and the ports of the devices are associated with each other through the circuit data.

[0107] The integrity and accuracy of the data need to be ensured to facilitate subsequent processing and analysis.

[0108] (2) Function:

[0109] Collect resource data of all mobile network element devices and ODF devices in the computer room, including but not limited to device type, location coordinates, port status, connection relationship, etc.

[0110] It should be noted that the port status includes two states: online and offline. The connection relationship includes the connection relationship between the mobile network element device and the ODF device, the connection relationship between the mobile network element device and the mobile network element device, and the connection relationship between the ODF device and the ODF device.

[0111] Through data collection, a basic information database of devices and ports is established to provide necessary data support for subsequent data processing and visualization.

[0112] (3) Details:

[0113] Use web crawlers or API interfaces to obtain data information such as the type, model, manufacturer, IP, port, etc. of the equipment, and the port and port data information of the computer room circuit from the computer room resource management system; obtain the equipment online status and port connectivity status through the network management system; obtain the computer room structure diagram, cabinet model, cabinet layout diagram and the location of the equipment in the cabinet through the ledger.

[0114] Conduct preliminary cleaning and verification of the collected data to ensure its consistency and accuracy.

[0115] Store data in a local database or cloud storage system to provide convenient access for subsequent processing.

[0116] S2. Data Processing

[0117] (1) Requirements:

[0118] The collected data needs to be cleaned, integrated and analyzed to form link data in the port dimension.

[0119] It is necessary to have certain data processing capabilities and be able to handle complex data relationships and logic.

[0120] (2) Function:

[0121] Conduct in-depth analysis on the collected device and port data to determine the logical connection relationship between ports.

[0122] Through data processing, port-to-port link data is generated to provide data support for automated wiring.

[0123] (3) Details:

[0124] Clean the data, remove invalid or duplicate data items, and ensure the accuracy of the data.

[0125] Integrate data from different devices and ports into a unified data format for easy subsequent processing.

[0126] The connection relationship between the ports is analyzed, the logical connection path of the ports is determined, and the link data of the port dimension is generated, that is, the port table shown in Table 1 and the link table shown in Table 2 are included.

[0127] S3, online calculation

[0128] (1) Requirements:

[0129] Get the spatial coordinates of the two ports.

[0130] It needs to have three-dimensional spatial computing capabilities to achieve automatic connection between ports.

[0131] (2) Function:

[0132] According to the logical connection relationship of the port, the three-dimensional spatial coordinate position of the port on the digital twin platform is calculated.

[0133] Realize automatic connection from port to port to improve the accuracy and efficiency of wiring.

[0134] (3) Details:

[0135] Using spatial geometry algorithms, the position in three-dimensional space is determined based on the port coordinate data (physical space coordinate data) queried from the database.

[0136] According to the connection relationship of the ports, the connection path between the ports is calculated to ensure the rationality and accuracy of the connection.

[0137] Optimize the connection algorithm, reduce intersections and overlaps, and improve the aesthetics and readability of connections.

[0138] (4) Coordinate algorithm:

[0139] The default unit of the spatial coordinate system in the three.js engine is meter. Assuming that the height y of the general equipment room patch panel is max =3; the connecting line extends from the port to s=0.5 and then folds to make it more beautiful and easier to observe.

[0140] Port start:

[0141] P1=(x1,y1,z1)

[0142] Port Endpoint:

[0143] P2=(x2,y2,z2)

[0144] Calculation of key inflection point coordinates of the line connecting the port starting point to the end point:

[0145] Z1=(x1+s,y1,z1)

[0146] Z2=(x1+s,y max ,z1)

[0147] Z3=(x2+s,y max ,z1)

[0148] Z4=(x2+s,y max ,z2)

[0149] Z5=(x2+s,y2,z2)

[0150] When the X-axis coordinate of point P1 is equal to the X-axis coordinate of point P2, point Z2 will coincide with point Z3 to form one point;

[0151] When the Z-axis coordinate of point P1 is equal to the Z-axis coordinate of point P2, point Z3 will coincide with point Z4 to form one point.

[0152] It should be noted that defining s as 0.5 has a better display effect. In actual application scenarios, s can also be adjusted or set according to specific needs.

[0153] Finally, the connection diagram corresponding to the coordinate algorithm is automatically generated as follows Figure 4 shown.

[0154] S4. Visualization

[0155] (1) Requirements:

[0156] It is necessary to use the three.js engine technology to render the processed data onto the digital twin platform.

[0157] It is necessary to have 3D rendering capabilities and user interaction design capabilities to provide an intuitive user experience. For example, the 3D rendered schematic can be Figure 5 shown.

[0158] (2) Function:

[0159] Display computer room resources and port connections in three-dimensional space, and realize automatic port-to-port wiring and rendering.

[0160] Provides an intuitive resource management view to help operation and maintenance personnel quickly locate problem points and simplify the wiring process.

[0161] (3) Details:

[0162] Using three.js engine technology, a three-dimensional model of the digital twin platform is built to display the equipment and ports of the computer room.

[0163] Render the processed link data into a 3D model to achieve automatic port-to-port wiring.

[0164] Design a user interaction interface to allow users to view detailed information of different devices and ports by clicking, dragging, etc.

[0165] Provide real-time data update function to ensure that the information displayed on the digital twin platform is consistent with the actual equipment status.

[0166] The relationship and function of the above steps are as follows:

[0167] Data collection is the foundation of the entire process. It ensures that we have comprehensive and accurate information about devices and ports, providing the necessary raw data for subsequent steps.

[0168] Data processing relies on the output of the data collection phase. In this phase, the raw data is cleaned, integrated, and deeply analyzed to identify the logical connection relationship between ports, laying the foundation for automated wiring.

[0169] The connection calculation calculates the specific position of the port in three-dimensional space based on the link data generated in the data processing stage, and determines the connection path between the ports. This step is the core of realizing automatic wiring and directly affects the accuracy of the final visual display.

[0170] Visualization is the final output of the entire process. It uses three.js engine technology to render the calculated 3D model and port connections on the digital twin platform, providing users with an intuitive and interactive resource management view, enabling operation and maintenance personnel to quickly locate problems and simplify the wiring process.

[0171] It should be noted that the automatic port connection method provided by the present invention has the following beneficial effects:

[0172] a) Improving intuitive resource management: The present invention aims to create a three-dimensional virtual model corresponding to the actual computer room through digital twin technology, so as to achieve intuitive management and rapid retrieval of resources.

[0173] b) Improving operation and maintenance efficiency: By utilizing automated port wiring and intelligent resource management, the present invention can significantly improve operation and maintenance efficiency and reduce the time spent by operation and maintenance personnel in finding and locating problems.

[0174] c) Realize rapid problem location: Through the real-time rendering of the three-dimensional digital twin platform and the automatic generation of port connections, the present invention enables operation and maintenance personnel to quickly and accurately locate problems and optimize the troubleshooting process.

[0175] d) Ensure real-time data updating: The data module of the present invention can collect and update resource data in real time, ensure that operation and maintenance decisions and operations are based on the latest information, and reduce operation and maintenance risks.

[0176] The automatic port connection method provided by the embodiment of the present invention first obtains the basic information of each device and port in the computer room by collecting data in the resource management system, network management system and ledger of the computer room; then, according to the basic information of each device and port in the computer room, analyzes the connection relationship between each port between devices, thereby forming link data of port dimension; and calculates the connection path between ports based on the link data of port dimension; then creates a three-dimensional model corresponding to the computer room in the digital twin platform to display the equipment and ports of the computer room; and renders the calculated connection path into the three-dimensional model to realize automatic connection from port to port. The present invention automatically generates link data of port dimension through the collected data, and calculates the connection path between ports, thereby realizing the automatic generation of port connection. At the same time, the present invention makes it possible to intuitively manage and quickly retrieve resources by intuitively displaying the equipment and ports of the computer room in the digital twin platform, greatly improving the efficiency and accuracy of operation and maintenance. At least the problem that the traditional resource management method cannot intuitively display the complex wiring and equipment layout in the computer room is solved.

[0177] Embodiment 2:

[0178] like Figure 6 As shown, this embodiment provides a port automatic connection device, which is used to execute the above-mentioned port automatic connection method, including:

[0179] The basic information acquisition module 11 is used to obtain the basic information of each device and port in the computer room by collecting data from the resource management system, network management system and ledger of the computer room;

[0180] The link data acquisition module 12 is connected to the basic information acquisition module 11 and is used to analyze the connection relationship between the ports of the devices according to the basic information of the devices and ports in the computer room, so as to form link data of the port dimension;

[0181] A connection path calculation module 13, connected to the link data acquisition module 12, and configured to calculate the connection paths between ports based on the link data of the port dimension;

[0182] A three-dimensional model creation module 14, connected to the connection path calculation module 13, is used to create a three-dimensional model corresponding to the computer room in the digital twin platform to display the equipment and ports of the computer room;

[0183] The port automatic connection module 15 is connected to the three-dimensional model creation module 14 and is used to render the calculated connection path into the three-dimensional model to realize automatic connection from port to port.

[0184] Optionally, the basic information acquisition module 11 includes:

[0185] A data collection unit, used to collect data from the resource management system, network management system and ledger using a web crawler or an application programming interface API;

[0186] The information acquisition unit is used to associate the cabinet data with the computer room data, associate the equipment data with the cabinet data according to the collected data, and associate the ports between the equipment through the circuit data to obtain the basic information of each device and port in the computer room.

[0187] Optionally, the device further comprises:

[0188] The data cleaning module is used to clean the collected data, remove invalid or duplicate data items, and integrate the data from different devices and ports to form a unified data format.

[0189] Optionally, the link data of the port dimension includes a port table and a link table, the port table includes a port identifier and physical space coordinate data of the port, the link table includes a link identifier and port identifiers at both ends of the link, and the connection path calculation module 13 includes:

[0190] A starting point coordinate calculation unit, used to calculate the three-dimensional spatial coordinates of the ports at both ends of the link in the digital twin platform according to the port identifiers at both ends of each link in the link table and their corresponding physical space coordinate data, and determine the port starting point and port end point according to the three-dimensional spatial coordinates;

[0191] A turning point coordinate calculation unit, used to calculate the key turning point coordinates of the line from the port starting point to the port end point according to the port starting point and the port end point corresponding to each link;

[0192] The connection path determination unit is used to determine the connection path between ports according to the key turning point coordinates and the port start point and port end point of each link.

[0193] Optionally, the turning point coordinate calculation unit includes:

[0194] A first acquisition unit is used to acquire a preset height and extension parameter of a wiring rack in a computer room, wherein the extension parameter indicates a distance that a connection line extends from a port;

[0195] The first calculation unit is used to calculate the key inflection point coordinates of the line from the port starting point to the port end point according to the X-axis, Y-axis, and Z-axis coordinates of the port starting point and the port end point corresponding to each link and the height and extension parameters of the wiring rack in the computer room.

[0196] Optionally, the device further comprises:

[0197] The user interaction module is used to design a user interaction interface, which allows the user to view detailed information of different devices and ports by clicking and / or dragging.

[0198] Optionally, the device further comprises:

[0199] A real-time update module is used to update the three-dimensional model in the digital twin platform according to the real-time data of each device and port in the computer room.

[0200] Embodiment 3:

[0201] refer to Figure 7 This embodiment provides a port automatic connection device, including a memory 21 and a processor 22. The memory 21 stores a computer program, and the processor 22 is configured to run the computer program to execute the port automatic connection method in Example 1.

[0202] The memory 21 is connected to the processor 22. The memory 21 may be a flash memory, a read-only memory or other memory. The processor 22 may be a central processing unit or a single-chip microcomputer.

[0203] Embodiment 4:

[0204] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the automatic port connection method in the above-mentioned embodiment 1 is implemented.

[0205] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.

[0206] In summary, the method, device and readable storage medium for automatic port connection provided by the embodiment of the present invention first obtain the basic information of each device and port in the computer room by collecting data in the resource management system, network management system and ledger of the computer room; then analyze the connection relationship between the ports between the devices according to the basic information of each device and port in the computer room, thereby forming the link data of the port dimension; and calculate the connection path between the ports based on the link data of the port dimension; then create a three-dimensional model corresponding to the computer room in the digital twin platform to display the equipment and ports of the computer room; and render the calculated connection path into the three-dimensional model to realize the automatic connection from port to port. The present invention automatically generates the link data of the port dimension through the collected data, and calculates the connection path between the ports, thereby realizing the automatic generation of port connection. At the same time, the present invention makes it possible to intuitively manage and quickly retrieve resources by intuitively displaying the equipment and ports of the computer room in the digital twin platform, greatly improving the efficiency and accuracy of operation and maintenance. At least the problem that the traditional resource management method cannot intuitively display the complex wiring and equipment layout in the computer room is solved.

[0207] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A port automatic connection method, characterized in that: The method comprises: By collecting data from the resource management system, network management system and ledger of the computer room, basic information of each device and port in the computer room can be obtained; According to the basic information of each device and port in the computer room, the connection relationship between the ports of the devices is analyzed to form link data of the port dimension; Calculate the connection path between ports based on the link data of the port dimension; Creating a three-dimensional model corresponding to the computer room in the digital twin platform to display the equipment and ports of the computer room; The calculated connection path is rendered into the three-dimensional model to realize automatic connection from port to port.

2. The method according to claim 1, characterized in that The basic information of each device and port in the computer room is obtained by collecting data from the resource management system, network management system and ledger of the computer room, including: Collect data from the resource management system, network management system and ledger using a web crawler or application programming interface (API); Based on the collected data, the cabinet data is associated with the computer room data, the equipment data is associated with the cabinet data, and the ports of the devices are associated with each other through the circuit data to obtain the basic information of each device and port in the computer room.

3. The method according to claim 2, characterized in that After collecting data from the resource management system, network management system and ledger using a web crawler or an application programming interface (API), the method further includes: Clean the collected data, remove invalid or duplicate data items, and integrate data from different devices and ports to form a unified data format.

4. The method according to claim 1, characterized in that: The link data of the port dimension includes a port table and a link table, the port table includes a port identifier and physical space coordinate data of the port, the link table includes a link identifier and port identifiers at both ends of the link, and the link path between the ports is calculated based on the link data of the port dimension, specifically including: According to the port identifiers at both ends of each link in the link table and their corresponding physical space coordinate data, calculate the three-dimensional space coordinates of the ports at both ends of the link in the digital twin platform, and determine the port starting point and port end point according to the three-dimensional space coordinates; According to the port starting point and port end point corresponding to each link, the key inflection point coordinates of the line from the port starting point to the port end point are calculated; The connection path between the ports is determined according to the key turning point coordinates and the port starting point and the port end point of each link.

5. The method according to claim 4, characterized in that The calculating of the key turning point coordinates of the line from the port starting point to the port ending point according to the port starting point and the port ending point corresponding to each link specifically includes: Obtaining a preset height and extension parameter of a distribution frame in a computer room, wherein the extension parameter indicates the distance that a connection line extends from a port; According to the X-axis, Y-axis, and Z-axis coordinates of the port starting point and the port end point corresponding to each link and the height and extension parameters of the distribution frame in the computer room, the key inflection point coordinates of the line connecting the port starting point to the port end point are calculated.

6. The method according to claim 1, characterized in that The method further comprises: A user interaction interface is designed, which allows the user to view detailed information of different devices and ports by clicking and / or dragging.

7. The method according to claim 1, characterized in that The method further comprises: The three-dimensional model in the digital twin platform is updated according to the real-time data of each device and port in the computer room.

8. A port automatic connection device, characterized in that: The device comprises: The basic information acquisition module is used to obtain the basic information of each device and port in the computer room by collecting data from the resource management system, network management system and ledger of the computer room; A link data acquisition module, connected to the basic information acquisition module, is used to analyze the connection relationship between the ports of the devices according to the basic information of the devices and ports in the computer room, so as to form link data of the port dimension; A connection path calculation module, connected to the link data acquisition module, and used to calculate the connection path between ports based on the link data of the port dimension; A three-dimensional model creation module, connected to the connection path calculation module, is used to create a three-dimensional model corresponding to the computer room in the digital twin platform to display the equipment and ports of the computer room; The port automatic connection module is connected to the three-dimensional model creation module and is used to render the calculated connection path into the three-dimensional model to realize automatic connection from port to port.

9. A port automatic connection device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the automatic port connection method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the automatic port connection method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method for realizing full three-dimensional intelligent virtual computer room

    CN101820532A

  • Power grid center and distribution substation cable resource unified management and planning method

    CN104967534A

  • Visual integrated management method for information machine room

    CN110135042A

  • Electric power communication resource operation and maintenance management and control method based on digital twinning

    CN116227103A

  • Machine room data processing method and device, equipment, medium and program product

    CN118607074A