Interface inspection method, device, electronic device and storage medium
By adopting different inspection methods and sequences in the trial production and mass production stages, the problem of low Ethernet interface inspection efficiency was solved, abnormal bit error rates could be quickly identified, and the production efficiency and fault diagnosis capabilities of communication equipment were improved.
Patent Information
- Application Number
- CN202310837707.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-10
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2043-07-10
AI Technical Summary
The Ethernet interface inspection efficiency in the prior art is low, and it is impossible to quickly determine whether the bit error rate requirements defined by the relevant protocols are met.
Three different test methods (the first test method, the second test method, and the third test method) are used to perform bit error rate tests on Ethernet interfaces during trial production and mass production, respectively. Different test sequences and standards are used to improve test efficiency, including comprehensive judgment based on communication protocols, error correction code transmission rate, and signal quality evaluation indicators.
The inspection efficiency of Ethernet interfaces was improved during the trial production phase, and abnormal bit error rates were quickly identified during the mass production phase, thereby enhancing the production efficiency and fault diagnosis capabilities of communication equipment.
Smart Images

Figure CN116707722B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an interface verification method, device, electronic device, and storage medium. Background Art
[0002] Ethernet interfaces are a primary feature of today's communications equipment (such as switches, routers, and network cards) and are a crucial component of computer networks. Ensuring that Ethernet interface performance meets standards is a key component of quality assurance for these devices. Therefore, during the production process of communications equipment containing Ethernet interfaces, production inspection is required to confirm that these interfaces meet performance standards.
[0003] When testing an Ethernet interface, it usually takes a long time to determine whether the tested Ethernet interface meets the bit error rate requirements defined by the relevant protocol.
[0004] Therefore, how to improve the inspection efficiency of Ethernet interfaces during the production process has become a technical problem that needs to be solved urgently in the industry. Summary of the Invention
[0005] The present application provides an interface inspection method, device, electronic device and storage medium for solving the technical problem of how to improve the inspection efficiency of Ethernet interfaces during the production process.
[0006] This application provides an interface verification method, including:
[0007] When the device model corresponding to the current communication device is in the trial production stage, determining a bit error rate test result of the Ethernet interface in the current communication device based on the test sequence of the first test method and the second test method;
[0008] When the device model corresponding to the current communication device is in the mass production stage, determining a bit error rate test result of the Ethernet interface in the current communication device based on the test sequence of the third test method, the second test method, and the first test method;
[0009] Among them, the inspection standard corresponding to the second inspection method is determined based on the inspection result of the communication equipment corresponding to the equipment model in the trial production stage in the first inspection method; the inspection standard corresponding to the third inspection method is determined based on the inspection result of the communication equipment corresponding to the equipment model in the trial production stage in the second inspection method.
[0010] In some embodiments, the first inspection method is determined based on the following steps:
[0011] Determining a transmission rate index and a bit error rate index corresponding to the Ethernet interface in the current communication device based on the communication protocol followed by the Ethernet interface configured for the device model;
[0012] Determine a bit error rate test coefficient corresponding to the Ethernet interface in the current communication device;
[0013] Determining a first inspection time corresponding to the Ethernet interface in the current communication device based on the transmission rate indicator, the bit error rate indicator, and the bit error rate inspection coefficient;
[0014] Determine a first bit error tolerance value corresponding to the Ethernet interface in the current communication device based on the first inspection time and the bit error rate indicator;
[0015] A first bit error rate test result of the Ethernet interface in the current communication device is determined based on the first bit error tolerance value and the first test time.
[0016] In some embodiments, determining a bit error rate test coefficient corresponding to the Ethernet interface in the current communication device includes:
[0017] Determine the confidence level when the probability of an error event satisfies the Poisson distribution;
[0018] Based on the confidence level, the bit error rate test coefficient is determined.
[0019] In some embodiments, the second inspection method is determined based on the following steps:
[0020] In the process of determining a first bit error rate test result of the Ethernet interface in the communication device based on the first test method, obtaining a bit error correction number corresponding to the Ethernet interface in the communication device;
[0021] Determining a correctable error rate based on a number of bit error corrections corresponding to Ethernet interfaces in all communication devices for which the first bit error rate test result passes;
[0022] Determining a correctable error rate test indicator based on a probability distribution of correctable error rates of a plurality of communication devices;
[0023] Determining a second test time corresponding to the Ethernet interface in the current communication device based on the correctable error rate test indicator, the bit error rate test coefficient, and the error correction code transmission rate;
[0024] Determine a second bit error tolerance value corresponding to the Ethernet interface based on the second inspection time and the correctable error rate inspection indicator;
[0025] A second bit error rate test result of the Ethernet interface in the current communication device is determined based on the second bit error tolerance value and the second test time.
[0026] In some embodiments, the third inspection method is determined based on the following steps:
[0027] In the process of determining a second bit error rate test result of the Ethernet interface in the communication device based on the second test method, obtaining a signal quality evaluation index corresponding to the Ethernet interface in the communication device;
[0028] Determining a signal quality target value based on a signal quality evaluation index corresponding to the Ethernet interface in all communication devices for which the second bit error rate test result passes;
[0029] Obtaining a signal quality feedback value sent by a serial communication element in an Ethernet interface of a current communication device;
[0030] Based on a comparison result between the signal quality feedback value and the signal quality target value, a third bit error rate test result of the Ethernet interface in the current communication device is determined.
[0031] In some embodiments, determining the bit error rate test result of the Ethernet interface in the current communication device based on the test order of the third test method, the second test method, and the first test method includes:
[0032] Determine, based on the third testing method, a third bit error rate test result of the Ethernet interface in the current communication device;
[0033] If the third bit error rate test result is passed, determining a second bit error rate test result of the Ethernet interface in the current communication device based on the second test method;
[0034] If the second bit error rate test result is passed, determining a first bit error rate test result of the Ethernet interface in the current communication device based on the first test method;
[0035] In a case where the first bit error rate test result is passed, it is determined that the bit error rate test result of the Ethernet interface in the current communication device is passed.
[0036] In some embodiments, determining the bit error rate test result of the Ethernet interface in the current communication device based on the test order of the third test method, the second test method, and the first test method includes:
[0037] Determine, based on the third testing method, a third bit error rate test result of the Ethernet interface in the current communication device;
[0038] If the third bit error rate test result is failed, determining a second bit error rate test result of the Ethernet interface in the current communication device based on the second test method;
[0039] If the second bit error rate test result is failed, determining a first bit error rate test result of the Ethernet interface in the current communication device based on the first test method;
[0040] When at least one of the third bit error rate test result, the second bit error rate test result, and the first bit error rate test result is passed, it is determined that the bit error rate test result of the Ethernet interface in the current communication device is passed.
[0041] This application provides an interface verification method, including:
[0042] A first testing unit is configured to determine a bit error rate test result of an Ethernet interface in the current communication device based on a test sequence of a first testing method and a second testing method when a device model corresponding to the current communication device is in a trial production stage;
[0043] a second testing unit, configured to determine, when a device model corresponding to the current communication device is in a mass production stage, a bit error rate test result of the Ethernet interface in the current communication device based on a test sequence of a third test method, the second test method, and the first test method;
[0044] Among them, the inspection standard corresponding to the second inspection method is determined based on the inspection result of the communication equipment corresponding to the equipment model in the trial production stage in the first inspection method; the inspection standard corresponding to the third inspection method is determined based on the inspection result of the communication equipment corresponding to the equipment model in the trial production stage in the second inspection method.
[0045] The present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the interface verification method when executing the computer program.
[0046] The present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, and the computer program implements the interface verification method when executed by a processor.
[0047] The interface inspection method, device, electronic device and storage medium provided in the present application determine, in the trial production stage, the bit error rate inspection result of the Ethernet interface in the current communication equipment based on the inspection order of the first inspection method and the second inspection method; in the mass production stage, the bit error rate inspection result of the Ethernet interface in the current communication equipment is determined based on the inspection order of the third inspection method, the second inspection method and the first inspection method; since the inspection standard corresponding to the third inspection method is determined based on the inspection result corresponding to the communication equipment corresponding to the equipment model in the trial production stage in the second inspection method; the inspection standard corresponding to the second inspection method is determined based on the inspection result corresponding to the communication equipment corresponding to the equipment model in the trial production stage in the first inspection method; so that the inspection information generated by the communication equipment in the trial production stage can be applied in the mass production stage, thereby improving the inspection efficiency of the Ethernet interface in the production process; in the mass production stage, the inspection order of the third inspection method, the second inspection method and the first inspection method are adopted in sequence, which can quickly and effectively identify Ethernet interfaces and communication equipment with abnormal bit error rates, improve the production efficiency of the communication equipment, and provide clue information for fault diagnosis of the Ethernet interface. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0049] In order to more clearly illustrate the technical solutions in the present application or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0050] Figure 1 This is a flow chart of the interface inspection method provided by this application;
[0051] Figure 2 This is a schematic diagram of the switch serpentine flow inspection provided by this application;
[0052] Figure 3 This is a schematic diagram of the structural model of the Ethernet interface provided by this application;
[0053] Figure 4 This is one of the schematic diagrams of the interface inspection process in the mass production stage provided by this application;
[0054] Figure 5 This is the second schematic diagram of the interface inspection process in the mass production stage provided by this application;
[0055] Figure 6 This is a schematic diagram of the interface inspection process during the trial production phase provided by this application;
[0056] Figure 7 It is a structural diagram of the interface inspection device provided by this application;
[0057] Figure 8 It is a structural diagram of the electronic device provided in this application. DETAILED DESCRIPTION
[0058] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention 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 in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0059] It should be noted that the terms "first", "second" etc. in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable in appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising 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 that are inherent to these processes, methods, products or equipment.
[0060] Figure 1 This is a flow chart of the interface inspection method provided by this application, such as Figure 1 As shown, the method includes step 110 and step 120. The steps of the method flow are only a possible implementation of the present application.
[0061] Step 110: When the device model corresponding to the current communication device is in the trial production stage, determine the bit error rate test result of the Ethernet interface in the current communication device based on the test sequence of the first test method and the second test method.
[0062] The inspection standard corresponding to the second inspection method is determined based on the inspection result of the communication equipment corresponding to the equipment model in the trial production stage in the first inspection method.
[0063] Specifically, the interface verification method provided in the embodiments of the present application is implemented by an interface verification device. The device can be implemented in software form, such as an interface verification program running on a computer, or in hardware form, such as a computer, mobile terminal, or server connected to a communication device.
[0064] Communications equipment refers to devices used for data communications, including switches, routers, and network cards. These devices typically have Ethernet interfaces, which are used to establish Ethernet communication links with other devices and facilitate data transmission. During the manufacturing process, Ethernet interfaces must be inspected to ensure they meet the bit error rate requirements specified in the relevant protocols. This ensures that the Ethernet interfaces meet the data transmission performance requirements.
[0065] Device models refer to devices with identical hardware and software configurations. For example, Ethernet switches can be divided into multiple models, such as 100G and 400G, with 1G representing 1 gigabit. The R&D process for communications equipment of the same model can be divided into two phases: pilot production and mass production. During the pilot production phase, a small number of communications devices are typically produced, and various performance tests are conducted to verify that the performance meets the standards. Once these standards are met, mass production can begin. During the mass production phase, large quantities of communications equipment are typically produced, and various performance tests are also conducted to verify that the performance meets the relevant product quality requirements.
[0066] Current communication equipment requires Ethernet interface inspection. At least three different inspection methods can be used for this purpose. These methods are the first, second, and third inspection methods. These methods are designed to identify defective Ethernet interfaces in communication equipment, i.e., those with abnormal bit error rates. This allows for fault diagnosis and improves product compliance and production efficiency.
[0067] The test criteria are used to determine whether an Ethernet interface has an abnormal bit error rate, typically expressed through test indicators. The test result is the result obtained after testing the Ethernet interface, which can be either passed or failed.
[0068] The above three inspection methods can adopt different inspection principles, and the inspection standards of the latter inspection method can be determined based on the inspection results of the former inspection method.
[0069] During the trial production stage, the first inspection method can be first used to inspect the Ethernet interface in the current communication equipment to obtain a first bit error rate inspection result; then, the inspection standard corresponding to the second inspection method is determined based on the first bit error rate inspection result, and the second inspection method is used to inspect the Ethernet interface in the current communication equipment to obtain a second bit error rate inspection result.
[0070] If both the first bit error rate test result and the second bit error rate test result are passed, it can be considered that the bit error rate test result of the Ethernet interface in the current communication device has passed, and the product quality of the current communication device meets the standard. If either the first bit error rate test result or the second bit error rate test result is failed, it can be considered that the bit error rate test result of the Ethernet interface in the current communication device has failed, and the product quality of the current communication device does not meet the standard.
[0071] Step 120: When the device model corresponding to the current communication device is in the mass production stage, determine the bit error rate test result of the Ethernet interface in the current communication device based on the test sequence of the third test method, the second test method, and the first test method.
[0072] Among them, the inspection standard corresponding to the third inspection method is determined based on the inspection result of the communication equipment corresponding to the equipment model in the trial production stage in the second inspection method.
[0073] Specifically, the inspection standard corresponding to the third inspection method may be determined according to the inspection result corresponding to the second inspection method of the communication device corresponding to the device model in the trial production stage.
[0074] When the production quantity of the communication devices corresponding to the device model reaches a preset number, the device model can be considered to have entered the mass production stage. The Ethernet interfaces of the current communication devices produced during the mass production stage can be inspected using the third inspection method, the second inspection method, and the first inspection method in that order.
[0075] There are two ways to perform inspections in the order of the third inspection method, the second inspection method, and the first inspection method. The first method is to perform the second inspection method only if the first inspection method passes. Only when all three inspection methods pass can the bit error rate inspection result of the Ethernet interface in the current communication device be determined to have passed. The second method is to directly determine that the bit error rate inspection result of the Ethernet interface in the current communication device has passed as long as the first inspection method passes. The first method requires the use of three inspection methods, and the obtained inspection results are highly accurate, but the inspection process is relatively time-consuming. The second method requires the use of at least one of the three inspection methods, and the inspection process is relatively short and the inspection cost is relatively low.
[0076] In general, in the mass production stage, according to the inspection sequence of the third inspection method, the second inspection method and the first inspection method, communication devices with failed inspection results can be quickly screened out, reducing the overall inspection time of the communication devices.
[0077] The interface inspection method provided in the embodiment of the present application determines the bit error rate inspection result of the Ethernet interface in the current communication device based on the inspection order of the first inspection method and the second inspection method in the trial production stage; and determines the bit error rate inspection result of the Ethernet interface in the current communication device based on the inspection order of the third inspection method, the second inspection method and the first inspection method in the mass production stage; because the inspection standard corresponding to the third inspection method is determined based on the inspection result corresponding to the communication device corresponding to the device model in the trial production stage in the second inspection method; the inspection standard corresponding to the second inspection method is determined based on the inspection result corresponding to the communication device corresponding to the device model in the trial production stage in the first inspection method; so that the inspection information generated by the communication device in the trial production stage can be applied in the mass production stage, thereby improving the inspection efficiency of the Ethernet interface in the production process; in the mass production stage, the inspection order of the third inspection method, the second inspection method and the first inspection method are adopted in sequence, which can quickly and effectively identify Ethernet interfaces and communication devices with abnormal bit error rates, improve the production efficiency of the communication equipment, and provide clue information for fault diagnosis of the Ethernet interface.
[0078] It should be noted that each implementation method of the present application can be freely combined, the order can be changed, or it can be executed separately, and does not need to rely on or depend on a fixed execution order.
[0079] In some embodiments, the first inspection method is determined based on the following steps:
[0080] Based on the communication protocol followed by the Ethernet interface configured on the device model, determine the transmission rate index and bit error rate index corresponding to the Ethernet interface in the current communication device;
[0081] Determine the bit error rate test coefficient corresponding to the Ethernet interface in the current communication device;
[0082] Determining a first inspection time corresponding to the Ethernet interface in the current communication device based on the transmission rate indicator, the bit error rate indicator, and the bit error rate inspection coefficient;
[0083] Determining a first bit error tolerance value corresponding to the Ethernet interface in the current communication device based on the first inspection time and bit error rate indicator;
[0084] A first bit error rate test result of the Ethernet interface in the current communication device is determined based on the first bit error tolerance value and the first test time.
[0085] Specifically, the transmission rate index and bit error rate index corresponding to the Ethernet interface in the current communication device can be obtained by querying the communication protocol followed by the Ethernet interface configured in the device model.
[0086] Bit errors occur when decay changes the signal voltage during transmission, causing signal damage and resulting in bit errors. The bit error rate is a measure of the accuracy of data transmission within a specified timeframe.
[0087] The bit error rate (BER) or frame error rate (FER) per unit time, as defined by the communication protocol, can be expressed as ER1. ER is the abbreviation for Error Ratio. The transmission rate (R1) is the data transmission rate defined by the communication protocol. This rate can be expressed in bits or frames, and can be expressed as R1. When paired with the bit error rate (BER), the units must match.
[0088] The bit error rate test coefficient corresponding to the Ethernet interface in current communication equipment can be expressed as K. Since the bit error rate indicator is randomly distributed, the bit error rate test coefficient can be determined based on actual conditions.
[0089] According to the transmission rate index R1, the bit error rate index ER1 and the bit error rate test coefficient k, the first test time T1 corresponding to the Ethernet interface in the current communication device is determined, which can be expressed by the formula:
[0090] T1=k / (R1×ER1)
[0091] According to the first test time T1 and the bit error rate indicator ER1, the first bit error tolerance value Emax1 corresponding to the Ethernet interface in the current communication device can be determined, which is expressed as follows:
[0092] Emax1=T1×ER1
[0093] The first bit error tolerance value is used to indicate the maximum number of bit errors allowed in the first checking method.
[0094] The Ethernet interface in the current communication device can be tested based on the first error tolerance value and the first test time. If, within the first test time T1, the Ethernet interface in the current communication device does not detect any uncorrectable error or the number of bit errors does not exceed the predefined first error tolerance value Emax1, the first bit error rate test result of the Ethernet interface in the current communication device can be determined to be a pass; otherwise, the test result is a fail.
[0095] The interface inspection method provided in the embodiment of the present application determines the transmission rate index and bit error rate index corresponding to the Ethernet interface according to the communication protocol followed by the Ethernet interface configured by the device model, and then determines the first bit error tolerance value and the first inspection time, performs a bit error rate inspection on the Ethernet interface, and improves the accuracy and reliability of the interface inspection.
[0096] In some embodiments, determining a bit error rate test coefficient corresponding to an Ethernet interface in a current communication device includes:
[0097] Determine the confidence level when the probability of an error event satisfies the Poisson distribution;
[0098] Based on the confidence level, the bit error rate test coefficient is determined.
[0099] Specifically, during data transmission, whether each bit is erroneous is a discrete random probability event. Each bit error can be considered a bit error event. The probability of a bit error event follows a Poisson distribution.
[0100] The confidence level α can be set. The bit error rate test coefficient k can be calculated based on the confidence level α, which can be expressed as:
[0101] k=-ln(1-α)
[0102] The following is an example of Ethernet interface inspection on a 400G switch. According to the communication protocol followed by the switch, the frame error rate of the switch is determined to be 1.7×10 -12 (frame length 64Byte, minimum interframe gap 12Byte, minimum frame preamble 8Byte, Byte is byte), as the bit error rate indicator ER1. Assuming that the probability of bit error events satisfies the Poisson distribution, assuming that the expected bit error rate is 0, and the confidence level α is 99.7%. The bit error rate test coefficient k can be calculated to be 3.5. For a 400Gbit / s (gigabit per second) Ethernet interface, the frame forwarding rate of 64Byte per unit time is 400G / [(64+8+12)×8]=595.2Mbit / s (megabit per second). The frame forwarding rate is used as the transmission rate indicator R1. The first test time T1 can be obtained as 3.5 / (5.942×10 8 ×1.7×10 -1 )≈3500 seconds.
[0103] A first test method is performed on all tested communication devices. Ethernet frames with a length of 64 bytes and a minimum interframe gap (12 bytes) defined by the protocol are applied to each tested interface at the maximum rate of the interface. If the frame error rate is zero within the first test time T1, the first bit error rate test result of the Ethernet interface in the communication device passes.
[0104] The interface inspection method provided in the embodiment of the present application determines the bit error rate inspection coefficient through confidence when the probability of occurrence of a bit error event satisfies the Poisson distribution, thereby improving the accuracy and reliability of the interface inspection.
[0105] In some embodiments, the second inspection method is determined based on the following steps:
[0106] In the process of determining a first bit error rate test result of the Ethernet interface in the communication device based on the first test method, obtaining a bit error correction number corresponding to the Ethernet interface in the communication device;
[0107] Determining a correctable error rate based on a number of bit error corrections corresponding to Ethernet interfaces in all communication devices for which a first bit error rate test result passes;
[0108] Determining a correctable error rate test indicator based on a probability distribution of correctable error rates of a plurality of communication devices;
[0109] Determining a second test time corresponding to the Ethernet interface in the current communication device based on a correctable error rate test indicator, a bit error rate test coefficient, and an error correction code transmission rate;
[0110] Determine a second bit error tolerance value corresponding to the Ethernet interface based on the second test time and the correctable error rate test indicator;
[0111] Based on the second bit error tolerance value and the second test time, a second bit error rate test result of the Ethernet interface in the current communication device is determined.
[0112] Specifically, the FEC (Forward Error Correction) error correction function converts the information code into a code with a certain error correction capability on the channel encoder at the transmitting end. The channel decoder at the receiving end decodes the received code. If the number of errors generated during transmission is within the error correction capability range (non-continuous errors), the decoder will locate the errors and correct them to improve the signal quality.
[0113] During the bit error rate test using the first test method, for communication devices equipped with Ethernet interfaces supporting FEC, the bit error correction count corresponding to the Ethernet interfaces in these communication devices can be collected. The bit error correction count is the number of bit errors corrected by the FEC error correction engine configured in the Ethernet interface. This count can be obtained synchronously through a test program in the communication device.
[0114] The number of bit error corrections corresponding to the Ethernet interfaces of all communication devices that passed the first bit error rate test results collected in the first test method can be determined as the test criterion for the second test method, namely, the Correctable Error Ratio (CER). The Correctable Error Ratio can be calculated by dividing the number of bit error corrections by the first test time.
[0115] For example, for 400G switches, the communication protocol defines the Ethernet interface using the RS-FEC (544, 528) error correction method. Every 544 symbols constitute an FEC frame (forward error correction frame). When the number of erroneous symbols does not exceed 15, all errors can be corrected. When the number of errors exceeds 15, all 544 symbols will fail verification, making it unknown how many symbols are erroneous. The FEC error correction engine in the Ethernet interface can count the number of corrected symbols or the symbol correction rate per unit time, namely CSER (Correctable Symbol Error Ratio).
[0116] To obtain a more accurate and reliable correctable error rate test metric, the correctable error rates of multiple communication devices can be collected and the correctable error rate test metric determined based on the probability distribution of the correctable error rates. For example, the correctable error rates of 100 communication devices can be statistically analyzed and fitted to a normal distribution to obtain the mean μ and standard deviation σ. μ + 3σ or μ + 5σ can be used as the test criteria in the second test method, resulting in the correctable error rate test metric, denoted by ER2.
[0117] In the second inspection method, since the correctable error rate inspection index is used as the inspection standard, the second inspection time T2 corresponding to the Ethernet interface in the current communication device can be determined based on the correctable error rate inspection index ER2, the bit error rate inspection coefficient k, and the error correction code transmission rate R2. It can be expressed as follows:
[0118] T2=k / (R2×ER2)
[0119] According to the second test time T2 and the correctable error rate test index ER2, the second error tolerance value Emax2 corresponding to the Ethernet interface is determined, which can be expressed as follows:
[0120] Emax2=T2×ER2
[0121] Execute the second inspection method, for all inspected communication devices, set the error correction code transmission rate R2 on each inspected interface to transmit the error correction code, and count whether the allowed number of bit errors exceeds the second error tolerance value within the second inspection time T2. If not, the second bit error rate test result of the Ethernet interface in the communication device is passed; otherwise, it is failed.
[0122] Typically, ER2×R2 is much larger than ER1×R1, and therefore, the second testing time T2 is smaller than the first testing time T1.
[0123] In addition, a pseudo random binary sequence (PRBS) code can also be used for testing. In Ethernet interface testing, the test is performed based on the bit error rate of the PRBS code.
[0124] The interface inspection method provided in the embodiment of the present application uses the number of bit error corrections corresponding to the Ethernet interfaces in all communication devices that have passed the first bit error rate test result to determine the correctable error rate, which is used as the inspection standard in the second inspection method. This realizes the application of the data accumulated in the first inspection method, shortens the inspection time, improves the inspection efficiency of the Ethernet interface in the production process, and reduces the production cost of the communication equipment.
[0125] In the above embodiment, when the first inspection method and the second inspection method are used to inspect the communication device, traffic needs to be applied.
[0126] Figure 2 This is a schematic diagram of the switch serpentine flow inspection provided by this application, such as Figure 2 As shown, for a switch, the configured interfaces include a management interface and an Ethernet interface to be tested.
[0127] During the pilot phase, when performing the first and second inspection methods, if the switch has multiple Ethernet interfaces to be inspected, external cables or loopback cables can be used to connect the multiple Ethernet interfaces to be inspected. The management interface is connected to the industrial computer via Ethernet for data transmission.
[0128] Alternatively, you can use traffic generated by the communication device itself, or an independent Ethernet traffic generation device, Ethernet tester, etc.
[0129] During the trial production phase, in order to obtain more accurate inspection results and make the inspection standards of the second inspection method more accurate, when using the first inspection method, a sufficient number of communication devices can be used for inspection, such as 100 devices. This number can be set according to actual needs.
[0130] In some embodiments, the third inspection method is determined based on the following steps:
[0131] In the process of determining the second bit error rate test result of the Ethernet interface in the communication device based on the second test method, obtaining a signal quality evaluation index corresponding to the Ethernet interface in the communication device;
[0132] Determining a signal quality target value based on a signal quality evaluation index corresponding to the Ethernet interface in all communication devices for which the second bit error rate test result passes;
[0133] Obtaining a signal quality feedback value sent by a serial communication element in an Ethernet interface of a current communication device;
[0134] Based on the comparison result of the signal quality feedback value and the signal quality target value, a third bit error rate test result of the Ethernet interface in the current communication device is determined.
[0135] Specifically, Figure 3 This is a schematic diagram of the structural model of the Ethernet interface provided by this application, such as Figure 3 As shown, the Ethernet interface includes a serializer / deserializer (SERDES) interface, a pseudo-random binary sequence (PRBS) generator, a pseudo-random binary sequence (PRBS) checker, a forward error correction (FEC) engine, a physical coding sublayer (PCS), a reconciliation sublayer (RS), and a media access control sublayer (MAC).
[0136] The signal quality evaluation index is an indicator used to evaluate the quality of the electrical signal used to transmit data on the Ethernet interface. It can be an eye diagram or a signal-to-interference plus noise ratio (SNR).
[0137] Signal quality evaluation indicators can be obtained through the SERDES interface. The SERDES interface can measure the signal's eye width and eye height, and then multiply them to obtain the eye area, which is used as a signal quality evaluation indicator. The signal-to-noise ratio can also be obtained based on relevant algorithms.
[0138] The signal quality evaluation index will be relatively stable after the link is connected and will only change with temperature.
[0139] In the process of determining the second bit error rate test result of the Ethernet interface in the communication device according to the second test method, a signal quality evaluation index corresponding to the Ethernet interface in the communication device is obtained.
[0140] For all communication devices that pass the second bit error rate test, the minimum value of the signal quality evaluation indicators corresponding to the Ethernet interfaces of these communication devices can be determined as the signal quality target value. This signal quality target value is the test standard for the third test method. For example, the minimum eye area or minimum signal-to-noise ratio can be selected. Alternatively, the average value of the signal quality evaluation indicators can be used as the signal quality target value.
[0141] A signal quality feedback value sent by a serial communication component in an Ethernet interface of the current communication device can be obtained and compared with a target signal quality value. If the signal quality feedback value is greater than the target signal quality value, it indicates that the signal quality is reliable, and the third bit error rate test result of the Ethernet interface of the current communication device is determined to be passed; otherwise, it is determined to be failed. The serial communication component here can be a SERDES interface or other component that can provide signal quality feedback.
[0142] The interface inspection method provided in the embodiment of the present application utilizes the signal quality evaluation index obtained during the inspection of the Ethernet interface in the communication equipment by the second inspection method as the inspection standard in the third inspection method, thereby realizing the application of the data accumulated in the second inspection method, shortening the inspection time, improving the inspection efficiency of the Ethernet interface in the production process, and reducing the production cost of the communication equipment.
[0143] In some embodiments, step 120 includes:
[0144] Determining a third bit error rate test result of the Ethernet interface in the current communication device based on the third test method;
[0145] If the third bit error rate test result is passed, determining a second bit error rate test result of the Ethernet interface in the current communication device based on the second test method;
[0146] If the second bit error rate test result is passed, determining a first bit error rate test result of the Ethernet interface in the current communication device based on the first test method;
[0147] When the first bit error rate test result is passed, it is determined that the bit error rate test result of the Ethernet interface in the current communication device is passed.
[0148] Specifically, during the mass production phase, a conservative inspection strategy may be used to perform interface inspection on the communication equipment.
[0149] Figure 4 This is one of the schematic diagrams of the interface inspection process in the mass production stage provided by this application, such as Figure 4 As shown, the Ethernet interface in the current communication device can be tested using the third test method, the second test method, and the first test method in sequence. Only after the test result of the first test method passes, the second test method is used for testing. Only when the bit error rate test results of all test methods pass, the bit error rate test result of the Ethernet interface in the current communication device is determined to have passed.
[0150] The interface inspection method provided in the embodiment of the present application preferentially uses the third inspection method for inspection. If the inspection passes, the second inspection method is then used for inspection, and the third inspection method is then used again for inspection. The advantage of this inspection process is that if the Ethernet interface of the current communication device has a fault, it can be discovered faster and earlier using the third and second inspection methods, reducing the overall inspection time. At the same time, the first inspection method is retained, ensuring the product quality of the communication device.
[0151] In some embodiments, step 120 includes:
[0152] Determining a third bit error rate test result of the Ethernet interface in the current communication device based on the third test method;
[0153] If the third bit error rate test result is failed, determining a second bit error rate test result of the Ethernet interface in the current communication device based on the second test method;
[0154] If the second bit error rate test result is failed, determining a first bit error rate test result of the Ethernet interface in the current communication device based on the first test method;
[0155] When at least one of the third bit error rate test result, the second bit error rate test result, and the first bit error rate test result is passed, it is determined that the bit error rate test result of the Ethernet interface in the current communication device is passed.
[0156] Specifically, during the mass production phase, an efficient inspection strategy can be used to perform interface inspection on communication equipment.
[0157] Figure 5 This is the second schematic diagram of the interface inspection process in the mass production stage provided by this application, such as Figure 5 As shown, the third inspection method, the second inspection method and the first inspection method can be used in sequence to inspect the Ethernet interface in the current communication device. As long as the inspection result of one inspection method is passed, it can be determined that the bit error rate inspection result of the Ethernet interface in the current communication device is passed.
[0158] The interface inspection method provided in the embodiment of the present application preferably uses the third inspection method for inspection. If it fails, the second inspection method is used for inspection. If it still fails, the first inspection method is used for inspection. With this inspection process, the inspection process is relatively short and the inspection cost is relatively low.
[0159] If either the second or first inspection method passes, the interface performance indicators are considered to meet the requirements. If the third inspection method fails but the second inspection method passes, the standards can be revised as needed. Based on the inspection results of this interface, the inspection criteria for the third inspection method can be updated so that subsequent interfaces under the same operating conditions can directly pass the third inspection criteria. Similar operations can be used for the inspection criteria of the first and second inspection methods.
[0160] In some embodiments, a test quantity threshold may be set, for example, the test quantity threshold may be set to 2000 or the like.
[0161] During the mass production phase, a conservative inspection strategy is preferred for communication equipment interface inspection. After the production volume of communication equipment exceeds the inspection quantity threshold, a high-efficiency inspection strategy can be adopted for communication equipment interface inspection. Before adopting the high-efficiency inspection strategy, the inspection standards can be revised based on the inspection results obtained from the conservative inspection strategy, and then the high-efficiency inspection strategy can be adopted.
[0162] In some embodiments, Figure 6 This is a schematic diagram of the interface inspection process in the trial production stage provided by this application, such as Figure 6 As shown, the first inspection method is first used to inspect the Ethernet interface in the current communication device and collect relevant data. Based on the collected data, the inspection criteria for the second inspection method are determined. Then, the second inspection method is used to inspect the Ethernet interface in the current communication device and collect relevant data. Based on the collected data, the inspection criteria for the third inspection method are determined. The third inspection method is primarily used in the mass production stage. The specific process has been described in the previous embodiment and will not be repeated here.
[0163] In some embodiments, the Ethernet interface in current communication equipment may not support FEC error correction. In this case, the third inspection method can be used directly instead of the second inspection method. For example, the first inspection method is used during the pilot production phase; during the mass production phase, the third inspection method and the first inspection method are used sequentially to inspect the Ethernet interface of the communication device. For another example, the first inspection method and the third inspection method are used sequentially during the pilot production phase; during the mass production phase, the third inspection method and the first inspection method are used sequentially to inspect the Ethernet interface of the communication device.
[0164] In some embodiments, the Ethernet interface in the current communication device may not output signal quality evaluation indicators (including eye diagram area or signal-to-noise ratio, etc.). In this case, the third inspection method may not be used. For example, the first inspection method is used in the trial production stage; the second inspection method and the first inspection method are used in turn to inspect the Ethernet interface of the communication device in the mass production stage. For another example, the first inspection method and the second inspection method are used in turn to inspect the Ethernet interface of the communication device in the trial production stage; the second inspection method and the first inspection method are used in turn to inspect the Ethernet interface of the communication device in the mass production stage.
[0165] The interface inspection method provided in the embodiment of the present application is applicable to Ethernet interface inspection in communication equipment such as switches, routers, and network cards. The method includes three inspection implementation methods and a method for determining the standards corresponding to each inspection method. First, the inspection standard of the first inspection method is confirmed, and the first inspection method is used for production inspection. When the inspection sample size meets the number N1, the inspection data of the samples of the number N1 are combined to confirm the standard used by the second inspection method using the method proposed in this application, and the production inspection is performed using the second inspection method. When the inspection sample size meets the number N2, the data of the samples of the number N2 are combined to confirm the standard used by the third inspection method using the method proposed in this application, and the production inspection is performed using the third inspection method. The standard of the first inspection method is obtained through theoretical calculation. The equipment that passes the inspection using the first inspection method for the first time can be considered to have passed the inspection, and the second inspection method can also be retained and executed again. In this way, the number of samples of the second inspection method can be increased, making it easier to obtain the standard of the third inspection method. The first, second, and third inspection methods, based on the data accumulated by the previous method, successively improve inspection efficiency and reduce production costs.
[0166] Figure 7 This is a schematic diagram of the structure of the interface inspection device provided by this application. Figure 7 As shown, the device includes:
[0167] A first testing unit 710 is configured to determine a bit error rate test result of an Ethernet interface in the current communication device based on a test sequence of a first test method and a second test method when the device model corresponding to the current communication device is in a trial production stage;
[0168] The second testing unit 720 is configured to determine a bit error rate test result of the Ethernet interface in the current communication device based on the test sequence of the third testing method, the second testing method, and the first testing method when the device model corresponding to the current communication device is in the mass production stage;
[0169] Among them, the inspection standard corresponding to the second inspection method is determined based on the inspection results of the communication equipment corresponding to the equipment model in the trial production stage in the first inspection method; the inspection standard corresponding to the third inspection method is determined based on the inspection results of the communication equipment corresponding to the equipment model in the trial production stage in the second inspection method.
[0170] The interface inspection device provided in the embodiment of the present application determines the bit error rate inspection result of the Ethernet interface in the current communication equipment based on the inspection order of the first inspection method and the second inspection method in the trial production stage; and determines the bit error rate inspection result of the Ethernet interface in the current communication equipment based on the inspection order of the third inspection method, the second inspection method and the first inspection method in the mass production stage; because the inspection standard corresponding to the third inspection method is determined based on the inspection result corresponding to the communication equipment corresponding to the equipment model in the trial production stage in the second inspection method; the inspection standard corresponding to the second inspection method is determined based on the inspection result corresponding to the communication equipment corresponding to the equipment model in the trial production stage in the first inspection method; so that the inspection information generated by the communication equipment in the trial production stage can be applied in the mass production stage, thereby improving the inspection efficiency of the Ethernet interface in the production process; in the mass production stage, the inspection order of the third inspection method, the second inspection method and the first inspection method are adopted in sequence, which can quickly and effectively identify Ethernet interfaces and communication equipment with abnormal bit error rates, improve the production efficiency of the communication equipment, and provide clue information for fault diagnosis of the Ethernet interface.
[0171] In some embodiments, the apparatus further comprises:
[0172] A first determining unit is configured to determine a transmission rate index and a bit error rate index corresponding to the Ethernet interface in the current communication device based on the communication protocol followed by the Ethernet interface configured by the device model;
[0173] Determine the bit error rate test coefficient corresponding to the Ethernet interface in the current communication device;
[0174] Determining a first inspection time corresponding to the Ethernet interface in the current communication device based on the transmission rate indicator, the bit error rate indicator, and the bit error rate inspection coefficient;
[0175] Determining a first bit error tolerance value corresponding to the Ethernet interface in the current communication device based on the first inspection time and bit error rate indicator;
[0176] A first bit error rate test result of the Ethernet interface in the current communication device is determined based on the first bit error tolerance value and the first test time.
[0177] In some embodiments, the first determining unit is further configured to:
[0178] Determine the confidence level when the probability of an error event satisfies the Poisson distribution;
[0179] Based on the confidence level, the bit error rate test coefficient is determined.
[0180] In some embodiments, the apparatus further comprises:
[0181] a second determining unit, configured to obtain a bit error correction number corresponding to the Ethernet interface in the communication device during a process of determining a first bit error rate test result of the Ethernet interface in the communication device based on the first test method;
[0182] Determining a correctable error rate based on a number of bit error corrections corresponding to Ethernet interfaces in all communication devices for which a first bit error rate test result passes;
[0183] Determining a correctable error rate test indicator based on a probability distribution of correctable error rates of a plurality of communication devices;
[0184] Determining a second test time corresponding to the Ethernet interface in the current communication device based on a correctable error rate test indicator, a bit error rate test coefficient, and an error correction code transmission rate;
[0185] Determine a second bit error tolerance value corresponding to the Ethernet interface based on the second test time and the correctable error rate test indicator;
[0186] Based on the second bit error tolerance value and the second test time, a second bit error rate test result of the Ethernet interface in the current communication device is determined.
[0187] In some embodiments, the apparatus further comprises:
[0188] A third determining unit is configured to obtain a signal quality evaluation index corresponding to the Ethernet interface in the communication device during the process of determining the second bit error rate test result of the Ethernet interface in the communication device based on the second test method;
[0189] Determining a signal quality target value based on a signal quality evaluation index corresponding to the Ethernet interface in all communication devices for which the second bit error rate test result passes;
[0190] Obtaining a signal quality feedback value sent by a serial communication element in an Ethernet interface of a current communication device;
[0191] Based on the comparison result of the signal quality feedback value and the signal quality target value, a third bit error rate test result of the Ethernet interface in the current communication device is determined.
[0192] In some embodiments, the second inspection unit is specifically configured to:
[0193] Determining a third bit error rate test result of the Ethernet interface in the current communication device based on the third test method;
[0194] If the third bit error rate test result is passed, determining a second bit error rate test result of the Ethernet interface in the current communication device based on the second test method;
[0195] If the second bit error rate test result is passed, determining a first bit error rate test result of the Ethernet interface in the current communication device based on the first test method;
[0196] When the first bit error rate test result is passed, it is determined that the bit error rate test result of the Ethernet interface in the current communication device is passed.
[0197] In some embodiments, the second inspection unit is specifically configured to:
[0198] Determining a third bit error rate test result of the Ethernet interface in the current communication device based on the third test method;
[0199] If the third bit error rate test result is failed, determining a second bit error rate test result of the Ethernet interface in the current communication device based on the second test method;
[0200] If the second bit error rate test result is failed, determining a first bit error rate test result of the Ethernet interface in the current communication device based on the first test method;
[0201] When at least one of the third bit error rate test result, the second bit error rate test result, and the first bit error rate test result is passed, it is determined that the bit error rate test result of the Ethernet interface in the current communication device is passed.
[0202] Figure 8 This is a schematic diagram of the structure of the electronic device provided by this application. Figure 8 As shown, the electronic device may include: a processor (Processor) 810, a communication interface (Communications Interface) 820, a memory (Memory) 830 and a communication bus (Communications Bus) 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other via the communication bus 840. The processor 810 can call the logic commands in the memory 830 to execute the method described in the above embodiment, for example:
[0203] When the device model corresponding to the current communication device is in the trial production stage, the bit error rate test result of the Ethernet interface in the current communication device is determined based on the inspection sequence of the first inspection method and the second inspection method; when the device model corresponding to the current communication device is in the mass production stage, the bit error rate test result of the Ethernet interface in the current communication device is determined based on the inspection sequence of the third inspection method, the second inspection method and the first inspection method; wherein, the inspection standard corresponding to the second inspection method is determined based on the inspection result corresponding to the communication device corresponding to the device model in the trial production stage in the first inspection method; the inspection standard corresponding to the third inspection method is determined based on the inspection result corresponding to the communication device corresponding to the device model in the trial production stage in the second inspection method.
[0204] In addition, the logical commands in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of commands to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0205] The processor in the electronic device provided in the embodiment of the present application can call the logic instructions in the memory to implement the above method. Its specific implementation method is consistent with the implementation method of the aforementioned method and can achieve the same beneficial effects, which will not be repeated here.
[0206] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method provided in each of the above embodiments is executed.
[0207] Its specific implementation is consistent with the aforementioned method implementation and can achieve the same beneficial effects, so it will not be repeated here.
[0208] An embodiment of the present application provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0209] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0210] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0211] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An interface inspection method, characterized in that: include: When the device model corresponding to the current communication device is in the trial production stage, determining a bit error rate test result of the Ethernet interface in the current communication device based on the test sequence of the first test method and the second test method; When the device model corresponding to the current communication device is in the mass production stage, determining a bit error rate test result of the Ethernet interface in the current communication device based on the test sequence of the third test method, the second test method, and the first test method; The inspection standard corresponding to the second inspection method is determined based on the inspection result of the communication equipment corresponding to the equipment model in the trial production stage in the first inspection method; the inspection standard corresponding to the third inspection method is determined based on the inspection result of the communication equipment corresponding to the equipment model in the trial production stage in the second inspection method; The second inspection method is determined based on the following steps: In the process of determining a first bit error rate test result of the Ethernet interface in the communication device based on the first test method, obtaining a bit error correction number corresponding to the Ethernet interface in the communication device; Determining a correctable error rate based on a number of bit error corrections corresponding to Ethernet interfaces in all communication devices for which the first bit error rate test result passes; Determining a correctable error rate test indicator based on a probability distribution of correctable error rates of a plurality of communication devices; Determining a second test time corresponding to the Ethernet interface in the current communication device based on the correctable error rate test indicator, the bit error rate test coefficient, and the error correction code transmission rate; Determine a second bit error tolerance value corresponding to the Ethernet interface based on the second inspection time and the correctable error rate inspection indicator; Determining a second bit error rate test result of the Ethernet interface in the current communication device based on the second bit error tolerance value and the second test time; The third inspection method is determined based on the following steps: In the process of determining a second bit error rate test result of the Ethernet interface in the communication device based on the second test method, obtaining a signal quality evaluation index corresponding to the Ethernet interface in the communication device; Determining a signal quality target value based on a signal quality evaluation index corresponding to the Ethernet interface in all communication devices for which the second bit error rate test result passes; Obtaining a signal quality feedback value sent by a serial communication element in an Ethernet interface of a current communication device; determining a third bit error rate test result of the Ethernet interface in the current communication device based on a comparison result of the signal quality feedback value and the signal quality target value; The determining, based on the inspection sequence of the third inspection method, the second inspection method, and the first inspection method, a bit error rate inspection result of the Ethernet interface in the current communication device includes: Determine, based on the third testing method, a third bit error rate test result of the Ethernet interface in the current communication device; If the third bit error rate test result is failed, determining a second bit error rate test result of the Ethernet interface in the current communication device based on the second test method; If the second bit error rate test result is failed, determining a first bit error rate test result of the Ethernet interface in the current communication device based on the first test method; When at least one of the third bit error rate test result, the second bit error rate test result, and the first bit error rate test result is passed, it is determined that the bit error rate test result of the Ethernet interface in the current communication device is passed.
2. The interface inspection method according to claim 1, characterized in that: The first inspection method is determined based on the following steps: Determining a transmission rate index and a bit error rate index corresponding to the Ethernet interface in the current communication device based on the communication protocol followed by the Ethernet interface configured for the device model; Determine a bit error rate test coefficient corresponding to the Ethernet interface in the current communication device; Determining a first inspection time corresponding to the Ethernet interface in the current communication device based on the transmission rate indicator, the bit error rate indicator, and the bit error rate inspection coefficient; Determine a first bit error tolerance value corresponding to the Ethernet interface in the current communication device based on the first inspection time and the bit error rate indicator; A first bit error rate test result of the Ethernet interface in the current communication device is determined based on the first bit error tolerance value and the first test time.
3. The interface inspection method according to claim 2, characterized in that: The determining of a bit error rate test coefficient corresponding to the Ethernet interface in the current communication device includes: When the probability of the bit error event satisfies the Poisson distribution, the confidence level is determined; Based on the confidence level, the bit error rate test coefficient is determined.
4. The interface inspection method according to any one of claims 1 to 3, characterized in that: The determining, based on the inspection sequence of the third inspection method, the second inspection method, and the first inspection method, a bit error rate inspection result of the Ethernet interface in the current communication device includes: Determine, based on the third testing method, a third bit error rate test result of the Ethernet interface in the current communication device; If the third bit error rate test result is passed, determining a second bit error rate test result of the Ethernet interface in the current communication device based on the second test method; If the second bit error rate test result is passed, determining a first bit error rate test result of the Ethernet interface in the current communication device based on the first test method; In a case where the first bit error rate test result is passed, it is determined that the bit error rate test result of the Ethernet interface in the current communication device is passed.
5. An interface inspection device, characterized in that: include: A first testing unit is configured to determine a bit error rate test result of an Ethernet interface in the current communication device based on a test sequence of a first testing method and a second testing method when a device model corresponding to the current communication device is in a trial production stage; a second testing unit, configured to determine, when a device model corresponding to the current communication device is in a mass production stage, a bit error rate test result of the Ethernet interface in the current communication device based on a test sequence of a third test method, the second test method, and the first test method; The inspection standard corresponding to the second inspection method is determined based on the inspection result of the communication equipment corresponding to the equipment model in the trial production stage in the first inspection method; the inspection standard corresponding to the third inspection method is determined based on the inspection result of the communication equipment corresponding to the equipment model in the trial production stage in the second inspection method; The second inspection method is determined based on the following steps: In the process of determining a first bit error rate test result of the Ethernet interface in the communication device based on the first test method, obtaining a bit error correction number corresponding to the Ethernet interface in the communication device; Determining a correctable error rate based on a number of bit error corrections corresponding to Ethernet interfaces in all communication devices for which the first bit error rate test result passes; Determining a correctable error rate test indicator based on a probability distribution of correctable error rates of a plurality of communication devices; Determining a second test time corresponding to the Ethernet interface in the current communication device based on the correctable error rate test indicator, the bit error rate test coefficient, and the error correction code transmission rate; Determine a second bit error tolerance value corresponding to the Ethernet interface based on the second inspection time and the correctable error rate inspection indicator; Determining a second bit error rate test result of the Ethernet interface in the current communication device based on the second bit error tolerance value and the second test time; The third inspection method is determined based on the following steps: In the process of determining a second bit error rate test result of the Ethernet interface in the communication device based on the second test method, obtaining a signal quality evaluation index corresponding to the Ethernet interface in the communication device; Determining a signal quality target value based on a signal quality evaluation index corresponding to the Ethernet interface in all communication devices for which the second bit error rate test result passes; Obtaining a signal quality feedback value sent by a serial communication element in an Ethernet interface of a current communication device; determining a third bit error rate test result of the Ethernet interface in the current communication device based on a comparison result of the signal quality feedback value and the signal quality target value; The determining, based on the inspection sequence of the third inspection method, the second inspection method, and the first inspection method, a bit error rate inspection result of the Ethernet interface in the current communication device includes: Determine, based on the third testing method, a third bit error rate test result of the Ethernet interface in the current communication device; If the third bit error rate test result is failed, determining a second bit error rate test result of the Ethernet interface in the current communication device based on the second test method; If the second bit error rate test result is failed, determining a first bit error rate test result of the Ethernet interface in the current communication device based on the first test method; When at least one of the third bit error rate test result, the second bit error rate test result, and the first bit error rate test result is passed, it is determined that the bit error rate test result of the Ethernet interface in the current communication device is passed.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the interface verification method according to any one of claims 1 to 4 is implemented.
7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the interface verification method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Network card testing method and device, electronic equipment and readable storage medium
CN111786854A