A cable testing method, device, equipment and medium

By considering test interference factors in the cable test, using preset number of signal transmission and measurement error correction, the insertion loss of the cable to be tested is accurately determined, which solves the inaccuracy problem of test results in the prior art and improves the accuracy and reliability of the test.

CN117590123BActive Publication Date: 2025-02-28SUMA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311566941.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2025-02-28
Estimated Expiration
2043-11-22

AI Technical Summary

Technical Problem

The impact of test interference factors on the measured insertion loss was not considered in the prior art cable testing, resulting in low accuracy and reliability of the measurement results.

Method used

By controlling the test cable to be tested to transmit the test signal with a preset number of times, the test insertion loss of the test signal during each transmission process is obtained, and the estimated insertion loss is determined based on the measurement error and test insertion loss corresponding to the test cable to be tested. Then, the insertion loss of the cable to be tested is accurately determined by screening out the insertion loss with less deviations that are not affected by the test disturbance factors.

Benefits of technology

Improve the accuracy and reliability of the cable testing process, ensure accurate detection and evaluation of cable insertion losses, and meet the server's cable performance needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The present invention discloses a cable testing method, device, equipment and medium. The method includes: controlling the tested cable to transmit a test signal for a preset number of times, and obtaining the test insertion loss of the test signal during each transmission process; determining the estimated insertion loss of the test signal during each transmission process according to the measurement error corresponding to the tested cable and the test insertion loss of the test signal during each transmission process; determining the reliable insertion loss and unreliable insertion loss of all test insertion losses according to the test insertion loss and the estimated insertion loss of the test signal during each transmission process; determining the insertion loss and test result of the tested cable according to the reliable insertion loss. The embodiment of the present invention can accurately determine the insertion loss of the tested cable according to the insertion loss with a small deviation that is not affected by the test interference factors, and obtain the test result of the tested cable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a cable testing method, device, equipment and medium. Background Art

[0002] The server is equipped with cables for signal transmission. To ensure the stability of the server, during the server development phase, it is necessary to perform performance tests on the cables used in the server to determine the insertion loss of the cables and to detect whether the insertion loss of the cables meets the performance requirements of the server for the cables. The insertion loss of the cable is the signal strength lost during the transmission of the signal through the cable.

[0003] In the related art, the cable testing scheme is usually as follows: controlling the tested cable to transmit a test signal of a specified frequency, measuring the insertion loss of multiple groups of test signals of specified frequencies during transmission through the tested cable, and then determining the insertion loss of the tested cable based on the average value of the measured insertion losses of each group, and detecting whether the insertion loss of the tested cable meets the performance requirements of the server for the cable. Test interference factors during the test process will cause insertion losses with large deviations in the measured insertion losses of each group. Test interference factors may include the internal noise of the instrument used and human factors during the test. The cable testing scheme of the related art does not consider the impact of test interference factors on the measured insertion losses of each group, and directly determines the insertion loss of the tested cable based on the average value of the measured insertion losses of each group. It is impossible to accurately determine the insertion loss of the cable, detect whether the insertion loss of the cable meets the performance requirements of the server for the cable, and the accuracy and reliability of the cable testing process are low. Summary of the invention

[0004] The present invention provides a cable testing method, device, equipment and medium to solve the problem that the cable testing scheme in the related art does not consider the influence of the test interference factors on the measured insertion loss of each group, directly determines the insertion loss of the tested cable according to the average value of the measured insertion loss of each group, cannot accurately determine the insertion loss of the cable, and detects whether the insertion loss of the cable meets the performance requirements of the server for the cable, and the accuracy and reliability of the cable testing process are low.

[0005] According to one aspect of the present invention, there is provided a cable testing method, comprising:

[0006] Controlling the tested cable to transmit the test signal for a preset number of times, and obtaining the test insertion loss of the test signal during each transmission process;

[0007] Determine an estimated insertion loss of the test signal during each transmission process according to a measurement error corresponding to the tested cable and a test insertion loss of the test signal during each transmission process;

[0008] Determine reliable insertion losses and unreliable insertion losses among all test insertion losses according to the test insertion losses and estimated insertion losses of the test signal during each transmission process;

[0009] The insertion loss and the test result of the tested cable are determined according to the reliable insertion loss.

[0010] The technical solution of the embodiment of the present invention can automatically estimate the actual insertion loss of the test signal in each transmission process through the cable under test based on the measurement error corresponding to the cable under test and the detected insertion loss of the test signal in each transmission process through the cable under test. According to the estimated actual insertion loss, the insertion loss with a small deviation that is not affected by the test interference factors can be screened out from the detected insertion losses. According to the insertion loss with a small deviation that is not affected by the test interference factors, the insertion loss of the cable under test can be accurately determined, and it can be determined whether the insertion loss of the cable under test meets the performance requirements of the server for the cable, so as to obtain the test result of the cable under test and improve the accuracy and reliability of the cable testing process.

[0011] Optionally, determining an estimated insertion loss of the test signal in each transmission process according to a measurement error corresponding to the tested cable and a test insertion loss of the test signal in each transmission process includes:

[0012] For each transfer process, perform the following operations:

[0013] The estimated insertion loss of the test signal in this transmission process is determined based on the measurement error corresponding to the cable under test, the test insertion loss of the test signal in this transmission process, the estimated insertion loss of the test signal in the previous transmission process, and a preset insertion loss estimation formula.

[0014] The technical solution of the embodiment of the present invention can automatically estimate the actual insertion loss of the test signal during the current transmission through the cable under test based on the measurement error corresponding to the cable under test, the test insertion loss of the test signal during the current transmission, the estimated insertion loss of the test signal during the previous transmission, and a preset insertion loss estimation formula, so as to facilitate determining the reliable insertion loss among all the test insertion losses based on the estimated insertion loss, thereby accurately determining the insertion loss of the cable under test based on the reliable insertion loss, and detecting whether the insertion loss of the cable under test meets the performance requirements of the server for the cable.

[0015] Optionally, before controlling the tested cable to transmit the test signal a preset number of times and obtaining the test insertion loss of the test signal during each transmission process, the method further includes:

[0016] Obtain the measurement error corresponding to the measured cable uploaded by the target user.

[0017] The technical solution of the embodiment of the present invention can automatically determine the estimated insertion loss of the test signal in each transmission process based on the measurement error corresponding to the tested cable and the test insertion loss of the test signal in each transmission process.

[0018] Optionally, determining reliable insertion losses and unreliable insertion losses among all test insertion losses according to the test insertion loss and the estimated insertion loss of the test signal in each transmission process includes:

[0019] For each test insertion loss, do the following:

[0020] Determine a difference between a test insertion loss and an estimated insertion loss corresponding to the test insertion loss, and detect whether the difference is less than a preset difference threshold;

[0021] If the difference is less than the preset difference threshold, determining that the test insertion loss is a reliable insertion loss;

[0022] If the difference is greater than or equal to the preset difference threshold, it is determined that the test insertion loss is an unreliable insertion loss.

[0023] The technical solution of the embodiment of the present invention can determine the test insertion loss with smaller deviation that is not affected by the test interference factors among all test insertion losses based on the test insertion loss and the estimated insertion loss of the test signal in each transmission process, so as to accurately determine the insertion loss of the cable under test based on the test insertion loss with smaller deviation that is not affected by the test interference factors, and detect whether the insertion loss of the cable under test meets the performance requirements of the server for the cable.

[0024] Optionally, determining the insertion loss and the test result of the tested cable according to the reliable insertion loss includes:

[0025] Determine the average value of the reliable insertion loss as the insertion loss of the tested cable, and detect whether the absolute value of the insertion loss of the tested cable is greater than a first preset value;

[0026] If the absolute value of the insertion loss of the tested cable is greater than the first preset value, determining that the test result of the tested cable is unqualified;

[0027] If the absolute value of the insertion loss of the tested cable is less than or equal to the first preset value, detecting whether the absolute value of the insertion loss of the tested cable is greater than a second preset value;

[0028] If the absolute value of the insertion loss of the tested cable is greater than the second preset value, determining that the test result of the tested cable is qualified;

[0029] If the absolute value of the insertion loss of the tested cable is less than or equal to the second preset value, it is determined that the test result of the tested cable is abnormal data.

[0030] The technical solution of the embodiment of the present invention can accurately determine the insertion loss of the cable under test based on the detected insertion loss with a small deviation that is not affected by the test interference factors, and determine whether the insertion loss of the cable under test meets the performance requirements of the server for the cable based on the insertion loss of the cable under test and a preset value, thereby obtaining the test result of the cable under test.

[0031] Optionally, after determining the estimated insertion loss of the test signal in each transmission process according to the measurement error corresponding to the tested cable and the test insertion loss of the test signal in each transmission process, the method further includes:

[0032] generating a visual chart for displaying the test insertion loss and estimated insertion loss of the test signal during each transmission process;

[0033] The visualization chart is sent to a target user.

[0034] The technical solution of the embodiment of the present invention can automatically and intuitively display the test insertion loss and estimated insertion loss of the test signal in each transmission process to relevant users through visual charts, so that relevant users can timely understand the test status of the tested cable.

[0035] Optionally, after determining the insertion loss and the test result of the tested cable according to the reliable insertion loss, the method further includes:

[0036] The reliable insertion loss and the test result of the tested cable are sent to a target user.

[0037] The technical solution of the embodiment of the present invention can automatically provide the insertion loss with small deviation and the test results of the tested cable detected during the cable testing process that are not affected by the test interference factors to the relevant users, so that the relevant users can obtain the test data and test results in time.

[0038] According to another aspect of the present invention, there is provided a cable testing device, comprising:

[0039] A signal transmission module, used to control the tested cable to transmit the test signal for a preset number of times, and obtain the test insertion loss of the test signal during each transmission process;

[0040] A loss estimation module, configured to determine an estimated insertion loss of the test signal during each transmission process according to a measurement error corresponding to the tested cable and a test insertion loss of the test signal during each transmission process;

[0041] A loss determination module, used for determining reliable insertion losses and unreliable insertion losses among all test insertion losses according to the test insertion losses and estimated insertion losses of the test signal in each transmission process;

[0042] The result determination module is used to determine the insertion loss and the test result of the tested cable according to the reliable insertion loss.

[0043] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0044] at least one processor;

[0045] and a memory communicatively coupled to the at least one processor;

[0046] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the cable testing method described in any embodiment of the present invention.

[0047] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the cable testing method described in any embodiment of the present invention when executed.

[0048] The technical solution of the embodiment of the present invention controls the tested cable to transmit the test signal for a preset number of times, thereby obtaining the test insertion loss of the test signal during each transmission process; determines the estimated insertion loss of the test signal during each transmission process according to the measurement error corresponding to the tested cable and the test insertion loss of the test signal during each transmission process; then determines the reliable insertion loss and the unreliable insertion loss of all the test insertion losses according to the test insertion loss and the estimated insertion loss of the test signal during each transmission process; finally, determines the insertion loss and the test result of the tested cable according to the reliable insertion loss, thereby solving the problem that the cable testing scheme of the related art does not consider the influence of the test interference factors on the measured insertion losses of each group, and directly determines the insertion loss of the tested cable according to the average value of the measured insertion losses of each group, which cannot accurately determine the insertion loss of the tested cable. The insertion loss of the cable can be determined, and whether the insertion loss of the cable meets the performance requirements of the server for the cable. The accuracy and reliability of the cable testing process are low. The real insertion loss of the test signal in each transmission process through the cable under test can be automatically estimated based on the measurement error corresponding to the tested cable and the detected insertion loss of the test signal in each transmission process through the tested cable. The insertion loss with a small deviation that is not affected by the test interference factors can be screened out from the detected insertion loss based on the estimated real insertion loss. The insertion loss of the tested cable can be accurately determined based on the insertion loss with a small deviation that is not affected by the test interference factors, and it can be determined whether the insertion loss of the tested cable meets the performance requirements of the server for the cable. The test result of the tested cable can be obtained, thereby improving the accuracy and reliability of the cable testing process.

[0049] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 A flowchart of a cable testing method provided in Embodiment 1 of the present invention.

[0052] Figure 2 This is a flow chart of a cable testing method provided in Embodiment 2 of the present invention.

[0053] Figure 3This is a flow chart of a cable testing method provided in Embodiment 3 of the present invention.

[0054] Figure 4 A schematic diagram of the structure of a cable testing device provided in Embodiment 4 of the present invention.

[0055] Figure 5 A schematic diagram of the structure of an electronic device for implementing the cable testing method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0056] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0057] It should be noted that the terms "target", "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprise", "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0058] Embodiment 1

[0059] Figure 1 A flowchart of a cable testing method provided in the first embodiment of the present invention. This embodiment can be applied to the performance test of the cable used by the server, determine the insertion loss of the cable, and detect whether the insertion loss of the cable meets the performance requirements of the server for the cable. The method can be executed by a cable testing device, which can be implemented in the form of hardware and / or software, and the cable testing device can be configured in an electronic device. The electronic device is used to perform performance tests on the cables used by the server. Figure 1 As shown, the method includes:

[0060] Step 101: Control the cable under test to transmit a test signal a preset number of times, and obtain a test insertion loss of the test signal during each transmission process.

[0061] Optionally, the cable under test is a cable that needs to be tested at the current moment. The cable under test includes two ports. The network analyzer connected to the cable under test may be a vector network analyzer. The network analyzer includes a signal output port and a signal input port. The signal output port is a port for outputting a signal. The signal output port of the network analyzer is connected to one port of the cable under test, and the signal input port of the network analyzer is connected to another port of the cable under test.

[0062] Optionally, the test signal is a signal set in the network analyzer that can be used to transmit through the cable under test. The test signal can be a digital signal or an analog signal. The frequency of the test signal is a preset frequency. Exemplarily, the preset frequency can be any frequency greater than 0 Hz and less than 50 GHz. The preset frequency can be 4 GHz, 8 GHz or 16 GHz.

[0063] Optionally, the network analyzer can output the test signal to the cable under test through the signal output port, so that the cable under test transmits the test signal to the signal input port of the network analyzer, thereby controlling the cable under test to transmit the test signal. Then the network analyzer can receive the test signal transmitted by the cable under test through the signal input port.

[0064] Optionally, a signal strength detection component is provided in the network analyzer. The signal strength detection component is a component used to detect the signal strength of a signal. Before outputting the test signal to the cable under test through the signal output port, the network analyzer can detect the signal strength of the test signal through the signal strength detection component to obtain the signal strength of the test signal in the initial state. Then, after the cable under test transmits the test signal to the signal input port of the network analyzer, the network analyzer can detect the signal strength of the test signal after being transmitted through the cable under test through the signal strength detection component.

[0065] Optionally, the test insertion loss of the test signal during each transmission process is the signal strength detected by the network analyzer that is lost during each transmission process of the test signal through the cable under test. For each transmission process, the difference between the signal strength of the specified signal detected by the network analyzer after being transmitted through the cable under test and the signal strength of the specified signal in the initial state is the test insertion loss of the test signal during the transmission process. The network analyzer calculates the difference between the signal strength of the test signal after being transmitted through the cable under test and the signal strength of the test signal in the initial state, and the test insertion loss of the test signal during the transmission process can be obtained. Exemplarily, the signal strength of the test signal in the initial state is 30dB, the signal strength of the test signal after being transmitted through the cable under test is 26dB, and the test insertion loss of the test signal during the transmission process is -4dB.

[0066] Optionally, the preset number of times is the number of times the cable under test is controlled to transmit the test signal and the test insertion loss of the test signal during the transmission process is obtained. The preset number of times can be set according to business needs. Exemplarily, the preset number of times can be 60. The network analyzer repeatedly executes the operation of controlling the cable under test to transmit the test signal and obtaining the test insertion loss of the test signal during the transmission process until the number of times the operation of controlling the cable under test to transmit the test signal and obtaining the test insertion loss of the test signal during the transmission process is equal to 60, and then feeds back the test insertion loss of the test signal obtained during each transmission process of the 60 transmission processes to the electronic device.

[0067] Optionally, controlling the cable under test to transmit a test signal a preset number of times, and obtaining a test insertion loss of the test signal during each transmission process, includes: sending a test start command to a network analyzer connected to the cable under test, so that the network analyzer repeatedly executes the operation of controlling the cable under test to transmit a test signal, and obtaining a test insertion loss of the test signal during the transmission process, until the number of operations of controlling the cable under test to transmit a test signal, and obtaining a test insertion loss of the test signal during the transmission process is equal to a preset number, and then feeding back the obtained test insertion loss of the test signal during each transmission process to the electronic device; obtaining the test insertion loss of the test signal fed back by the network analyzer during each transmission process.

[0068] Optionally, the test start instruction is an instruction for instructing the network analyzer to repeatedly execute the operation of controlling the tested cable to transmit the test signal and obtaining the test insertion loss of the test signal during the transmission process until the number of times the operation of controlling the tested cable to transmit the test signal and obtaining the test insertion loss of the test signal during the transmission process is equal to a preset number of times, and then feeding back the obtained test insertion loss of the test signal during each transmission process to the electronic device. The test start instruction includes the preset number of times.

[0069] Optionally, the cable under test is controlled to transmit a test signal to obtain a test insertion loss of the test signal during the transmission process, including: detecting the signal strength of the test signal through a signal strength detection component to obtain the signal strength of the test signal in an initial state; outputting the test signal to the cable under test through a signal output port so that the cable under test transmits the test signal to a signal input port of a network analyzer, thereby controlling the cable under test to transmit the test signal; receiving the test signal transmitted by the cable under test through the signal input port; detecting the signal strength of the test signal after being transmitted through the cable under test through a signal strength detection component; calculating the difference between the signal strength of the test signal after being transmitted through the cable under test and the signal strength of the test signal in the initial state, thereby obtaining the test insertion loss of the test signal during the transmission process.

[0070] Step 102: Determine an estimated insertion loss of the test signal in each transmission process according to a measurement error corresponding to the tested cable and a test insertion loss of the test signal in each transmission process.

[0071] Optionally, the estimated insertion loss of the test signal during each transmission process is the actual signal strength lost by the test signal during each transmission process estimated based on the measurement error corresponding to the cable under test and the test insertion loss of the test signal during each transmission process.

[0072] Optionally, the test interference factor may cause an error between the signal strength lost during the transmission of the signal detected by the network analyzer through the type of cable and the signal strength lost during the transmission of the real signal through the type of cable. The test interference factor may include the internal noise of the network analyzer used and human factors during the test. The measurement error corresponding to the cable under test is the error between the signal strength lost during the transmission of the signal detected by the network analyzer through the type of cable and the signal strength lost during the transmission of the real signal through the type of cable, which is calculated based on the historical test data of the same type of cable as the cable under test.

[0073] Optionally, before controlling the cable under test to transmit the test signal a preset number of times and obtaining the test insertion loss of the test signal during each transmission process, it also includes: obtaining a measurement error corresponding to the cable under test uploaded by a target user.

[0074] Thus, the estimated insertion loss of the test signal in each transmission process can be automatically determined based on the measurement error corresponding to the tested cable and the test insertion loss of the test signal in each transmission process.

[0075] Optionally, the target user may be a tester who is responsible for managing the performance test process of the tested cable. The target user calculates the measurement error corresponding to the tested cable based on the historical test data of cables of the same type as the tested cable, and then uploads the measurement error corresponding to the tested cable to the electronic device. The electronic device obtains the measurement error corresponding to the tested cable uploaded by the target user, and stores the measurement error corresponding to the tested cable in a local database.

[0076] Optionally, the estimated insertion loss of the test signal in each transmission process is determined based on the measurement error corresponding to the cable under test and the test insertion loss of the test signal in each transmission process, including: performing the following operations for each transmission process: determining the estimated insertion loss of the test signal in this transmission process based on the measurement error corresponding to the cable under test, the test insertion loss of the test signal in this transmission process, the estimated insertion loss of the test signal in the previous transmission process and a preset insertion loss estimation formula.

[0077] Therefore, the actual insertion loss of the test signal during the current transmission through the cable under test can be automatically estimated based on the measurement error corresponding to the cable under test, the test insertion loss of the test signal during the current transmission, the estimated insertion loss of the test signal during the previous transmission, and the preset insertion loss estimation formula. This facilitates determining the reliable insertion loss among all test insertion losses based on the estimated insertion loss, and thus accurately determining the insertion loss of the cable under test based on the reliable insertion loss, and detecting whether the insertion loss of the cable under test meets the server's performance requirements for the cable.

[0078] Optionally, determining the estimated insertion loss of the test signal in the current transmission process according to the measurement error corresponding to the tested cable, the test insertion loss of the test signal in the current transmission process, the estimated insertion loss of the test signal in the previous transmission process, and a preset insertion loss estimation formula includes: calculating the estimated insertion loss of the test signal in the kth transmission process according to the following preset insertion loss estimation formula:

[0079] X k =X k-1 +G k *(Z k -X k-1 ),

[0080]

[0081] Among them, X k is the estimated insertion loss of the test signal during the kth transmission, X k-1 is the estimated insertion loss of the test signal during the k-1th transmission process, G k is the coefficient in the preset insertion loss estimation formula, Z k is the test insertion loss of the test signal during the kth transmission process, is the measurement error corresponding to the measured cable, is the estimated error of the preset insertion loss estimation formula, k=1,2…N, N is the preset number of times. The k-1th transmission process is the previous transmission process of the kth transmission process. For the first transmission process of the test signal, the estimated insertion loss of the test signal in the previous transmission process may be -3dB. The estimated error of the preset insertion loss estimation formula may be the error between the estimated insertion loss estimated using the preset insertion loss estimation formula based on historical data statistics and the actual insertion loss. Exemplarily, the measurement error corresponding to the cable under test is -2dB, and the estimated error of the preset insertion loss estimation formula is -2dB.

[0082] Optionally, the preset insertion loss estimation formula is a formula for estimating the actual signal strength lost when the test signal is transmitted through the cable under test based on the measurement error corresponding to the cable under test and the test insertion loss of the test signal when it is transmitted through the cable under test.

[0083] Optionally, after calculating the estimated insertion loss of the test signal during the kth transmission, the value of the estimated error may be updated to the value of the current value of the estimated error plus (1-G k )

[0084] Step 103: Determine reliable insertion losses and unreliable insertion losses among all test insertion losses according to the test insertion losses and estimated insertion losses of the test signal in each transmission process.

[0085] Optionally, the reliable insertion loss is a test insertion loss with a small deviation that is not affected by the test interference factor. The unreliable insertion loss is a test insertion loss with a large deviation that is affected by the test interference factor.

[0086] Optionally, the preset difference threshold is a preset value. Normally, for each transmission process, if the test insertion loss of the test signal during the transmission process is not affected by the test interference factor, the deviation is small, and the difference between the test insertion loss of the test signal during the transmission process and the estimated insertion loss of the test signal during the transmission process will be less than the preset difference threshold. If the test insertion loss of the test signal during the transmission process is affected by the test interference factor, the deviation is large, and the difference between the test insertion loss of the test signal during the transmission process and the estimated insertion loss of the test signal during the transmission process will be greater than or equal to the preset difference threshold. Therefore, if the difference between the test insertion loss and the estimated insertion loss corresponding to the test insertion loss is less than the preset difference threshold, it indicates that the test insertion loss is not affected by the test interference factor and the deviation is small, then it can be determined that the test insertion loss is a reliable insertion loss. If the difference between the test insertion loss and the estimated insertion loss corresponding to the test insertion loss is greater than or equal to the preset difference threshold, it indicates that the test insertion loss is affected by the test interference factor and the deviation is large, then it can be determined that the test insertion loss is an unreliable insertion loss. Exemplarily, the preset difference threshold is 0.2dB.

[0087] Optionally, reliable insertion losses and unreliable insertion losses among all test insertion losses are determined based on the test insertion loss and estimated insertion loss of the test signal during each transmission process, including: performing the following operations for each test insertion loss: determining the difference between the test insertion loss and the estimated insertion loss corresponding to the test insertion loss, and detecting whether the difference is less than a preset difference threshold; if the difference is less than the preset difference threshold, determining that the test insertion loss is a reliable insertion loss; if the difference is greater than or equal to the preset difference threshold, determining that the test insertion loss is an unreliable insertion loss.

[0088] Therefore, the test insertion loss with a smaller deviation that is not affected by the test interference factors can be determined among all the test insertion losses based on the test insertion loss and the estimated insertion loss of the test signal in each transmission process. This makes it possible to accurately determine the insertion loss of the cable under test based on the test insertion loss with a smaller deviation that is not affected by the test interference factors, and detect whether the insertion loss of the cable under test meets the server's performance requirements for the cable.

[0089] Step 104: Determine the insertion loss and test result of the tested cable according to the reliable insertion loss.

[0090] Optionally, the insertion loss and test result of the cable under test are determined based on the reliable insertion loss, including: determining the average value of the reliable insertion loss as the insertion loss of the cable under test, and detecting whether the absolute value of the insertion loss of the cable under test is greater than a first preset value; if the absolute value of the insertion loss of the cable under test is greater than the first preset value, determining that the test result of the cable under test is unqualified; if the absolute value of the insertion loss of the cable under test is less than or equal to the first preset value, detecting whether the absolute value of the insertion loss of the cable under test is greater than a second preset value; if the absolute value of the insertion loss of the cable under test is greater than the second preset value, determining that the test result of the cable under test is qualified; if the absolute value of the insertion loss of the cable under test is less than or equal to the second preset value, determining that the test result of the cable under test is abnormal data.

[0091] Therefore, the insertion loss of the cable under test can be accurately determined based on the detected insertion loss with a small deviation that is not affected by the test interference factors, and based on the insertion loss of the cable under test and the preset value, it can be determined whether the insertion loss of the cable under test meets the server's performance requirements for the cable, and the test result of the cable under test can be obtained.

[0092] Optionally, the insertion loss of the cable under test is the signal strength lost during the transmission of the signal through the cable under test. Reliable insertion loss is the signal strength lost during the transmission of multiple groups of relatively accurate test signals through the cable under test. The average value of the reliable insertion loss is the signal strength lost during the transmission of the relatively accurate signal through the cable under test. Therefore, the average value of the reliable insertion loss is determined as the insertion loss of the cable under test, so as to accurately determine the insertion loss of the cable under test based on the insertion loss with a small deviation that is not affected by the test interference factors.

[0093] Optionally, the test result of the tested cable is qualified, unqualified or the data is abnormal. If the test result of the tested cable is qualified, it indicates that the insertion loss of the tested cable meets the performance requirements of the server for the cable. If the test result of the tested cable is unqualified, it indicates that the insertion loss of the tested cable does not meet the performance requirements of the server for the cable. If the test result of the tested cable is abnormal data, it indicates that the insertion loss of the tested cable is too small, the data accuracy of the insertion loss is abnormal, and the insertion loss of the tested cable needs to be remeasured.

[0094] Optionally, if the absolute value of the insertion loss of the cable is large, it indicates that the signal is greatly attenuated during the transmission through the cable, which will cause the quality of the signal transmitted through the cable in the server to decrease. The first preset value and the second preset value are two preset values. The first preset value is greater than the second preset value. The first preset value and the second preset value can be values ​​estimated based on the cable loss data or cable loss test report provided by the cable manufacturer. Under normal circumstances, if the absolute value of the insertion loss of the cable is less than or equal to the second preset value, it indicates that the insertion loss of the tested cable is too small, the data accuracy of the insertion loss is abnormal, and the insertion loss of the tested cable needs to be re-measured, then the test result of the cable can be determined to be data abnormal. If the absolute value of the insertion loss of the cable is greater than the second preset value and less than or equal to the first preset value, it indicates that the signal is less attenuated during the transmission through the cable, the quality of the signal transmitted through the cable in the server can be guaranteed, and the insertion loss of the cable meets the performance requirements of the server for the cable, then the test result of the cable can be determined to be qualified. If the absolute value of the insertion loss of the cable is greater than the first preset value, it indicates that the signal is greatly attenuated during the transmission through the cable, the quality of the signal transmitted through the cable in the server cannot be guaranteed, and the insertion loss of the cable does not meet the performance requirements of the server for the cable, then the test result of the cable can be determined to be unqualified. Exemplarily, the first preset value is 5 dB, and the second preset value is 1 dB.

[0095] Optionally, after determining the estimated insertion loss of the test signal in each transmission process based on the measurement error corresponding to the cable under test and the test insertion loss of the test signal in each transmission process, it also includes: generating a visual chart for displaying the test insertion loss and estimated insertion loss of the test signal in each transmission process; and sending the visual chart to the target user.

[0096] Therefore, the test insertion loss and estimated insertion loss of the test signal in each transmission process can be automatically and intuitively displayed to relevant users through visual charts, so that relevant users can understand the test status of the tested cable in a timely manner.

[0097] Optionally, the electronic device may generate a visual chart for displaying the test insertion loss and estimated insertion loss of the test signal in each transmission process according to the test insertion loss and estimated insertion loss of the test signal in each transmission process through a chart generation component. The chart generation component is a component provided in the electronic device for generating a visual chart for displaying specified data according to specified data. The visual chart may be a table, a line chart, or a curve chart.

[0098] Optionally, sending the visualized chart to a target user includes: sending the visualized chart to a terminal device of the target user. The terminal device of the target user is a terminal device used by the target user.

[0099] Optionally, after determining the insertion loss and the test result of the tested cable according to the reliable insertion loss, the method further includes: sending the reliable insertion loss and the test result of the tested cable to a target user.

[0100] Therefore, the insertion loss with small deviation and the test results of the tested cable detected during the cable testing process which are not affected by the test interference factors can be automatically provided to the relevant users, so that the relevant users can obtain the test data and test results in time.

[0101] The technical solution of the embodiment of the present invention controls the tested cable to transmit the test signal for a preset number of times, thereby obtaining the test insertion loss of the test signal during each transmission process; determines the estimated insertion loss of the test signal during each transmission process according to the measurement error corresponding to the tested cable and the test insertion loss of the test signal during each transmission process; then determines the reliable insertion loss and the unreliable insertion loss of all the test insertion losses according to the test insertion loss and the estimated insertion loss of the test signal during each transmission process; finally, determines the insertion loss and the test result of the tested cable according to the reliable insertion loss, thereby solving the problem that the cable testing scheme of the related art does not consider the influence of the test interference factors on the measured insertion losses of each group, and directly determines the insertion loss of the tested cable according to the average value of the measured insertion losses of each group, which cannot accurately determine the insertion loss of the tested cable. The insertion loss of the cable can be determined, and whether the insertion loss of the cable meets the performance requirements of the server for the cable. The accuracy and reliability of the cable testing process are low. The real insertion loss of the test signal in each transmission process through the cable under test can be automatically estimated based on the measurement error corresponding to the tested cable and the detected insertion loss of the test signal in each transmission process through the tested cable. The insertion loss with a small deviation that is not affected by the test interference factors can be screened out from the detected insertion loss based on the estimated real insertion loss. The insertion loss of the tested cable can be accurately determined based on the insertion loss with a small deviation that is not affected by the test interference factors, and it can be determined whether the insertion loss of the tested cable meets the performance requirements of the server for the cable. The test result of the tested cable can be obtained, thereby improving the accuracy and reliability of the cable testing process.

[0102] Embodiment 2

[0103] Figure 2 This is a flow chart of a cable testing method provided in Embodiment 2 of the present invention. This embodiment of the present invention can be combined with each optional solution in one or more of the above embodiments. Figure 2 As shown, the method includes:

[0104] Step 201: Control the cable under test to transmit a test signal a preset number of times, and obtain the test insertion loss of the test signal during each transmission process.

[0105] Step 202: Determine an estimated insertion loss of the test signal in each transmission process according to a measurement error corresponding to the tested cable and a test insertion loss of the test signal in each transmission process.

[0106] Step 203: Determine reliable insertion losses and unreliable insertion losses among all test insertion losses according to the test insertion losses and estimated insertion losses of the test signal in each transmission process.

[0107] Step 204, determine the average value of the reliable insertion loss as the insertion loss of the cable under test, and detect whether the absolute value of the insertion loss of the cable under test is greater than a first preset value: if the absolute value of the insertion loss of the cable under test is greater than the first preset value, execute step 205; if the absolute value of the insertion loss of the cable under test is less than or equal to the first preset value, execute step 206.

[0108] Step 205: Determine that the test result of the tested cable is unqualified.

[0109] Step 206, detect whether the absolute value of the insertion loss of the tested cable is greater than a second preset value: if the absolute value of the insertion loss of the tested cable is greater than the second preset value, execute step 207; if the absolute value of the insertion loss of the tested cable is less than or equal to the second preset value, execute step 208.

[0110] Step 207: Determine whether the test result of the tested cable is qualified.

[0111] Step 208: Determine that the test result of the tested cable is abnormal data.

[0112] The technical solution of the embodiment of the present invention can accurately determine the insertion loss of the cable under test based on the detected insertion loss with a small deviation that is not affected by the test interference factors, and determine whether the insertion loss of the cable under test meets the performance requirements of the server for the cable based on the insertion loss of the cable under test and a preset value, thereby obtaining the test result of the cable under test.

[0113] Embodiment 3

[0114] Figure 3 A flowchart of a cable testing method provided in Embodiment 3 of the present invention includes the following steps:

[0115] Step 301: Obtain the measurement error corresponding to the measured cable uploaded by the target user.

[0116] Step 302: Control the cable under test to transmit a test signal a preset number of times, and obtain a test insertion loss of the test signal during each transmission process.

[0117] Step 303: Determine an estimated insertion loss of the test signal in each transmission process according to a measurement error corresponding to the tested cable and a test insertion loss of the test signal in each transmission process.

[0118] Step 304: Generate a visual chart for displaying the test insertion loss and estimated insertion loss of the test signal in each transmission process.

[0119] Step 305: Send the visualized chart to a target user.

[0120] Step 306: Determine reliable insertion losses and unreliable insertion losses among all test insertion losses according to the test insertion losses and estimated insertion losses of the test signal in each transmission process.

[0121] Step 307, determine the average value of the reliable insertion loss as the insertion loss of the cable under test, and detect whether the absolute value of the insertion loss of the cable under test is greater than a first preset value: if the absolute value of the insertion loss of the cable under test is greater than the first preset value, execute step 308; if the absolute value of the insertion loss of the cable under test is less than or equal to the first preset value, execute step 309.

[0122] Step 308: Determine that the test result of the tested cable is unqualified.

[0123] Step 309, detect whether the absolute value of the insertion loss of the tested cable is greater than a second preset value: if the absolute value of the insertion loss of the tested cable is greater than the second preset value, execute step 310; if the absolute value of the insertion loss of the tested cable is less than or equal to the second preset value, execute step 311.

[0124] Step 310: Determine whether the test result of the tested cable is qualified.

[0125] Step 311: Determine that the test result of the tested cable is abnormal data.

[0126] The technical solution of the embodiment of the present invention can automatically obtain the measurement error corresponding to the cable under test, and estimate the actual insertion loss of the test signal in each transmission process through the cable under test according to the measurement error corresponding to the cable under test and the insertion loss of the detected test signal in each transmission process through the cable under test, so as to screen out the insertion loss with small deviation that is not affected by the test interference factors according to the estimated actual insertion loss, accurately determine the insertion loss of the cable under test, determine whether the insertion loss of the cable under test meets the performance requirements of the server for the cable, and obtain the test result of the cable under test. The test insertion loss and estimated insertion loss of the test signal in each transmission process can be automatically and intuitively displayed to relevant users through visual charts, so that relevant users can timely understand the test status of the cable under test.

[0127] Embodiment 4

[0128] Figure 4 This is a schematic diagram of the structure of a cable testing device provided in Embodiment 4 of the present invention. The device can be configured in an electronic device. Figure 4 As shown, the device includes: a signal transmission module 401, a loss estimation module 402, a loss determination module 403 and a result determination module 404.

[0129] Among them, the signal transmission module 401 is used to control the cable under test to transmit the test signal a preset number of times, and obtain the test insertion loss of the test signal during each transmission process; the loss estimation module 402 is used to determine the estimated insertion loss of the test signal during each transmission process according to the measurement error corresponding to the cable under test and the test insertion loss of the test signal during each transmission process; the loss determination module 403 is used to determine the reliable insertion loss and the unreliable insertion loss among all the test insertion losses according to the test insertion loss and the estimated insertion loss of the test signal during each transmission process; the result determination module 404 is used to determine the insertion loss and the test result of the cable under test according to the reliable insertion loss.

[0130] The technical solution of the embodiment of the present invention controls the tested cable to transmit the test signal for a preset number of times, thereby obtaining the test insertion loss of the test signal during each transmission process; determines the estimated insertion loss of the test signal during each transmission process according to the measurement error corresponding to the tested cable and the test insertion loss of the test signal during each transmission process; then determines the reliable insertion loss and the unreliable insertion loss of all the test insertion losses according to the test insertion loss and the estimated insertion loss of the test signal during each transmission process; finally, determines the insertion loss and the test result of the tested cable according to the reliable insertion loss, thereby solving the problem that the cable testing scheme of the related art does not consider the influence of the test interference factors on the measured insertion losses of each group, and directly determines the insertion loss of the tested cable according to the average value of the measured insertion losses of each group, which cannot accurately determine the insertion loss of the tested cable. The insertion loss of the cable can be determined, and whether the insertion loss of the cable meets the performance requirements of the server for the cable. The accuracy and reliability of the cable testing process are low. The real insertion loss of the test signal in each transmission process through the cable under test can be automatically estimated based on the measurement error corresponding to the tested cable and the detected insertion loss of the test signal in each transmission process through the tested cable. The insertion loss with a small deviation that is not affected by the test interference factors can be screened out from the detected insertion loss based on the estimated real insertion loss. The insertion loss of the tested cable can be accurately determined based on the insertion loss with a small deviation that is not affected by the test interference factors, and it can be determined whether the insertion loss of the tested cable meets the performance requirements of the server for the cable. The test result of the tested cable can be obtained, thereby improving the accuracy and reliability of the cable testing process.

[0131] In an optional implementation of an embodiment of the present invention, optionally, the loss estimation module 402 is specifically used to: perform the following operations for each transmission process: determine the estimated insertion loss of the test signal in this transmission process based on the measurement error corresponding to the cable under test, the test insertion loss of the test signal in this transmission process, the estimated insertion loss of the test signal in the previous transmission process, and a preset insertion loss estimation formula.

[0132] In an optional implementation manner of the embodiment of the present invention, optionally, the cable testing device further includes: an error module, configured to obtain a measurement error corresponding to the tested cable uploaded by a target user.

[0133] In an optional implementation of an embodiment of the present invention, optionally, the loss determination module 403 is specifically used to: perform the following operations for each test insertion loss: determine the difference between the test insertion loss and the estimated insertion loss corresponding to the test insertion loss, and detect whether the difference is less than a preset difference threshold; if the difference is less than the preset difference threshold, determine that the test insertion loss is a reliable insertion loss; if the difference is greater than or equal to the preset difference threshold, determine that the test insertion loss is an unreliable insertion loss.

[0134] In an optional implementation of an embodiment of the present invention, optionally, the result determination module 404 is specifically used to: determine the average value of the reliable insertion loss as the insertion loss of the cable under test, and detect whether the absolute value of the insertion loss of the cable under test is greater than a first preset value; if the absolute value of the insertion loss of the cable under test is greater than the first preset value, determine that the test result of the cable under test is unqualified; if the absolute value of the insertion loss of the cable under test is less than or equal to the first preset value, detect whether the absolute value of the insertion loss of the cable under test is greater than a second preset value; if the absolute value of the insertion loss of the cable under test is greater than the second preset value, determine that the test result of the cable under test is qualified; if the absolute value of the insertion loss of the cable under test is less than or equal to the second preset value, determine that the test result of the cable under test is abnormal data.

[0135] In an optional implementation manner of an embodiment of the present invention, optionally, the cable testing device also includes: a chart generation module, used to generate a visual chart for displaying the test insertion loss and estimated insertion loss of the test signal in each transmission process; a chart sending module, used to send the visual chart to a target user.

[0136] In an optional implementation manner of the embodiment of the present invention, optionally, the cable testing device further includes: a result sending module, configured to send the test result of the reliable insertion loss and the tested cable to a target user.

[0137] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0138] The cable testing device can execute the cable testing method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the cable testing method.

[0139] Embodiment 5

[0140] Figure 5The components, their connections and relationships, and their functions shown herein are merely examples and are not intended to limit the implementation of the invention described and / or claimed herein.

[0141] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program built from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0142] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0143] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the cable testing method.

[0144] In some embodiments, the cable testing method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is built into the RAM 13 and executed by the processor 11, one or more steps of the cable testing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the cable testing method in any other appropriate manner (e.g., by means of firmware).

[0145] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0146] The computer programs for implementing the cable testing method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0147] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0148] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0149] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0150] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0151] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0152] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A cable testing method, characterized in that: include: Controlling the tested cable to transmit the test signal for a preset number of times, and obtaining the test insertion loss of the test signal during each transmission process; According to the measurement error corresponding to the tested cable and the test insertion loss of the test signal in each transmission process, the estimated insertion loss of the test signal in each transmission process is determined; wherein the estimated insertion loss of the test signal in the kth transmission process is calculated according to the following preset insertion loss estimation formula: X k =X k-1 +G k *(Z k -X k-1 ), Among them, X k is the estimated insertion loss of the test signal during the kth transmission, X k-1 is the estimated insertion loss of the test signal during the k-1th transmission process, G k is the coefficient in the preset insertion loss estimation formula, Z k is the test insertion loss of the test signal during the kth transmission process, is the measurement error corresponding to the measured cable, is the estimated error of the preset insertion loss estimation formula, k = 1, 2 ... N, N is the preset number; Determine reliable insertion losses and unreliable insertion losses among all test insertion losses according to the test insertion losses and estimated insertion losses of the test signal during each transmission process; Determining the insertion loss and test result of the tested cable according to the reliable insertion loss; Among them, according to the test insertion loss and the estimated insertion loss of the test signal in each transmission process, the reliable insertion loss and the unreliable insertion loss among all the test insertion losses are determined, including: performing the following operations for each test insertion loss: determining the difference between the test insertion loss and the estimated insertion loss corresponding to the test insertion loss, and detecting whether the difference is less than a preset difference threshold; if the difference is less than the preset difference threshold, determining that the test insertion loss is a reliable insertion loss; if the difference is greater than or equal to the preset difference threshold, determining that the test insertion loss is an unreliable insertion loss.

2. The cable testing method according to claim 1, characterized in that: Before controlling the tested cable to transmit the test signal for a preset number of times and obtaining the test insertion loss of the test signal during each transmission process, the method further includes: Obtain the measurement error corresponding to the measured cable uploaded by the target user.

3. The cable testing method according to claim 1, characterized in that: Determining the insertion loss and the test result of the tested cable according to the reliable insertion loss includes: Determine the average value of the reliable insertion loss as the insertion loss of the tested cable, and detect whether the absolute value of the insertion loss of the tested cable is greater than a first preset value; If the absolute value of the insertion loss of the tested cable is greater than the first preset value, determining that the test result of the tested cable is unqualified; If the absolute value of the insertion loss of the tested cable is less than or equal to the first preset value, detecting whether the absolute value of the insertion loss of the tested cable is greater than a second preset value; If the absolute value of the insertion loss of the tested cable is greater than the second preset value, determining that the test result of the tested cable is qualified; If the absolute value of the insertion loss of the tested cable is less than or equal to the second preset value, it is determined that the test result of the tested cable is abnormal data.

4. The cable testing method according to claim 1, characterized in that: After determining the estimated insertion loss of the test signal in each transmission process according to the measurement error corresponding to the tested cable and the test insertion loss of the test signal in each transmission process, the method further includes: generating a visual chart for displaying the test insertion loss and estimated insertion loss of the test signal during each transmission process; The visualization chart is sent to a target user.

5. The cable testing method according to claim 1, characterized in that: After determining the insertion loss and the test result of the tested cable according to the reliable insertion loss, the method further includes: The reliable insertion loss and the test result of the tested cable are sent to a target user.

6. A cable testing device, characterized in that: include: A signal transmission module, used to control the tested cable to transmit the test signal for a preset number of times, and obtain the test insertion loss of the test signal during each transmission process; A loss estimation module is used to determine the estimated insertion loss of the test signal in each transmission process according to the measurement error corresponding to the tested cable and the test insertion loss of the test signal in each transmission process; wherein the estimated insertion loss of the test signal in the kth transmission process is calculated according to the following preset insertion loss estimation formula: X k =X k-1 +G k *(Z k -X k-1 ), Among them, X k is the estimated insertion loss of the test signal during the kth transmission, X k-1 is the estimated insertion loss of the test signal during the k-1th transmission process, G k is the coefficient in the preset insertion loss estimation formula, Z k is the test insertion loss of the test signal during the kth transmission process, is the measurement error corresponding to the measured cable, is the estimated error of the preset insertion loss estimation formula, k=1,2…N, N is the preset number; A loss determination module, used for determining reliable insertion losses and unreliable insertion losses among all test insertion losses according to the test insertion losses and estimated insertion losses of the test signal in each transmission process; A result determination module, used to determine the insertion loss and test result of the tested cable according to the reliable insertion loss; Among them, the loss determination module is specifically used to: perform the following operations for each test insertion loss: determine the difference between the test insertion loss and the estimated insertion loss corresponding to the test insertion loss, and detect whether the difference is less than a preset difference threshold; if the difference is less than the preset difference threshold, determine that the test insertion loss is a reliable insertion loss; if the difference is greater than or equal to the preset difference threshold, determine that the test insertion loss is an unreliable insertion loss.

7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the cable testing method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the cable testing method according to any one of claims 1 to 5 when executed.

Citation Information

Patent Citations

  • Method for measuring insertion loss of feeder line switching between two distant ports and enabling measuring errors to be smaller

    CN104062510A

  • Method of testing waveguide using insertion loss value

    CN112350772A