Detection method, management node, system, equipment and medium for preventing cable from being inserted mistakenly
By using management nodes and PRBS test package detection methods in large-scale cable systems, the accuracy of cable connections is automatically detected, and the problems of manpower consumption and human judgment errors in the prior art are solved, and efficient cable connection management is achieved.
Patent Information
- Application Number
- CN202411427396.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-02-25
AI Technical Summary
In large-scale systems, due to the increase in the number of nodes, the complexity of cable connection management is increased. The prior art uses manual comparison of connection topology diagrams to check, which consumes a lot of manpower and is prone to human judgment errors.
It provides a detection method for anti-interference of cables. It determines the number of PRBS test packets sent and received by management nodes in a large-scale cable system, and transmits PRBS test packets through cables for verification, and automatically detects the accuracy of cable connections.
It realizes the accuracy of automated detection of cable connections, reduces labor costs, and solves the problem of cable connection errors caused by manual inspection.
Smart Images

Figure CN119519753A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a cable mis-insertion detection method, management node, system, device, and medium. Background Art
[0002] In large-scale systems, in order to ensure high-speed communication between nodes and reduce data transmission time, a complex point-to-point network topology is usually adopted between computing nodes. Although this topology has the advantages of simplicity, low latency and high bandwidth, when the number of nodes increases, the number of connecting cables increases rapidly, resulting in a significant increase in the complexity of cable connection management.
[0003] In the prior art, each cable is equipped with a unique electronic tag at both ends, and the user manually compares the connection topology diagram for inspection, which consumes a lot of manpower and is prone to human judgment errors. Summary of the invention
[0004] In order to solve one of the above-mentioned technical defects, the present application provides a cable mis-insertion detection method, management node, system, device, and medium.
[0005] In a first aspect, the present application provides a cable misinsertion detection method, wherein the large-scale cable system detected by the method includes a management node and multiple service frames; wherein the management node is connected to all service frames and is used to manage all service frame resources; each service frame has multiple boards, each board has multiple chips, and each chip is interconnected with other chips through multiple high-speed transmission links;
[0006] The method comprises:
[0007] The management node determines the number of PRBS test packets sent tx_prbs_packets and the expected number of received rx_expect_prbs_packets for each high-speed transmission link;
[0008] The management node sends tx_prbs_packets and rx_expect_prbs_packets to each chip belonging to each high-speed transmission link;
[0009] The management node controls the controller on each high-speed transmission link of each chip to generate tx_prbs_packets PRBS test packets, and transmits the PRBS test packets to the receiving side through the cable;
[0010] The management node controls the controller on the receiving side to verify the received PRBS test packet;
[0011] The management node performs cable mis-insertion detection based on the number of PRBS test packets received and the verification results.
[0012] Optionally, tx_prbs_packets=(chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LIN KS_PER_CHIP)+(blade_id*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(chip_id*LINKS_PER_CHIP)+link_id+PRBS_PACKETS_BASE;
[0013] Among them, chassis_id is the service chassis number, BLADES_PER_CHASIS is the number of boards on the service chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, blade_id is the board number, chip_id is the chip number, link_id is the high-speed transmission link number, and PRBS_PACKETS_BASE is the base value.
[0014] Optionally, rx_expect_prbs_packets=(peer_chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(peer_blade_id*CHIPS_PER_BLADE*LINKS_PE R_CHIP)+(peer_chip_id*LINKS_PER_CHIP)+peer_link_id+PRBS_PACKETS_BASE;
[0015] Among them, peer_chasis_id is the business chassis number of the connected peer link, BLADES_PER_CHASIS is the number of boards on the business chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, peer_blade_id is the board number of the connected peer link, peer_chip_id is the chip number of the connected peer link, peer_link_id is the high-speed transmission link number of the connected peer link, and PRBS_PACKETS_BASE is the base value.
[0016] Optionally, the management node performs cable misinsertion prevention detection according to the number of received PRBS test packets and the verification result, including:
[0017] Determine whether the number of PRBS test packets received is consistent with rx_expect_prbs_packets;
[0018] If the check result shows that there are error bits, the detection result is determined to be poor cable connection quality, and the construction personnel are notified to check the cable path quality;
[0019] If the check result shows that there are no error bits and the number of received PRBS test packets is consistent with rx_expect_prbs_packets, the test result is determined to be that the cable connection is correct;
[0020] If the check result is that there are no error bits, but the number of received PRBS test packets is inconsistent with rx_expect_prbs_packets, the detection result is determined to be that the cable connection is incorrect.
[0021] Optionally, the physical location of the chip is composed of a service frame number, a board number, and a chip number;
[0022] The service frame number, board number, chip number, high-speed transmission link number, and point-to-point connection information of all high-speed transmission links are stored in a network topology connection database; wherein the network topology connection database is generated by a management node according to a network connection topology diagram;
[0023] Optionally, after the management node performs cable misinsertion prevention detection according to the number of received PRBS test packets and the verification result, the management node further includes:
[0024] If the detection result is determined to be a cable connection error, the management node determines the service frame number, board number, chip number, and high-speed transmission link number corresponding to the incorrect cable based on the number of PRBS test packets received, tx_prbs_packets, and the network topology connection database.
[0025] In a second aspect of the present application, a management node is provided, which is located in a large-scale cable system to be detected, and the large-scale cable system also includes multiple service frames; wherein the management node is connected to all service frames and is used to manage resources of all service frames; each service frame has multiple boards, each board has multiple chips, and each chip is interconnected with other chips through multiple high-speed transmission links;
[0026] The management node is used to perform anti-misinsertion detection on cables in a large-scale cable system by using the method described in the first aspect above.
[0027] In a third aspect of the present application, a large-scale cable system is provided, the large-scale cable system comprising a management node and multiple service frames; wherein the management node is connected to all service frames and is used to manage resources of all service frames; each service frame has multiple boards, each board has multiple chips, and each chip is interconnected with other chips through multiple high-speed transmission links;
[0028] The management node is used to perform anti-misinsertion detection on cables in a large-scale cable system by using the method described in the first aspect above.
[0029] According to a fourth aspect of the present application, an electronic device is provided, including:
[0030] Memory;
[0031] Processor; and
[0032] Computer programs;
[0033] The computer program is stored in the memory and is configured to be executed by the processor to implement the method described in the first aspect above.
[0034] In a fifth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored; the computer program is executed by a processor to implement the method described in the first aspect above.
[0035] The present application provides a cable misinsertion detection method, management node, system, device, and medium. The large-scale cable system detected by the method includes a management node and multiple business frames; wherein the management node is connected to all business frames for managing all business frame resources; each business frame has multiple boards, each board has multiple chips, and each chip is interconnected with other chips through multiple high-speed transmission links; the method includes: the management node determines the number of PRBS test packets sent tx_prbs_packets and the expected number of received rx_expect_prbs_packets for each high-speed transmission link; the management node sends tx_prbs_packets and rx_expect_prbs_packets to each chip belonging to each high-speed transmission link; the management node controls the controller belonging to each high-speed transmission link of each chip to generate tx_prbs_packets PRBS test packets, and transmits the PRBS test packets to the receiving side through the cable; the management node controls the controller belonging to the receiving side to verify the received PRBS test packets; the management node performs cable misinsertion detection according to the number of PRBS test packets received and the verification result. The method provided in the present application can detect the accuracy of cable connection, reduce labor costs, and solve the problem of cable connection errors caused by manual inspection in large-scale cable connection systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0037] Figure 1 A schematic diagram of the architecture of a large-scale cable system provided in an embodiment of the present application;
[0038] Figure 2 A schematic diagram of the physical position of a chip provided in an embodiment of the present application;
[0039] Figure 3 A schematic diagram of a flow chart of a cable mis-insertion detection method provided in an embodiment of the present application;
[0040] Figure 4 A schematic diagram of sending a PRBS test packet provided in an embodiment of the present application;
[0041] Figure 5 A flowchart of another cable mis-insertion detection method provided in an embodiment of the present application;
[0042] Figure 6 A schematic diagram of a flow chart of determining an incorrect cable provided in an embodiment of the present application;
[0043] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0045] In the process of implementing this application, the inventors found that in large-scale systems, in order to ensure high-speed communication between nodes and reduce data transmission time, a complex point-to-point network topology is usually used between computing nodes. Although this topology has the advantages of simplicity, low latency, and high bandwidth, when the number of nodes increases, the number of connecting cables increases rapidly, resulting in a significant increase in the complexity of cable connection management. In the prior art, each cable is equipped with a unique electronic tag at both ends, and the user manually compares the connection topology diagram for inspection, which consumes a lot of manpower and is prone to human judgment errors.
[0046] In response to the above problems, the present application provides a cable misinsertion detection method, management node, system, device, and medium. The large-scale cable system detected by the method includes a management node and multiple business frames; wherein the management node is connected to all business frames for managing all business frame resources; each business frame has multiple boards, each board has multiple chips, and each chip is interconnected with other chips through multiple high-speed transmission links; the method includes: the management node determines the number of PRBS test packets sent tx_prbs_packets and the expected number of received rx_expect_prbs_packets for each high-speed transmission link; the management node sends tx_prbs_packets and rx_expect_prbs_packets to each chip belonging to each high-speed transmission link; the management node controls the controller on each high-speed transmission link of each chip to generate tx_prbs_packets PRBS test packets, and transmits the PRBS test packets to the receiving side through the cable; the management node controls the controller on the receiving side to verify the received PRBS test packets; the management node performs cable misinsertion detection according to the number of PRBS test packets received and the verification result. The method provided in the present application can detect the accuracy of cable connection, reduce labor costs, and solve the problem of cable connection errors caused by manual inspection in large-scale cable connection systems.
[0047] This embodiment provides a cable mis-insertion detection method, which detects a large-scale cable system such as Figure 1 As shown, it includes a management node and multiple service machine frames.
[0048] The management node is connected to all service chassis and is used to manage all service chassis resources.
[0049] Each service chassis has multiple boards, and each board has multiple chips, forming a complex topology.
[0050] Each chip is connected to other chips through multiple high-speed transmission links. The physical location of the chip in the system is composed of the business chassis number (chasis_id), the board number (blade_id), and the chip number in the board (chip_id). The physical location of the chip is as follows: Figure 2 The service frame number, board number, chip number, high-speed transmission link number, and point-to-point connection information of all high-speed transmission links are stored in the network topology connection database. The network topology connection database is generated by the management node according to the network connection topology diagram.
[0051] For example, the management node generates a network topology connection database based on the network connection topology diagram, and the network topology connection database records the business chassis number (chasis_id), board number (blade_id), chip number in the board (chip_id), link number (link_id), and point-to-point connection information of all high-speed transmission links.
[0052] Among them, the point-to-point connection information includes but is not limited to: the business frame number (peer_chasis_id) to which the connected peer link belongs, the board number (peer_blade_id) to which the connected peer link belongs, the chip number (peer_chip_id) to which the connected peer link belongs, and the high-speed transmission link number (peer_link_id) to which the connected peer link belongs.
[0053] In addition, the management node will also set and record the number of PRBS test packets sent (tx_prbs_packets) and the expected number of PRBS test packets received (rx_expect_prbs_packets) for each high-speed transmission link according to software rules.
[0054] For example, the management node first obtains the business chassis number (chasis_id), board number (blade_id), chip number in the board (chip_id), and link number (link_id) of the location of the opposite link from the network topology connection database, and then obtains the number of PRBS test packets sent (tx_prbs_packets) and the expected number of received packets (rx_expect_prbs_packets) according to the software rules.
[0055] Among them, the calculation formula for the number of PRBS test packets sent (tx_prbs_packets) obtained according to the software rules can be:
[0056] tx_prbs_packets=(chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(blade_id*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(chi p_id*LINKS_PER_CHIP)+link_id+PRBS_PACKETS_BASE.
[0057] Among them, chassis_id is the service chassis number, BLADES_PER_CHASIS is the number of boards on the service chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, blade_id is the board number, chip_id is the chip number, link_id is the high-speed transmission link number, and PRBS_PACKETS_BASE is the base value.
[0058] According to the above rules, each high-speed transmission link in the entire large-scale cable system can be set to send a different number of PRBS test packets.
[0059] The calculation formula for obtaining the expected number of received packets (rx_expect_prbs_packets) according to the software rule can be:
[0060] rx_expect_prbs_packets=(peer_chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(peer_blade_id*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(peer_chip_id*LINKS_PER_CHIP)+peer_link_id+PRBS_PACKET S_BASE.
[0061] Among them, peer_chasis_id is the business chassis number of the connected peer link, BLADES_PER_CHASIS is the number of boards on the business chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, peer_blade_id is the board number of the connected peer link, peer_chip_id is the chip number of the connected peer link, peer_link_id is the high-speed transmission link number of the connected peer link, and PRBS_PACKETS_BASE is the base value.
[0062] If PRBS_PACKETS_BASE is set to 0x1000, it means that the number of base packets is 0x1000. This base is both the base for the number of PRBS test packets sent and the base for the expected number of received packets.
[0063] Through the above rules, the exact number of PRBS test packets that each high-speed transmission link in the entire large-scale cable system will receive can be set.
[0064] See also Figure 3 The cable mis-insertion detection method provided in this embodiment is implemented as follows:
[0065] 301. The management node determines the number of PRBS test packets to be sent tx_prbs_packets and the expected number of PRBS test packets to be received rx_expect_prbs_packets for each high-speed transmission link.
[0066] In this step, the management node can directly read the number of PRBS test packets sent (tx_prbs_packets) and the expected number of PRBS test packets received (rx_expect_prbs_packets) for each link that are pre-set according to software rules and recorded.
[0067] 302. The management node sends tx_prbs_packets and rx_expect_prbs_packets to each chip to which each high-speed transmission link belongs.
[0068] 303 , the management node controls the controller on each high-speed transmission link of each chip to generate tx_prbs_packets PRBS test packets, and transmits the PRBS test packets to the receiving side through the cable.
[0069] This step is to perform the PRBS packet test process. For example, after each chip sets the tx_prbs_packets of each high-speed transmission link to the PRBS Tx Pattern Generator module of each link, each chip starts the PRBS packet test.
[0070] Each chip starts the PRBS packet test process as follows Figure 4 As shown, the PRBS module of the controller on the high-speed transmission link generates a PRBS code stream consisting of tx_prbs_packets PRBS test packets, which are sent to the other end by the TX of the high-speed port after packetization and transmitted to the receiving side of the other end by the cable.
[0071] 304. The management node controls the controller at the receiving side to verify the received PRBS test packet.
[0072] For example, after the receiving side receives the service data, its controller verifies the received data, identifies and counts the erroneous bits, and counts the number of erroneous bits, thereby confirming the connectivity of the cable and the link communication quality.
[0073] 305 , the management node performs cable mis-insertion prevention detection according to the number of received PRBS test packets and the verification result.
[0074] The implementation process of this step is as follows:
[0075] 305-1, determine whether the number of received PRBS test packets (such as rx_prbs_packets) is consistent with rx_expect_prbs_packets.
[0076] 305-2, if the check result is that there is an error bit (bit), the detection result is determined to be poor cable connection quality, and the construction personnel are notified to check the cable path quality. If the check result is that there is no error bit, and the number of received PRBS test packets is consistent with rx_expect_prbs_packets, the detection result is determined to be accurate cable connection. If the check result is that there is no error bit, but the number of received PRBS test packets is inconsistent with rx_expect_prbs_packets, the detection result is determined to be incorrect cable connection.
[0077] The cable misinsertion detection method provided in this embodiment utilizes the PRBS module to specify the characteristics of the number of PRBS packets. The management node connects the high-speed transmission link related information and software rules in the database through the network topology, and sends the number of PRBS test packets sent (tx_prbs_packets) and the expected number of PRBS test packets received (rx_expect_prbs_packets) of each high-speed transmission link in the system to each chip belonging to each high-speed transmission link. Subsequently, on each high-speed transmission link on each chip, different and regular numbers of PRBS test packets are started to be sent. The receiving end of the opposite link checks whether there are error bits, and determines whether the number of received PRBS test packets (rx_prbs_packets) is consistent with the expected number of received packets (rx_expect_prbs_packets). If there are error bits, it indicates that the cable connection quality is poor, and the construction personnel need to check the cable path quality. If there are no error bits and the number of received PRBS test packets (rx_prbs_packets) is consistent with the expected number of received packets (rx_expect_prbs_packets), it indicates that the cable connection is correct. If there are no error bits but the number of received PRBS test packets (rx_prbs_packets) is inconsistent with the expected number of received packets (rx_expect_prbs_packets), it indicates that the cable connection is incorrect.
[0078] Next, Figure 5 Taking the example, the execution process of the cable mis-insertion prevention detection method provided in this embodiment is described again:
[0079] 1. The management node connects the high-speed transmission link related information and software rules in the database through the network topology, and sets and records the tx_prbs_packets and rx_expect_prbs_packets of each high-speed transmission link.
[0080] 2. The management node forwards the tx_prbs_packets and rx_expect_prbs_packets of each high-speed transmission link to the chip to which each high-speed transmission link belongs through the network.
[0081] 3. Each chip sets the tx_prbs_packets of each high-speed transmission link to the PRBS Tx Pattern Generator module of each high-speed transmission link.
[0082] 4. Each chip starts the PRBS packet test.
[0083] 5. Each chip starts timer T0, checks whether there are error bits received by each high-speed transmission link, and queries rx_prbs_packets of each link.
[0084] 6. If there is a bit error, the detection result is determined to be poor cable connection quality; if there is no bit error, and rx_prbs_packets is consistent with rx_expect_prbs_packets, the detection result is determined to be accurate cable connection; if there is no bit error, and rx_prbs_packets is inconsistent with rx_expect_prbs_packets, the detection result is determined to be incorrect cable connection.
[0085] In addition, after executing step 305, the management node performs cable misinsertion detection based on the number of PRBS test packets received and the verification results. If the detection result is determined to be an incorrect cable connection, the management node determines the business frame number, board number, chip number, and high-speed transmission link number corresponding to the incorrect cable based on the number of PRBS test packets received, tx_prbs_packets, and the network topology connection database.
[0086] That is to say, when it is determined that the cable connection is incorrect after executing step 305, the service frame number, board number, and chip number of the sending link to which it is incorrectly connected can be inferred based on the actual number of PRBS test packets received and the number of PRBS packets sent for each high-speed transmission link recorded in the network topology connection database of the management node. Then, the pair of cables with the incorrect connection can be displayed on the interface, and the user can be prompted with the specific number of the sending link to which the high-speed transmission link should be connected (such as the service frame number, board number, chip number, high-speed transmission link number, etc.).
[0087] According to the prompt information on the interface, construction workers can quickly check the location where the cables are inserted incorrectly and connect the cables accurately, which greatly saves labor costs.
[0088] In specific implementation, the process of determining the incorrect cable can be as follows: Figure 6 As shown in the figure, if rx_prbs_packets is inconsistent with rx_expect_prbs_packets, then:
[0089] 1. According to the characteristic that tx_prbs_packets should be equal to rx_prbs_packets, the management node uses rx_prbs_packets as a condition to search the network topology connection database to obtain the specific location of the sender of the connection error.
[0090] 2. According to the characteristic that tx_prbs_packets should be equal to rx_prbs_packets, the management node uses rx_expect_prbs_packets as a condition to search in the network topology connection database to obtain the specific location of the sender to be connected.
[0091] 3. The user is prompted through the interface of the sender location to which the high-speed transmission link should be connected, as well as the specific location where the current cable is incorrectly plugged in.
[0092] The cable misplug detection method provided in this embodiment can automatically detect the accuracy of cable connection, significantly reduce labor costs, and improve system flexibility and maintainability. It can solve the problem of cable connection errors caused by manual inspection in large-scale cable connection systems.
[0093] In specific implementation, the cable mis-insertion detection method provided in this embodiment can issue instructions through software to quickly confirm the cable connection accuracy of any node in a large parallel system, significantly reduce labor costs, and improve system flexibility and maintainability.
[0094] The present embodiment provides a cable misinsertion detection method, wherein the large-scale cable system detected by the method includes a management node and multiple service frames; wherein the management node is connected to all service frames for managing all service frame resources; each service frame has multiple boards, each board has multiple chips, and each chip is interconnected with other chips through multiple high-speed transmission links; the method includes: the management node determines the number of PRBS test packets sent tx_prbs_packets and the expected number of PRBS test packets received rx_expect_prbs_packets for each high-speed transmission link; the management node sends tx_prbs_packets and rx_expect_prbs_packets to each chip belonging to each high-speed transmission link; the management node controls the controller belonging to each high-speed transmission link of each chip to generate tx_prbs_packets PRBS test packets, and transmits the PRBS test packets to the receiving side through the cable; the management node controls the controller belonging to the receiving side to verify the received PRBS test packets; the management node performs cable misinsertion detection according to the number of PRBS test packets received and the verification result. The method provided in this embodiment can detect the accuracy of cable connection, reduce labor costs, and solve the problem of cable connection errors caused by manual inspection in a large-scale cable connection system.
[0095] Based on the same inventive concept of the cable misinsertion detection method, this embodiment provides a management node, which is located in a large-scale cable system to be detected, and the large-scale cable system also includes multiple service frames. The management node is connected to all service frames and is used to manage all service frame resources. Each service frame has multiple boards, each board has multiple chips, and each chip is interconnected with other chips through multiple high-speed transmission links.
[0096] Management node, used to Figure 3 The cable mis-insertion detection method shown performs mis-insertion detection on cables in a large-scale cable system.
[0097] For example,
[0098] The management node determines the number of PRBS test packets to be sent tx_prbs_packets and the expected number of PRBS test packets to be received rx_expect_prbs_packets for each high-speed transmission link.
[0099] The management node sends tx_prbs_packets and rx_expect_prbs_packets to each chip belonging to each high-speed transmission link.
[0100] The management node controls the controller on each high-speed transmission link of each chip to generate tx_prbs_packets PRBS test packets, and transmits the PRBS test packets to the receiving side through the cable.
[0101] The management node controls the controller on the receiving side to verify the received PRBS test packet.
[0102] The management node performs cable mis-insertion detection based on the number of PRBS test packets received and the verification results.
[0103] Optionally, tx_prbs_packets=(chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LIN KS_PER_CHIP)+(blade_id*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(chip_id*LINKS_PER_CHIP)+link_id+PRBS_PACKETS_BASE.
[0104] Among them, chassis_id is the service chassis number, BLADES_PER_CHASIS is the number of boards on the service chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, blade_id is the board number, chip_id is the chip number, link_id is the high-speed transmission link number, and PRBS_PACKETS_BASE is the base value.
[0105] Optionally, rx_expect_prbs_packets=(peer_chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(peer_blade_id*CHIPS_PER_BLADE*LINKS_PE R_CHIP)+(peer_chip_id*LINKS_PER_CHIP)+peer_link_id+PRBS_PACKETS_BASE.
[0106] Among them, peer_chasis_id is the business chassis number of the connected peer link, BLADES_PER_CHASIS is the number of boards on the business chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, peer_blade_id is the board number of the connected peer link, peer_chip_id is the chip number of the connected peer link, peer_link_id is the high-speed transmission link number of the connected peer link, and PRBS_PACKETS_BASE is the base value.
[0107] Optionally, the management node performs cable misinsertion prevention detection according to the number of received PRBS test packets and the verification result, including:
[0108] Determine if the number of PRBS test packets received is consistent with rx_expect_prbs_packets.
[0109] If the check result shows that there are error bits, the detection result is determined to be poor cable connection quality, and the construction personnel are notified to check the cable path quality.
[0110] If the check result shows that there are no error bits and the number of received PRBS test packets is consistent with rx_expect_prbs_packets, the test result is determined to be that the cable connection is correct.
[0111] If the check result is that there are no error bits, but the number of received PRBS test packets is inconsistent with rx_expect_prbs_packets, the detection result is determined to be that the cable connection is incorrect.
[0112] Optionally, the physical location of the chip is composed of a service frame number, a board number, and a chip number.
[0113] The service frame number, board number, chip number, high-speed transmission link number, and point-to-point connection information of all high-speed transmission links are stored in the network topology connection database, which is generated by the management node according to the network connection topology diagram.
[0114] Optionally, after the management node performs cable misinsertion prevention detection according to the number of received PRBS test packets and the verification result, the management node further includes:
[0115] If the detection result is determined to be a cable connection error, the management node determines the service frame number, board number, chip number, and high-speed transmission link number corresponding to the incorrect cable based on the number of PRBS test packets received, tx_prbs_packets, and the network topology connection database.
[0116] The management node provided in the embodiment can detect the accuracy of cable connection, reduce labor costs, and solve the problem of cable connection errors caused by manual inspection in a large-scale cable connection system.
[0117] Based on the same inventive concept of the cable misinsertion detection method, this embodiment provides a large-scale cable system, which includes a management node and multiple service frames. The management node is connected to all service frames and is used to manage all service frame resources. Each service frame has multiple boards, each board has multiple chips, and each chip is interconnected with other chips through multiple high-speed transmission links.
[0118] Management node, used to Figure 3 The cable mis-insertion detection method shown performs mis-insertion detection on cables in a large-scale cable system.
[0119] For example,
[0120] The management node determines the number of PRBS test packets to be sent tx_prbs_packets and the expected number of PRBS test packets to be received rx_expect_prbs_packets for each high-speed transmission link.
[0121] The management node sends tx_prbs_packets and rx_expect_prbs_packets to each chip belonging to each high-speed transmission link.
[0122] The management node controls the controller on each high-speed transmission link of each chip to generate tx_prbs_packets PRBS test packets, and transmits the PRBS test packets to the receiving side through the cable.
[0123] The management node controls the controller on the receiving side to verify the received PRBS test packet.
[0124] The management node performs cable mis-insertion detection based on the number of PRBS test packets received and the verification results.
[0125] Optionally, tx_prbs_packets=(chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LIN KS_PER_CHIP)+(blade_id*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(chip_id*LINKS_PER_CHIP)+link_id+PRBS_PACKETS_BASE.
[0126] Among them, chassis_id is the service chassis number, BLADES_PER_CHASIS is the number of boards on the service chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, blade_id is the board number, chip_id is the chip number, link_id is the high-speed transmission link number, and PRBS_PACKETS_BASE is the base value.
[0127] Optionally, rx_expect_prbs_packets=(peer_chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(peer_blade_id*CHIPS_PER_BLADE*LINKS_PE R_CHIP)+(peer_chip_id*LINKS_PER_CHIP)+peer_link_id+PRBS_PACKETS_BASE.
[0128] Among them, peer_chasis_id is the business chassis number of the connected peer link, BLADES_PER_CHASIS is the number of boards on the business chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, peer_blade_id is the board number of the connected peer link, peer_chip_id is the chip number of the connected peer link, peer_link_id is the high-speed transmission link number of the connected peer link, and PRBS_PACKETS_BASE is the base value.
[0129] Optionally, the management node performs cable misinsertion prevention detection according to the number of received PRBS test packets and the verification result, including:
[0130] Determine if the number of PRBS test packets received is consistent with rx_expect_prbs_packets.
[0131] If the check result shows that there are error bits, the detection result is determined to be poor cable connection quality, and the construction personnel are notified to check the cable path quality.
[0132] If the check result shows that there are no error bits and the number of received PRBS test packets is consistent with rx_expect_prbs_packets, the test result is determined to be that the cable connection is correct.
[0133] If the check result is that there are no error bits, but the number of received PRBS test packets is inconsistent with rx_expect_prbs_packets, the detection result is determined to be that the cable connection is incorrect.
[0134] Optionally, the physical location of the chip is composed of a service frame number, a board number, and a chip number.
[0135] The service frame number, board number, chip number, high-speed transmission link number, and point-to-point connection information of all high-speed transmission links are stored in the network topology connection database, which is generated by the management node according to the network connection topology diagram.
[0136] Optionally, after the management node performs cable misinsertion prevention detection according to the number of received PRBS test packets and the verification result, the management node further includes:
[0137] If the detection result is determined to be a cable connection error, the management node determines the service frame number, board number, chip number, and high-speed transmission link number corresponding to the incorrect cable based on the number of PRBS test packets received, tx_prbs_packets, and the network topology connection database.
[0138] The large-scale cable system provided in the embodiment can detect the accuracy of cable connection, reduce labor costs, and solve the problem of cable connection errors caused by manual inspection in the large-scale cable connection system.
[0139] Based on the same inventive concept of the cable mis-insertion detection method, this embodiment provides an electronic device, such as Figure 7 As shown, it includes: a memory 701, a processor 702, and a computer program.
[0140] The computer program is stored in the memory 701 and is configured to be executed by the processor 702 to implement the above-mentioned cable mis-insertion detection method.
[0141] Specifically,
[0142] Determine the number of PRBS test packets to be sent tx_prbs_packets and the expected number of PRBS test packets to be received rx_expect_prbs_packets for each high-speed transmission link.
[0143] Send tx_prbs_packets and rx_expect_prbs_packets to each chip belonging to each high-speed transmission link.
[0144] The controller on each high-speed transmission link of each chip generates tx_prbs_packets PRBS test packets, and transmits the PRBS test packets to the receiving side through the cable.
[0145] The controller at the receiving side is controlled to verify the received PRBS test packet.
[0146] The cable mis-insertion detection is performed based on the number of PRBS test packets received and the verification results.
[0147] Optionally, tx_prbs_packets=(chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LIN KS_PER_CHIP)+(blade_id*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(chip_id*LINKS_PER_CHIP)+link_id+PRBS_PACKETS_BASE.
[0148] Among them, chassis_id is the service chassis number, BLADES_PER_CHASIS is the number of boards on the service chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, blade_id is the board number, chip_id is the chip number, link_id is the high-speed transmission link number, and PRBS_PACKETS_BASE is the base value.
[0149] Optionally, rx_expect_prbs_packets=(peer_chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(peer_blade_id*CHIPS_PER_BLADE*LINKS_PE R_CHIP)+(peer_chip_id*LINKS_PER_CHIP)+peer_link_id+PRBS_PACKETS_BASE.
[0150] Among them, peer_chasis_id is the business chassis number of the connected peer link, BLADES_PER_CHASIS is the number of boards on the business chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, peer_blade_id is the board number of the connected peer link, peer_chip_id is the chip number of the connected peer link, peer_link_id is the high-speed transmission link number of the connected peer link, and PRBS_PACKETS_BASE is the base value.
[0151] Optionally, cable misinsertion prevention detection is performed according to the number of received PRBS test packets and the verification result, including:
[0152] Determine if the number of PRBS test packets received is consistent with rx_expect_prbs_packets.
[0153] If the check result shows that there are error bits, the detection result is determined to be poor cable connection quality, and the construction personnel are notified to check the cable path quality.
[0154] If the check result shows that there are no error bits and the number of received PRBS test packets is consistent with rx_expect_prbs_packets, the test result is determined to be that the cable connection is correct.
[0155] If the check result is that there are no error bits, but the number of received PRBS test packets is inconsistent with rx_expect_prbs_packets, the detection result is determined to be that the cable connection is incorrect.
[0156] Optionally, the physical location of the chip is composed of a service frame number, a board number, and a chip number.
[0157] The service frame number, board number, chip number, high-speed transmission link number, and point-to-point connection information of all high-speed transmission links are stored in the network topology connection database, which is generated by the management node according to the network connection topology diagram.
[0158] Optionally, after performing cable misinsertion prevention detection according to the number of received PRBS test packets and the verification result, the method further includes:
[0159] If the detection result is determined to be a cable connection error, the service frame number, board number, chip number, and high-speed transmission link number corresponding to the incorrect cable are determined based on the number of PRBS test packets received, tx_prbs_packets, and the network topology connection database.
[0160] The electronic device provided in this embodiment has a computer program executed by a processor to detect the accuracy of cable connection, thereby reducing labor costs and solving the problem of cable connection errors caused by manual inspection in large-scale cable connection systems.
[0161] Based on the same inventive concept of the cable misplugging detection method, this embodiment provides a computer-readable storage medium, and a computer program is stored thereon. The computer program is executed by a processor to implement the cable misplugging detection method.
[0162] Specifically,
[0163] Determine the number of PRBS test packets to be sent tx_prbs_packets and the expected number of PRBS test packets to be received rx_expect_prbs_packets for each high-speed transmission link.
[0164] Send tx_prbs_packets and rx_expect_prbs_packets to each chip belonging to each high-speed transmission link.
[0165] The controller on each high-speed transmission link of each chip generates tx_prbs_packets PRBS test packets, and transmits the PRBS test packets to the receiving side through the cable.
[0166] The controller at the receiving side is controlled to verify the received PRBS test packet.
[0167] The cable mis-insertion detection is performed based on the number of PRBS test packets received and the verification results.
[0168] Optionally, tx_prbs_packets=(chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LIN KS_PER_CHIP)+(blade_id*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(chip_id*LINKS_PER_CHIP)+link_id+PRBS_PACKETS_BASE.
[0169] Among them, chassis_id is the service chassis number, BLADES_PER_CHASIS is the number of boards on the service chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, blade_id is the board number, chip_id is the chip number, link_id is the high-speed transmission link number, and PRBS_PACKETS_BASE is the base value.
[0170] Optionally, rx_expect_prbs_packets=(peer_chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(peer_blade_id*CHIPS_PER_BLADE*LINKS_PE R_CHIP)+(peer_chip_id*LINKS_PER_CHIP)+peer_link_id+PRBS_PACKETS_BASE.
[0171] Among them, peer_chasis_id is the business chassis number of the connected peer link, BLADES_PER_CHASIS is the number of boards on the business chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, peer_blade_id is the board number of the connected peer link, peer_chip_id is the chip number of the connected peer link, peer_link_id is the high-speed transmission link number of the connected peer link, and PRBS_PACKETS_BASE is the base value.
[0172] Optionally, cable misinsertion prevention detection is performed according to the number of received PRBS test packets and the verification result, including:
[0173] Determine if the number of PRBS test packets received is consistent with rx_expect_prbs_packets.
[0174] If the check result shows that there are error bits, the detection result is determined to be poor cable connection quality, and the construction personnel are notified to check the cable path quality.
[0175] If the check result shows that there are no error bits and the number of received PRBS test packets is consistent with rx_expect_prbs_packets, the test result is determined to be that the cable connection is correct.
[0176] If the check result is that there are no error bits, but the number of received PRBS test packets is inconsistent with rx_expect_prbs_packets, the detection result is determined to be that the cable connection is incorrect.
[0177] Optionally, the physical location of the chip is composed of a service frame number, a board number, and a chip number.
[0178] The service frame number, board number, chip number, high-speed transmission link number, and point-to-point connection information of all high-speed transmission links are stored in the network topology connection database, which is generated by the management node according to the network connection topology diagram.
[0179] Optionally, after performing cable misinsertion prevention detection according to the number of received PRBS test packets and the verification result, the method further includes:
[0180] If the detection result is determined to be a cable connection error, the service frame number, board number, chip number, and high-speed transmission link number corresponding to the incorrect cable are determined based on the number of PRBS test packets received, tx_prbs_packets, and the network topology connection database.
[0181] The computer-readable storage medium provided in this embodiment has a computer program on which a processor executes to detect the accuracy of cable connection, thereby reducing labor costs and solving the problem of cable connection errors caused by manual inspection in large-scale cable connection systems.
[0182] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0183] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0184] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0185] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0186] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0187] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A cable mis-insertion detection method, characterized in that: The large-scale cable system detected by the method includes a management node and multiple service frames; wherein the management node is connected to all service frames and is used to manage all service frame resources; each service frame has multiple boards, each board has multiple chips, and each chip is interconnected with other chips through multiple high-speed transmission links; The method comprises: The management node determines the number of PRBS test packets sent tx_prbs_packets and the expected number of PRBS test packets received rx_expect_prbs_packets for each high-speed transmission link; The management node sends tx_prbs_packets and rx_expect_prbs_packets to each chip to which each high-speed transmission link belongs; The management node controls the controller on each high-speed transmission link of each chip to generate tx_prbs_packets PRBS test packets, and transmits the PRBS test packets to the receiving side through the cable; The management node controls the controller of the receiving side to verify the received PRBS test packet; The management node performs cable mis-insertion prevention detection according to the number of received PRBS test packets and the verification result.
2. The method according to claim 1, characterized in that tx_prbs_packets=(chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LIN KS_PER_CHIP)+(blade_id*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(chip_id*LINKS_PER_CHIP)+link_id+PRBS_PACKETS_BASE; Among them, chassis_id is the service chassis number, BLADES_PER_CHASIS is the number of boards on the service chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, blade_id is the board number, chip_id is the chip number, link_id is the high-speed transmission link number, and PRBS_PACKETS_BASE is the base value.
3. The method according to claim 1, characterized in that rx_expect_prbs_packets=(peer_chasis_id*BLADES_PER_CHASIS*CHIPS_PER_BLADE*LINKS_PER_CHIP)+(peer_blade_id*CHIPS_PER_BLADE*LINKS_PE R_CHIP)+(peer_chip_id*LINKS_PER_CHIP)+peer_link_id+PRBS_PACKETS_BASE; Among them, peer_chasis_id is the business chassis number of the connected peer link, BLADES_PER_CHASIS is the number of boards on the business chassis, CHIPS_PER_BLADE is the number of chips on the board, LINKS_PER_CHIP is the number of high-speed transmission links on the chip, peer_blade_id is the board number of the connected peer link, peer_chip_id is the chip number of the connected peer link, peer_link_id is the high-speed transmission link number of the connected peer link, and PRBS_PACKETS_BASE is the base value.
4. The method according to claim 1, characterized in that The management node performs cable misinsertion prevention detection according to the number of received PRBS test packets and the verification result, including: Determine whether the number of PRBS test packets received is consistent with rx_expect_prbs_packets; If the check result shows that there are error bits, the detection result is determined to be poor cable connection quality, and the construction personnel are notified to check the cable path quality; If the check result shows that there are no error bits and the number of received PRBS test packets is consistent with rx_expect_prbs_packets, the test result is determined to be that the cable connection is correct; If the check result is that there are no error bits, but the number of received PRBS test packets is inconsistent with rx_expect_prbs_packets, the detection result is determined to be that the cable connection is incorrect.
5. The method according to claim 1, characterized in that The physical location of the chip is composed of the business frame number, board number, and chip number; The service frame number, board number, chip number, high-speed transmission link number, and point-to-point connection information of all high-speed transmission links are stored in a network topology connection database; wherein the network topology connection database is generated by a management node according to a network connection topology diagram.
6. The method according to claim 5, characterized in that After the management node performs cable misinsertion prevention detection according to the number of received PRBS test packets and the verification result, the management node further includes: If the detection result is determined to be an incorrect cable connection, the management node determines the service frame number, board number, chip number, and high-speed transmission link number corresponding to the incorrect cable based on the number of PRBS test packets received, tx_prbs_packets, and the network topology connection database.
7. A management node, characterized in that: The management node is located in the large-scale cable system under inspection, and the large-scale cable system also includes multiple service frames; wherein the management node is connected to all service frames and is used to manage resources of all service frames; each service frame has multiple boards, each board has multiple chips, and each chip is interconnected with other chips through multiple high-speed transmission links; The management node is used to perform anti-misinsertion detection on the cables in the large-scale cable system by using the method described in any one of claims 1 to 6.
8. A large-scale cable system, characterized in that: The large-scale cable system includes a management node and multiple service frames; wherein the management node is connected to all service frames and is used to manage all service frame resources; each service frame has multiple boards, each board has multiple chips, and each chip is interconnected with other chips through multiple high-speed transmission links; The management node is used to perform anti-misinsertion detection on the cables in the large-scale cable system by using the method described in any one of claims 1 to 6.
9. An electronic device, characterized in that: include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method of any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon; the computer program is executed by a processor to implement the method of any one of claims 1 to 6.