CN116318468A - Determination method, test equipment and test system for cable qualification - Google Patents
Determination method, test equipment and test system for cable qualification Download PDFInfo
- Publication number
- CN116318468A CN116318468A CN202310323377.XA CN202310323377A CN116318468A CN 116318468 A CN116318468 A CN 116318468A CN 202310323377 A CN202310323377 A CN 202310323377A CN 116318468 A CN116318468 A CN 116318468A
- Authority
- CN
- China
- Prior art keywords
- sequence
- cable
- bit error
- tested
- numbers
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/318—Received signal strength
- H04B17/327—Received signal code power [RSCP]
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及线缆技术领域,具体而言,涉及一种线缆合格性的确定方法、测试设备、计算机可读存储介质和测试系统。The embodiments of the present application relate to the technical field of cables, and in particular, relate to a method for determining the qualification of cables, testing equipment, a computer-readable storage medium, and a testing system.
背景技术Background technique
目前线缆厂商大量出货前只会针对少许的线缆进行抽验检测,检验的方法一般为采用矢量网络分析仪对线缆进行无源测试,而无源测试仅可以实现线缆的各维度S参数、线缆的阻抗和线缆的损耗的测量,而无法实现线缆的可靠性(确定线缆数据传输的准确性)的测量。At present, cable manufacturers only conduct sampling inspections on a small number of cables before mass shipments. The inspection method is generally to use a vector network analyzer to perform passive tests on cables, and passive tests can only achieve S The measurement of parameters, cable impedance and cable loss, but the measurement of cable reliability (determining the accuracy of cable data transmission) cannot be realized.
发明内容Contents of the invention
本申请实施例提供了一种线缆合格性的确定方法、测试设备、计算机可读存储介质和测试系统,以至少解决相关技术中现有技术中无法确定线缆数据传输的准确性的问题。Embodiments of the present application provide a method for determining cable qualification, testing equipment, a computer-readable storage medium, and a testing system, so as to at least solve the problem in the related art that the accuracy of cable data transmission cannot be determined in the prior art.
根据本申请的一个实施例,提供了一种线缆合格性的确定方法,测试设备的输出端与待测线缆的一端通信连接,所述测试设备的输入端与所述待测线缆的另一端通信连接,所述线缆合格性的确定方法应用于所述测试设备,所述确定方法包括:向所述待测线缆发送第一序列,所述第一序列包括多个第一数码,所述第一数码为0或者1;接收来自所述待测线缆的第二序列,所述第二序列包括多个第二数码,所述第二数码为0或者1,所述第二数码与所述第一数码一一对应;根据所述第一序列和所述第二序列,确定第一误码率,所述第一误码率为第一数量与第二数量的比值,所述第一数量为第一目标数码的个数,所述第一目标数码为所述第二序列中满足第一预设条件的所述第二数码,所述第一预设条件为所述第二数码与对应的所述第一数码相同,所述第二数量为所述第一序列中的所述第一数码的个数;在所述第一误码率在误差范围内的情况下,确定所述待测线缆合格。According to one embodiment of the present application, a method for determining the qualification of a cable is provided. The output end of the test device is connected to one end of the cable to be tested by communication, and the input end of the test device is connected to the end of the cable to be tested. The other end is connected by communication, the method for determining the eligibility of the cable is applied to the test equipment, and the method for determining includes: sending a first sequence to the cable to be tested, the first sequence including a plurality of first digital numbers , the first number is 0 or 1; receiving the second sequence from the cable under test, the second sequence includes a plurality of second numbers, the second number is 0 or 1, the second The number corresponds to the first number one by one; according to the first sequence and the second sequence, a first bit error rate is determined, and the first bit error rate is the ratio of the first number to the second number, so The first number is the number of the first target number, the first target number is the second number in the second sequence that satisfies the first preset condition, and the first preset condition is the first The second code is the same as the corresponding first code, and the second number is the number of the first code in the first sequence; when the first bit error rate is within the error range, Determine that the cable to be tested is qualified.
在一个示例性实施例中,在确定所述待测线缆合格之前,所述方法包括:向多个合格线缆分别发送所述第一序列,各所述合格线缆的型号相同,且所述合格线缆的型号与所述待测线缆的型号相同;接收来自各所述合格线缆的第三序列,所述第三序列包括多个第三数码,所述第三数码为0或者1,所述第三序列与所述第一序列一一对应,所述第三数码与所述第一数码一一对应;根据各所述第一序列和对应的所述第三序列,确定多个第二误码率,所述第二误码率与所述第三序列一一对应,所述第二误码率为第三数量与第四数量的比值,所述第三数量为第二目标数码的个数,所述第二目标数码为与所述第二误码率对应的所述第三序列中满足第二预设条件的所述第三数码,所述第二预设条件为所述第三数码与对应的所述第一数码相同,所述第四数量为与所述第二误码率对应的所述第一序列中的所述第一数码的个数;根据所有的所述第二误码率确定所述误差范围,所述误差范围的上限值为最大的所述第二误码率,所述误差范围的下限值为最小的所述第二误码率。In an exemplary embodiment, before determining that the cable to be tested is qualified, the method includes: sending the first sequence to a plurality of qualified cables respectively, each of the qualified cables has the same model, and the The model of the qualified cable is the same as the model of the cable to be tested; the third sequence from each of the qualified cables is received, the third sequence includes a plurality of third numbers, and the third number is 0 or 1. The third sequence is in one-to-one correspondence with the first sequence, and the third number is in one-to-one correspondence with the first number; according to each of the first sequences and the corresponding third sequence, determine how many a second bit error rate, the second bit error rate is in one-to-one correspondence with the third sequence, the second bit error rate is the ratio of the third number to the fourth number, and the third number is the second The number of target numbers, the second target number is the third number that satisfies a second preset condition in the third sequence corresponding to the second bit error rate, and the second preset condition is The third number is the same as the corresponding first number, and the fourth number is the number of the first number in the first sequence corresponding to the second bit error rate; according to all The second bit error rate determines the error range, the upper limit of the error range is the largest second bit error rate, and the lower limit of the error range is the smallest second bit error rate .
在一个示例性实施例中,所述方法还包括:向各所述待测线缆发送预设个数的所述第一序列,各所述第一序列均相同;接收来自所述待测线缆的所述第二序列,所述第二序列与所述第一序列一一对应;根据所述第一序列和对应的所述第二序列,确定多个所述第一误码率,所述第一误码率与所述第一序列一一对应;在各所述第一误码率均在所述误差范围内的情况下,确定所述待测线缆合格。In an exemplary embodiment, the method further includes: sending a preset number of the first sequences to each of the cables to be tested, and each of the first sequences is the same; The second sequence of the cable, the second sequence is in one-to-one correspondence with the first sequence; according to the first sequence and the corresponding second sequence, a plurality of the first bit error rates are determined, so The first bit error rate is in one-to-one correspondence with the first sequence; when each of the first bit error rates is within the error range, it is determined that the cable to be tested is qualified.
在一个示例性实施例中,所述方法还包括:向所述待测线缆发送多个所述第一序列,任意两个所述第一序列互不相同;接收来自所述待测线缆的第五序列,所述第五序列包括多个第五数码,所述第五数码为0或者1,所述第五序列与所述第一序列一一对应,所述第五数码与所述第一数码一一对应;根据各所述第一序列和所述第五序列,确定多个第四误码率,所述第四误码率与所述第五序列一一对应,所述第四误码率为第七数量与第八数量的比值,所述第七数量为第四目标数码的个数,所述第四目标数码为与所述第四误码率对应的所述第五序列中满足第四预设条件的所述第五数码,所述第四预设条件为所述第五数码与对应的所述第一数码相同,所述第八数量为与所述第四误码率对应的所述第一序列中的所述第一数码的个数;在各所述第四误码率均位于所述误差范围内的情况下,确定所述待测线缆合格。In an exemplary embodiment, the method further includes: sending multiple first sequences to the cable under test, any two of the first sequences are different from each other; The fifth sequence, the fifth sequence includes a plurality of fifth numbers, the fifth number is 0 or 1, the fifth sequence corresponds to the first sequence one by one, the fifth number and the One-to-one correspondence of the first numbers; according to each of the first sequence and the fifth sequence, a plurality of fourth bit error rates are determined, the fourth bit error rates are in one-to-one correspondence with the fifth sequence, and the fourth bit error rates are in one-to-one correspondence with the fifth sequence. Four bit error rates are the ratio of the seventh number to the eighth number, the seventh number is the number of the fourth target number, and the fourth target number is the fifth corresponding to the fourth bit error rate The fifth number in the sequence that satisfies the fourth preset condition, the fourth preset condition is that the fifth number is the same as the corresponding first number, and the eighth number is the same as the fourth number. The number of the first codes in the first sequence corresponding to the bit rate; if each of the fourth bit error rates is within the error range, it is determined that the cable to be tested is qualified.
在一个示例性实施例中,所述待测线缆具有第一编号,所述测试设备与显示屏通信连接,在确定所述待测线缆合格之后,所述方法还包括:将所述第一编号和所述第一误码率输出至所述显示屏。In an exemplary embodiment, the cable to be tested has a first serial number, and the testing device is communicatively connected to the display screen. After determining that the cable to be tested is qualified, the method further includes: A serial number and the first bit error rate are output to the display screen.
在一个示例性实施例中,所述待测线缆包括多个数据通道,所述方法包括:向各所述数据通道分别发送所述第一序列;接收来自各所述数据通道的第四序列,所述第四序列包括多个第四数码,所述第四数码为0或者1,所述第四序列与所述第一序列一一对应,所述第四数码与所述第一数码一一对应;根据各所述第一序列和对应的所述第四序列,确定多个第三误码率,所述第三误码率与所述第四序列一一对应,所述第三误码率为第五数量与第六数量的比值,所述第五数量为第三目标数码的个数,所述第三目标数码为与所述第三误码率对应的所述第四序列中满足第三预设条件的所述第四数码,所述第三预设条件为所述第四数码与对应的所述第一数码相同,所述第六数量为与所述第三误码率对应的所述第一序列中的所述第一数码的个数;在各所述第三误码率均在所述误差范围内的情况下,确定所述待测线缆合格。In an exemplary embodiment, the cable to be tested includes a plurality of data channels, and the method includes: sending the first sequence to each of the data channels; receiving a fourth sequence from each of the data channels , the fourth sequence includes a plurality of fourth numbers, the fourth number is 0 or 1, the fourth sequence corresponds to the first sequence one by one, and the fourth number is one to the first number One-to-one correspondence; according to each of the first sequences and the corresponding fourth sequences, determine a plurality of third bit error rates, the third bit error rates are in one-to-one correspondence with the fourth sequences, and the third error rates The code rate is the ratio of the fifth number to the sixth number, the fifth number is the number of the third target number, and the third target number is in the fourth sequence corresponding to the third bit error rate The fourth number that satisfies a third preset condition, the third preset condition is that the fourth number is the same as the corresponding first number, and the sixth number is the same as the third bit error rate Corresponding to the number of the first digital numbers in the first sequence; if each of the third bit error rates is within the error range, it is determined that the cable to be tested is qualified.
在一个示例性实施例中,一个所述数据通道具有一个第二编号,所述测试设备与显示屏通信连接,在确定所述待测线缆合格之后,所述方法还包括:将各所述第二编号和各所述第二编号对应的所述第三误码率输出至所述显示屏。In an exemplary embodiment, one of the data channels has a second number, the test equipment is connected to the display screen in communication, and after determining that the cable to be tested is qualified, the method further includes: connecting each of the The second number and the third bit error rate corresponding to each second number are output to the display screen.
根据本申请的另一个实施例,提供了一种测试设备,测试设备的输出端与待测线缆的一端通信连接,所述测试设备的输入端与所述待测线缆的另一端通信连接,所述测试设备包括:第一发送模块,用于向所述待测线缆发送第一序列,所述第一序列包括多个第一数码,所述第一数码为0或者1;第一接收模块,用于接收来自所述待测线缆的第二序列,所述第二序列包括多个第二数码,所述第二数码为0或者1,所述第二数码与所述第一数码一一对应;第一确定模块,用于根据所述第一序列和所述第二序列,确定第一误码率,所述第一误码率为第一数量与第二数量的比值,所述第一数量为第一目标数码的个数,所述第一目标数码为所述第二序列中满足第一预设条件的所述第二数码,所述第一预设条件为所述第二数码与对应的所述第一数码相同,所述第二数量为所述第一序列中的所述第一数码的个数;第二确定模块,用于在所述第一误码率位于误差范围的情况下,确定所述待测线缆合格。According to another embodiment of the present application, a test device is provided, the output end of the test device is communicatively connected to one end of the cable under test, and the input end of the test device is communicatively connected to the other end of the cable under test , the test equipment includes: a first sending module, configured to send a first sequence to the cable under test, the first sequence includes a plurality of first numbers, and the first numbers are 0 or 1; the first A receiving module, configured to receive a second sequence from the cable under test, the second sequence includes a plurality of second numbers, the second numbers are 0 or 1, and the second numbers are the same as the first One-to-one digital correspondence; the first determination module is used to determine a first bit error rate according to the first sequence and the second sequence, and the first bit error rate is the ratio of the first number to the second number, The first number is the number of the first target number, the first target number is the second number in the second sequence that satisfies the first preset condition, and the first preset condition is the The second number is the same as the corresponding first number, and the second number is the number of the first number in the first sequence; the second determination module is used for the first bit error rate If it is within the error range, it is determined that the cable to be tested is qualified.
根据本申请的又一个实施例,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被处理器执行时实现所述任一种所述的方法的步骤。According to yet another embodiment of the present application, a computer-readable storage medium is provided, and a computer program is stored in the computer-readable storage medium, wherein, when the computer program is executed by a processor, any one of the described steps of the method described above.
根据本申请的再一个实施例,提供了一种测试系统,所述测试系统包括:测试设备,所述测试设备的输出端与待测线缆的一端通信连接,所述测试设备的输入端与所述待测线缆的另一端通信连接,所述测试设备实现任一种所述的方法的步骤;显示屏,所述显示屏与所述测试设备通信连接,所述显示屏用于显示测试结果。According to still another embodiment of the present application, a test system is provided, and the test system includes: test equipment, the output end of the test equipment is communicatively connected to one end of the cable to be tested, and the input end of the test equipment is connected to The other end of the cable to be tested is connected in communication, and the test device implements the steps of any one of the methods; a display screen, the display screen is connected in communication with the test device, and the display screen is used to display the test result.
通过本申请,测试设备向待测线缆发送一个二进制序列,并接收来自待测线缆的二进制序列,根据这两二进制序列,确定第一误码率,由于第一误码率代表了待测线缆数据传输的准确性,在第一误码率位于误差范围内的情况下,确定待测线缆数据传输的准确性非常高,从而解决了现有技术中无法确定线缆数据传输的准确性的问题,达到了筛选出数传输的准确性高的线缆的效果。Through this application, the test equipment sends a binary sequence to the cable to be tested and receives a binary sequence from the cable to be tested. According to the two binary sequences, the first bit error rate is determined, because the first bit error rate represents the The accuracy of cable data transmission, when the first bit error rate is within the error range, the accuracy of data transmission of the cable to be tested is determined to be very high, thereby solving the problem that the accuracy of cable data transmission cannot be determined in the prior art The problem of sex is solved, and the effect of screening out the cables with high accuracy of data transmission is achieved.
附图说明Description of drawings
图1是根据本申请实施例的一种线缆合格性的确定方法的流程图;Fig. 1 is a flow chart of a method for determining the qualification of a cable according to an embodiment of the present application;
图2是根据本申请实施例的测试设备的结构框图。Fig. 2 is a structural block diagram of a testing device according to an embodiment of the present application.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本申请的实施例。Embodiments of the present application will be described in detail below with reference to the drawings and in combination with the embodiments.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence.
在本实施例中提供了一种线缆合格性的确定方法,上述线缆合格性的确定方法运行于上述测试设备,上述测试设备的输出端与待测线缆的一端通信连接,上述测试设备的输入端与上述待测线缆的另一端通信连接,图1是根据本申请实施例的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for determining the qualification of a cable is provided. The method for determining the qualification of a cable is run on the above-mentioned test equipment, and the output end of the above-mentioned test equipment is connected to one end of the cable to be tested by communication. The above-mentioned test equipment The input end of the above-mentioned cable to be tested is connected in communication with the other end of the cable. Fig. 1 is a flow chart according to the embodiment of the application. As shown in Fig. 1, the process includes the following steps:
步骤S102,向上述待测线缆发送第一序列,上述第一序列包括多个第一数码,上述第一数码为0或者1;Step S102, sending a first sequence to the cable to be tested, the first sequence includes a plurality of first numbers, and the first number is 0 or 1;
具体地,上述第一序列为PRBS(Pseudo-Random Binary Sequence,伪随机二进制序列),测试设备向待测线缆发送一个PRBS。Specifically, the above-mentioned first sequence is a PRBS (Pseudo-Random Binary Sequence, pseudo-random binary sequence), and the test device sends a PRBS to the cable to be tested.
步骤S104,接收来自上述待测线缆的第二序列,上述第二序列包括多个第二数码,上述第二数码为0或者1,上述第二数码与上述第一数码一一对应。Step S104, receiving a second sequence from the cable to be tested, the second sequence includes a plurality of second numbers, the second numbers are 0 or 1, and the second numbers are in one-to-one correspondence with the first numbers.
具体地,上述第二序列为PRBS,在测试设备向待测线发送一个PRBS之后,测试设备的输出端接收到来自待测线缆的一个PRBS。Specifically, the above-mentioned second sequence is PRBS, and after the testing equipment sends a PRBS to the testing line, the output terminal of the testing equipment receives a PRBS from the testing cable.
步骤S106,根据上述第一序列和上述第二序列,确定第一误码率,上述第一误码率为第一数量与第二数量的比值,上述第一数量为第一目标数码的个数,上述第一目标数码为上述第二序列中满足第一预设条件的上述第二数码,上述第一预设条件为上述第二数码与对应的上述第一数码相同,上述第二数量为上述第一序列中的上述第一数码的个数;Step S106, according to the above-mentioned first sequence and the above-mentioned second sequence, determine a first bit error rate, the above-mentioned first bit error rate is the ratio of the first number to the second number, and the above-mentioned first number is the number of the first target number , the above-mentioned first target number is the above-mentioned second number that satisfies the first preset condition in the above-mentioned second sequence, the above-mentioned first preset condition is that the above-mentioned second number is the same as the corresponding first number, and the above-mentioned second number is the above-mentioned the number of the first digits in the first sequence;
具体地,上述第一误码率代表待测线缆数据传输的准确性,第一误码率越低,表示待测线缆数据传输的准确性越高,待测线缆可靠性越高,若待测线缆能够完全准确地传输数据,测试设备向待测线缆发送的PRBS与待测设备的输入端接收到来自待测线缆的PRBS应该是相同的,即上述第一误码率应该为0。Specifically, the first bit error rate above represents the accuracy of the data transmission of the cable under test, and the lower the first bit error rate, the higher the accuracy of the data transmission of the cable under test and the higher the reliability of the cable under test. If the cable under test can transmit data completely and accurately, the PRBS sent by the test equipment to the cable under test should be the same as the PRBS received from the cable under test by the input terminal of the test equipment, that is, the above-mentioned first BER Should be 0.
具体地,例如,测量设备发送给待测线缆的PRBS为1011011110,测量设备的输入端接收到的来自待测线缆的PRBS为1010011110,PRBS的第四位数码传输错误,此时,误码率为10%,需要说明的是,实际中,一个PRBS中的数码的数量是很大的。Specifically, for example, the PRBS sent by the measuring device to the cable under test is 1011011110, the PRBS received by the input terminal of the measuring device from the cable under test is 1010011110, and the fourth digit of the PRBS is wrongly transmitted. At this time, the bit error The ratio is 10%. It should be noted that, in practice, the number of digits in a PRBS is very large.
步骤S108,在上述第一误码率在误差范围内的情况下,确定上述待测线缆合格。Step S108, in the case that the first bit error rate is within the error range, it is determined that the cable to be tested is qualified.
具体的,误差范围的上限值为接近于0的值,例如,在第一误码率小于0.1%的情况下,确定待测线缆合格,以确保筛选出的合格的待测线缆数据传输的准确性非常高。Specifically, the upper limit of the error range is a value close to 0. For example, when the first bit error rate is less than 0.1%, it is determined that the cable to be tested is qualified, so as to ensure that the qualified cable data to be tested is screened out. The accuracy of transmission is very high.
通过上述步骤,测试设备向待测线缆发送一个二进制序列,并接收来自待测线缆的二进制序列,根据这两二进制序列,确定第一误码率,第一误码率代表了待测线缆数据传输的准确性,在第一误码率位于误差范围内的情况下,确定待测线缆数据传输的准确性非常高,解决了现有技术中无法确定线缆数据传输的准确性的问题。Through the above steps, the test equipment sends a binary sequence to the cable to be tested and receives a binary sequence from the cable to be tested. According to the two binary sequences, the first bit error rate is determined. The first bit error rate represents the cable to be tested. The accuracy of cable data transmission, when the first bit error rate is within the error range, the accuracy of data transmission of the cable to be tested is determined to be very high, which solves the problem that the accuracy of cable data transmission cannot be determined in the prior art question.
其中,上述步骤的执行主体可以为【终端】等,但不限于此。Wherein, the execution subject of the above steps may be a [terminal], etc., but is not limited thereto.
为了筛选出数据传输的准确性更高的线缆,在一种可选的方案中,在上述步骤S108之前,上述方法还包括:In order to screen cables with higher data transmission accuracy, in an optional solution, before the above step S108, the above method further includes:
向多个合格线缆分别发送上述第一序列,各上述合格线缆的型号相同,且上述合格线缆的型号与上述待测线缆的型号相同;Sending the above-mentioned first sequence to a plurality of qualified cables respectively, the models of each of the above-mentioned qualified cables are the same, and the models of the above-mentioned qualified cables are the same as the models of the above-mentioned cables to be tested;
具体地,上述合格线缆的数量非常大,上述合格线缆为已在实际的应用场景下长时间使用且没有出现数据传输错误的线缆,并且,由于不同型号的线缆的阻抗高低值、长度和损耗率等参数不同,这些参数会影响线缆数据传输的准确性,因此,选用型号相同的合格线缆确定用于检测该型号的待测线缆合格性的误差范围。Specifically, the number of above-mentioned qualified cables is very large, and the above-mentioned qualified cables are cables that have been used for a long time in actual application scenarios without data transmission errors. Parameters such as length and loss rate are different, and these parameters will affect the accuracy of cable data transmission. Therefore, select qualified cables of the same type to determine the error range for testing the qualification of the cable to be tested.
接收来自各上述合格线缆的第三序列,上述第三序列包括多个第三数码,上述第三数码为0或者1,上述第三序列与上述第一序列一一对应,上述第三数码与上述第一数码一一对应;receiving a third sequence from each of the above-mentioned qualified cables, the above-mentioned third sequence includes a plurality of third numbers, the above-mentioned third number is 0 or 1, the above-mentioned third sequence corresponds to the above-mentioned first sequence one by one, and the above-mentioned third number and The above-mentioned first numbers correspond to each other one by one;
根据各上述第一序列和对应的上述第三序列,确定多个第二误码率,上述第二误码率与上述第三序列一一对应,上述第二误码率为第三数量与第四数量的比值,上述第三数量为第二目标数码的个数,上述第二目标数码为与上述第二误码率对应的上述第三序列中满足第二预设条件的上述第三数码,上述第二预设条件为上述第三数码与对应的上述第一数码相同,上述第四数量为与上述第二误码率对应的上述第一序列中的上述第一数码的个数;According to each of the above-mentioned first sequences and the corresponding above-mentioned third sequences, a plurality of second bit error rates are determined, the above-mentioned second bit error rates are in one-to-one correspondence with the above-mentioned third sequences, and the third number of the above-mentioned second bit error rates is equal to the first The ratio of four numbers, the third number is the number of the second target number, the second target number is the third number that satisfies the second preset condition in the third sequence corresponding to the second bit error rate, The second preset condition is that the third number is the same as the corresponding first number, and the fourth number is the number of the first number in the first sequence corresponding to the second bit error rate;
根据所有的上述第二误码率确定上述误差范围,上述误差范围的上限值为最大的上述第二误码率,上述误差范围的下限值为最小的上述第二误码率。The error range is determined according to all the second bit error rates, the upper limit of the error range is the largest second bit error rate, and the lower limit of the error range is the smallest second bit error rate.
本实施例中,上述第三序列为PRBS,测试设备向合格线缆发送PRBS,并接收来自合格线缆的PRBS,根据发送和接收的PRBS,确定第二误码率,第二误码率代表了合格线缆数据传输的准确性,根据第二误码率确定误差范围,即根据合格线缆能达到的数据传输的准确性,确定误差范围,从而保证误差范围的准确性,从而达到筛选出数据传输的准确性更高的线缆的目的。In this embodiment, the above-mentioned third sequence is PRBS, and the test equipment sends PRBS to the qualified cable, and receives the PRBS from the qualified cable, and determines the second bit error rate according to the sent and received PRBS, and the second bit error rate represents To ensure the accuracy of data transmission of qualified cables, the error range is determined according to the second bit error rate, that is, the error range is determined according to the accuracy of data transmission that qualified cables can achieve, so as to ensure the accuracy of the error range, so as to achieve the screening out The purpose of the cable is to transmit data with higher accuracy.
需要说明的是,测试设备向合格线缆发送第一序列的个数不限,采用的第一序列的个数越多,确定的误差范围越准确。It should be noted that there is no limit to the number of first sequences sent by the test equipment to qualified cables, and the more the number of first sequences used, the more accurate the determined error range will be.
为了筛选出数据传输的准确性更高的线缆,在另一种可选的方案中,上述方法还包括:In order to screen cables with higher data transmission accuracy, in another optional solution, the above method further includes:
向各上述待测线缆发送预设个数的上述第一序列,各上述第一序列均相同;sending a preset number of the above-mentioned first sequences to each of the above-mentioned cables to be tested, and each of the above-mentioned first sequences is the same;
接收来自上述待测线缆的上述第二序列,上述第二序列与上述第一序列一一对应;receiving the above-mentioned second sequence from the above-mentioned cable to be tested, where the above-mentioned second sequence corresponds to the above-mentioned first sequence;
根据上述第一序列和对应的上述第二序列,确定多个上述第一误码率,上述第一误码率与上述第一序列一一对应;Determining a plurality of the first bit error rates according to the first sequence and the corresponding second sequence, where the first bit error rates are in one-to-one correspondence with the first sequence;
在各上述第一误码率均在上述误差范围内的情况下,确定上述待测线缆合格。When each of the above-mentioned first bit error rates is within the above-mentioned error range, it is determined that the above-mentioned cable to be tested is qualified.
本实施例中,由于一个PRBS包含的数码的数量是有限的,因此,测试设备向待测线缆发送预设个数的PRBS,并接收来自待测线缆的预设个数的PRBS,确定预设个数的第一误码率,在预设个数的第一误码率均位于误差范围内的情况下,确定待测线缆合格,避免偶然性,以进一步确定待测线缆数据传输的准确性,从而达到筛选出数据传输的准确性更高的线缆的目的。In this embodiment, since the number of numbers contained in a PRBS is limited, the test equipment sends a preset number of PRBS to the cable to be tested, and receives a preset number of PRBS from the cable to be tested, and determines The first bit error rate of the preset number, in the case that the first bit error rate of the preset number is within the error range, it is determined that the cable to be tested is qualified, avoiding accidents, and further confirming the data transmission of the cable to be tested accuracy, so as to achieve the purpose of screening out cables with higher accuracy of data transmission.
为了筛选出数据传输的准确性更高的线缆,在又一种可选的方案中,上述方法还包括:In order to screen cables with higher data transmission accuracy, in another optional solution, the above method further includes:
向上述待测线缆发送多个上述第一序列,任意两个上述第一序列互不相同;Sending multiple first sequences to the cable under test, any two of the first sequences are different from each other;
具体地,设定10个等级的PRBS,不同等级的PRBS包含的数码的个数是不同的,且不同等级的PRBS包含的数码0和数码1排列的先后顺序不同,测试设备向待测线缆发送任意等级的PRBS。Specifically, 10 levels of PRBS are set, and the number of numbers contained in different levels of PRBS is different, and the order of arrangement of the numbers 0 and 1 contained in different levels of PRBS is different. Send PRBS of any class.
接收来自上述待测线缆的第五序列,上述第五序列包括多个第五数码,上述第五数码为0或者1,上述第五序列与上述第一序列一一对应,上述第五数码与上述第一数码一一对应;receiving a fifth sequence from the cable to be tested, the fifth sequence includes a plurality of fifth numbers, the fifth number is 0 or 1, the fifth sequence corresponds to the first sequence one by one, the fifth number and The above-mentioned first numbers correspond to each other one by one;
根据各上述第一序列和上述第五序列,确定多个第四误码率,上述第四误码率与上述第五序列一一对应,上述第四误码率为第七数量与第八数量的比值,上述第七数量为第四目标数码的个数,上述第四目标数码为与上述第四误码率对应的上述第五序列中满足第四预设条件的上述第五数码,上述第四预设条件为上述第五数码与对应的上述第一数码相同,上述第八数量为与上述第四误码率对应的上述第一序列中的上述第一数码的个数;According to each of the above-mentioned first sequence and the above-mentioned fifth sequence, a plurality of fourth bit error rates are determined, the above-mentioned fourth bit error rates correspond to the above-mentioned fifth sequence one by one, and the above-mentioned fourth bit error rates are the seventh number and the eighth number The above-mentioned seventh number is the number of the fourth target number, and the above-mentioned fourth target number is the above-mentioned fifth number that satisfies the fourth preset condition in the above-mentioned fifth sequence corresponding to the above-mentioned fourth bit error rate. The fourth preset condition is that the fifth number is the same as the corresponding first number, and the eighth number is the number of the first number in the first sequence corresponding to the fourth bit error rate;
在各上述第四误码率均位于上述误差范围内的情况下,确定上述待测线缆合格。When each of the above-mentioned fourth bit error rates is within the above-mentioned error range, it is determined that the above-mentioned cable to be tested is qualified.
本实施例中,由于实际应用场景中,不可能仅向待测线缆一直发送同一二进制序列,为了更加符合实际应用场景,测试设备向待测线缆发送多个不同的PRBS,并接收来自待测线缆的PRBS,根据发送和接收的PRBS,确定多个的第四误码率,在各第四误码率均位于误差范围内的情况下,确定待测线缆合格,避免偶然性,以进一步确定待测线缆数据传输的准确性,从而达到筛选出数据传输的准确性更高的线缆的目的。In this embodiment, because in the actual application scenario, it is impossible to send the same binary sequence to the cable under test all the time, in order to be more in line with the actual application scenario, the test equipment sends multiple different PRBS to the cable under test and receives data from the cable under test. According to the PRBS of the test cable, multiple fourth bit error rates are determined according to the transmitted and received PRBS. When each fourth bit error rate is within the error range, it is determined that the cable to be tested is qualified to avoid accidental The accuracy of data transmission of the cable to be tested is further determined, so as to achieve the purpose of screening cables with higher accuracy of data transmission.
需要说明的是,上述待测线缆具有第一编号,上述测试设备与显示屏通信连接。It should be noted that the cable to be tested has a first serial number, and the testing device is communicatively connected to the display screen.
为了直观显示合格的待测线缆的数据传输的准确性,在一种可选的方案,在上述步骤S108之后,上述方法还包括:In order to visually display the accuracy of the data transmission of the qualified cables to be tested, in an optional solution, after the above step S108, the above method further includes:
将上述第一编号和上述第一误码率输出至上述显示屏。Outputting the above-mentioned first serial number and the above-mentioned first bit error rate to the above-mentioned display screen.
本实施例中,将合格的待测线缆的编号和误码率在显示屏上显示,以直观显示合格的待测线缆的数据传输的准确性。In this embodiment, the numbers and bit error rates of qualified cables to be tested are displayed on the display screen, so as to intuitively show the accuracy of data transmission of qualified cables to be tested.
需要说明的是,上述待测线缆包括多个数据通道。It should be noted that the above-mentioned cable to be tested includes multiple data channels.
为了确定待测线缆的数据通道的数据传输的准确性,在一种可选的方案中,上述方法还包括:In order to determine the accuracy of the data transmission of the data channel of the cable to be tested, in an optional solution, the above method further includes:
步骤S202,向各上述数据通道分别发送上述第一序列;Step S202, sending the above-mentioned first sequence to each of the above-mentioned data channels respectively;
步骤S204,接收来自各上述数据通道的第四序列,上述第四序列包括多个第四数码,上述第四数码为0或者1,上述第四序列与上述第一序列一一对应,上述第四数码与上述第一数码一一对应;Step S204, receiving the fourth sequence from each of the above-mentioned data channels, the above-mentioned fourth sequence includes a plurality of fourth numbers, the above-mentioned fourth number is 0 or 1, the above-mentioned fourth sequence corresponds to the above-mentioned first sequence one by one, and the above-mentioned fourth sequence The numbers correspond one-to-one to the above-mentioned first numbers;
步骤S206,根据各上述第一序列和对应的上述第四序列,确定多个第三误码率,上述第三误码率与上述第四序列一一对应,上述第三误码率为第五数量与第六数量的比值,上述第五数量为第三目标数码的个数,上述第三目标数码为与上述第三误码率对应的上述第四序列中满足第三预设条件的上述第四数码,上述第三预设条件为上述第四数码与对应的上述第一数码相同,上述第六数量为与上述第三误码率对应的上述第一序列中的上述第一数码的个数;Step S206, according to each of the above-mentioned first sequences and the corresponding above-mentioned fourth sequences, determine a plurality of third bit error rates, the above-mentioned third bit error rates correspond to the above-mentioned fourth sequences one by one, and the above-mentioned third bit error rates are fifth The ratio of the number to the sixth number, the fifth number is the number of the third target number, and the third target number is the first number in the fourth sequence corresponding to the third bit error rate that satisfies the third preset condition. Four digits, the third preset condition is that the fourth digit is the same as the corresponding first digit, and the sixth number is the number of the first digits in the first sequence corresponding to the third bit error rate ;
步骤S208,在各上述第三误码率均在上述误差范围内的情况下,确定上述待测线缆合格。Step S208, in the case that each of the above-mentioned third bit error rates is within the above-mentioned error range, it is determined that the above-mentioned cable to be tested is qualified.
本实施例中,上述第四序列为PRBS,测试设备向数据通道发送PRBS,并接收来自数据通道的PRBS,根据发送和接收的PRBS,确定第三误码率,第三误码率代表了对应的数据通道的数据传输的准确性,从而确定了待测线缆的各数据通道的数据传输的准确性,在各第三误码率均位于误差范围内的情况下,确定待测线缆数据传输的准确性非常高,确定待测线缆合格。In this embodiment, the above-mentioned fourth sequence is PRBS. The test equipment sends PRBS to the data channel and receives the PRBS from the data channel. According to the sent and received PRBS, the third bit error rate is determined. The third bit error rate represents the corresponding The accuracy of the data transmission of the data channel of the cable to be tested, thereby determining the accuracy of the data transmission of each data channel of the cable to be tested, and when the third bit error rate is within the error range, determine the data of the cable to be tested The transmission accuracy is very high, and it is determined that the cable to be tested is qualified.
需要说明的是,一个上述数据通道具有一个第二编号,上述测试设备与显示屏通信连接。It should be noted that one of the above-mentioned data channels has a second number, and the above-mentioned testing equipment is in communication connection with the display screen.
为了直观显示合格的待测线缆各数据通道的数据传输的准确性,在一种可选的方案,在上述步骤S208之后,上述方法还包括:In order to visually display the accuracy of the data transmission of each data channel of the qualified cable to be tested, in an optional solution, after the above step S208, the above method further includes:
将各上述第二编号和各上述第二编号对应的上述第三误码率输出至上述显示屏。Outputting each of the above-mentioned second numbers and the above-mentioned third bit error rate corresponding to each of the above-mentioned second numbers to the above-mentioned display screen.
本实施例中,将合格的待测线缆各数据通道的编号和误码率在显示屏上显示,以直观显示合格的待测线缆各数据通道的数据传输的准确性。In this embodiment, the number and bit error rate of each data channel of the qualified cable to be tested are displayed on the display screen, so as to intuitively display the accuracy of data transmission of each data channel of the qualified cable to be tested.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例上述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the above-mentioned methods in various embodiments of the present application.
在本实施例中还提供了一种测试设备,该测试设备用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a test device is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has been explained will not be repeated here. As used below, the term "module" may be a combination of software and/or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
图2是根据本申请实施例的测试设备的结构框图,如图2所示,该装置包括:Fig. 2 is a structural block diagram of the test equipment according to the embodiment of the application, as shown in Fig. 2, the device includes:
第一发送模块22,用于向上述待测线缆发送第一序列,上述第一序列包括多个第一数码,上述第一数码为0或者1;The
具体地,上述第一序列为PRBS(Pseudo-Random Binary Sequence,伪随机二进制序列),测试设备向待测线缆发送一个PRBS。Specifically, the above-mentioned first sequence is a PRBS (Pseudo-Random Binary Sequence, pseudo-random binary sequence), and the test device sends a PRBS to the cable to be tested.
第一接收模块24,用于接收来自上述待测线缆的第二序列,上述第二序列包括多个第二数码,上述第二数码为0或者1,上述第二数码与上述第一数码一一对应。The
具体地,上述第二序列为PRBS,在测试设备向待测线发送一个PRBS之后,测试设备的输出端接收到来自待测线缆的一个PRBS。Specifically, the above-mentioned second sequence is PRBS, and after the testing equipment sends a PRBS to the testing line, the output terminal of the testing equipment receives a PRBS from the testing cable.
第一确定模块26,用于根据上述第一序列和上述第二序列,确定第一误码率,上述第一误码率为第一数量与第二数量的比值,上述第一数量为第一目标数码的个数,上述第一目标数码为上述第二序列中满足第一预设条件的上述第二数码,上述第一预设条件为上述第二数码与对应的上述第一数码相同,上述第二数量为上述第一序列中的上述第一数码的个数;The
具体地,上述第一误码率代表待测线缆数据传输的准确性,第一误码率越低,表示待测线缆数据传输的准确性越高,待测线缆可靠性越高,若待测线缆能够完全准确地传输数据,测试设备向待测线缆发送的PRBS与待测设备的输入端接收到来自待测线缆的PRBS应该是相同的,即上述第一误码率应该为0。Specifically, the first bit error rate above represents the accuracy of the data transmission of the cable under test, and the lower the first bit error rate, the higher the accuracy of the data transmission of the cable under test and the higher the reliability of the cable under test. If the cable under test can transmit data completely and accurately, the PRBS sent by the test equipment to the cable under test should be the same as the PRBS received from the cable under test by the input terminal of the test equipment, that is, the above-mentioned first BER Should be 0.
具体地,例如,测量设备发送给待测线缆的PRBS为1011011110,测量设备的输入端接收到的来自待测线缆的PRBS为1010011110,PRBS的第四位数码传输错误,此时,误码率为10%,需要说明的是,实际中,一个PRBS中的数码的数量是很大的。Specifically, for example, the PRBS sent by the measuring device to the cable under test is 1011011110, the PRBS received by the input terminal of the measuring device from the cable under test is 1010011110, and the fourth digit of the PRBS is wrongly transmitted. At this time, the bit error The ratio is 10%. It should be noted that, in practice, the number of digits in a PRBS is very large.
第二确定模块28,用于在上述第一误码率在误差范围内的情况下,确定上述待测线缆合格。The second determining
具体的,误差范围的上限值为接近于0的值,例如,在第一误码率小于0.1%的情况下,确定待测线缆合格,以确保筛选出的合格的待测线缆数据传输的准确性非常高。Specifically, the upper limit of the error range is a value close to 0. For example, when the first bit error rate is less than 0.1%, it is determined that the cable to be tested is qualified, so as to ensure that the qualified cable data to be tested is screened out. The accuracy of transmission is very high.
通过上述步骤,测试设备向待测线缆发送一个二进制序列,并接收来自待测线缆的二进制序列,根据这两二进制序列,确定第一误码率,第一误码率代表了待测线缆数据传输的准确性,在第一误码率位于误差范围内的情况下,确定待测线缆数据传输的准确性非常高,解决了现有技术中无法确定线缆数据传输的准确性的问题。Through the above steps, the test equipment sends a binary sequence to the cable to be tested and receives a binary sequence from the cable to be tested. According to the two binary sequences, the first bit error rate is determined. The first bit error rate represents the cable to be tested. The accuracy of cable data transmission, when the first bit error rate is within the error range, the accuracy of data transmission of the cable to be tested is determined to be very high, which solves the problem that the accuracy of cable data transmission cannot be determined in the prior art question.
其中,上述步骤的执行主体可以为【终端】等,但不限于此。Wherein, the execution subject of the above steps may be a [terminal], etc., but is not limited thereto.
为了筛选出数据传输的准确性更高的线缆,在一种可选的方案中,上述测试设备还包括:In order to screen cables with higher data transmission accuracy, in an optional solution, the above test equipment also includes:
第二发送模块,用于向多个合格线缆分别发送上述第一序列,各上述合格线缆的型号相同,且上述合格线缆的型号与上述待测线缆的型号相同;The second sending module is configured to send the above-mentioned first sequence to a plurality of qualified cables respectively, the models of each of the above-mentioned qualified cables are the same, and the models of the above-mentioned qualified cables are the same as the models of the above-mentioned cables to be tested;
具体地,上述合格线缆的数量非常大,上述合格线缆为已在实际的应用场景下长时间使用且没有出现数据传输错误的线缆,并且,由于不同型号的线缆的阻抗高低值、长度和损耗率等参数不同,这些参数会影响线缆数据传输的准确性,因此,选用型号相同的合格线缆确定用于检测该型号的待测线缆合格性的误差范围。Specifically, the number of above-mentioned qualified cables is very large, and the above-mentioned qualified cables are cables that have been used for a long time in actual application scenarios without data transmission errors. Parameters such as length and loss rate are different, and these parameters will affect the accuracy of cable data transmission. Therefore, select qualified cables of the same type to determine the error range for testing the qualification of the cable to be tested.
第二接收模块,用于接收来自各上述合格线缆的第三序列,上述第三序列包括多个第三数码,上述第三数码为0或者1,上述第三序列与上述第一序列一一对应,上述第三数码与上述第一数码一一对应;The second receiving module is used to receive the third sequence from each of the above-mentioned qualified cables, the above-mentioned third sequence includes a plurality of third numbers, the above-mentioned third numbers are 0 or 1, and the above-mentioned third sequence and the above-mentioned first sequence are one by one Correspondingly, the above-mentioned third number is in one-to-one correspondence with the above-mentioned first number;
第三确定模块,用于根据各上述第一序列和对应的上述第三序列,确定多个第二误码率,上述第二误码率与上述第三序列一一对应,上述第二误码率为第三数量与第四数量的比值,上述第三数量为第二目标数码的个数,上述第二目标数码为与上述第二误码率对应的上述第三序列中满足第二预设条件的上述第三数码,上述第二预设条件为上述第三数码与对应的上述第一数码相同,上述第四数量为与上述第二误码率对应的上述第一序列中的上述第一数码的个数;The third determination module is configured to determine a plurality of second bit error rates according to each of the first sequences and the corresponding third sequences, the second bit error rates correspond to the third sequences one by one, and the second bit error rates The rate is the ratio of the third number to the fourth number, the third number is the number of the second target number, and the second target number is the second preset in the third sequence corresponding to the second bit error rate The above-mentioned third number of the condition, the above-mentioned second preset condition is that the above-mentioned third number is the same as the corresponding first number, and the above-mentioned fourth number is the first number in the first sequence corresponding to the second bit error rate. number of digits;
第四确定模块,用于根据所有的上述第二误码率确定上述误差范围,上述误差范围的上限值为最大的上述第二误码率,上述误差范围的下限值为最小的上述第二误码率。The fourth determination module is configured to determine the above-mentioned error range according to all the above-mentioned second bit error rates, the upper limit of the above-mentioned error range is the largest above-mentioned second bit error rate, and the lower limit of the above-mentioned error range is the smallest value of the above-mentioned first Two bit error rate.
本实施例中,上述第三序列为PRBS,测试设备向合格线缆发送PRBS,并接收来自合格线缆的PRBS,根据发送和接收的PRBS,确定第二误码率,第二误码率代表了合格线缆数据传输的准确性,根据第二误码率确定误差范围,即根据合格线缆能达到的数据传输的准确性,确定误差范围,从而保证误差范围的准确性,从而达到筛选出数据传输的准确性更高的线缆的目的。In this embodiment, the above-mentioned third sequence is PRBS, and the test equipment sends PRBS to the qualified cable, and receives the PRBS from the qualified cable, and determines the second bit error rate according to the sent and received PRBS, and the second bit error rate represents To ensure the accuracy of data transmission of qualified cables, the error range is determined according to the second bit error rate, that is, the error range is determined according to the accuracy of data transmission that qualified cables can achieve, so as to ensure the accuracy of the error range, so as to achieve the screening out The purpose of the cable is to transmit data with higher accuracy.
需要说明的是,测试设备向合格线缆发送第一序列的个数不限,采用的第一序列的个数越多,确定的误差范围越准确。It should be noted that there is no limit to the number of first sequences sent by the test equipment to qualified cables, and the more the number of first sequences used, the more accurate the determined error range will be.
为了筛选出数据传输的准确性更高的线缆,在另一种可选的方案中,上述测试设备还包括:In order to screen cables with higher data transmission accuracy, in another optional solution, the above test equipment also includes:
第三发送模块,用于向各上述待测线缆发送预设个数的上述第一序列,各上述第一序列均相同;The third sending module is configured to send a preset number of the above-mentioned first sequences to each of the above-mentioned cables to be tested, and each of the above-mentioned first sequences is the same;
第三接收模块,用于接收来自上述待测线缆的上述第二序列,上述第二序列与上述第一序列一一对应;The third receiving module is configured to receive the above-mentioned second sequence from the above-mentioned cable to be tested, and the above-mentioned second sequence corresponds to the above-mentioned first sequence;
第五确定模块,用于根据上述第一序列和对应的上述第二序列,确定多个上述第一误码率,上述第一误码率与上述第一序列一一对应;The fifth determination module is configured to determine a plurality of the first bit error rates according to the first sequence and the corresponding second sequence, where the first bit error rates correspond to the first sequences one by one;
第六确定模块,用于在各上述第一误码率均在上述误差范围内的情况下,确定上述待测线缆合格。The sixth determination module is configured to determine that the cable to be tested is qualified when each of the above-mentioned first bit error rates is within the above-mentioned error range.
本实施例中,由于一个PRBS包含的数码的数量是有限的,因此,测试设备向待测线缆发送预设个数的PRBS,并接收来自待测线缆的预设个数的PRBS,确定预设个数的第一误码率,在预设个数的第一误码率均位于误差范围内的情况下,确定待测线缆合格,避免偶然性,以进一步确定待测线缆数据传输的准确性,从而达到筛选出数据传输的准确性更高的线缆的目的。In this embodiment, since the number of numbers contained in a PRBS is limited, the test equipment sends a preset number of PRBS to the cable to be tested, and receives a preset number of PRBS from the cable to be tested, and determines The first bit error rate of the preset number, in the case that the first bit error rate of the preset number is within the error range, it is determined that the cable to be tested is qualified, avoiding accidents, and further confirming the data transmission of the cable to be tested accuracy, so as to achieve the purpose of screening out cables with higher accuracy of data transmission.
为了筛选出数据传输的准确性更高的线缆,在又一种可选的方案中,上述测试设备还包括:In order to screen cables with higher accuracy of data transmission, in another optional solution, the above test equipment also includes:
第四发送模块,用于向上述待测线缆发送多个上述第一序列,任意两个上述第一序列互不相同;A fourth sending module, configured to send multiple first sequences to the cable to be tested, and any two of the first sequences are different from each other;
具体地,设定10个等级的PRBS,不同等级的PRBS包含的数码的个数是不同的,且不同等级的PRBS包含的数码0和数码1排列的先后顺序不同,测试设备向待测线缆发送任意等级的PRBS。Specifically, 10 levels of PRBS are set, and the number of numbers contained in different levels of PRBS is different, and the order of arrangement of the numbers 0 and 1 contained in different levels of PRBS is different. Send PRBS of any class.
第四接收模块,用于接收来自上述待测线缆的第五序列,上述第五序列包括多个第五数码,上述第五数码为0或者1,上述第五序列与上述第一序列一一对应,上述第五数码与上述第一数码一一对应;The fourth receiving module is used to receive the fifth sequence from the cable to be tested, the fifth sequence includes a plurality of fifth numbers, the fifth number is 0 or 1, and the fifth sequence and the first sequence are one by one Correspondingly, the above-mentioned fifth number corresponds to the above-mentioned first number one by one;
第七确定模块,用于根据各上述第一序列和上述第五序列,确定多个第四误码率,上述第四误码率与上述第五序列一一对应,上述第四误码率为第七数量与第八数量的比值,上述第七数量为第四目标数码的个数,上述第四目标数码为与上述第四误码率对应的上述第五序列中满足第四预设条件的上述第五数码,上述第四预设条件为上述第五数码与对应的上述第一数码相同,上述第八数量为与上述第四误码率对应的上述第一序列中的上述第一数码的个数;The seventh determination module is configured to determine a plurality of fourth bit error rates according to each of the above-mentioned first sequences and the above-mentioned fifth sequences, the above-mentioned fourth bit-error rates correspond to the above-mentioned fifth sequences one-to-one, and the above-mentioned fourth bit error rates The ratio of the seventh number to the eighth number, the seventh number is the number of the fourth target number, and the fourth target number is the number that satisfies the fourth preset condition in the fifth sequence corresponding to the fourth bit error rate The fifth number, the fourth preset condition is that the fifth number is the same as the corresponding first number, and the eighth number is the number of the first number in the first sequence corresponding to the fourth bit error rate number;
第八确定模块,用于在各上述第四误码率均位于上述误差范围内的情况下,确定上述待测线缆合格。The eighth determination module is configured to determine that the cable to be tested is qualified when each of the above-mentioned fourth bit error rates is within the above-mentioned error range.
本实施例中,由于实际应用场景中,不可能仅向待测线缆一直发送同一二进制序列,为了更加符合实际应用场景,测试设备向待测线缆发送多个不同的PRBS,并接收来自待测线缆的PRBS,根据发送和接收的PRBS,确定多个的第四误码率,在各第四误码率均位于误差范围内的情况下,确定待测线缆合格,避免偶然性,以进一步确定待测线缆数据传输的准确性,从而达到筛选出数据传输的准确性更高的线缆的目的。In this embodiment, because in the actual application scenario, it is impossible to send the same binary sequence to the cable under test all the time, in order to be more in line with the actual application scenario, the test equipment sends multiple different PRBS to the cable under test and receives data from the cable under test. According to the PRBS of the test cable, multiple fourth bit error rates are determined according to the transmitted and received PRBS. When each fourth bit error rate is within the error range, it is determined that the cable to be tested is qualified to avoid accidental The accuracy of data transmission of the cable to be tested is further determined, so as to achieve the purpose of screening cables with higher accuracy of data transmission.
需要说明的是,上述待测线缆具有第一编号,上述测试设备与显示屏通信连接。It should be noted that the cable to be tested has a first serial number, and the testing device is communicatively connected to the display screen.
为了直观显示合格的待测线缆的数据传输的准确性,在一种可选的方案,上述测试设备还包括:In order to visually display the accuracy of data transmission of qualified cables to be tested, in an optional solution, the above test equipment also includes:
第一输出模块,用于将上述第一编号和上述第一误码率输出至上述显示屏。The first output module is configured to output the above-mentioned first number and the above-mentioned first bit error rate to the above-mentioned display screen.
本实施例中,将合格的待测线缆的编号和误码率在显示屏上显示,以直观显示合格的待测线缆的数据传输的准确性。In this embodiment, the numbers and bit error rates of qualified cables to be tested are displayed on the display screen, so as to intuitively show the accuracy of data transmission of qualified cables to be tested.
需要说明的是,上述待测线缆包括多个数据通道。It should be noted that the above-mentioned cable to be tested includes multiple data channels.
为了确定待测线缆的数据通道的数据传输的准确性,在一种可选的方案中,上述测试设备还包括:In order to determine the accuracy of the data transmission of the data channel of the cable to be tested, in an optional solution, the above test equipment also includes:
第五发送模块,用于向各上述数据通道分别发送上述第一序列;The fifth sending module is configured to send the above-mentioned first sequence to each of the above-mentioned data channels respectively;
第五接收模块,用于接收来自各上述数据通道的第四序列,上述第四序列包括多个第四数码,上述第四数码为0或者1,上述第四序列与上述第一序列一一对应,上述第四数码与上述第一数码一一对应;The fifth receiving module is used to receive the fourth sequence from each of the above-mentioned data channels, the above-mentioned fourth sequence includes a plurality of fourth numbers, the above-mentioned fourth numbers are 0 or 1, and the above-mentioned fourth sequence corresponds to the above-mentioned first sequence one by one , the above-mentioned fourth digit corresponds one-to-one to the above-mentioned first digit;
第九确定模块,用于根据各上述第一序列和对应的上述第四序列,确定多个第三误码率,上述第三误码率与上述第四序列一一对应,上述第三误码率为第五数量与第六数量的比值,上述第五数量为第三目标数码的个数,上述第三目标数码为与上述第三误码率对应的上述第四序列中满足第三预设条件的上述第四数码,上述第三预设条件为上述第四数码与对应的上述第一数码相同,上述第六数量为与上述第三误码率对应的上述第一序列中的上述第一数码的个数;The ninth determination module is configured to determine a plurality of third bit error rates according to each of the above-mentioned first sequences and the corresponding above-mentioned fourth sequences, the above-mentioned third bit-error rates are in one-to-one correspondence with the above-mentioned fourth sequences, and the above-mentioned third bit error rates The rate is the ratio of the fifth number to the sixth number, the fifth number is the number of the third target number, and the third target number is the third preset in the fourth sequence corresponding to the third bit error rate The above-mentioned fourth number of the condition, the above-mentioned third preset condition is that the above-mentioned fourth number is the same as the corresponding first number, and the above-mentioned sixth number is the first number of digits;
第十确定模块,用于在各上述第三误码率均在上述误差范围内的情况下,确定上述待测线缆合格。The tenth determination module is configured to determine that the cable to be tested is qualified when each of the above-mentioned third bit error rates is within the above-mentioned error range.
本实施例中,上述第四序列为PRBS,测试设备向数据通道发送PRBS,并接收来自数据通道的PRBS,根据发送和接收的PRBS,确定第三误码率,第三误码率代表了对应的数据通道的数据传输的准确性,从而确定了待测线缆的各数据通道的数据传输的准确性,在各第三误码率均位于误差范围内的情况下,确定待测线缆数据传输的准确性非常高,确定待测线缆合格。In this embodiment, the above-mentioned fourth sequence is PRBS. The test equipment sends PRBS to the data channel and receives the PRBS from the data channel. According to the sent and received PRBS, the third bit error rate is determined. The third bit error rate represents the corresponding The accuracy of the data transmission of the data channel of the cable to be tested, thereby determining the accuracy of the data transmission of each data channel of the cable to be tested, and when the third bit error rate is within the error range, determine the data of the cable to be tested The transmission accuracy is very high, and it is determined that the cable to be tested is qualified.
需要说明的是,一个上述数据通道具有一个第二编号,上述测试设备与显示屏通信连接。It should be noted that one of the above-mentioned data channels has a second number, and the above-mentioned testing equipment is in communication connection with the display screen.
为了直观显示合格的待测线缆各数据通道的数据传输的准确性,在一种可选的方案,上述测试设备还包括:In order to visually display the accuracy of data transmission of each data channel of the qualified cable to be tested, in an optional solution, the above test equipment also includes:
第二输出模块,用于将各上述第二编号和各上述第二编号对应的上述第三误码率输出至上述显示屏。The second output module is configured to output each of the above-mentioned second numbers and the above-mentioned third bit error rate corresponding to each of the above-mentioned second numbers to the above-mentioned display screen.
本实施例中,将合格的待测线缆各数据通道的编号和误码率在显示屏上显示,以直观显示合格的待测线缆各数据通道的数据传输的准确性。In this embodiment, the number and bit error rate of each data channel of the qualified cable to be tested are displayed on the display screen, so as to intuitively display the accuracy of data transmission of each data channel of the qualified cable to be tested.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above-mentioned modules can be realized by software or hardware. For the latter, it can be realized by the following methods, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules can be combined in any combination The forms of are located in different processors.
本申请的实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.
在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an exemplary embodiment, the above-mentioned computer-readable storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM) , mobile hard disk, magnetic disk or optical disk and other media that can store computer programs.
本申请的实施例还提供了提供了一种测试系统,上述测试系统包括:测试设备,上述测试设备的输出端与待测线缆的一端通信连接,上述测试设备的输入端与上述待测线缆的另一端通信连接,上述测试设备实现上述任一种上述的方法的步骤;显示屏,上述显示屏与上述测试设备通信连接,上述显示屏用于显示测试结果。The embodiment of the present application also provides a test system, the test system includes: test equipment, the output end of the test equipment is connected to one end of the cable to be tested, the input end of the test equipment is connected to the line to be tested The other end of the cable is connected in communication, and the above-mentioned test equipment implements the steps of any one of the above-mentioned methods; a display screen, the above-mentioned display screen is connected in communication with the above-mentioned test equipment, and the above-mentioned display screen is used to display test results.
在一个示例性实施例中,上述测试设备采用Retimer主板,并且,Retimer主板的输出端与ISI补偿板的一端连接,ISI补偿板的另一端与线缆治具板的一端,线缆治具板的另一端与待测线缆的一端连接,待测线缆的另一端与Retimer主板的输入端连接。In an exemplary embodiment, the above-mentioned test equipment adopts a Retimer mainboard, and the output end of the Retimer mainboard is connected to one end of the ISI compensation board, the other end of the ISI compensation board is connected to one end of the cable fixture plate, and the cable fixture plate The other end of the test cable is connected to one end of the cable to be tested, and the other end of the cable to be tested is connected to the input terminal of the Retimer main board.
本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and exemplary implementation manners, and details will not be repeated here in this embodiment.
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned application can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network composed of multiple computing devices In fact, they can be implemented in program code executable by a computing device, and thus, they can be stored in a storage device to be executed by a computing device, and in some cases, can be executed in an order different from that shown here. Or described steps, or they are made into individual integrated circuit modules, or multiple modules or steps among them are made into a single integrated circuit module to realize. As such, the present application is not limited to any specific combination of hardware and software.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, there may be various modifications and changes in the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of this application shall be included within the scope of protection of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310323377.XA CN116318468A (en) | 2023-03-29 | 2023-03-29 | Determination method, test equipment and test system for cable qualification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310323377.XA CN116318468A (en) | 2023-03-29 | 2023-03-29 | Determination method, test equipment and test system for cable qualification |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116318468A true CN116318468A (en) | 2023-06-23 |
Family
ID=86790317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310323377.XA Pending CN116318468A (en) | 2023-03-29 | 2023-03-29 | Determination method, test equipment and test system for cable qualification |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116318468A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117917580A (en) * | 2023-11-08 | 2024-04-23 | 深圳市聚亿芯电子有限公司 | Cable identification method, device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0338126B1 (en) * | 1988-04-22 | 1993-05-19 | Hewlett-Packard Company | Method and apparatus for testing twisted-pair interconnections of a local area network |
US6332166B1 (en) * | 1998-12-16 | 2001-12-18 | International Business Machines Corporation | Adaptive interface apparatus and method for data terminal elements in a communication network transmitting and receiving ethernet over a shielded twisted pair cabling system |
CN101435329A (en) * | 2008-12-08 | 2009-05-20 | 北京航空航天大学 | Error rate test system based on Bayes theorem |
US9935664B1 (en) * | 2015-10-21 | 2018-04-03 | Marvell International Ltd. | Signal detection and power measurement with multi-band filter to mitigate narrowband interference |
CN112769457A (en) * | 2020-12-31 | 2021-05-07 | 硅谷数模(苏州)半导体有限公司 | Cable testing device and cable testing method |
CN115542136A (en) * | 2022-09-29 | 2022-12-30 | 苏州工业园区慧鱼科技有限公司 | Cable testing method and device based on FPGA |
-
2023
- 2023-03-29 CN CN202310323377.XA patent/CN116318468A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0338126B1 (en) * | 1988-04-22 | 1993-05-19 | Hewlett-Packard Company | Method and apparatus for testing twisted-pair interconnections of a local area network |
US6332166B1 (en) * | 1998-12-16 | 2001-12-18 | International Business Machines Corporation | Adaptive interface apparatus and method for data terminal elements in a communication network transmitting and receiving ethernet over a shielded twisted pair cabling system |
CN101435329A (en) * | 2008-12-08 | 2009-05-20 | 北京航空航天大学 | Error rate test system based on Bayes theorem |
US9935664B1 (en) * | 2015-10-21 | 2018-04-03 | Marvell International Ltd. | Signal detection and power measurement with multi-band filter to mitigate narrowband interference |
CN112769457A (en) * | 2020-12-31 | 2021-05-07 | 硅谷数模(苏州)半导体有限公司 | Cable testing device and cable testing method |
CN115542136A (en) * | 2022-09-29 | 2022-12-30 | 苏州工业园区慧鱼科技有限公司 | Cable testing method and device based on FPGA |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117917580A (en) * | 2023-11-08 | 2024-04-23 | 深圳市聚亿芯电子有限公司 | Cable identification method, device and storage medium |
CN117917580B (en) * | 2023-11-08 | 2025-06-24 | 深圳市聚亿芯电子有限公司 | Cable identification method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108242952B (en) | A kind of BOB equipment Alignment system and method | |
CN109976999B (en) | Method and device for measuring coverage rate of test cases | |
CN111327471B (en) | Network quality analysis method, device, computer equipment and storage medium | |
CN112511367B (en) | Test method and test equipment | |
CN112948195B (en) | Interface testing method, device, electronic equipment and storage medium | |
CN110569194A (en) | interface testing method and device, electronic equipment and storage medium | |
CN111221727A (en) | Test method, test device, electronic equipment and computer readable medium | |
CN106712871B (en) | Antenna performance optimization method and system | |
CN113572658A (en) | Vehicle control signal testing method and device, electronic equipment and storage medium | |
CN116318468A (en) | Determination method, test equipment and test system for cable qualification | |
US20160294668A1 (en) | Measuring device and measuring method for efficiently processing measuring results | |
CN114116480A (en) | Method, device, medium and equipment for determining application program test coverage rate | |
CN108111367A (en) | Performance test methods and device | |
CN116866236B (en) | Router reliability batch test method, system, terminal and storage medium | |
CN110022178B (en) | Detection circuit and detection method of WiFi module | |
CN112084102A (en) | Interface pressure testing method and device | |
CN109462514B (en) | XDR data quality assessment method, device and computer-readable storage medium | |
CN111506501B (en) | Method and device for generating test instruction set and electronic equipment | |
CN102269827B (en) | System and method for realizing testing of geophysical exploration digital packet | |
CN114416597B (en) | Method and device for generating test case records | |
CN117294630A (en) | Communication protocol testing method, device, computer equipment and storage medium | |
CN115454819A (en) | Test method, device, equipment and storage medium of blockchain cross-chain system | |
CN115484200B (en) | Buried point testing method, buried point testing device, server, storage medium and buried point testing system | |
US20250217063A1 (en) | Test instrument with integrated model data base | |
CN114785712B (en) | Error code meter-based jitter tolerance testing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |