A cable testing method, apparatus, client device, system, and storage medium

Active testing with a retimer to screen suspected faulty cables, combined with passive testing for review, solves the problem of balancing cost and effectiveness in transmission cable testing and enables efficient and reliable cable fault analysis.

CN119603129BActive Publication Date: 2025-10-17INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411718244.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-10-17
Estimated Expiration
2044-11-27

AI Technical Summary

Technical Problem

In the existing technology, it is difficult to effectively balance test cost and test effectiveness in transmission cable testing. Moreover, transmission cable testing is usually performed on a single machine, which is not conducive to batch analysis of fault conditions and reduces test reliability.

Method used

Active testing is performed using a retimer to preliminarily screen suspected faulty cables, and passive testing is used for verification. The combined active and passive test results are uploaded to the server for data statistics and batch analysis.

Benefits of technology

It effectively balances the cost and effectiveness of transmission cable testing, improves the overall reliability of the test, and facilitates batch analysis of cable faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603129B_ABST
    Figure CN119603129B_ABST
Patent Text Reader

Abstract

The application provides a kind of cable test method, device, client equipment, system and storage medium, it is related to cable test field, method includes: using re-timer is carried out active test to transmission cable and obtains active test result, determines the fault state of transmission cable according to active test result, and transmission cable with cable fault as fault state is marked as to be reviewed transmission cable;Receive the passive test result of to-be-reviewed transmission cable, and review the fault state of to-be-reviewed transmission cable according to passive test result;The fault state of transmission cable, active test result, passive test result is uploaded to server, so that server can count cable fault data corresponding to transmission cable.Effectively balance the test cost and test effectiveness of transmission cable, and it is beneficial to batch analysis of the fault condition of transmission cable, so as to improve the overall reliability of transmission cable test.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of cable testing, and in particular to a cable testing method, device, client device, system and storage medium. BACKGROUND

[0002] Inside the server, the transmission cable is an important component for realizing the interconnection between high-speed signal boards. Therefore, effective testing of the transmission cable is of great significance to guarantee the speed and reliability of data transmission inside the server.

[0003] In the related art, the transmission cable testing cannot effectively balance the testing cost and testing effectiveness, and the transmission cable testing is usually performed on a single machine, which is not conducive to batch analysis of the fault conditions of the transmission cable. SUMMARY

[0004] The purpose of the present application is to provide a cable testing method, device, client device, system and storage medium, which can effectively balance the testing cost and testing effectiveness of the transmission cable, and is conducive to batch analysis of the fault conditions of the transmission cable, thereby improving the overall reliability of the transmission cable testing.

[0005] To solve the above technical problems, the present application provides a cable testing method, comprising:

[0006] performing active testing on the transmission cable by using a re-timer to obtain an active test result, determining a fault state of the transmission cable according to the active test result, and marking the transmission cable with a cable fault as a transmission cable to be reviewed;

[0007] receiving a passive test result of the transmission cable to be reviewed, and reviewing the fault state of the transmission cable to be reviewed according to the passive test result;

[0008] uploading the fault state, the active test result and the passive test result of the transmission cable to the server, so that the server can statistically analyze cable fault data corresponding to the transmission cable.

[0009] Optionally, the method further comprises:

[0010] obtaining cable information of each transmission cable, establishing a corresponding relationship between the cable information and the fault state, the active test result and the passive test result, and saving the corresponding relationship;

[0011] receiving a query instruction and extracting cable information to be queried in the query instruction;

[0012] finding a target corresponding relationship containing the cable information to be queried, and outputting the target corresponding relationship.

[0013] Optionally, the method further comprises:

[0014] obtaining a production batch and a production manufacturer of the transmission cable;

[0015] uploading the production batch and the production manufacturer of the transmission cable to the server, so that the server counts cable fault data corresponding to different production batches and different production manufacturers.

[0016] Optionally, the method further comprises:

[0017] uploading the re-timer type and the re-timer driver version corresponding to the re-timer to the server, so that the server counts misjudgment data corresponding to different re-timer types and different re-timer driver versions based on the re-timer type, the re-timer driver version, the fault state, the active test result, and the passive test result.

[0018] Optionally, the active test of the transmission cable by the re-timer to obtain the active test result, and the determination of the fault state of the transmission cable according to the active test result, comprise:

[0019] obtaining a cable material number corresponding to the transmission cable, and querying preset test parameters, preset reference parameters, and a re-timer type corresponding to the cable material number;

[0020] finding a corresponding re-timer driver in a preset re-timer driver library according to the re-timer type;

[0021] obtaining a preset number of parallel tests corresponding to the re-timer driver, creating a number of driver instances corresponding to the preset number of parallel tests based on the re-timer driver, and establishing a corresponding relationship between the re-timer and the driver instances;

[0022] when detecting that the transmission cable is connected to the re-timer, performing parallel tests on the transmission cables connected to the re-timers by the driver instances according to the preset test parameters to obtain active test results of the transmission cables;

[0023] verifying the active test results by the preset reference parameters, and determining whether the active test results pass the verification;

[0024] if the active test results pass the verification, determining that the fault state of the corresponding transmission cable is that the cable is not faulty;

[0025] if the active test results do not pass the verification, determining that the fault state of the corresponding transmission cable is that the cable is faulty.

[0026] Optionally, the parallel tests on the transmission cables connected to the re-timers by the driver instances according to the preset test parameters comprise:

[0027] According to preset test parameters, each of the drive instances is called to perform parallel testing on the transmission cable connected to each of the re-timers through a preset re-timer drive interface; the preset re-timer drive interface is compatible with different re-timer drives in the preset re-timer drive library.

[0028] Optionally, according to preset test parameters, each of the drive instances is called to perform parallel testing on the transmission cable connected to each of the re-timers, including:

[0029] According to preset test parameters, the drive instance is called to control the re-timer to send a test signal to the transmission cable, control the re-timer to receive a to-be-tested signal returned by the transmission cable, and control the re-timer to determine error code information corresponding to the to-be-tested signal, and the error code information is taken as an active test result of the transmission cable.

[0030] The application further provides a cable testing device, comprising:

[0031] An active test module is configured to perform active testing on the transmission cable by using the re-timer to obtain an active test result, determine a fault state of the transmission cable according to the active test result, and mark the transmission cable with the fault state as a cable fault as a to-be-reviewed transmission cable;

[0032] A passive test module is configured to receive a passive test result of the to-be-reviewed transmission cable, and review the fault state of the to-be-reviewed transmission cable according to the passive test result;

[0033] An uploading module is configured to upload the fault state, the active test result and the passive test result of the transmission cable to the server, so that the server can statistically obtain cable fault data corresponding to the transmission cable.

[0034] The application further provides a client device, comprising:

[0035] A memory is configured to store a computer program;

[0036] A processor is configured to execute the computer program to implement the cable testing method as described above.

[0037] The application further provides a cable testing system, comprising:

[0038] A client device is configured to execute the cable testing method as described above;

[0039] A server device is configured to receive the fault state, the active test result and the passive test result of the transmission cable uploaded by the client device, and statistically obtain cable fault data corresponding to the transmission cable according to the fault state, the active test result and the passive test result.

[0040] The application further provides a computer readable storage medium, which stores computer executable instructions, and the computer executable instructions are loaded and executed by a processor to implement the cable testing method.

[0041] The application provides a cable testing method, which comprises the following steps: performing active testing on a transmission cable by using a re-timer to obtain an active testing result, determining a fault state of the transmission cable according to the active testing result, and marking the transmission cable with the fault state of cable fault as a transmission cable to be reviewed; receiving a passive testing result of the transmission cable to be reviewed, and reviewing the fault state of the transmission cable to be reviewed according to the passive testing result; and uploading the fault state, the active testing result and the passive testing result of the transmission cable to a server, so that the server can statistically obtain cable fault data corresponding to the transmission cable.

[0042] It can be seen that, first, the active testing result of the transmission cable is obtained by using the re-timer to perform active testing on the transmission cable, the fault state of the transmission cable is determined according to the active testing result, and the transmission cable with the fault state of cable fault is marked as the transmission cable to be reviewed. Then, the passive testing result of the transmission cable to be reviewed is received, and the fault state of the transmission cable to be reviewed is reviewed according to the passive testing result. That is, first, the transmission cable is tested by using the active testing method with low testing cost and high testing efficiency, and for a small amount of transmission cables determined as cable fault by the active testing, in order to further improve the testing reliability, the transmission cables are marked as the transmission cables to be reviewed, and the transmission cables to be reviewed are tested again by using the passive testing method with higher testing cost but also higher testing accuracy than the active testing method, so as to review the fault state of the transmission cables to be reviewed. Finally, the fault state, the active testing result and the passive testing result of the transmission cable are uploaded to the server, so that the server can statistically obtain the cable fault data corresponding to the transmission cable. In this way, the testing cost and the testing effectiveness of the transmission cable can be effectively balanced, and the fault conditions of the transmission cables can be analyzed in batches, so as to improve the overall reliability of the transmission cable testing. The application also provides a cable testing device, a client device, a system and a medium, which have the above beneficial effects. BRIEF DESCRIPTION OF DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only embodiments of the application, and for those skilled in the art, other drawings can be obtained without creative labor on the basis of the provided drawings.

[0044] Figure 1 A flow chart of a cable testing method provided by an embodiment of the present application;

[0045] Figure 2 A schematic diagram of a cable testing system provided by an embodiment of the present application;

[0046] Figure 3 A structural block diagram of a cable testing device provided by an embodiment of the present application;

[0047] Figure 4 A structural block diagram of a client device provided by an embodiment of the present application;

[0048] Figure 5 A structural block diagram of a cable testing system provided by an embodiment of the present application. DETAILED DESCRIPTION

[0049] To make the objectives, technical solutions and advantages of embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0050] Inside the server, the transmission cable is an important component for realizing interconnection between high-speed signal boards. A common transmission cable includes a PCIe cable (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus standard), which has gradually become a mainstream solution for interconnection between high-speed signal boards in a server system due to its strong universality, good SI performance (Signal Integrity), and customizability. To effectively guarantee the transmission rate and transmission reliability of data transmission inside the server, it is necessary to effectively test each transmission cable inside the server when the server is mass-produced.

[0051] In the related art, it is difficult to effectively balance the test cost and test effectiveness for transmission cable testing. Moreover, transmission cable testing is usually performed on a single test platform, which is not conducive to batch analysis of fault conditions of the transmission cable, thereby reducing the overall test reliability of the transmission cable. In view of this, the present embodiment can provide a cable testing method, which can effectively balance the test cost and test effectiveness of the transmission cable by first performing active testing on the transmission cable, then performing passive testing on the transmission cable suspected to have faults, and finally aggregating the active testing result and the passive testing result, which is conducive to batch analysis of fault conditions of the transmission cable, thereby improving the overall reliability of the transmission cable testing.

[0052] For ease of understanding, please refer to Figure 1 , Figure 1 A flowchart of a cable testing method provided by an embodiment of the present application. It should be noted that the device performing the method can be referred to as a client device. The above method can include:

[0053] S101, active testing is performed on the transmission cable by using a re-timer to obtain an active test result, the fault state of the transmission cable is determined according to the active test result, and the transmission cable with a cable fault state is marked as a transmission cable to be reviewed.

[0054] In the embodiment, first, active testing can be performed on the transmission cable by using a re-timer. The core principle of the active testing method is to send a test signal to the transmission cable by using the re-timer, read the to-be-tested signal output by the transmission cable, and then determine whether the transmission cable is faulty according to the quality of the to-be-tested signal. Since the active testing has low requirements for the testing device, a re-timer is generally used as the testing device, an ISI board (Inter-Symbol Interference) is used as the signal transmission device, and a cable fixture board of a cable connector is used. In addition, the active testing has fewer items, and thus can be performed at low cost and high efficiency. However, the active testing method also has disadvantages. That is, the "cable not faulty" conclusion made by the method has a high accuracy, but the "cable faulty" conclusion made by the method has low reliability, because the method has weak control ability for the fault determination boundary. In other words, when it is determined that a certain transmission cable has a fault by using the active testing method, the fault conclusion may not be reliable, that is, the transmission cable may not have a fault. Therefore, the embodiment can use the active testing method to quickly perform first-round detection on the transmission cable based on the low cost and high efficiency of the method. Subsequently, the fault state of each transmission cable can be determined according to the active test result, and the transmission cable with a cable fault state (i.e., a suspected faulty transmission cable) can be marked as a transmission cable to be reviewed.

[0055] It should be noted that different types of transmission cables can be tested by using different preset test parameters, different preset reference parameters, and different re-timers in the active testing process. The preset test parameters are used to test the transmission cable, and the preset reference parameters are used to verify the active test result of the transmission cable. The type of the transmission cable can be generally distinguished by the cable part number (PN number, Part Number). For ease of management, the client device can prestore the preset test parameters, the preset reference parameters, and the re-timer types corresponding to various cable part numbers. It should be noted that the embodiment does not limit specific preset test parameters and preset reference parameters, which can be set according to actual application requirements.

[0056] In addition, in order to facilitate access to different types of re-timers, the client can further include a preset re-timer driver library for storing different types of re-timer drivers. After determining the type of re-timer corresponding to the cable number, the corresponding re-timer driver can be searched in the preset re-timer driver library.

[0057] In addition, in order to improve the test efficiency of the transmission cable and realize parallel testing of multiple transmission cables using multiple re-timers, the embodiment can further set a corresponding parallel test quantity for the re-timer driver, and can create a number of driver instances corresponding to the preset parallel test quantity based on the re-timer driver, so as to allocate a corresponding driver instance to each re-timer. In this way, the embodiment can test multiple transmission cables in parallel by calling multiple driver instances, thereby effectively improving the active test efficiency. It should be noted that the embodiment does not limit the specific preset parallel test quantity, which can be set according to actual application requirements, for example, it can be 4, that is, 4 transmission cables can be tested at the same time.

[0058] In the actual test process, the embodiment can first obtain the cable number corresponding to the transmission cable, and query the preset test parameters, the preset reference parameters, and the type of re-timer corresponding to the cable number. Then, the corresponding re-timer driver can be searched in the preset re-timer driver library according to the type of re-timer, and the preset parallel test quantity corresponding to the re-timer driver can be obtained, a number of driver instances corresponding to the preset parallel test quantity can be created based on the re-timer driver, and the corresponding relationship between the re-timer and the driver instance can be established. Then, the tester can be prompted to connect the transmission cable to the re-timer, and when it is detected that the transmission cable is connected to the re-timer, the transmission cable connected to each re-timer can be tested in parallel by calling each driver instance according to the preset test parameters, and the active test result of each transmission cable can be obtained. Finally, the active test result can be verified using the preset reference parameters, and it can be determined whether the active test result passes the verification. If the active test result passes the verification, it is determined that the fault state of the corresponding transmission cable is that the cable is not faulty; otherwise, if the active test result does not pass the verification, it is determined that the fault state of the corresponding transmission cable is that the cable is faulty.

[0059] Based on this, the active test result obtained by using the re-timer to test the transmission cable, and determining the fault state of the transmission cable according to the active test result can include:

[0060] Step 11: Obtain the cable number corresponding to the transmission cable, and query the preset test parameters, the preset reference parameters, and the type of re-timer corresponding to the cable number.

[0061] Step 12: searching for a corresponding re-timer driver in a preset re-timer driver library according to the re-timer type.

[0062] Step 13: obtaining a preset parallel test quantity corresponding to the re-timer driver, creating a quantity of driver instances corresponding to the preset parallel test quantity based on the re-timer driver, and establishing a corresponding relationship between the re-timer and the driver instances.

[0063] Step 14: when detecting that the transmission cable is connected to the re-timer, calling each driver instance to perform parallel testing on the transmission cable connected to each re-timer according to preset test parameters, and obtaining an active test result of each transmission cable.

[0064] It should be noted that, in order to effectively record the active test result corresponding to each cable, when it is determined that the transmission cable is connected to the re-timer, a cable identifier (QID) of the transmission cable can be obtained, for example, a barcode pasted on the surface of the transmission cable can be scanned by using a code scanning gun to obtain the cable identifier. Subsequently, when the active test result is obtained, the cable identifier and the active test result can be associated.

[0065] Step 15: verifying the active test result by using the preset reference parameter, and determining whether the active test result passes the verification.

[0066] Step 16: if the active test result passes the verification, determining that the fault state of the corresponding transmission cable is that the cable is not faulty.

[0067] Step 17: if the active test result does not pass the verification, determining that the fault state of the corresponding transmission cable is that the cable is faulty.

[0068] Further, in order to improve the access normalization of the re-timer driver, a unified preset re-timer driver interface can be further included in the client, which specifies the input and output interfaces of the re-timer driver tool, thereby effectively improving the scalability of the re-timer driver.

[0069] Based on this, the calling of each driver instance to perform parallel testing on the transmission cable connected to each re-timer according to the preset test parameters can include:

[0070] Step 21: calling each driver instance to perform parallel testing on the transmission cable connected to each re-timer according to preset test parameters through a preset re-timer driver interface; the preset re-timer driver interface is compatible with different re-timer drivers in the preset re-timer driver library.

[0071] Further, when calling each drive instance to perform active testing on the transmission cable, the drive instance can be called to control the re-timer to send a test signal to the transmission cable, control the re-timer to receive a to-be-tested signal returned by the transmission cable, and control the re-timer to determine error code information corresponding to the to-be-tested signal, and take the error code information as the active testing result of the transmission cable. The error code information can include error code number, error code rate, etc.

[0072] Based on this, according to the preset test parameters, each drive instance is called to perform parallel testing on the transmission cable connected to each re-timer, including:

[0073] Step 31: According to the preset test parameters, the drive instance is called to control the re-timer to send a test signal to the transmission cable, control the re-timer to receive a to-be-tested signal returned by the transmission cable, and control the re-timer to determine error code information corresponding to the to-be-tested signal, and take the error code information as the active testing result of the transmission cable.

[0074] It should be noted that the specific form of the test signal is not limited in this embodiment, and can be set according to actual application requirements.

[0075] S102, receiving the passive testing result of the to-be-rechecked transmission cable, and rechecking the fault state of the to-be-rechecked transmission cable according to the passive testing result.

[0076] In this embodiment, after screening the to-be-rechecked transmission cable, the to-be-rechecked transmission cable can be further subjected to passive testing, and the fault state of the to-be-rechecked transmission cable is rechecked according to the passive testing result. Passive testing is to use cable testing instruments to verify the passive parameters of the cable through testing, such as insertion loss, return loss, crosstalk, etc. There are many test parameters, and each cable needs to be tested on all lanes. Passive testing has higher testing accuracy and higher reliability. However, passive testing needs to test all lanes of each cable, for example, an X8 PCIE cable needs to test its Lane0~7 TX and RX, a total of 16 groups of passive parameters. For a large number of cables, the amount of test data is very large. At the same time, passive testing needs to use high-end testing instruments, and the testing cost is high. Therefore, the embodiment can recheck the transmission cable determined to have a cable fault in the active testing through passive testing, so as to improve the reliability of cable detection. At the same time, since the active testing has screened out a large number of normal transmission cables, only a small number of to-be-rechecked transmission cables with suspected faults are left, so the workload of passive testing can be effectively reduced, thereby effectively improving the testing efficiency.

[0077] It should be noted that, since the passive test needs to be performed in a dedicated device, the client only needs to receive the passive test result and check the fault status of the transmission cable to be checked according to the passive test result. After checking, the fault status can include three types, that is, the cable is not faulty, the cable is faulty, and the cable is corrected to pass.

[0078] S103, uploading the fault status, the active test result and the passive test result of the transmission cable to the server, so that the server statistics cable fault data corresponding to the transmission cable.

[0079] After testing the transmission cable, the embodiment can upload the fault status, the active test result and the passive test result of the transmission cable to the server, so that the server statistics cable fault data corresponding to the transmission cable. In this way, the fault conditions of multiple transmission cables can be analyzed based on the server, so that the comprehensiveness of cable testing can be improved.

[0080] It should be noted that the embodiment does not limit the specific cable fault data, for example, the cable fault rate, the test pass rate, etc.

[0081] Of course, in addition to uploading the fault status, the active test result and the passive test result, in order to facilitate the management and control of the cable production quality of the manufacturer, the production batch and the production manufacturer of the transmission cable can also be obtained, and the production batch and the production manufacturer can also be uploaded to the server. In this way, the cable fault data corresponding to different production batches and different production manufacturers can also be statistics in the server.

[0082] Based on this, the method can further include:

[0083] Step 41: obtaining the production batch and the production manufacturer of the transmission cable;

[0084] Step 42: uploading the production batch and the production manufacturer of the transmission cable to the server, so that the server statistics cable fault data corresponding to different production batches and different production manufacturers.

[0085] Further, since the active test has the defect that the reliability is lower than that of the passive test, and the reliability of the active test is affected by the type of the re-timer and the re-timer driver. Therefore, in order to facilitate the optimization of the active test project and improve the reliability of the active test, the embodiment can also upload the type of the re-timer corresponding to the re-timer of the tested transmission cable and the version of the re-timer driver to the server, so that the server statistics misjudgment data corresponding to different types of re-timers and different versions of re-timer drivers based on the type of re-timer, the version of re-timer driver, the fault status, the active test result and the passive test result, so as to analyze the deficiencies of the active test based on the misjudgment data.

[0086] Based on this, the method can further include:

[0087] Step 51: uploading the re-timer type and re-timer driver version corresponding to the re-timer to the server, so that the server counts the false data corresponding to different re-timer types and different re-timer driver versions based on the re-timer type, re-timer driver version, failure state, active test result, and passive test result.

[0088] Further, in addition to uploading the failure state, active test result, and passive test result to the server, the client can also save the above three kinds of data. For convenient inquiry, cable information (such as cable material number, cable identification, cable production batch, cable manufacturer, etc.) of the transmission cable can be acquired, the cable information is associated with the failure state, active test result, and passive test result of the transmission cable, and the association is saved. When inquiring, a query instruction can be received, and the cable information to be queried in the query instruction is extracted, then the target association containing the cable information to be queried is found, and the target association is output.

[0089] Based on this, the method can further include:

[0090] Step 61: acquiring cable information of each transmission cable, associating the cable information with the failure state, active test result, and passive test result, and saving the association;

[0091] Step 62: receiving a query instruction, and extracting cable information to be queried in the query instruction;

[0092] Step 63: finding a target association containing the cable information to be queried, and outputting the target association.

[0093] Based on the above embodiment, the application can first obtain an active test result by actively testing the transmission cable with a re-timer, determine the fault state of the transmission cable according to the active test result, and mark the transmission cable with the fault state of cable fault as a transmission cable to be reviewed. Subsequently, the passive test result of the transmission cable to be reviewed can be received, and the fault state of the transmission cable to be reviewed is reviewed according to the passive test result. That is, the application can first perform a first round of test on the transmission cable based on the active test method with low test cost and high test efficiency, and for a small amount of transmission cables determined as cable fault by the active test, in order to further improve the test reliability, the application can mark this batch of transmission cables as transmission cables to be reviewed, and perform a second test on the transmission cables to be reviewed based on the passive test method with higher test cost than the active test method but also higher test accuracy than the active test method, to review the fault state of the transmission cables to be reviewed. Finally, the application can upload the fault state of the transmission cable, the active test result and the passive test result to the server, so that the server can count the cable fault data corresponding to the transmission cable. In this way, the test cost and test effectiveness of the transmission cable can be effectively balanced, and the fault condition of the transmission cable can be analyzed in batches, so as to improve the overall reliability of the transmission cable test.

[0094] The above cable test method will be introduced in detail based on a specific system structure diagram. The application provides a server cable test system, as shown in Figure 2 The specific implementation process is as follows:

[0095] Design a client test setting module. This module classifies all parameters required in the active test process according to the nature of the parameters, including PN type parameters, re-timer driving tool type parameters, parallel test type parameters, test benchmark type parameters and working directory type parameters. The following is an introduction to various parameters:

[0096] PN type parameters: the cable can be uniquely marked by PN and QID, that is, a specific cable is collectively referred to as PN, and QID is a different label under PN. After the cable PN number is determined, the corresponding test parameters can be determined. Record each PN parameter through an Excel format template, and users can manage the parameters by editing the document in batches.

[0097] Re-timer driving tool type parameters: each re-timer has a corresponding re-timer chip (which may be produced by different manufacturers), and the chip corresponds to a driving tool. The description in the tool manual can be referred to, and the tool is run to operate the re-timer for testing. As long as the input and output of the driving tool meet the system specifications, it can be flexibly connected for active test.

[0098] Parallel test class parameters: In active testing, the host computer generally communicates with multiple re-timers through a standardized communication protocol interface (such as USB-I2C). In order to perform parallel testing, the test parameters of each re-timer need to be set. The number of parallel tests at one time is affected by many factors, such as the number of addresses specified by the communication protocol, the number of re-timers in the actual environment, and the number of concurrent runs limited by each re-timer driver tool.

[0099] Test benchmark class parameters: Threshold values for determining whether the test is successful or failed. The actual design indicators need to be set according to the actual design indicators.

[0100] Working directory class parameters: Directories required for system operation.

[0101] Design a client active test management module. This module manages the active test process, which requires the cooperation of hardware, including re-timers (Retimer cards) as test equipment, insertion loss boards (ISI boards) as signal transmission equipment, and cable fixture boards as cable connectors. Through the above test setting module, the relevant parameters for each physically connected re-timer have been set. When starting the active test, input the PN number of the cable to be tested this round, match the relevant parameters of the cable test, activate the corresponding number of test sub-items (for example, start 4 test sub-items) according to the configured number of parallel tests. The test sub-item is the re-timer. Then, for each cable to be tested, scan the QID of the cable with a code scanning gun to start the test. The test system will call the corresponding re-timer driver tool according to the settings and parse the test results output by the driver tool, and determine whether the cable has a problem based on the judgment criteria.

[0102] Design a client active record management module. This module manages active test historical data, and retrieves target test data through search conditions such as test start time, cable PN, and cable QID. The retrieved data is exported as a file format test report.

[0103] Design a client active data upload management module. This module is used to upload active test data to the server. In order to facilitate management, according to different states of data upload, there are windows such as to be uploaded, uploaded, and canceled. The user starts the upload under the condition of confirming network connectivity, and the system will identify the local data that has not been uploaded, automatically package and upload to the server, and update the local upload state.

[0104] A client passive test management module is designed. The advantage of active test is high test efficiency and low test cost, but the accuracy of test result, especially the identification of test failure, is relatively low. Therefore, in order to ensure accuracy and reduce the probability of misjudgment, after the cable is checked and repaired, a second verification is performed by passive test, the passive test data is imported and uploaded through the module, and the cable under test is comprehensively judged accordingly. When judging, the result of passive test is given priority over the result of active test. All cables under test will be divided into test passed cables, test problem cables and correction passed cables according to the final judgment result.

[0105] A client problem cable management module is designed. Compared with test passed cables, users (cable manufacturers and server design units) pay more attention to test problem cables and correction passed cables. This module centrally records and manages such cables, and users can retrieve target cable information according to search conditions such as cable type, cable PN and cable QID, etc.

[0106] A server data receiving module is designed. The module communicates with the data uploading unit in the client data management module through a general Http protocol, receives the cable test data file uploaded by the client, and then parses the file and stores the cable test data in the database.

[0107] A server data retrieval module is designed. The module is used to check target test data according to user's filtering conditions. The filtering conditions are related to our own data storage logic, such as searching by internal project name, cable manufacturer name, internal material number name, technical platform, etc.

[0108] A server data analysis module is designed. The module periodically analyzes the cable test data uploaded by each client by setting analysis indicators, and presents the results in the form of charts. For example, compare the test pass rates of different batches of the same cable manufacturer to monitor cable quality fluctuations; compare the test pass rates of the same batch of different cable manufacturers to compare the quality; compare the differences between active and passive test results based on a large amount of test data, optimize the active test process in reverse, improve the reliability of active test results, and reduce the probability of misjudgment.

[0109] The cable test device, client device, cable test system, computer program product and computer readable storage medium provided by the embodiment of the application are introduced as follows. The cable test device, client device, cable test system, computer program product and computer readable storage medium described in the following description can be mutually corresponding and referred to the cable test method described in the foregoing description.

[0110] Please refer to Figure 3 , Figure 3A structural block diagram of a cable testing device provided by an embodiment of the present application, which can include:

[0111] An active testing module 301 is configured to perform active testing on the transmission cable by using a re-timer to obtain an active testing result, determine a fault state of the transmission cable according to the active testing result, and mark the transmission cable with the fault state as a cable fault as a transmission cable to be reviewed;

[0112] A passive testing module 302 is configured to receive a passive testing result of the transmission cable to be reviewed, and review the fault state of the transmission cable to be reviewed according to the passive testing result;

[0113] An uploading module 303 is configured to upload the fault state of the transmission cable, the active testing result, and the passive testing result to the server, so that the server can count cable fault data corresponding to the transmission cable.

[0114] Optionally, the device can further include:

[0115] A saving module is configured to obtain cable information of each transmission cable, establish a corresponding relationship between the cable information and the fault state, the active testing result, and the passive testing result, and save the corresponding relationship;

[0116] A query instruction receiving module is configured to receive a query instruction, and extract cable information to be queried in the query instruction;

[0117] A query module is configured to find a target corresponding relationship containing the cable information to be queried, and output the target corresponding relationship.

[0118] Optionally, the device can further include:

[0119] An obtaining module is configured to obtain a production batch and a production manufacturer of the transmission cable;

[0120] The uploading module 303 can also be configured to upload the production batch and the production manufacturer of the transmission cable to the server, so that the server can count cable fault data corresponding to different production batches and different production manufacturers.

[0121] Optionally, the device can further include:

[0122] The uploading module 303 can also be configured to upload a re-timer type and a re-timer driver version corresponding to the re-timer to the server, so that the server can count misjudgment data corresponding to different re-timer types and different re-timer driver versions based on the re-timer type, the re-timer driver version, the fault state, the active testing result, and the passive testing result.

[0123] Optionally, the active test module 301 comprises:

[0124] a parameter acquisition sub-module, configured to acquire a cable serial number corresponding to the transmission cable, and query preset test parameters, preset reference parameters, and a re-timer type corresponding to the cable serial number;

[0125] a drive acquisition sub-module, configured to search for a corresponding re-timer drive in a preset re-timer drive library according to the re-timer type;

[0126] a drive instance creation sub-module, configured to acquire a preset number of parallel tests corresponding to the re-timer drive, create a number of drive instances corresponding to the preset number of parallel tests based on the re-timer drive, and establish a corresponding relationship between the re-timer and the drive instances;

[0127] an active test sub-module, configured to, when detecting that the transmission cable is connected to the re-timer, call each drive instance to perform parallel tests on the transmission cable connected to each re-timer according to preset test parameters, and obtain active test results of each transmission cable;

[0128] a verification sub-module, configured to verify the active test results by using the preset reference parameters, and determine whether the active test results pass the verification; if the active test results pass the verification, it is determined that the fault state of the corresponding transmission cable is that the cable is not faulty; if the active test results do not pass the verification, it is determined that the fault state of the corresponding transmission cable is that the cable is faulty.

[0129] Optionally, the active test sub-module can be configured to:

[0130] call each drive instance to perform parallel tests on the transmission cable connected to each re-timer according to preset test parameters through a preset re-timer drive interface; the preset re-timer drive interface is compatible with different re-timer drives in the preset re-timer drive library.

[0131] Optionally, the active test sub-module can be configured to:

[0132] according to preset test parameters, call the drive instance to control the re-timer to send a test signal to the transmission cable, control the re-timer to receive a to-be-tested signal returned by the transmission cable, control the re-timer to determine error code information corresponding to the to-be-tested signal, and take the error code information as the active test result of the transmission cable.

[0133] Please refer to Figure 4 , Figure 4A structural block diagram of a client device provided by an embodiment of the present application is provided, and the embodiment of the present application provides a client device 10, which comprises a processor 11 and a memory 12; wherein the memory 12 is used for storing a computer program; and the processor 11 is used for executing the cable test method provided by the foregoing embodiments when executing the computer program.

[0134] The specific process of the cable test method can refer to the corresponding content provided in the foregoing embodiments, and will not be described here in detail.

[0135] In addition, the memory 12 as a carrier for storing resources can be a read-only memory, a random access memory, a magnetic disk or an optical disk, and the storage mode can be temporary storage or permanent storage.

[0136] In addition, the client device 10 further comprises a power supply 13, a communication interface 14, an input / output interface 15 and a communication bus 16; wherein the power supply 13 is used for providing working voltage for each hardware device on the client device 10; the communication interface 14 can create a data transmission channel between the client device 10 and external devices, and the communication protocol followed by the communication interface 14 can be any communication protocol applicable to the technical solution of the present application, which will not be limited here; the input / output interface 15 is used for obtaining external input data or outputting data to the outside, and the specific interface type can be selected according to the specific application needs, which will not be limited here.

[0137] Please refer to Figure 5 , Figure 5 A structural block diagram of a cable test system provided by an embodiment of the present application is provided. The cable test system can comprise:

[0138] At least one client device 10, which is used for executing the cable test method as described above;

[0139] A server device 20, which is used for receiving the fault state, the active test result and the passive test result of the transmission cable uploaded by the client device, and counting the cable fault data corresponding to the transmission cable according to the fault state, the active test result and the passive test result.

[0140] Since the embodiments of the cable test system part correspond to the embodiments of the cable test method part, the embodiments of the cable test system part can refer to the description of the embodiments of the cable test method part, which will not be described here in detail.

[0141] The embodiment of the present application further provides a computer program product, which comprises computer programs / instructions, and the computer programs / instructions are executed by a processor to realize the cable test method as described in the foregoing embodiments.

[0142] Since the embodiments of the computer program product part correspond to the embodiments of the cable testing method part, the embodiments of the computer program product part refer to the description of the embodiments of the cable testing method part, and will not be repeated here.

[0143] The embodiments of the present application also provide a computer readable storage medium, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the cable testing method as described in the above embodiments.

[0144] Since the embodiments of the computer readable storage medium part correspond to the embodiments of the cable testing method part, the embodiments of the storage medium part refer to the description of the embodiments of the cable testing method part, and will not be repeated here.

[0145] The embodiments in the specification are described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts of each embodiment can be referred to each other. For the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the related parts can be referred to the method part.

[0146] The skilled person can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized in electronic hardware, computer software or combination of the two. In order to clearly show the interchangeability of hardware and software, the composition and steps of each example have been described in the above description. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0147] The steps of the method or algorithm described in combination with the embodiments disclosed herein can be directly implemented by hardware, software module executed by a processor, or combination of the two. The software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0148] The above describes in detail the cable testing method, device, client device, system and storage medium provided by the present application. The principles and implementation modes of the present application are described by applying specific examples, and the above description of the examples is only used to help understand the method of the present application and its core idea. It should be pointed out that, for those skilled in the art, without departing from the principles of the present application, the present application can be improved and modified in several ways, and these improvements and modifications also fall within the protection scope of the present application.

Claims

1. A cable testing method, characterized in that: include: Performing an active test on the transmission cable using a retimer to obtain an active test result, determining a fault state of the transmission cable according to the active test result, and marking the transmission cable with the fault state of cable fault as a transmission cable to be reviewed; receiving a passive test result of the transmission cable to be reviewed, and reviewing a fault state of the transmission cable to be reviewed according to the passive test result; The fault status, active test results, and passive test results of the transmission cable are uploaded to a server, so that the server can collect statistics on cable fault data corresponding to the transmission cable.

2. The cable testing method according to claim 1, wherein: Also includes: Acquire cable information of each transmission cable, establish a correspondence between the cable information and the fault status, the active test result, and the passive test result, and save the correspondence; Receive a query instruction and extract the cable information to be queried in the query instruction; Searching for a target correspondence relationship containing the cable information to be queried, and outputting the target correspondence relationship.

3. The cable testing method according to claim 1, wherein: Also includes: Obtain the production batch and manufacturer of the transmission cable; The production batch and manufacturer of the transmission cable are uploaded to the server, so that the server can collect statistics on cable fault data corresponding to different production batches and different manufacturers.

4. The cable testing method according to any one of claims 1 to 3, characterized in that: The method of performing an active test on the transmission cable by using a retimer to obtain an active test result, and determining a fault state of the transmission cable according to the active test result, includes: Obtaining a cable part number corresponding to the transmission cable, and querying preset test parameters, preset reference parameters, and retimer type corresponding to the cable part number; Searching for a corresponding retimer driver in a preset retimer driver library according to the retimer type; Obtaining a preset number of parallel tests corresponding to the retimer driver, creating a number of driver instances corresponding to the preset number of parallel tests based on the retimer driver, and establishing a correspondence between the retimer and the driver instances; When it is detected that the transmission cable is connected to the retimer, calling each of the driver instances according to preset test parameters to perform parallel testing on the transmission cables connected to each of the retimers to obtain active test results of each of the transmission cables; Verifying the active test result using the preset reference parameter, and determining whether the active test result passes the verification; If the active test result passes the verification, determining that the fault state of the corresponding transmission cable is that the cable is not faulty; If the active test result fails the verification, it is determined that the fault state of the corresponding transmission cable is a cable fault.

5. The cable testing method according to claim 4, characterized in that: The calling of each of the driver instances according to preset test parameters to perform parallel testing on the transmission cables connected to each of the retimers includes: According to preset test parameters, each driver instance is called through a preset retimer driver interface to perform parallel testing on the transmission cables connected to each retimer; the preset retimer driver interface is compatible with different retimer drivers in the preset retimer driver library.

6. The cable testing method according to claim 4, wherein: Calling each of the driver instances according to preset test parameters to perform parallel testing on the transmission cables connected to each of the retimers includes: According to preset test parameters, the driver instance is called to control the retimer to send a test signal to the transmission cable, control the retimer to receive the test signal returned by the transmission cable, and control the retimer to determine the error information corresponding to the test signal, and use the error information as the active test result of the transmission cable.

7. A cable testing device, characterized in that: include: an active test module, configured to perform an active test on the transmission cable using a retimer to obtain an active test result, determine a fault state of the transmission cable according to the active test result, and mark the transmission cable whose fault state is a cable fault as a transmission cable to be reviewed; A passive test module, configured to receive a passive test result of the transmission cable to be reviewed, and review a fault state of the transmission cable to be reviewed based on the passive test result; The uploading module is used to upload the fault status, active test results, and passive test results of the transmission cable to the server, so that the server can collect statistics of cable fault data corresponding to the transmission cable.

8. A client device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the cable testing method according to any one of claims 1 to 6 when executing the computer program.

9. A cable testing system, characterized in that: include: A client device, configured to perform the cable testing method according to any one of claims 1 to 6; The server device is used to receive the fault status, active test results, and passive test results of the transmission cable uploaded by the client device, and to collect cable fault data corresponding to the transmission cable based on the fault status, active test results, and passive test results.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by the processor, the cable testing method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Cable test method and device, computer equipment and storage medium

    CN116708232A

  • Method, device and equipment for detecting fault line of power distribution network and storage medium

    CN117554748A