Method for automatically measuring and calculating connecting line length of IDC cabinet equipment

By automatically collecting and calculating IDC equipment connection information, the problem of low connection length calculation efficiency in the prior art is solved, and efficient connection length calculation and material statistics are achieved.

CN119598070APending Publication Date: 2025-03-11CHINA INFOMRAITON CONSULTING & DESIGNING INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411357453.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

In the prior art, the calculation efficiency of IDC equipment connection length is low, and the workload of manual verification is large, resulting in waste of resources and low material statistics.

Method used

The automation method is adopted to collect cabinet equipment information, computer room location and wiring rack layout information, calculate the equipment connection length, and generate a list of connection materials to realize automatic calculation of the connection length.

Benefits of technology

It improves the efficiency of measuring equipment connection length, reduces the workload of manual verification, saves designers' energy, and avoids waste of resources, making it convenient for material statistics and budgeting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119598070A_ABST
    Figure CN119598070A_ABST
Patent Text Reader

Abstract

The invention discloses a method for automatically measuring and calculating the connecting line length of IDC (Internet Data Center) cabinet equipment, which comprises the following steps of: 1, acquiring information of all equipment in an IDC cabinet, and establishing a cabinet equipment list; step 2, acquiring positions of all IDC cabinets in the machine room and layout information of cabling racks, and establishing a connection point list and a machine room routing table; step 3, collecting equipment connection information in the machine room, and establishing an equipment connection list; 4, calculating the connection length, and filling the connection length into the equipment connection list; and step 5, selecting a next connection line and executing the step 4 again until all the connection lines in the equipment connection line list are subjected to required length measurement and calculation, obtaining a final equipment connection line list, and completing automatic measurement and calculation of the IDC cabinet equipment connection line length. And step 6, counting a connection material list, and performing classification and summarization according to the final equipment connection list to obtain the connection material list.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an automatic measuring method for the length of a device connection line, in particular to an automatic measuring method for the length of a device connection line of an IDC cabinet. Background Art

[0002] This section merely provides background information related to the present disclosure and is not necessarily prior art.

[0003] The calculation of IDC equipment line length is usually done manually, with designers manually estimating the length of the line based on the location of the devices at both ends of the line and the direction of the line. When there are hundreds of devices and thousands of lines, the efficiency of line length calculation is very low, and the workload of manual verification is large, which consumes a lot of energy of designers. At the same time, in order to prevent insufficient lines, designers usually leave extra margins, resulting in a certain amount of resource waste, and the line material table is often manually counted, which is inefficient and prone to errors.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] Purpose of the invention: The technical problem to be solved by the present invention is to provide a method for automatically measuring the length of the connection line of an IDC cabinet device in view of the shortcomings of the prior art.

[0006] In order to solve the above technical problems, the present invention discloses a method for automatically measuring the length of a connection line of an IDC cabinet device, comprising the following steps:

[0007] Step 1: Collect the equipment information in all IDC cabinets and create a cabinet equipment list;

[0008] Step 2: Collect the location and wiring rack layout information of all IDC cabinets in the equipment room, and establish a connection point list and equipment room wiring routing table;

[0009] Step 3: Collect the equipment connection information in the computer room and create a equipment connection list;

[0010] Step 4, calculating the connection length and filling in the device connection list;

[0011] Step 5, select the next connection and re-execute step 4 until all the connections in the device connection list have completed the required length measurement, and obtain the final device connection list;

[0012] Step 6, count the wiring material list, classify and summarize the wiring material list according to the final equipment wiring list, and finally complete the automatic measurement of the IDC cabinet equipment wiring length.

[0013] Furthermore, the cabinet equipment list described in step 1 is established as follows:

[0014] Collect the information of each device in all IDC cabinets in the computer room in turn to obtain the cabinet device list DeviceList;

[0015] The cabinet device list DeviceList includes a cabinet code CabinetCode, a device name DeviceName and an installation U-bit starting sequence number UIndex.

[0016] Furthermore, the connection point list and the equipment room wiring routing table described in step 2 are established as follows:

[0017] Collect the distance from the bottom of each IDC cabinet in the room to the wiring rack and the distance between adjacent connection points on the wiring rack in turn, and obtain the connection point list ConnectPointList and the room wiring route table RouteList;

[0018] The connection point list ConnectPointList includes a connection point number ConnectPointNo and a cabinet code CabinetCode; when the connection point is a point on a wiring rack, the cabinet code CabinetCode is empty;

[0019] The computer room routing table RouteList includes the route number RouteNo, the self-connection point number ConnectPointNoFrom, the to-connection point number ConnectPointNoTo and the distance RouteLen.

[0020] Furthermore, the device connection list is established as described in step 3, as follows:

[0021] Connect all devices in the computer room according to preset requirements, collect device connection information of each connection in turn, and obtain a device connection list CableList;

[0022] The device connection list CableList includes the cable number CableNo, the cable name CableName, the cable specification CableType, the self-device name DeviceNameFrom, the self-device port DevicePortFrom, the to-device name DeviceNameTo, the to-device port DevicePortTo and the cable length CableLen; wherein the initial default value of the cable length CableLen is 0 meters.

[0023] Furthermore, the required length of the connection is calculated as described in step 4, that is, according to the names of the devices at both ends of the connection in the device connection list, the specific information of the devices at both ends of the connection is obtained from the cabinet equipment list, and the shortest routing path of the devices at both ends of the connection is calculated according to the connection point list and the computer room wiring routing table to calculate the required length of the connection.

[0024] Furthermore, the specific method for calculating the required length of the connection described in step 4 is as follows:

[0025] Step 4-1, according to the self-device name DeviceNameFrom and the to-device name DeviceNameTo at both ends of a cable in the device cable list CableList, respectively match the device name DeviceName in the cabinet device list DeviceList, and obtain the cabinet code CabinetCode1 and the installation U-bit starting sequence number UIndex1 corresponding to the self-device, and the cabinet code CabinetCode2 and the installation U-bit starting sequence number UIndex2 corresponding to the to-device;

[0026] Step 4-2, according to the cabinet codes CabinetCode1 and CabinetCode2 corresponding to the self device and the to device respectively, obtain the corresponding connection point information from the connection point list ConnectPointList to obtain the self connection point ConnectPointNo1 and the to connection point ConnectPointNo2;

[0027] Step 4-3, according to the equipment room routing table RouteList, calculate the shortest routing path distance La between the connection point ConnectPointNo1 and the connection point ConnectPointNo2;

[0028] Step 4-4, according to the installation U position starting sequence number UIndex1 and the installation U position starting sequence number UIndex2 corresponding to the self device and the to device respectively, calculate the distances L1 and L2 from the self device and the to device to the bottom of the cabinet respectively;

[0029] Step 4-5, calculate the shortest distance Lmin between the two devices;

[0030] Step 4-6, assuming the loss length is Ls, add the shortest distance Lmin between the two devices to the loss length Ls, and round up according to the preset length interval to get the final connection length L, and fill the final connection length L into the current connection in the device connection list CableList.

[0031] Furthermore, the method for calculating the shortest distance Lmin between two devices described in step 4-5 is as follows:

[0032] Determine whether the self device and the to device are in different cabinets. If so, the shortest distance Lmin between the two devices is:

[0033] Lmin=La-L1-L2

[0034] Otherwise, the shortest distance Lmin between two devices is:

[0035] Lmin=|L1-L2|

[0036] Among them, || means taking the absolute value.

[0037] Further, the classification and summary described in step 6 are used to obtain a wiring material list, and the specific method is as follows:

[0038] According to the cable name CableName, cable specification CableType and cable length CableLen in the final equipment connection list FinalCableList, classify and summarize them to obtain the connection material list ConnectionMaterialList;

[0039] Furthermore, the connection material list ConnectionMaterialList described in step 6 includes: cable name CableName, cable specification CableType, cable length CableLen and quantity CableNum.

[0040] Furthermore, the calculation described in step 4-3 obtains the shortest routing path distance La between the self-connection point ConnectPointNo1 and the connection point ConnectPointNo2 using the shortest path method.

[0041] Beneficial effects:

[0042] 1. By using the method of the present invention, the length of all equipment connections in the computer room can be automatically calculated and the routing of each connection can be formed, thereby improving the efficiency of measuring the length of equipment connections and automatically verifying according to the routing of the connection.

[0043] 2. The method of the present invention can be used to automatically generate a list of wiring materials for different wiring specifications, thereby facilitating budgeting. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments, and the above and / or other advantages of the present invention will become more clear.

[0045] Figure 1 It is a schematic diagram of the overall process of the present invention. DETAILED DESCRIPTION

[0046] The present invention proposes an automatic measurement method for the length of IDC cabinet equipment connection lines, which automatically calculates the shortest wiring route of the connection line according to the positions of the equipment at both ends of the connection line, automatically calculates the connection length, and automatically summarizes and generates a connection material table, thereby improving the connection calculation efficiency and the connection material table generation efficiency, and facilitating verification.

[0047] The technical solution adopted by the present invention is: a method for automatically measuring the length of the connection line of an IDC cabinet device, such as Figure 1 As shown, the method comprises the following steps:

[0048] Step 1, collect the equipment information in each cabinet, collect the information of each device in each cabinet in the computer room in turn to obtain the cabinet equipment list DeviceList, the cabinet equipment list DeviceList includes the cabinet code CabinetCode, the device name DeviceName, and the installation U-position starting number UIndex.

[0049] Step 2, collect the location of the cabinets in the computer room and the layout information of the wiring rack, collect the distance from the bottom of each cabinet in the computer room to the wiring rack and the distance information between adjacent connection points on the wiring rack in turn, and obtain the connection point list ConnectPointList and the computer room wiring route table RouteList. The connection point list ConnectPointList includes the connection point number ConnectPointNo and the cabinet code CabinetCode. The computer room wiring route table RouteList includes the route number RouteNo, the self-connection point number ConnectPointNoFrom, the to-connection point number ConnectPointNoTo, and the distance RouteLen. When the connection point is a point on the wiring rack, the cabinet code CabinetCode information in the connection point list ConnectPointList is empty.

[0050] Step 3, collect the equipment connection table information in the computer room, and collect the connection information of each device to be installed in the computer room in turn to obtain the equipment connection list CableList. The equipment connection list CableList includes the cable number CableNo, cable name CableName, cable specification CableType, self-device name DeviceNameFrom, self-device port DevicePortFrom, to-device name DeviceNameTo, to-device port DevicePortTo, and cable length CableLen, where the initial default value of the cable length CableLen is 0 meters.

[0051] Step 4, calculate the length of the connection, according to the device names at both ends of the device connection list CableList, that is, the self-device name DeviceNameFrom and the to-device name DeviceNameTo. Match the device name DeviceName from the cabinet device list DeviceList to obtain the specific information of the devices at both ends of the connection, and obtain the cabinet code CabinetCode1 and the installation U-position starting number UIndex1 corresponding to the self-device and the cabinet code CabinetCode2 and the installation U-position starting number UIndex2 corresponding to the to-device. According to the cabinet code CabinetCode, obtain the connection point information corresponding to the devices at both ends of the connection from the connection point list ConnectPointList, and obtain the self-connection point ConnectPointNo1 and the to-connection point ConnectPointNo2. Use one of the shortest path algorithms such as Dijkstra, please refer to "Data Structure and Algorithm Analysis" for details, and calculate the shortest routing path distance La between the self-connection point ConnectPointNo1 and the to-connection point ConnectPointNo2 from the computer room routing table RouteList. According to the installation U position starting number UIndex1 and the installation U position starting number UIndex2, multiplied by the height of 1U 0.0445 meters, the distances L1 and L2 from the two U positions to the bottom of the cabinet are calculated respectively. If the devices at both ends of the equipment connection are in different cabinets, the shortest distance Lmin for the devices at both ends is Lmin = La-L1-L2. If the devices at both ends of the equipment connection are in the same cabinet, the shortest distance Lmin for the devices at both ends is Lmin = |L1-L2|. Considering the loss during the cable construction process, the loss length Ls is added to the shortest distance Lmin. The default value of Ls is 2 meters. Considering the unified specifications, round up at intervals of 5 meters to obtain the required length L for the final connection. Fill the required length L for the final connection back into the device connection list CableList.

[0052] Step 5, repeat step 4 until the length of all device cables in the device cable list is measured, and the final device cable list FinalCableList is obtained, and the automatic length measurement of the IDC cabinet device cables is completed.

[0053] Step 6, count the list of connection materials, according to the final equipment connection list FinalCableList, according to the cable name CableName, cable specification CableType and cable length CableLen, classify and summarize to obtain the connection material list ConnectionMaterialList, the connection material list ConnectionMaterialList includes the cable name CableName, cable specification CableType, cable length CableLen, and quantity CableNum.

[0054] Example:

[0055] The technical solutions in the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0056] A method for automatically measuring the length of a connection line of an IDC cabinet device, the method comprising the following steps:

[0057] Step 1, collect the equipment information in each cabinet, collect the information of each device in each cabinet in the computer room in turn to obtain the cabinet equipment list DeviceList, the cabinet equipment list DeviceList includes the cabinet code CabinetCode, the device name DeviceName, and the installation U-position starting number UIndex.

[0058] As shown in Table 1, this is the data input format for the cabinet equipment information part, and each line is the information of a cabinet equipment.

[0059] Table 1 Cabinet equipment information table (partially omitted)

[0060]

[0061] The contents of the cabinet device list DeviceList are:

[0062] [{"01-01","Computing Server-01",3},{"01-01","Computing Server-02",5},{"01-01","Computing Server-03",7},{"01-01","Access Switch-01",47},{"02-01","Computing Server-04",3},{"02-01","Computing Server-05",5},{"02-01","Computing Server-06",7},{"02-01","Access Switch-02",47},{"03-01","Core Switch-01",3},{"04-01","Core Switch-02",3}]

[0063] Step 2, collect the location of the cabinets in the computer room and the layout information of the wiring rack, collect the distance from the bottom of each cabinet in the computer room to the wiring rack and the distance information between adjacent connection points on the wiring rack in turn, and obtain the connection point list ConnectPointList and the computer room wiring route table RouteList. The connection point list ConnectPointList includes the connection point number ConnectPointNo and the cabinet code CabinetCode. The computer room wiring route table RouteList includes the route number RouteNo, the self-connection point number ConnectPointNoFrom, the to-connection point number ConnectPointNoTo, and the distance RouteLen. When the connection point is a point on the wiring rack, the cabinet code CabinetCode information in the connection point list ConnectPointList is empty.

[0064] As shown in Table 2, this is the data input format for the connection point information part, and each line is the information of a connection point.

[0065] Table 2 Connection point information table (partially omitted)

[0066]

[0067] The contents of the connection point list ConnectPointList are:

[0068] [{"1","01-01"},{"2",""},{"3","02-01"},{"4",""},{"5","03-01"},{"6",""},{"7","04-01"},{"8",""}]

[0069] As shown in Table 3, this is a partial data input format display of the wiring routing information of the computer room, and each line is the information of the wiring routing of a computer room.

[0070] Table 3: Equipment room wiring routing information table (partially omitted)

[0071]

[0072] The content of the equipment room routing table RouteList is:

[0073] [{"1","1","2",4.5},{"2","3","4",4.5},{"3","5","6",4.5},{"4","7","8",4.5},{"5","2","4",0.6},{"6","4","6",0.6},{"7","6","8",0.6}]

[0074] Step 3, collect the equipment connection table information in the computer room, and collect the connection information of each device to be installed in the computer room in turn to obtain the equipment connection list CableList. The equipment connection list CableList includes the cable number CableNo, cable name CableName, cable specification CableType, self-device name DeviceNameFrom, self-device port DevicePortFrom, to-device name DeviceNameTo, to-device port DevicePortTo, and cable length CableLen, where the initial default value of the cable length CableLen is 0 meters.

[0075] As shown in Table 4, the data input format of the device connection information is displayed, and each line is the information of a device connection.

[0076] Table 4 Equipment connection information table (partially omitted)

[0077]

[0078] The content of the device connection list CableList is:

[0079] [{"1","Stacking cable","Stacking cable specifications 1","Core switch-01","1","Core switch-02","1",0},{"2","Dual-ended multimode optical fiber","LC-LC dual-core multimode dual-ended pigtail","Core switch-01","2","Core switch-02","2",0},{"3","Stacking cable","Stacking cable specifications 2","Access switch-01","1","Access switch-02","1",0},{"4","Dual-ended multimode optical fiber","LC-LC dual-core multimode dual-ended pigtail","Access switch-01","2","Access switch-02","2",0},{"5","Dual-ended multimode optical fiber","LC-LC dual-core multimode dual-ended pigtail","Core switch-01","3","Access switch-01","3",0},{"6","Dual-ended Multimode fiber","LC-LC dual-core multimode dual-end pigtail","Core switch-01","4","Access switch-02","3",0},{"7","Dual-end multimode fiber","LC-LC dual-core multimode dual-end pigtail","Core switch-02","3","Access switch-01","4",0},{"8","Dual-end multimode fiber","LC-LC dual-core multimode dual-end pigtail","Core switch-02","4","Access switch-02","4",0},{"9","Dual-end multimode fiber","LC-LC dual-core multimode dual-end pigtail","Access switch-01","5","Computing server-01","1",0},{"10","Dual-end multimode fiber","LC-LC dual-core multimode dual-end pigtail","Access switch-01","6","Computing server-02","1",0}]

[0080] Step 4, calculate the length of the connection, based on the device names at both ends of the device connection list CableList, namely the self-device name DeviceNameFrom and the to-device name DeviceNameTo. Match the device name DeviceName from the cabinet device list DeviceList to obtain the specific information of the devices at both ends of the connection, and obtain the cabinet code CabinetCode1 and installation U-position starting number UIndex1 corresponding to the self-device and the cabinet code CabinetCode2 and installation U-position starting number UIndex2 corresponding to the to-device. According to the cabinet code CabinetCode, obtain the connection point information corresponding to the devices at both ends of the connection from the connection point list ConnectPointList, and obtain the self-connection point ConnectPointNo1 and the to-connection point ConnectPointNo2. Using the Dijkstra algorithm, from the computer room routing table RouteList, calculate the shortest routing path distance La between the self-connection point ConnectPointNo1 and the to-connection point ConnectPointNo2. According to the installation U position starting number UIndex1 and the installation U position starting number UIndex2, multiplied by the height of 1U 0.0445 meters, the distances L1 and L2 from the two U positions to the bottom of the cabinet are calculated respectively. If the devices at both ends of the equipment connection are in different cabinets, the shortest distance Lmin for the devices at both ends is Lmin = La-L1-L2. If the devices at both ends of the equipment connection are in the same cabinet, the shortest distance Lmin for the devices at both ends is Lmin = |L1-L2|. Considering the loss during the cable construction process, the loss length Ls is added to the shortest distance Lmin. The default value of Ls is 2 meters. Considering the unified specifications, round up at intervals of 5 meters to obtain the required length L for the final connection. Fill the required length L for the final connection back into the device connection list CableList.

[0081] Take the first record of the device cable list CableList as an example. The device name DeviceNameFrom is "Core Switch-01", the device name DeviceNameTo is "Core Switch-02", the cabinet code CabinetCode1 corresponding to the device is "03-01", the installation U position starting number UIndex1 is 3, the cabinet code CabinetCode2 corresponding to the device is "04-01", the installation U position starting number UIndex2 is 3, the self-connection point ConnectPointNo1 is "5", the to-connection point ConnectPointNo2 is "7", the shortest routing path La between the self-connection point ConnectPointNo1 and the to-connection point ConnectPointNo2 is 9.6 meters, the distances L1 and L2 from the two U positions to the bottom of the cabinet are 0.1335 meters and 0.1335 meters, the shortest routing distance Lmin of the devices at both ends is La-L1-L2=0.9333 meters, the loss length Ls is 2 meters, and the final required length L of the connection is 15 meters.

[0082] Step 5, repeat step 4 until the length of all device cables in the device cable list is measured, and the final device cable list FinalCableList is obtained, and the automatic length measurement of the IDC cabinet device cables is completed.

[0083] The content of the final device connection list FinalCableList is:

[0084] [{"1","Stacking cable","Stacking cable specifications 1","Core switch-01","1","Core switch-02","1",15},{"2","Dual-ended multimode optical fiber","LC-LC dual-core multimode dual-ended pigtail","Core switch-01","2","Core switch-02","2",15},{"3","Stacking cable","Stacking cable specifications 2","Access switch-01","1","Access switch-02","1",10},{"4","Dual-ended multimode optical fiber","LC-LC dual-core multimode dual-ended pigtail","Access switch-01","2","Access switch-02","2",10},{"5","Dual-ended multimode optical fiber","LC-LC dual-core multimode dual-ended pigtail","Core switch-01","3","Access switch-01","3",10},{"6","Dual 10},{"7","Dual-end multimode optical fiber","LC-LC dual-core multimode dual-end pigtail","Core switch-01","4","Access switch-02","3",10},{"7","Dual-end multimode optical fiber","LC-LC dual-core multimode dual-end pigtail","Core switch-02","3","Access switch-01","4",15},{"8","Dual-end multimode optical fiber","LC-LC dual-core multimode dual-end pigtail","Core switch-02","4","Access switch-02","4",10},{"9","Dual-end multimode optical fiber","LC-LC dual-core multimode dual-end pigtail","Access switch-01","5","Computing server-01","1",5},{"10","Dual-end multimode optical fiber","LC-LC dual-core multimode dual-end pigtail","Access switch-01","6","Computing server-02","1",10}]

[0085] Step 6, count the list of connection materials, according to the final equipment connection list FinalCableList, according to the cable name CableName, cable specification CableType and cable length CableLen, classify and summarize to obtain the connection material list ConnectionMaterialList, the connection material list ConnectionMaterialList includes the cable name CableName, cable specification CableType, cable length CableLen, and quantity CableNum.

[0086] The contents of the connection material list ConnectionMaterialList are:

[0087] [{"Stacking cable","Stacking cable specification 1",15,1},{"Stacking cable","Stacking cable specification 2",10,1},{"Dual-ended multimode optical fiber","LC-LC dual-core multimode dual-ended pigtail",5,1},{"Dual-ended multimode optical fiber","LC-LC dual-core multimode dual-ended pigtail",10,5},{"Dual-ended multimode optical fiber","LC-LC dual-core multimode dual-ended pigtail",15,2}]

[0088] At this point, the automatic calculation of the IDC cabinet equipment connection length and the generation of the connection material list are completed.

[0089] When automatically calculating the length of the IDC cabinet equipment connection, the shortest route of the connection is taken into account, which can effectively save line fees and avoid cable waste. The shortest route is calculated according to the center point of the bridge, and a certain margin is left to solve the small difference between the actual cable routing and the center point. The connection length is rounded up to the nearest meter according to the shortest route distance, which can effectively reduce the number of cable specifications and facilitate batch production of cables. After the connection length is automatically calculated, the connection material table can be automatically summarized and generated according to the cable specifications to solve the problem of slow material summary.

[0090] In a specific implementation, the present application provides a computer storage medium and a corresponding data processing unit, wherein the computer storage medium can store a computer program, and when the computer program is executed by the data processing unit, the invention content of the method for automatically measuring the length of the connection line of an IDC cabinet device provided by the present invention and some or all of the steps in each embodiment can be executed. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0091] Those skilled in the art can clearly understand that the technical solutions in the embodiments of the present invention can be implemented by means of computer programs and their corresponding general hardware platforms. Based on such an understanding, the technical solutions in the embodiments of the present invention can be essentially or partly contributed to the prior art in the form of computer programs, i.e., software products, which can be stored in a storage medium and include several instructions for enabling a device including a data processing unit (which can be a personal computer, a server, a single-chip microcomputer, an MCU or a network device, etc.) to execute the methods described in various embodiments of the present invention or certain parts of the embodiments.

[0092] The present invention provides an idea and method for automatically measuring the length of the connection line of an IDC cabinet device. There are many methods and ways to implement the technical solution. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the protection scope of the present invention. All components not specified in this embodiment can be implemented using existing technologies.

Claims

1. A method for automatically measuring the length of IDC cabinet equipment connection line, characterized in that: The steps include: Step 1: Collect the equipment information in all IDC cabinets and create a cabinet equipment list; Step 2: Collect the location and wiring rack layout information of all IDC cabinets in the equipment room, and establish a connection point list and equipment room wiring routing table; Step 3: Collect the equipment connection information in the computer room and create a equipment connection list; Step 4, calculating the connection length and filling in the device connection list; Step 5, select the next connection and re-execute step 4 until all the connections in the device connection list have completed the required length measurement, and obtain the final device connection list; Step 6, count the wiring material list, classify and summarize the wiring material list according to the final equipment wiring list, and finally complete the automatic measurement of the IDC cabinet equipment wiring length.

2. According to claim 1, a method for automatically measuring the length of IDC cabinet equipment connection line, characterized in that: The specific method for creating the cabinet equipment list described in step 1 is as follows: Collect the information of each device in all IDC cabinets in the computer room in turn to obtain the cabinet device list DeviceList; The cabinet device list DeviceList includes a cabinet code CabinetCode, a device name DeviceName and an installation U-bit starting sequence number UIndex.

3. According to claim 2, a method for automatically measuring the length of IDC cabinet equipment connection line, characterized in that: The specific method for establishing the connection point list and the equipment room wiring routing table described in step 2 is as follows: Collect the distance from the bottom of each IDC cabinet in the room to the wiring rack and the distance between adjacent connection points on the wiring rack in turn, and obtain the connection point list ConnectPointList and the room wiring route table RouteList; The connection point list ConnectPointList includes a connection point number ConnectPointNo and a cabinet code CabinetCode; when the connection point is a point on a wiring rack, the cabinet code CabinetCode is empty; The computer room routing table RouteList includes the route number RouteNo, the self-connection point number ConnectPointNoFrom, the to-connection point number ConnectPointNoTo and the distance RouteLen.

4. According to claim 3, a method for automatically measuring the length of IDC cabinet equipment connection line, characterized in that: The device connection list established in step 3 is as follows: Connect all devices in the computer room according to preset requirements, collect device connection information of each connection in turn, and obtain a device connection list CableList; The device connection list CableList includes the cable number CableNo, the cable name CableName, the cable specification CableType, the self-device name DeviceNameFrom, the self-device port DevicePortFrom, the to-device name DeviceNameTo, the to-device port DevicePortTo and the cable length CableLen; wherein the initial default value of the cable length CableLen is 0 meters.

5. According to claim 4, a method for automatically measuring the length of IDC cabinet equipment connection line, characterized in that: The calculation of the required length of the connection described in step 4 is to obtain specific information of the devices at both ends of the connection from the cabinet equipment list based on the names of the devices at both ends of the connection in the device connection list, calculate the shortest routing path of the devices at both ends of the connection based on the connection point list and the computer room wiring routing table, and calculate the required length of the connection.

6. According to claim 5, a method for automatically measuring the length of IDC cabinet equipment connection line, characterized in that: The specific method for calculating the required length of the connection described in step 4 is as follows: Step 4-1, according to the self-device name DeviceNameFrom and the to-device name DeviceNameTo at both ends of a cable in the device cable list CableList, respectively match the device name DeviceName in the cabinet device list DeviceList, and obtain the cabinet code CabinetCode1 and the installation U-bit starting sequence number UIndex1 corresponding to the self-device, and the cabinet code CabinetCode2 and the installation U-bit starting sequence number UIndex2 corresponding to the to-device; Step 4-2, according to the cabinet codes CabinetCode1 and CabinetCode2 corresponding to the self device and the to device respectively, obtain the corresponding connection point information from the connection point list ConnectPointList to obtain the self connection point ConnectPointNo1 and the to connection point ConnectPointNo2; Step 4-3, according to the equipment room routing table RouteList, calculate the shortest routing path distance La between the connection point ConnectPointNo1 and the connection point ConnectPointNo2; Step 4-4, according to the installation U position starting sequence number UIndex1 and the installation U position starting sequence number UIndex2 corresponding to the self device and the to device respectively, calculate the distances L1 and L2 from the self device and the to device to the bottom of the cabinet respectively; Step 4-5, calculate the shortest distance Lmin between the two devices; Step 4-6, assuming the loss length is Ls, add the shortest distance Lmin between the two devices to the loss length Ls, and round up according to the preset length interval to get the final connection length L, and fill the final connection length L into the current connection in the device connection list CableList.

7. According to claim 6, a method for automatically measuring the length of IDC cabinet equipment connection line, characterized in that: The specific method for calculating the shortest distance Lmin between two devices described in step 4-5 is as follows: Determine whether the self device and the to device are in different cabinets. If so, the shortest distance Lmin between the two devices is: Lmin=La-L1-L2 Otherwise, the shortest distance Lmin between two devices is: Lmin=|L1-L2| Among them, || means taking the absolute value.

8. According to claim 7, a method for automatically measuring the length of IDC cabinet equipment connection line, characterized in that: The classification and summary described in step 6 are used to obtain the wiring material list. The specific method is as follows: According to the cable name CableName, cable specification CableType and cable length CableLen in the final device connection list FinalCableList, they are classified and summarized to obtain the connection material list ConnectionMaterialList.

9. The method for automatically measuring the length of IDC cabinet equipment connection line according to claim 8, characterized in that: The connection material list ConnectionMaterialList described in step 6 includes: cable name CableName, cable specification CableType, cable length CableLen and quantity CableNum.

10. The method for automatically measuring the length of IDC cabinet equipment connection line according to claim 9, characterized in that: The calculation described in step 4-3 obtains the shortest routing path distance La between the self-connection point ConnectPointNo1 and the connection point ConnectPointNo2 using the shortest path method.