Cable function detection method and device

By building detection devices for the main control machine, baseboard and interface board, cable connections are automatically identified and electrical parameter detection is performed, solving the problem of low efficiency in cable function detection and achieving efficient cable quality control and management.

CN120490679BActive Publication Date: 2025-09-26INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510968799.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-14
Publication Date
2025-09-26
Estimated Expiration
2045-07-14

AI Technical Summary

Technical Problem

In the existing technology, the cable function detection method is inefficient and lacks functional integrity verification means. It is difficult to achieve wire sequence identification, electrical performance detection and batch automatic statistics, and cannot meet the needs of quality control and maintenance efficiency.

Method used

A detection signal is sent through the first interface board to determine whether the second interface board receives a response signal, establish a connection mapping relationship, and use the main control computer, baseboard and interface board to build a detection device to perform electrical parameter detection and generate visual results and statistical reports.

Benefits of technology

It realizes automation and high efficiency of cable function detection, reduces manual misjudgment, improves test efficiency and management capabilities, and is suitable for multi-scenario applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120490679B_ABST
    Figure CN120490679B_ABST
Patent Text Reader

Abstract

The present application discloses a cable function detection method and device, which relate to the field of high-speed electronic interconnection technology, focusing on cables such as Slimline and MCIO used in servers, constructing a simulated connection mapping for testing the expected cable to be tested, initializing a connection mapping dictionary for recording actual detection results, sending a detection signal to each core at one end in sequence, and receiving a response signal at the other end, and recording and outputting the detection result mapping relationship, thereby solving the problems of the existing detection system having a single function and being unable to evaluate the true electrical performance of the cable, the problem of difficulty in batch cable quality control, and the problem of complex cables being unable to quickly replace detection parameters and having high switching costs, thereby reducing manual insertion errors and misjudgments, improving test efficiency and management capabilities, and facilitating maintenance and adaptation of cables of different specifications. The application is suitable for multiple scenarios such as R&D verification, production line sampling, and after-sales inspection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of high-speed electronic interconnection technology, and in particular to a cable function detection method and device. Background Art

[0002] In existing technologies, as servers and data centers increasingly demand high-speed, low-latency transmission, high-speed cables such as Slimline and MCIO play a key role in hardware systems. However, existing testing methods are mostly limited to T1 / T2 testing during the production phase. Deployment methods lack functional integrity verification methods and rely heavily on inefficient methods such as manual labor, comparison, and rulers. This makes it difficult to achieve wire sequence identification, electrical performance testing, and automatic batch statistics, failing to meet the dual demands of quality control and maintenance efficiency. Summary of the Invention

[0003] The present application provides a cable function detection method and device to at least solve the problem of imperfect and inefficient cable function detection methods in related technologies.

[0004] This application provides a cable function detection method, including:

[0005] Sending a detection signal through a first port of a first interface board, and determining whether a second port of a second interface board receives a response signal corresponding to the detection signal, wherein the first port is a port on the first interface board connected to a first end of a cable to be tested, and the second end of the cable to be tested is connected to a second port of the second interface board;

[0006] When it is determined that the second port of the second interface board receives a response signal corresponding to the detection signal, determining that the function test of the cable under test passes, and outputting an actual connection mapping relationship of the cable under test according to the first port and the second port;

[0007] If it is determined that each second port of the second interface board has not received a response signal corresponding to the detection signal, it is determined that the function test of the cable to be tested has failed.

[0008] The present application also provides a cable function detection device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned cable function detection method are implemented. The cable function detection device further comprises:

[0009] A main control machine is configured to issue detection instructions, process detection signals and display detection results;

[0010] Multiple interface boards, including a first interface board and a second interface board, wherein a first port on the first interface board is connected to a first end of a cable to be tested, and a second port on the second interface board is connected to a second end of the cable to be tested; and a base board, connected between a main control machine and each interface board, for forwarding, amplifying or filtering a detection signal.

[0011] This application focuses on cables such as Slimline and MCIO used in servers. It sends a detection signal to each core at one end in sequence, receives a response signal at the other end, and records and outputs the detection result mapping relationship, thereby solving the problem of low efficiency and high risk of misconnection caused by unclear cable sequence in traditional manual comparison, the problem that the existing detection system has a single function and cannot evaluate the true electrical performance of cables, and the problem of difficulty in batch cable quality control. It avoids manual labeling or guesswork, reduces manual insertion errors and misjudgments, improves test efficiency and management capabilities, and is suitable for multiple scenarios such as R&D verification, production line sampling, and after-sales troubleshooting. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0013] Figure 1 Flowcharts of some embodiments of a cable function detection method provided in an embodiment of the present application;

[0014] Figure 2 Flowcharts of some embodiments of a cable function detection method provided in an embodiment of the present application;

[0015] Figure 3 An overall diagram of a cable function detection device provided in an embodiment of the present application;

[0016] Figure 4 A diagram illustrating a main control machine in a cable function detection device provided in an embodiment of the present application;

[0017] Figure 5 A diagram illustrating a substrate in a cable function detection device provided in an embodiment of the present application;

[0018] Figure 6 This is a diagram of an interface board in a cable function detection device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0019] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative work are within the scope of protection of this application.

[0020] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.

[0021] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0022] With the development of server technology, cables have become a crucial component for server connections. Cable speeds have increased significantly, from the initial gen3 to the current gen5, and from PCI-E 3.0 to PCI-E 5.0. One function required six single-strand cables, and now requires 14. Cable connectors and connector stability have become important indicators of server quality. However, existing technology only allows manufacturers to perform functional testing of cables during production, which is divided into T1 and T2 tests. The T1 test is a bare board test before packaging, and the T2 test is a post-packaging test. At the server manufacturer level, only cable specifications are tested, without functional testing or wire sequence testing. Furthermore, existing technology only performs functional verification on small batches of samples, and no functional testing is performed once mass production begins. Consequently, in the large-scale sample scenarios of existing technology, an efficient and applicable sample testing process is missing. In addition, in the existing technology, routine inspections are often carried out by means of a ruler, etc., as well as comparisons between sample pictures in specification sheets and actual objects. Another problem with the existing technology is that components are often not recognized when the cables are first installed, and they need to be plugged in and out a second time for normal identification.

[0023] The following combination Figure 1 A cable function detection method provided in an embodiment of the present application is described.

[0024] Figure 1 Flowcharts of some embodiments of a cable function detection method provided in an embodiment of the present application.

[0025] like Figure 1As shown, in some embodiments, it should be noted that the cable function detection method may include the following steps:

[0026] S1: Sending a detection signal through a first port of a first interface board and determining whether a second port of a second interface board receives a response signal corresponding to the detection signal, where the first port is a port on the first interface board connected to a first end of a cable to be tested, and the second end of the cable to be tested is connected to a second port of the second interface board;

[0027] S2: When it is determined that the second port of the second interface board receives a response signal corresponding to the detection signal, determining that the function test of the cable under test passes, and outputting an actual connection mapping relationship of the cable under test according to the first port and the second port;

[0028] S3: If it is determined that each second port of the second interface board has not received a response signal corresponding to the detection signal, determine that the function test of the cable to be tested fails.

[0029] In some embodiments, it should be noted that the cable function detection method may further include: establishing a simulated connection mapping relationship and initializing a connection mapping dictionary; and determining cables involved in the simulated connection mapping relationship as cables to be tested.

[0030] Furthermore, in some embodiments, it should be noted that the cable function detection method may also include: when it is determined that the second port of the second interface board receives a response signal corresponding to the detection signal, storing the simulated connection mapping relationship as the actual connection mapping relationship in the connection mapping dictionary.

[0031] Specifically, in some embodiments, it should be noted that the cable function detection method may further include: a simulated connection mapping relationship may be generated by a pseudo-random algorithm and stored in a predetermined storage structure.

[0032] More specifically, in some embodiments, it should be noted that the cable function detection method may further include: the predetermined storage structure may at least include a list-type storage structure.

[0033] For example, in some embodiments, a connection mapping between the wires at both ends of a cable can be randomly generated and stored in a "cables" list, using the serial numbers of the two ends of the cable as key-value pairs, to simulate the actual cable connection state. To simulate possible non-sequential connections, the host computer first randomly generates a simulated connection mapping (e.g., cables = [7, 3, 9, ...]), indicating that wire 0 on one end is connected to wire 7 on the other end, and stores this mapping list in a preset structure, such as a list variable. Specifically, in the absence of actual wiring hardware, a preset structure such as cables = [7, 3, 9, 5, 6, 0, 8, 2, 1, 4] can be used to simulate a mapping relationship such as "wire 0 connects to wire 7, wire 1 connects to wire 3, ...." Of course, this is merely an example; in practice, those skilled in the art can set different simulated mapping relationships based on actual scenario requirements. In other words, the source data for the generated mapping is equivalent to the original wiring diagram or simulation environment.

[0034] For another example, in some embodiments, a blank connection_mapping dictionary can be constructed to store the actual detected cable connection relationships. Subsequently, an empty dictionary is initialized, such as connection_mapping = {} in Python, to store the actual cable connection relationships dynamically generated during the detection process. During the detection process, the system sends a detection signal (including but not limited to a low-voltage pulse or differential pulse) to each cable. The other end receives the response signal and records its port number, completing the line sequence mapping identification for the entire cable. The connection_mapping = {} connection mapping dictionary here is used to gradually record the actual detection results. As subsequent steps are executed, the data in the connection mapping dictionary is continuously updated. During the traversal, each time a detection signal (low-voltage pulse or differential pulse) is sent, the receiving end reads the signal and returns the number, and the host computer executes connection_mapping[i] = j. Furthermore, as a result-type data structure, the dynamic dictionary structure reflects the "actual connection relationships identified by the detection process," supports arbitrary mapping, and adapts to nonlinear connections such as crossovers and jumpers, significantly improving the recognition success rate. For example, the connection mapping dictionary can be subsequently updated and filled with: connection_mapping[0] = 7; connection_mapping[1] = 3; ... Of course, this is only an example. In fact, ordinary technicians in this field can understand that the connection mapping dictionary can be updated differently according to the actual connection relationship.

[0035] Specifically, in some embodiments, it should be noted that the cable function detection method may further include: performing electrical parameter detection on the cable to be tested.

[0036] More specifically, in some embodiments, it should be noted that the cable function detection method may further include: electrical parameter detection including at least one of current detection, capacitance detection, voltage detection or impedance detection.

[0037] Furthermore, components such as a programmable power supply, a voltage / current sampling chip, and a capacitance measurement bridge can be used to perform one or more of the following tests on the target cable according to set instructions. For example, impedance testing uses voltage / current ratio calculation or TDR (time domain reflectometry) methods. Another example is capacitance testing, which samples the charging time and response after charging the two ends of an unloaded cable to reflect the insulation condition of the cable, which affects transmission delay. Another example is voltage / current testing to determine whether the cable is broken / short-circuited, whether the power line is abnormal, whether the signal amplitude is attenuated, and whether the power supply is normal. For example, a mismatch in cable impedance can cause signal reflections, resulting in data transmission errors; abnormal capacitance parameters can affect signal transmission delay and reduce data transmission efficiency. In the cable function testing method of this application, by accurately testing and strictly controlling these parameters, it ensures that the cable meets high-speed data transmission standards, providing a solid guarantee for stable server operation. Furthermore, for high-precision cables, the cable function testing method of this application can also set upper current and voltage limits, and can also perform long-term aging tests. Of course, this is merely an example. Those skilled in the art will appreciate that different electrical parameter combinations can be configured based on actual scenario requirements, and different thresholds can be customized. Accurate detection of these basic parameters ensures stable cable operation at high transmission rates.

[0038] In some embodiments, it should be noted that the cable function detection method may further include: during outputting the actual connection mapping relationship of the cable to be tested, presenting the actual connection mapping relationship in a visual manner.

[0039] Specifically, the cable function detection method can display the actual connection results of each detection through a graphical interface (GUI), and present them in the form of a line sequence matrix, a wire core number comparison table, a continuity diagram, etc., which is conducive to further efficient verification and maintenance.

[0040] In some embodiments, it should be noted that the cable function detection method may further include: counting the number of cables that pass the detection and the number of cables that fail the detection, and outputting a statistical report.

[0041] Specifically, the cable function detection method can automatically count the test results, output the number of passes and failures in a bar chart or table, and automatically generate a test report (including but not limited to CSV, PDF and other formats) to facilitate batch data archiving, quality traceability and analysis.

[0042] In some embodiments, it should be noted that the cable function detection method may further include: monitoring the loss status of the first interface board and the second interface board.

[0043] Specifically, in order to ensure the accuracy of detection, the cable function detection method can record the number of times each plugging and unplugging process is performed, and combine the detected signal quality, including but not limited to indicators such as voltage drift and reflection waveform, to determine whether the interface contacts have problems such as loss and oxidation, and trigger an alarm when the set threshold is exceeded to prompt the replacement of the interface board.

[0044] The following combination Figure 2 The cable function detection method provided in the embodiment of the present application is described.

[0045] Figure 2 Flowcharts of some embodiments of a cable function detection method provided in an embodiment of the present application.

[0046] like Figure 2 As shown, in some embodiments, it should be noted that the cable function detection method may further include the following steps:

[0047] S10: Generate cable connection relationship: randomly generate the connection relationship between the two ends of the cable, store it in the cables list, and simulate the real cable connection situation;

[0048] S20: Initialize the connection mapping dictionary: create an empty dictionary connection_mapping connection mapping to store the connection correspondence between the two ends of the cable;

[0049] S30: sending a signal in a loop to traverse each wire (including but not limited to wires 0 to 9) at one end of the cable;

[0050] S40: simulate sending signal to current line;

[0051] S50: Obtain the serial number of the cable receiving the signal at the other end according to the cables list;

[0052] S60: storing the serial number of the current line and the serial number of the line receiving the signal into the connection_mapping connection mapping dictionary;

[0053] S70: Output the serial number of the line currently sending the signal and the serial number of the line receiving the signal;

[0054] S80: Have all lines been traversed?

[0055] If S80 is yes, then execute S90: output the connection mapping relationship, traverse the connection_mapping connection mapping dictionary, and output the connection mapping relationship between the two ends of the cable;

[0056] If S80 is no, the process returns to S40: simulating sending a signal to the current line.

[0057] Specifically, the description of the features in the embodiments corresponding to these cable function detection methods can refer to the relevant description of the embodiments corresponding to the aforementioned cable function detection methods, and will not be repeated here.

[0058] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.

[0059] Based on this, an embodiment of the present application further provides a cable function detection device.

[0060] The following combination Figure 3 The cable function detection device provided in an embodiment of the present application is described.

[0061] Figure 3 This is an overall diagram of a cable function detection device provided in an embodiment of the present application.

[0062] like Figure 3 As shown, in some embodiments, it should be noted that the embodiments of the present application also provide a cable function detection device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, one or more steps of the above-mentioned cable function detection method are implemented.

[0063] Further, refer to Figure 3 In some embodiments, it should be noted that the cable function detection device further includes: a main control computer, configured to issue detection instructions, process detection signals and display detection results, including at least eight groups of quick detection buttons, each group of quick detection buttons corresponding to a preset detection program for a type of standard cable; multiple interface boards, including a first interface board and a second interface board, the first port on the first interface board is connected to the first end of the cable to be tested, and the second port on the second interface board is connected to the second end of the cable to be tested, each interface board also including a pluggable module with a different model; and a base board, connected between the main control computer and each interface board, for forwarding, amplifying or filtering the detection signal.

[0064] Specifically, the main control machine and the baseboard are connected together by wiring, and the quick interface on the baseboard is connected to the interface board to build the entire device environment. The cables to be tested are respectively connected to the A1 and B1 interfaces or any other interfaces of the interface board. When the device is connected, the line sequence of the cable can be automatically obtained through the Python inspection program encapsulated in the main control machine, and impedance detection, current detection, and capacitance detection can also be manually issued. For example, a voltage signal is issued to each cable on baseboard A, and the voltage signal is received on baseboard B. Based on the mapping relationship, the corresponding line sequence is determined and listed.

[0065] Specifically, refer to Figure 3 In some embodiments, when the cables are connected to the interface boards of A1 and B1 to automatically detect the line sequence, the control logic examples of the main control machine may include: sending a signal to the 0th line at one end, and receiving a signal at the 7th line at the other end; sending a signal to the 1st line at one end, and receiving a signal at the 3rd line at the other end; sending a signal to the 2nd line at one end, and receiving a signal at the 9th line at the other end; sending a signal to the 3rd line at one end, and receiving a signal at the 5th line at the other end; sending a signal to the 4th line at one end, and receiving a signal at the 6th line at the other end; sending a signal to the 5th line at one end, and receiving a signal at the 0th line at the other end; sending a signal to the 6th line at one end, and receiving a signal at the 8th line at the other end; sending a signal to the 7th line at one end, and receiving a signal at the 2nd line at the other end; sending a signal to the 8th line at one end, and receiving a signal at the 1st line at the other end; sending a signal to the 9th line at one end, and receiving a signal at the 4th line at the other end. Based on this, the connection mapping relationship between the two ends of the cable can be shown as: the 0th wire at one end is connected to the 7th wire at the other end; the 1st wire at one end is connected to the 3rd wire at the other end; the 2nd wire at one end is connected to the 9th wire at the other end; the 3rd wire at one end is connected to the 5th wire at the other end; the 4th wire at one end is connected to the 6th wire at the other end; the 5th wire at one end is connected to the 0th wire at the other end; the 6th wire at one end is connected to the 8th wire at the other end; the 7th wire at one end is connected to the 2nd wire at the other end; the 8th wire at one end is connected to the 1st wire at the other end; the 9th wire at one end is connected to the 4th wire at the other end. Of course, this is only an example. In fact, it can be understood by ordinary technicians in this field that different host control logics can be set according to actual scenarios, and different connection mapping relationships between the two ends of the cable can be obtained.

[0066] More specifically, combined Figures 1 to 3 In some embodiments, the main control machine in the cable function detection device can be configured to further include at least eight groups of quick detection buttons, each group of quick detection buttons can correspond to a preset detection program for a type of standard cable.

[0067] More specifically, combined Figures 1 to 3 In some embodiments, each interface board in the cable function detection device can be configured to further include pluggable modules of different models to accommodate server cable interfaces of varying shapes or specifications. For example, a hot-swappable design can be used, supporting gold finger or Pogo pin configurations, and automatically identifying interface models and compatibility. For another example, after connecting a cable, a quick test can be performed using a button-set program. Furthermore, eight sets of programs can be set as fixed programs for a cable, allowing for quick and efficient detection of wire sequence, current, and other parameters using a single button.

[0068] More specifically, combined Figures 1 to 3 In some embodiments, the main control unit in the cable function detection device can be configured to further include an electrical parameter detection module, which can be configured to perform electrical parameter detection on the cable under test. The electrical parameter detection can include at least one of current detection, capacitance detection, voltage detection, or impedance detection.

[0069] More specifically, combined Figures 1 to 3 In some embodiments, the main control machine in the cable function detection device can be configured to further include a visual graphical interface, and the visual graphical interface can be configured to present the actual connection mapping relationship in a visual manner during the output of the actual connection mapping relationship of the cable to be tested.

[0070] More specifically, combined Figures 1 to 3 In some embodiments, the main control unit in the cable function testing device can be configured to further include a test statistics module. The test statistics module can be configured to count the number of cables that pass the test and the number of cables that fail the test, and output a statistical report. For example, the test statistics module can record and compare multiple batches of data and provide interface stability trend analysis and early warning.

[0071] More specifically, combined Figures 1 to 3 In some embodiments, the substrate in the cable function detection device can be configured to further include at least one of an amplification circuit and a filtering circuit to eliminate interference signals during the detection process.

[0072] More specifically, combined Figures 1 to 3In some embodiments, the main control machine in the cable function detection device can be configured to further include a loss monitoring module, which can be configured to detect the loss status of the first interface board and the second interface board. For example, a contact resistance / signal attenuation sampling logic can be set to dynamically determine the status of the socket. For example, the plug-in and unplug counter hardware module records each plug-in and unplug event. In addition, the contact resistance can be automatically detected regularly. For example, if it is greater than a preset threshold (such as 50mΩ, just one example), a maintenance warning is triggered. In addition, signal quality attenuation monitoring can also be performed to determine contact degradation by comparing the standard echo with the current echo curve. In addition, the loss monitoring module records each interface usage cycle, and at the same time monitors indicators such as fluctuations in electrical signal strength and changes in contact resistance to build an aging model to achieve predictive maintenance and interface replacement recommendations. For example, the interface board is a lossy component. When the loss monitoring module detects that the interface board has failed, the interface can be replaced.

[0073] Furthermore, the following Figure 4 A schematic diagram illustrating a main control machine in a cable function detection device provided in an embodiment of the present application.

[0074] Figure 4 This is a diagram of a main control machine in a cable function detection device provided in an embodiment of the present application.

[0075] like Figure 4 As shown, in some embodiments, it should be noted that the main control machine in the cable function detection device, as an IC controller, can be set to have a visual display unit, a storage unit, and can be configured to execute the steps of any of the above-mentioned cable function detection methods.

[0076] Furthermore, the following Figure 5 A schematic diagram depicting a substrate in a cable function detection device provided in an embodiment of the present application.

[0077] Figure 5 This is a diagram of a substrate in a cable function detection device provided in an embodiment of the present application.

[0078] like Figure 5As shown, in some embodiments, it should be noted that the substrate in the cable function detection device can be composed of, for example, two PCB boards. The PCB boards achieve stable transmission and conversion of signals through precise circuit design and connection methods, so that when the main control machine sends a detection signal, the substrate can accurately receive the signal and process and distribute it. For example, the signal is first received by board A, and board A sends the signal to board B through the interface board, and board B then feeds the signal after transmission through the interface board back to the main control machine. In this process, the substrate not only has to ensure the integrity of the signal, but also has to amplify, filter and other processing on the signal to ensure that the main control machine can accurately obtain the detection data. In addition, the design of the substrate also fully considers compatibility and scalability, and can adapt to different types of interface boards, providing possibilities for flexible application of the detection device.

[0079] Furthermore, the following Figure 6 A schematic diagram depicting an interface board in a cable function detection device according to an embodiment of the present application.

[0080] Figure 6 This is a diagram of an interface board in a cable function detection device provided in an embodiment of the present application.

[0081] like Figure 6 As shown, in some embodiments, it should be noted that the interface board within the cable function detection device plays an important role in connecting the tested cable to the detection system. Due to the wide variety of cable interface types used in servers, to meet the testing requirements of different cable models, the interface board is designed with multiple types of connectors, allowing for multiple interface board models. This allows for rapid replacement of the interface board through the use of a quick connector interface, significantly improving detection efficiency. However, due to the frequent plugging and unplugging of the interface board with the cable, it becomes a consumable component in the detection device. After repeated plugging and unplugging, the connector on the interface board may experience poor contact and wear, which in turn affects the accuracy of the test results. Therefore, in embodiments of the present application, the interface board can be regularly inspected and maintained, allowing for timely replacement of defective interface boards. Furthermore, the 1234 line sequence of each interface on the interface board can be set to strictly correspond to the 1234 line sequence connected to the quick connector. This precise line sequence correspondence ensures accurate signal transmission between the interface board and the quick connector, avoiding detection errors caused by line sequence confusion.

[0082] In actual application scenarios, the cable function detection method and cable function detection device of the present invention have demonstrated strong practicality and high efficiency. For example, in the application scenario of a server production plant, newly arrived Slimline and MCIO cables need to be fully tested to ensure their quality. By using the cable function detection method and cable function detection device of the invention, the cable is connected to the corresponding interface board, and the main control machine will automatically complete a series of operations such as line sequence detection and various parameter detection, and quickly generate a test report. As a result, not only the efficiency of cable detection is greatly improved, but also the errors that may occur in manual detection are reduced. Not only that, in the daily maintenance of the data center, when a cable is suspected to be faulty, the cable function detection method and cable function detection device of the invention can also be used for rapid detection to accurately determine whether there is a problem with the cable and the specific fault point, providing strong support for maintenance work.

[0083] In summary, the cable function testing method and device of the present invention creatively provide a three-in-one physical architecture consisting of a main control unit, a baseboard, and an interface board. They focus on cables used in servers, such as Slimline and MCIO, construct a simulated connection mapping for testing the intended cable to be tested, initialize a connection mapping dictionary for recording actual test results, sequentially send test signals to each core at one end, receive response signals at the other end, record and output the test result mapping, and optionally perform electrical parameter testing such as impedance, capacitance, current, and voltage. Ultimately, they generate visualized results and statistical reports. This solves the problems of low efficiency and high risk of misconnection caused by unclear cable sequence, the inability of existing detection systems to assess the true electrical performance of cables due to their single function, the difficulty in controlling the quality of batch cables, and the inability to quickly replace detection parameters for complex cables, resulting in high switching costs. This reduces manual insertion errors and misjudgments, improves testing efficiency and management capabilities, and facilitates maintenance and adaptation of cables of different specifications. The device is suitable for multiple scenarios, such as R&D verification, production line spot checks, and after-sales troubleshooting.

[0084] For the description of the features in the embodiment corresponding to the cable function detection device, reference can be made to the relevant description of the embodiment corresponding to the cable function detection method, which will not be repeated here.

[0085] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above cable function detection method embodiments.

[0086] The present application also provides a non-transitory computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the steps of any of the above-mentioned cable function detection method embodiments when executed, including but not limited to: sending a detection signal through a first port of a first interface board and determining whether a second port of a second interface board receives a response signal corresponding to the detection signal, wherein the first port is a port on the first interface board connected to the first end of the cable under test, and the second end of the cable under test is connected to the second port of the second interface board; if it is determined that the second port of the second interface board receives a response signal corresponding to the detection signal, determining that the function test of the cable under test has passed, and outputting an actual connection mapping relationship of the cable under test based on the first port and the second port; if it is determined that none of the second ports of the second interface board receives a response signal corresponding to the detection signal, determining that the function test of the cable under test has failed. The computer program can be written in Python, encapsulated in an embedded system or loaded and run via an SD card, and has functions such as automatically identifying line sequence, sending signals, reading responses, storing mappings, and statistical output.

[0087] In some embodiments, the above-mentioned non-transitory computer-readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0088] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the steps in any of the above-mentioned cable function detection method embodiments, including but not limited to sending a detection signal through a first port of a first interface board, and determining whether a second port of a second interface board receives a response signal corresponding to the detection signal, the first port is a port on the first interface board connected to the first end of the cable to be tested, and the second end of the cable to be tested is connected to the second port of the second interface board; when it is determined that the second port of the second interface board receives a response signal corresponding to the detection signal, it is determined that the function test of the cable to be tested has passed, and an actual connection mapping relationship of the cable to be tested is output according to the first port and the second port; when it is determined that each second port of the second interface board has not received a response signal corresponding to the detection signal, it is determined that the function test of the cable to be tested has failed.

[0089] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, implementing the steps in any of the above-mentioned cable function detection method embodiments, including but not limited to sending a detection signal through a first port of a first interface board, and determining whether a second port of a second interface board receives a response signal corresponding to the detection signal, the first port is a port on the first interface board connected to the first end of the cable to be tested, and the second end of the cable to be tested is connected to the second port of the second interface board; when it is determined that the second port of the second interface board receives a response signal corresponding to the detection signal, determining that the function test of the cable to be tested has passed, and outputting an actual connection mapping relationship of the cable to be tested based on the first port and the second port; when it is determined that none of the second ports of the second interface board receives a response signal corresponding to the detection signal, determining that the function test of the cable to be tested has failed.

[0090] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0091] The above is a detailed introduction to the cable function detection method and device provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. A cable function detection method, characterized in that: include: Sending a detection signal through a first port of a first interface board, and determining whether a second port of a second interface board receives a response signal corresponding to the detection signal, wherein the first port is a port on the first interface board connected to a first end of a cable to be tested, and a second end of the cable to be tested is connected to a second port of the second interface board; If it is determined that the second port of the second interface board receives a response signal corresponding to the detection signal, determining that the function test of the cable under test passes, and outputting an actual connection mapping relationship of the cable under test according to the first port and the second port; If it is determined that each second port of the second interface board has not received a response signal corresponding to the detection signal, determining that the function test of the cable to be tested fails; The cable function detection method further includes: establishing a simulated connection mapping relationship and initializing a connection mapping dictionary; respectively determining the cables involved in the simulated connection mapping relationship as the cables to be tested; When it is determined that the second port of the second interface board receives a response signal corresponding to the detection signal, storing the simulated connection mapping relationship as the actual connection mapping relationship in the connection mapping dictionary; The simulated connection mapping relationship is generated by a pseudo-random algorithm and stored in a predetermined storage structure, and the predetermined storage structure at least includes a list-type storage structure; The method further includes: performing electrical parameter detection on the cable to be tested, where the electrical parameter detection includes at least one of current detection, capacitance detection, voltage detection, or impedance detection.

2. The cable function detection method according to claim 1, characterized in that: The method further includes: during outputting the actual connection mapping relationship of the cable to be tested, presenting the actual connection mapping relationship in a visual manner.

3. The cable function detection method according to claim 1, characterized in that: The method further includes: counting the number of cables that pass the test and the number of cables that fail the test, and outputting a statistical report.

4. The cable function detection method according to claim 1, characterized in that: The method also monitors a loss status of the first interface board and the second interface board.

5. A cable function detection device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the cable function detection method according to any one of claims 1 to 4 are implemented.

6. The cable function detection device according to claim 5, characterized in that: The cable function detection device further comprises: The main control unit is configured to issue detection instructions, process detection signals and display detection results, including at least eight groups of quick detection buttons, each group of quick detection buttons corresponding to a preset detection program for a type of standard cable; Multiple interface boards, including a first interface board and a second interface board, wherein a first port on the first interface board is connected to a first end of a cable to be tested, and a second port on the second interface board is connected to a second end of the cable to be tested, and each interface board further includes pluggable modules of different models; and a base board, connected between the main control machine and each interface board, for forwarding, amplifying, or filtering the detection signal.

Citation Information

Patent Citations

  • Device and method for automatically testing multi-terminal complex cable

    CN115420918A

  • Cable line-sequence detection device

    CN203191491U