Bypass circuit and testing method for a repeater

By introducing bypass circuits of selectors and delayers into asynchronous circuits, the problem of transmission path interruption caused by repeater failure is solved, and bypassing of faulty repeaters and signal driving force enhancement are realized, thereby improving the reliability and testing accuracy of the circuit.

CN116806417BActive Publication Date: 2026-11-06HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202280005278.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-25
Publication Date
2026-11-06
Estimated Expiration
2042-01-25

AI Technical Summary

Technical Problem

In existing asynchronous circuits, if a repeater fails, the entire transmission path will not function properly, and existing technologies cannot effectively bypass a faulty repeater without affecting the normal operation of the transmission path.

Method used

A bypass circuit for a repeater is provided. By combining a selector and a delay, the circuit can bypass the repeater or enhance the signal driving force. The circuit can be used to troubleshoot repeater faults one by one using a test method and to handle faulty repeaters through the bypass circuit.

Benefits of technology

This invention enables bypassing fault repeaters in asynchronous circuits without affecting the normal operation of the transmission path, thereby improving circuit yield and testing accuracy. It is applicable to asynchronous circuits with dual-track and single-track encoding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116806417B_ABST
    Figure CN116806417B_ABST
Patent Text Reader

Abstract

The application provides a bypass circuit and a testing method of a relay, which can bypass the faulty relay from the transmission path of an asynchronous circuit, so as to not affect the normal operation of the transmission path. The bypass circuit of the relay comprises a first selector and a second selector; the first selector is used for determining the signal output by the first output end of the relay or the signal input by the first input end of the relay to be output to the output end of the first selector based on the selection signal input by the selection end of the first selector; and the second selector is used for determining the signal output by the second output end of the relay or the signal input by the second input end of the relay to be output to the output end of the second selector based on the selection signal input by the selection end of the second selector.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of integrated circuit technology, and in particular to a bypass circuit and testing method for a repeater. Background Technology

[0002] As circuit size continues to increase, traditional clock-based synchronization circuits suffer from problems such as excessive power consumption and frequency bottlenecks. Asynchronous circuits, on the other hand, do not require a global clock signal and can exchange information between modules through local handshakes. They also support rich encoding schemes, such as multi-track encoding and single-track encoding. Asynchronous circuits offer advantages such as low power consumption, high operating speed, good electromagnetic compatibility, and high reliability.

[0003] Taking an asynchronous circuit comprising a transmitter, a receiver, and at least one repeater as an example, the transmitter establishes a transmission path with the receiver through at least one repeater, that is, the transmitter can transmit data to the receiver through the at least one repeater.

[0004] However, in existing asynchronous circuits, if any one of the at least one repeaters fails, the entire transmission path will not function properly. Summary of the Invention

[0005] This application provides a bypass circuit and testing method for a repeater, which can bypass a faulty repeater from the transmission path of an asynchronous circuit, thereby not affecting the normal operation of the transmission path.

[0006] In a first aspect, this application provides a bypass circuit for a repeater, which may include a first selector and a second selector. A first input terminal of the first selector is coupled to a first output terminal of the repeater, and a second input terminal of the first selector is coupled to a first input terminal of the repeater. A first input terminal of the second selector is coupled to a second output terminal of the repeater, and a second input terminal of the second selector is coupled to a second input terminal of the repeater. The first selector is used to determine, based on a selection signal input to its selection terminal, to output either a signal output from the first output terminal of the repeater or a signal input from the first input terminal of the repeater to its output terminal. The second selector is used to determine, based on a selection signal input to its selection terminal, to output either a signal output from the second output terminal of the repeater or a signal input from the second input terminal of the repeater to its output terminal.

[0007] By employing the bypass circuit of the repeater provided in this application embodiment, different selection signals can be input to the selection terminals of the two selectors, controlling the two selectors to output signals input from different input ports to the output ports. That is, the bypass circuit of the repeater can be used to either bypass the repeater or to enhance the driving force of the signal.

[0008] In one possible implementation, the first input terminal of the repeater is used to input an encoded signal, which is obtained by encoding the data signal using a multi-track encoding method, and the multi-track encoding method is used to indicate the validity of the data signal; the second input terminal of the repeater is used to input an acknowledgment signal, which is used to indicate that the data signal has been received.

[0009] In other words, the repeater equipped with the bypass circuit provided in the embodiments of this application can be applied to asynchronous circuits based on dual-track coding.

[0010] In one possible implementation, the bypass circuit further includes a delay unit and a third selector. The input of the delay unit is coupled to the third input of the repeater, the first input of the third selector is coupled to the third output of the repeater, and the output of the delay unit is coupled to the second input of the third selector. The delay unit is used to delay the signal input to the third input of the repeater and output the delayed signal through the output of the delay unit. The third selector is used to determine, based on the selection signal input to the selection terminal of the third selector, to output either the signal output from the third output of the repeater or the delayed signal output from the output of the delay unit to the output of the third selector.

[0011] By employing the bypass circuit of the repeater provided in this application embodiment, different selection signals can be input to the selection terminals of the three selectors, controlling the three selectors to output signals input from different input ports to the output ports. That is, the bypass circuit of the repeater can be used to either bypass the repeater or to enhance the driving force of the signal.

[0012] In one possible implementation, the first input of the repeater is used to input a data signal; the third input of the repeater is used to input a request signal indicating the validity of the data signal; and the second input of the repeater is used to input an acknowledgment signal indicating that the data signal has been received.

[0013] In other words, the repeater equipped with the bypass circuit provided in the embodiments of this application can be applied to asynchronous circuits based on single-track coding.

[0014] Secondly, this application also provides a testing method for a transmitting device that establishes a transmission path with a receiving device through at least one repeater, wherein each of the at least one repeater is provided with a bypass circuit as described in the first aspect and any possible implementation thereof. The method may include: the transmitting device transmitting a first test signal to the receiving device through a first repeater among the at least one repeater; the transmitting device receiving a first response signal from the receiving device through the first repeater, the first response signal indicating that the first test signal has been received; and the transmitting device determining whether the first repeater has malfunctioned based on the number of first test signals transmitted within a first duration and the number of first response signals received within the first duration.

[0015] The test method provided in this application can be used to check whether the repeaters in the transmission path are faulty one by one, thereby improving the test accuracy of asynchronous circuits.

[0016] In one possible implementation, the transmitting device determines whether the first repeater has malfunctioned based on the number of first test signals transmitted within a first duration and the number of first response signals received within the first duration, including: when the number of first test signals and the number of first response signals are equal, the transmitting device determines that the first repeater has not malfunctioned; or, when the number of first test signals and the number of first response signals are not equal, the transmitting device determines that the first repeater has malfunctioned.

[0017] In one possible implementation, the method further includes: when it is determined that the first repeater has failed, the transmitting device bypasses the first repeater through the bypass circuit of the first repeater.

[0018] The testing method provided in this application embodiment can bypass the faulty repeater from the transmission path of the asynchronous circuit without affecting the normal operation of the transmission path, thus improving the yield of the asynchronous circuit.

[0019] In one possible implementation, before the transmitting device transmits a first test signal to the receiving device through the first repeater of the at least one repeater, the method further includes: the transmitting device configuring the first repeater to enhance the driving force of the signal through a bypass circuit of the first repeater; the transmitting device configuring each of the at least one second repeater to be bypassed through a bypass circuit of each of the at least one second repeater, the at least one second repeater including repeaters other than the first repeater among the at least one repeaters.

[0020] In one possible implementation, the transmitting device transmits the first test signal to the receiving device through the first repeater, including: the transmitting device encodes the first test signal using a multi-track encoding method to obtain a first encoded signal, the multi-track encoding method being used to indicate the validity of the first test signal; and the transmitting device transmits the first encoded signal to the receiving device through the first repeater.

[0021] In other words, the testing method provided in this application can be applied to asynchronous circuits based on dual-track coding.

[0022] In one possible implementation, before the transmitting device receives the first response signal from the receiving device through the first repeater, the method further includes: the transmitting device sending a first request signal to the receiving device through the first repeater, the first request signal being used to indicate the validity of the first test signal.

[0023] In other words, the testing method provided in this application can be applied to asynchronous circuits based on single-track coding.

[0024] In one possible implementation, when at least one third repeater among the at least one repeater does not fail, the method further includes: the transmitting device sending a second test signal to the receiving device through the at least one third repeater; the transmitting device receiving a second response signal from the receiving device through the at least one third repeater, the second response signal indicating that the second test signal has been received; and the transmitting device determining whether the transmission performance of the transmission path meets the transmission performance requirements based on the number of second response signals received within a second time period and a preset number threshold.

[0025] Using the testing method provided in the embodiments of this application, the transmitting device can test whether the transmission performance of the transmission path meets the requirements.

[0026] In one possible implementation, when at least one fourth repeater among the at least one repeater is not faulty, the method further includes: the transmitting device transmitting a data signal to the receiving device through the at least one fourth repeater; the transmitting device receiving a third acknowledgment signal from the receiving device through the at least one fourth repeater, the third acknowledgment signal indicating that the data signal has been received; and the transmitting device determining the data traffic transmitted by the transmission path based on a third duration and the number of third acknowledgment signals received within the third duration.

[0027] Using the testing method provided in this application embodiment, the transmitting device can monitor the data traffic transmitted in the transmission path in real time.

[0028] Thirdly, this application also provides a transmitting device that establishes a transmission path with a receiving device through at least one repeater, wherein each of the at least one repeater is provided with a bypass circuit as described in the first aspect and any possible implementation thereof. The transmitting device includes: a signal transmitter, a controller, a first counter, and a second counter, wherein the controller is coupled to the first counter and the second counter respectively, and the signal transmitter is coupled to the first counter and the second counter respectively; the signal transmitter is used to transmit a first test signal to the receiving device through the first repeater of the at least one repeater; the signal transmitter is also used to receive a first response signal from the receiving device through the first repeater, the first response signal indicating that the first test signal has been received; the controller is used to count the number of first test signals transmitted within a first time period through the first counter; count the number of first response signals received within the first time period through the second counter; and determine whether the first repeater has malfunctioned based on the number of first test signals and the number of first response signals.

[0029] In one possible implementation, the controller is specifically configured to: determine that the first repeater has not failed when the number of the first test signals is equal to the number of the first response signals; or determine that the first repeater has failed when the number of the first test signals is not equal to the number of the first response signals.

[0030] In one possible implementation, the controller is also configured to: when it is determined that the first repeater has failed, bypass the first repeater via the first repeater's bypass circuit.

[0031] In one possible implementation, before the signal transmitter sends a first test signal to the receiving device via the first repeater of the at least one repeater, the controller is further configured to: configure the first repeater to enhance the driving force of the signal via a bypass circuit; configure each of the at least one second repeaters to be bypassed via a bypass circuit of each of the at least one second repeaters, the at least one second repeater including repeaters other than the first repeater among the at least one repeaters.

[0032] In one possible implementation, the transmitting device further includes a signal generator, which is used to encode the first test signal using a multi-track encoding method to obtain a first encoded signal, the multi-track encoding method being used to indicate the validity of the first test signal; and to transmit the first encoded signal to the signal transmitter; the signal transmitter is specifically used to transmit the first encoded signal.

[0033] In one possible implementation, before the signal transmitter receives the first response signal from the receiving device via the first repeater, the signal transmitter is further configured to: send a first request signal to the receiving device via the first repeater, the first request signal being used to indicate the validity of the first test signal.

[0034] In one possible implementation, the signal transmitter is further configured to send a second test signal to the receiving device through the at least one third repeater when the at least one third repeater is not faulty; the signal transmitter is further configured to receive a second response signal from the receiving device through the at least one third repeater, the second response signal indicating that the second test signal has been received; the controller is further configured to count the number of second response signals received within a second time period using the second counter; and determine whether the transmission performance of the transmission path meets the transmission performance requirements based on the number of second response signals received within the second time period and a preset number threshold.

[0035] In one possible implementation, the signal transmitter is further configured to transmit a data signal to the receiving device through the at least one fourth repeater when the at least one fourth repeater is not faulty; the signal transmitter is further configured to receive a third response signal from the receiving device through the at least one fourth repeater, the third response signal indicating that the first data signal has been received; the controller is further configured to count the number of third response signals received within a third time period using the second counter; and determine the data traffic transmitted through the transmission path based on the third time period and the number of third response signals received within the third time period.

[0036] Fourthly, this application also provides an asynchronous circuit comprising a transmitting device, at least one repeater, and a receiving device as described in the third aspect and any possible implementation thereof, wherein each of the at least one repeater is provided with a bypass circuit as described in the first aspect and any possible implementation thereof. Attached Figure Description

[0037] Figure 1 This is a schematic diagram of an asynchronous circuit based on single-track encoding;

[0038] Figure 2 This is a schematic diagram of an asynchronous circuit based on dual-track encoding;

[0039] Figure 3 This is another schematic diagram of an asynchronous circuit;

[0040] Figure 4 This is a schematic diagram of the bypass circuit of the repeater provided in the embodiments of this application;

[0041] Figure 5 This is a schematic diagram of the bypass circuit of the repeater provided in the embodiments of this application;

[0042] Figure 6 This is a flowchart illustrating the asynchronous circuit testing method 300 provided in an embodiment of this application;

[0043] Figure 7 This is the test procedure for a bypassable repeater in an asynchronous circuit provided in the embodiments of this application;

[0044] Figure 8 This is a schematic diagram of application scenario 1 provided in the embodiments of this application;

[0045] Figure 9 This is a schematic diagram of application scenario 2 provided in the embodiments of this application;

[0046] Figure 10 This is a schematic diagram of application scenario 3 provided in the embodiments of this application;

[0047] Figure 11 This is a schematic diagram of the structure of the transmitting device 400 provided in the embodiments of this application. Detailed Implementation

[0048] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.

[0049] It should be noted that the terms "first," "second," and similar terms used in this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. The term "coupling" used in this application refers to a connection relationship, which is not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect, equivalent to a broad sense of interconnection. The terms "exemplary" or "for example" used in this application are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as superior or more advantageous than other embodiments or designs. Specifically, the use of "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner. In the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more. For example, multiple output terminals refer to two or more output terminals.

[0050] The asynchronous circuits described in this application are also called clockless or self-timed circuits, which, as the name suggests, are circuits without a global clock. In asynchronous circuits, the correctness of data signal transmission is ensured between the preceding and following stages through handshake signals, such as request and acknowledge signals. Asynchronous circuits can be classified according to their encoding methods into asynchronous circuits based on single-track encoding (also known as bundled data) and asynchronous circuits based on multi-track encoding (such as dual-track encoding).

[0051] It should be noted that single-track coding is a time-delay-sensitive coding method, while multi-track coding is a time-delay-insensitive coding method.

[0052] Example, Figure 1 A schematic diagram of an asynchronous circuit based on single-track encoding is shown. Figure 1 As shown, the sending end sends a data signal and a request (Req) signal to the receiving end. The request signal is used to indicate the validity of the data signal. After receiving the data signal and the request signal in sequence, the receiving end sends an acknowledge (Ack) signal back to the sending end. The acknowledge signal is used to indicate that the data signal has been received.

[0053] Example, Figure 2 A schematic diagram of an asynchronous circuit based on dual-track encoding is shown. Figure 2 As shown, the transmitting end encodes a 1-bit data signal to obtain a 2-bit encoded signal (e.g., 00 indicates no data, 01 indicates data is present and the data is 0, 10 indicates data is present and the data is 1, and 11 indicates an invalid state). The transmitting end sends the 2-bit encoded signal to the receiving end. This encoded signal is obtained by encoding the data signal using a dual-track encoding method. This dual-track encoding method is used to indicate the validity of the data signal. For example, the dual-track encoding method can use redundant logical expressions to indicate the validity of the data signal.

[0054] After receiving the encoded signal, the receiver determines the validity of the data signal based on the encoding method of the encoded signal and sends an acknowledgment signal back to the sender. The acknowledgment signal indicates that the data signal has been received. Furthermore, the receiver can decode the encoded signal using the dual-track encoding method to obtain the data signal.

[0055] Alternatively, in existing asynchronous circuits, a transmission path can be established between the transmitter and receiver via at least one repeater, meaning the transmitter can send data to the receiver through at least one repeater. Since repeaters can amplify signals, transmitting signals through repeaters can resist signal attenuation and increase transmission speed.

[0056] Example, Figure 3 Another schematic diagram of an asynchronous circuit based on dual-track encoding is shown. (See diagram below.) Figure 3 As shown, the asynchronous circuit includes a transmitter, a receiver, and at least one repeater (such as...). Figure 3 The transmitter establishes a transmission path with the receiver through at least one repeater (repeater 1 to repeater N, where N is an integer greater than 0). The transmitter sends an encoded signal to the receiver through the at least one repeater. The encoded signal is obtained by encoding the data signal, and the encoding method of the encoded signal is used to indicate the validity of the data signal. After receiving the encoded signal, the receiver sends an acknowledgment signal to the transmitter, which indicates that the data signal has been received.

[0057] It should be noted that, Figure 3 This paper only uses an asynchronous circuit based on dual-track coding as an example, but this application is not limited to this. If the asynchronous circuit is based on single-track coding, the transmitting end can replace the coded signal with an independent data signal and a request signal, the request signal being used to indicate the validity of the data signal; the data signal and the request signal are then transmitted to the receiving end through the at least one repeater.

[0058] However, in existing asynchronous circuits, if any one of the at least one repeaters fails, the entire transmission path will not function properly.

[0059] Based on the problems existing in the current asynchronous circuits, this application provides a bypass circuit for a repeater and a testing method for the asynchronous circuit, which can bypass the faulty repeater from the transmission path of the asynchronous circuit, so as not to affect the normal operation of the transmission path.

[0060] For example, consider a repeater in an asynchronous circuit based on dual-track coding. Figure 4 A schematic diagram of the bypass circuit of the repeater provided in an embodiment of this application is shown. Figure 4 As shown, the repeater includes a first input terminal ai1, a first output terminal ao1, a second input terminal ai2, and a second output terminal ao2. The bypass circuit includes a first selector 110 and a second selector 120. The first selector includes a first input terminal bi1, a second input terminal bi2, a selection terminal bc, and an output terminal bo. The second selector includes a first input terminal ci1, a second input terminal ci2, a selection terminal cc, and an output terminal co. The first input terminal bi1 of the first selector is coupled to the first output terminal ao1 of the repeater, the second input terminal bi2 of the first selector is coupled to the first input terminal ai1 of the repeater, the first input terminal ci1 of the second selector is coupled to the second output terminal ao2 of the repeater, and the second input terminal ci2 of the second selector is coupled to the second input terminal ai2 of the repeater.

[0061] like Figure 4 As shown, the repeater is used to amplify the driving force of the signal input to the first input terminal ai1 of the repeater and transmit it to the first output terminal ao1 of the repeater; and to amplify the driving force of the signal input to the second input terminal ai2 of the repeater and transmit it to the second output terminal ao2 of the repeater. The first selector 110 is used to determine, based on the selection signal input to the selection terminal bc of the first selector 110, to output the signal output from the first output terminal ao1 of the repeater (i.e., the signal input to the first input terminal bi1 of the first selector 110) or the signal input to the first input terminal ai1 of the repeater (i.e., the signal input to the second input terminal bi2 of the first selector 110) to the output terminal bo of the first selector 110. The second selector 120 is used to determine, based on the selection signal input at the selection terminal cc of the second selector 120, to output the signal output at the second output terminal ao2 of the repeater (i.e., the signal input at the first input terminal ci1 of the second selector 120) or the signal input at the second input terminal ai2 of the repeater (i.e., the signal input at the second input terminal ci2 of the second selector 120) to the output terminal co of the second selector.

[0062] For example, such as Figure 4 As shown, the repeater is used to receive an encoded signal from the preceding stage device via a first input terminal ai1. The encoded signal is obtained by encoding a data signal using a multi-track encoding method, which is used to indicate the validity of the data signal; enhance the driving force of the encoded signal; and output the encoded signal with enhanced driving force via a first output terminal ao1. The repeater is also used to receive an acknowledgment signal from the following stage device via a second input terminal ai2. The acknowledgment signal is used to indicate that the data signal has been received; enhance the driving force of the acknowledgment signal; and output the acknowledgment signal with enhanced driving force via a second output terminal ao2.

[0063] By employing the bypass circuit of the repeater provided in this application embodiment, different selection signals can be input to the selection terminals of the two selectors, controlling the two selectors to output signals input from different input ports to the output ports. That is, the bypass circuit of the repeater can be used to either bypass the repeater or to enhance the driving force of the signal.

[0064] In one possible implementation, such as Figure 4As shown, the first selector 110 is used to transmit the encoded signal input to the first input terminal ai1 of the repeater to the output terminal bo based on the first selection signal input at the selection terminal bc. The first selection signal is used to indicate the selection of the second input terminal bi2 and the output terminal bo. The second selector 120 is used to transmit the acknowledgment signal input to the second input terminal ai2 of the repeater to the output terminal co based on the second selection signal input at the selection terminal cc. The second selection signal is used to indicate the selection of the second input terminal ci2 and the output terminal co. In this way, the repeater can be bypassed through the repeater's bypass circuit.

[0065] In another possible implementation, such as Figure 4 As shown, the first selector 110 is used to transmit the coded signal, enhanced by the driving force, output from the first output terminal ao1 of the repeater to the output terminal bo, based on the third selection signal input at the selection terminal bc. The third selection signal is used to indicate the selection of the first input terminal bi1 and the output terminal bo. The second selector 120 is used to transmit the response signal, enhanced by the driving force, output from the second output terminal ao2 of the repeater to the output terminal co, based on the fourth selection signal input at the selection terminal cc. The fourth selection signal is used to indicate the selection of the first input terminal ci1 and the output terminal co. In this way, the driving force of the repeater for signal enhancement can be set through the bypass circuit of the repeater.

[0066] For example, consider a repeater in an asynchronous circuit using a single-track coding method. Figure 5 A schematic diagram of the bypass circuit of the repeater provided in the embodiment of this application is shown. Figure 5 The repeater shown is in Figure 4 The repeater shown has a third input terminal ai3 and a third output terminal ao3 added to its structure. Accordingly, Figure 5 The bypass circuit of the repeater shown is in Figure 4 The bypass circuit of the repeater shown has been modified by adding a delay unit 130 and a third selector 140. It should be noted that... Figure 5 and Figure 4 The structure of the same parts can be referenced. Figure 4 The relevant information will not be repeated here.

[0067] like Figure 5As shown, the delay unit 130 includes an input terminal di and an output terminal do. The third selector 140 includes a first input terminal ei1, a second input terminal ei2, a selection terminal ec, and an output terminal eo. The input terminal di of the delay unit 130 is coupled to the third input terminal ai3 of the repeater, the output terminal do of the delay unit 130 is coupled to the second input terminal ei2 of the third selector 140, and the first input terminal ei1 of the third selector 140 is coupled to the third output terminal ao3 of the repeater.

[0068] The repeater amplifies the driving force of the signal input to its third input terminal ai3 and transmits it to its third output terminal ao3. The delay unit 130 delays the signal input to the repeater's third input terminal ai3 (i.e., the signal input to the delay unit 130's input terminal di), and outputs the delayed signal through the delay unit 130's output terminal do. The third selector 140, based on the selection signal input to its selection terminal cc, determines whether to output the signal output from the repeater's third output terminal ao3 (i.e., the signal input to the third selector 140's first input terminal ei1) or the delayed signal obtained from the signal input to the repeater's third input terminal ai3 (i.e., the signal input to the third selector 140's second input terminal ei2) to the second selector's output terminal eo.

[0069] For example, such as Figure 5 As shown, the repeater is used to receive a first signal, the data signal, from the preceding stage device via a first input terminal ai1; amplify the driving force of the data signal; and output the data signal amplified by the driving force via a first output terminal ao1. The repeater is also used to receive a request signal from the preceding stage device via a second input terminal ai2, the request signal indicating the validity of the data signal; amplify the driving force of the request signal; and output the request signal amplified by the driving force via a second output terminal ao2. The repeater is also used to receive an acknowledgment signal from the following stage device via a third input terminal ai3, the acknowledgment signal indicating that the data signal has been received; amplify the driving force of the acknowledgment signal; and output the acknowledgment signal amplified by the driving force via a third output terminal ao3.

[0070] By employing the bypass circuit of the repeater provided in this application embodiment, different selection signals can be input to the selection terminals of the three selectors, controlling the three selectors to output signals input from different input ports to the output ports. That is, the bypass circuit of the repeater can be used to either bypass the repeater or to enhance the driving force of the signal.

[0071] In one possible implementation, such as Figure 5As shown, the first selector 110 is used to transmit the data signal input to the first input terminal ai1 of the repeater to the output terminal bo based on the first selection signal input at the selection terminal bc. The first selection signal is used to indicate the selection of the second input terminal bi2 and the output terminal bo. The third selector 140 is used to transmit the delayed request signal output by the delay unit 130 to the output terminal eo based on the second selection signal input at the selection terminal ec. The second selection signal is used to indicate the selection of the second input terminal ei2 and the output terminal eo. The second selector 120 is used to transmit the acknowledgment signal input to the second input terminal ai2 of the repeater to the output terminal co based on the third selection signal input at the selection terminal cc. The third selection signal is used to indicate the selection of the second input terminal ci2 and the output terminal co. In this way, the repeater can be bypassed through the repeater's bypass circuit.

[0072] In another possible implementation, such as Figure 5 As shown, the first selector 110 transmits the data signal with enhanced driving force output from the first output terminal ao1 of the repeater to the output terminal bo based on the fourth selection signal input at the selection terminal bc. The fourth selection signal indicates that the first input terminal bi1 and the output terminal bo are selected. The third selector 140 transmits the request signal with enhanced driving force output from the third output terminal ao3 of the repeater to the output terminal eo based on the fifth selection signal input at the selection terminal ec. The fifth selection signal indicates that the first input terminal ei1 and the output terminal eo are selected. The second selector 120 transmits the response signal with enhanced driving force output from the second output terminal ao2 of the repeater to the output terminal co based on the sixth selection signal input at the selection terminal cc. The sixth selection signal indicates that the first input terminal ci1 and the output terminal co are selected. In this way, the driving force of the repeater for signal enhancement can be set through the bypass circuit of the repeater.

[0073] For clarity, repeaters with bypass circuits will be referred to as "bypassable repeaters" in the following text.

[0074] The following describes a test method for asynchronous circuits, including those with bypassable repeaters provided in the embodiments of this application.

[0075] Figure 6 The diagram illustrates a flowchart of a testing method 300 for an asynchronous circuit according to an embodiment of this application. The asynchronous circuit may include a transmitting device, at least one bypassable repeater, and a receiving device. The transmitting device establishes a transmission path with the receiving device through the at least one bypassable repeater. The method 300 may include the following steps. It should be noted that the steps listed below may be performed in various orders and / or occur simultaneously, and are not limited to... Figure 6 The execution order is shown.

[0076] S301. The transmitting device transmits a first test signal to the receiving device through a first repeater of the at least one repeater. Accordingly, the receiving device receives the first test signal from the transmitting device through the first repeater.

[0077] Optionally, prior to S301, the method further includes: the transmitting device configuring the first repeater to enhance the driving force of the signal via a bypass circuit of the first repeater; configuring each of the at least one second repeater to be bypassed via a bypass circuit of each of the at least one second repeater, wherein the at least one second repeater includes repeaters other than the first repeater among the at least one repeaters.

[0078] In other words, the transmitting device can configure the first repeater to enhance the signal driving force through the bypass circuit of the first repeater, and bypass each second repeater from the transmission path through the bypass circuit of each second repeater. The method of bypassing repeaters through bypass circuits and the method of configuring repeaters to enhance the signal driving force through bypass circuits can be found in [reference needed]. Figure 4 and Figure 5 The relevant information will not be repeated here.

[0079] In one possible implementation, S301 may include: the transmitting device sending the first test signal to the first repeater; the first repeater amplifying the driving force of the first test signal and sending the amplified first test signal to the receiving device.

[0080] S302. In response to the first test signal, the receiving device sends a first response signal to the transmitting device via the first repeater, the first response signal indicating that the first test signal has been received. Accordingly, the transmitting device receives the first response signal from the receiving device via the first repeater.

[0081] In one possible implementation, S302 may include: the receiving device sending the first response signal to the first repeater in response to the first test signal enhanced by the driving force; the first repeater enhancing the driving force of the first response signal and sending the first response signal enhanced by the driving force to the transmitting device.

[0082] S303. The transmitting device determines whether the first repeater has malfunctioned based on the number of first test signals transmitted within a first duration and the number of first response signals received within the first duration.

[0083] In one possible implementation, S303 may include: when the number of the first test signals and the number of the first response signals are equal, the transmitting device determines that the first repeater has not failed; or, when the number of the first test signals and the number of the first response signals are not equal, the transmitting device determines that the first repeater has failed.

[0084] Optionally, the at least one repeater can be tested one by one through the above S301 to S303 to determine whether each of the at least one repeater has failed.

[0085] Example, Figure 7 The test procedure for a bypassable repeater in an asynchronous circuit provided in an embodiment of this application is illustrated. For example... Figure 7 As shown in (a), the transmitting device can bypass the bypassable repeater 2 to bypassable repeater N from the transmission path, control the bypassable repeater 1 to enhance the driving force of the test signal received from the transmitting device and the response signal received from the receiving device, and determine whether the bypassable repeater 1 has malfunctioned based on the number of test signals sent to the bypassable repeater 1 within a first time period and the number of response signals received from the bypassable repeater 1 within the first time period. Figure 7 As shown in (b), the transmitting device can bypass the bypassable repeater 1, bypassable repeater 3 to bypassable repeater N from the transmission path, control the bypassable repeater 2 to enhance the driving force of the test signal received from the transmitting device and the response signal received from the receiving device, and determine whether the bypassable repeater 2 has malfunctioned based on the number of test signals sent to the bypassable repeater 2 within a first time period and the number of response signals received from the bypassable repeater 2 within the first time period. This process continues until... Figure 7 As shown in (c), the transmitting device can bypass the bypassable repeater 1 to bypassable repeater N-1 from the transmission path, control the bypassable repeater N to enhance the driving force of the test signal received from the transmitting device and the response signal received from the receiving device, and determine whether the bypassable repeater N has failed based on the number of test signals sent to the bypassable repeater N within a first time period and the number of response signals received from the bypassable repeater N within the first time period.

[0086] Optionally, the transmitting device may input a selection signal corresponding to the bypass flag to the bypass circuit of each of the at least one bypassable repeaters, based on the bypass flag of each bypassable repeater, so that each bypassable repeater is bypassed or used to enhance the driving force of the signal.

[0087] For example, a bypass flag of "1" indicates that the bypassable repeater is bypassed, while a bypass flag of "0" indicates that the bypassable repeater is used to enhance the signal drive. Figure 7 In (a), the bypass flag of bypass repeater 1 is 0, and the bypass flags of bypass repeaters 2 to N are 1. Figure 7 In (b) of the diagram, the bypass flag of bypass repeater 1 is 1, the bypass flag of bypass repeater 2 is 0, and the bypass flags of bypass repeaters 3 to N are 1. Figure 7 In (c), the bypass flag of bypass repeater 1 to bypass repeater N-1 is 1, and the bypass flag of bypass repeater N is 0.

[0088] Optionally, the transmitting device may save the fault test results of each of the at least one bypassable repeater.

[0089] For example, if a test result of "1" indicates normal operation and no fault occurs, and a test result of "0" indicates a fault, then if bypass repeater 1 in the at least one bypass repeater fails, the transmitting device can save the test result of bypass repeater 1 as 0, and the test results of bypass repeaters 2 to N as 1.

[0090] Optionally, after S303, the method may further include: when it is determined that the first repeater has failed, the transmitting device controls the bypass circuit of the first repeater to bypass the first repeater.

[0091] Similarly, the transmitting device can control the bypass circuit of each faulty repeater to bypass each faulty repeater from the transmission path. In this way, faulty repeaters can be bypassed from the transmission path of the asynchronous circuit without affecting the normal operation of the transmission path, thus improving the yield of the asynchronous circuit.

[0092] Optionally, after S303, the method may further include: when it is determined that at least one third repeater among the at least one repeater has not failed, the method further includes: the transmitting device sending a second test signal to the receiving device through the at least one third repeater; the transmitting device receiving a second response signal from the receiving device through the at least one third repeater, the second response signal being used to indicate that the second test signal has been received; the transmitting device determining whether the transmission performance of the transmission path meets the transmission performance requirements based on the number of second response signals received within a second time period and a preset number threshold.

[0093] In other words, the transmitting device can test whether the transmission performance of the transmission path meets the requirements.

[0094] In one possible implementation, if the number of the second response signals is greater than or equal to the number threshold, the transmitting device can determine that the transmission performance of the transmission path meets the transmission performance requirement; or, if the number of the second response signals is less than the number threshold, the transmitting device can determine that the transmission performance of the transmission path does not meet the transmission performance requirement.

[0095] In one possible implementation, after S303, the method may further include: when it is determined that at least one fourth repeater among the at least one repeater has not failed, the method further includes: the transmitting device transmitting a data signal to the receiving device through the at least one fourth repeater; the transmitting device receiving a third acknowledgment signal from the receiving device through the at least one fourth repeater, the third acknowledgment signal indicating that the data signal has been received; the transmitting device determining the data traffic transmitted by the transmission path based on a third duration and the number of third acknowledgment signals received within the third duration.

[0096] In other words, the transmitting device can monitor the data traffic transmitted in the transmission path in real time.

[0097] Optionally, the method 300 can be used for asynchronous circuits based on single-track coding or asynchronous circuits based on dual-track coding, and this application does not limit it in this regard.

[0098] In one possible implementation, if method 300 is used for an asynchronous circuit based on dual-track encoding, before S301, the transmitting device can encode the first test signal using a multi-track encoding method to obtain a first encoded signal, wherein the multi-track encoding method is used to indicate the validity of the first test signal. Accordingly, S301 may include: the transmitting device transmitting the first encoded signal to the receiving device through the first repeater.

[0099] In another possible implementation, if method 300 is used for an asynchronous circuit based on single-track coding, prior to S302, the transmitting device may also send a first request signal to the receiving device via the first repeater, the first request signal indicating the validity of the first test signal. Accordingly, S302 may include: the receiving device, in response to the first request signal, sending the first response signal to the transmitting device via the first repeater. Accordingly, S303 may include: the transmitting device determining whether the first repeater has malfunctioned based on the number of first request signals sent within a first duration and the number of first response signals received within the first duration.

[0100] Optionally, the asynchronous circuit with a bypass repeater provided in the embodiments of this application can be applied to a variety of application scenarios, and this application does not limit it.

[0101] Example, Figure 8 A schematic diagram of application scenario 1 provided in an embodiment of this application is shown. For example... Figure 8 As shown, multiple transmission nodes (such as Figure 8 The transmission nodes 1 to 4 shown can exchange data through a switching node. For example, transmission node 1 can send data 1 to the switching node, which can then send data 1 to transmission node 2 after receiving it. That is, any of the multiple transmission nodes can exchange data through at least one bypassable repeater (such as...). Figure 8 (As shown by the white squares in each transmission link) to transmit data with the switching node.

[0102] In one possible implementation, the transmitting device described in this application can be... Figure 8 The receiving device described in this application can be the transmission node 1 in the transmission node 1. Figure 8 In the switching node, at least one bypassable repeater described in this application can be as follows: Figure 8 The two white squares between transmission node 1 and the switching node are shown.

[0103] In another possible implementation, the transmitting device described in this application can be... Figure 8 The receiving device described in this application can be a switching node in the process. Figure 8 In the transmission node 2, at least one bypassable repeater described in this application can be as follows: Figure 8 The three white squares between transmission node 2 and the switching node are shown.

[0104] Example, Figure 9 A schematic diagram of application scenario 2 provided in the embodiments of this application is shown. For example... Figure 9 As shown, multiple transmission nodes (such as Figure 9 The transmission nodes 1 to 4 shown can exchange data through a switching node. For example, transmission node 1 can send data 1 to the switching node, which can then send data 1 to transmission node 2 after receiving it. That is, any of the multiple transmission nodes can exchange data through at least one bypassable repeater (such as...). Figure 9 (The blocks in each transmission link are shown) transmit data with the switching node. When one or more bypassable repeaters between any transmission node and the switching node fail, the faulty bypassable repeater can be bypassed from the transmission path through the bypass circuit of the faulty bypassable repeater.

[0105] In one possible implementation, the transmitting device described in this application can be... Figure 9 The receiving device described in this application can be the transmission node 1 in the transmission node 1. Figure 9 In the switching node, a bypassable repeater that fails in the transmission path between transmission node 1 and the switching node, such as... Figure 9 As shown by the black square, the transmitting device can bypass the faulty bypassable repeater from the transmission path through the bypass circuit of the faulty bypassable repeater. That is, the transmitting node 1 can send data to the switching node through bypassable repeaters other than the faulty bypassable repeater.

[0106] Example, Figure 10 A schematic diagram of application scenario 3 provided in the embodiments of this application is shown. For example... Figure 10 As shown, when all four selectors have a selection signal of "0" input, the transmitting and receiving devices can transmit data via bypass repeaters 11 to 1N; when all four selectors have a selection signal of "1" input, the transmitting and receiving devices can transmit data via bypass repeaters 21 to 2N. Taking the transmission path containing bypass repeaters 11 to 1N as the main transmission path and the transmission path containing bypass repeaters 21 to 2N as the backup transmission path as an example, if the main transmission path cannot be used normally due to a failure of a bypass repeater in the main transmission path, or because the transmission performance of the main transmission path does not meet the transmission performance requirements, the four selectors can be used to switch to the backup transmission path.

[0107] The transmitting device provided in the embodiments of this application will be further described below.

[0108] Figure 11 A schematic diagram of the structure of the transmitting device 400 provided in an embodiment of this application is shown. Figure 11 As shown, the device 400 can be the transmitting device described above. The device 400 can be used in an asynchronous circuit, which further includes at least one repeater and a receiving device, wherein each of the at least one repeater is provided with a bypass circuit provided in the embodiments of this application. The device 400 may include: a signal transmitter 401, a controller 402, a first counter 403, and a second counter 404, wherein the controller 402 is coupled to both the first counter 403 and the second counter 404, and the signal transmitter 401 is coupled to both the first counter 403 and the second counter 404.

[0109] The signal transmitter 401 is used to send a first test signal to the receiving device through the first repeater of the at least one repeater.

[0110] The signal transmitter 401 is also configured to receive a first response signal from the receiving device via the first repeater, the first response signal being used to indicate that the first test signal has been received.

[0111] The controller 402 is used to count the number of first test signals sent within a first time period using the first counter 403; to count the number of first response signals received within the first time period using the second counter 404; and to determine whether the first repeater has malfunctioned based on the number of the first test signals and the number of the first response signals.

[0112] In one possible implementation, the controller 402 is specifically configured to: determine that the first repeater has not failed when the number of the first test signals is equal to the number of the first response signals; or determine that the first repeater has failed when the number of the first test signals is not equal to the number of the first response signals.

[0113] In one possible implementation, the controller 402 is further configured to: when it is determined that the first repeater has failed, bypass the first repeater through the bypass circuit of the first repeater.

[0114] In one possible implementation, before the signal transmitter 401 transmits a first test signal to the receiving device via the first repeater of the at least one repeater, the controller 402 is further configured to: configure the first repeater to enhance the driving force of the signal via a bypass circuit of the first repeater; configure each of the at least one second repeater to be bypassed via a bypass circuit of each of the at least one second repeater, the at least one second repeater including repeaters other than the first repeater among the at least one repeaters.

[0115] In one possible implementation, the transmitting device further includes a signal generator 405, which is used to encode the first test signal using a multi-track encoding method to obtain a first encoded signal, the multi-track encoding method being used to indicate the validity of the first test signal; and to transmit the first encoded signal to the signal transmitter 401; the signal transmitter 401 is specifically used to transmit the first encoded signal.

[0116] In one possible implementation, before the signal transmitter 401 receives the first response signal from the receiving device via the first repeater, the signal transmitter 401 is further configured to send a first request signal to the receiving device via the first repeater, the first request signal being used to indicate the validity of the first test signal.

[0117] In one possible implementation, the signal transmitter 401 is further configured to send a second test signal to the receiving device through the at least one third repeater when at least one of the at least one repeater is not faulty; the signal transmitter 401 is further configured to receive a second response signal from the receiving device through the at least one third repeater, the second response signal indicating that the second test signal has been received; the controller 402 is further configured to count the number of second response signals received within a second time period through the second counter 404; and determine whether the transmission performance of the transmission path meets the transmission performance requirements based on the number of second response signals received within the second time period and a preset number threshold.

[0118] In one possible implementation, the signal transmitter 401 is further configured to transmit a data signal to the receiving device through the at least one fourth repeater when the at least one fourth repeater is not faulty; the signal transmitter 401 is further configured to receive a third response signal from the receiving device through the at least one fourth repeater, the third response signal indicating that the first data signal has been received; the controller 402 is further configured to count the number of third response signals received within a third time period using the second counter 404; and determine the data traffic transmitted through the transmission path based on the third time period and the number of third response signals received within the third time period.

[0119] Optionally, the device 400 may further include a timer 406 coupled to the controller 402. The controller 402 is used to control the timer 406 to perform timing (as described above for the first duration).

[0120] Optionally, the device 400 may further include a quantity threshold register 407, which is coupled to the controller 402. The quantity threshold register 407 is used to store the aforementioned preset quantity threshold.

[0121] Optionally, the device 400 may further include a selector 408, the first input terminal of which is coupled to the output terminal of the signal generator 405, the first input terminal Ai1 of the device 400 being coupled to the second input terminal of the selector 408, and the output terminal of the selector 408 being coupled to the first output terminal Ao1 of the transmitting device 400. The selector 408 is used to determine, based on the selection signal input at its selection terminal, whether to output signal 2 input to the first input terminal Ai1 of the device 400 or signal 1 generated by the signal generator 405 to the first output terminal Ao1 of the transmitting device.

[0122] Optionally, the device 400 may further include a bypass flag shifter 409 coupled to the controller 402. The bypass flag shifter 409 is used to generate a bypass flag for each of the at least one repeater, and the controller 402 is used to bypass each repeater through a bypass circuit or control the driving force of each repeater for signal enhancement based on the bypass flag of each repeater.

[0123] Optionally, the device 400 may further include a test result register 410 coupled to the controller 402. The test result register 410 is used to store the test results of each of the at least one repeater, including whether a fault has occurred or not.

[0124] Optionally, the device 400 may further include a selector 411, the first input of which is coupled to the bypass flag shifter 409, the second input of which is coupled to the test result register 410, and the output of which is connected to the selection terminal of each of the at least one repeater. The selector 411 is used to determine, based on the selection signal input to its selection terminal, to output either the selection signal corresponding to the bypass flag of each repeater generated by the bypass flag shifter 409 or the selection signal corresponding to the test result of each repeater stored in the test result register 410 to the selection terminal of each repeater.

[0125] Optionally, the device 400 may further include a non-volatile memory 412, which is coupled to the test result register 410 and the selector 411, respectively. The non-volatile memory 412 is used to store the test results of each repeater stored in the test result register 410.

[0126] It should be noted that this application only describes the embodiments of the application using asynchronous circuits based on single-track coding and asynchronous circuits based on dual-track coding as examples, but the application is not limited thereto.

[0127] Optionally, this application can also be applied to other asynchronous circuits based on delay-sensitive coding and other asynchronous circuits based on delay-insensitive coding, and this application does not limit them.

[0128] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0129] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0130] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0131] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0132] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0133] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0134] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0135] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A bypass circuit for a repeater, characterized in that, It includes a first selector and a second selector, wherein the first input terminal of the first selector is coupled to the first output terminal of the repeater, the second input terminal of the first selector is coupled to the first input terminal of the repeater, the first input terminal of the second selector is coupled to the second output terminal of the repeater, and the second input terminal of the second selector is coupled to the second input terminal of the repeater. The first selector is used to determine, based on the selection signal input at the selection terminal of the first selector, whether to output the signal output at the first output terminal of the repeater or the signal input at the first input terminal of the repeater to the output terminal of the first selector. The second selector is used to determine, based on the selection signal input at the selection terminal of the second selector, whether to output the signal output at the second output terminal of the repeater or the signal input at the second input terminal of the repeater to the output terminal of the second selector.

2. The bypass circuit according to claim 1, characterized in that, The first input terminal of the repeater is used to input an encoded signal, which is obtained by encoding the data signal through a multi-track encoding method. The multi-track encoding method is used to indicate the validity of the data signal. The second input terminal of the repeater is used to input an acknowledgment signal, which indicates that the data signal has been received.

3. The bypass circuit according to claim 1, characterized in that, The bypass circuit further includes a delay unit and a third selector. The input terminal of the delay unit is coupled to the third input terminal of the repeater. The first input terminal of the third selector is coupled to the third output terminal of the repeater. The output terminal of the delay unit is coupled to the second input terminal of the third selector. The delay unit is used to delay the signal input to the third input terminal of the repeater, and outputs the delayed signal through the output terminal of the delay unit; The third selector is used to determine, based on the selection signal input at the selection terminal of the third selector, whether to output the signal output from the third output terminal of the repeater or the delayed signal output from the output terminal of the delayer to the output terminal of the third selector.

4. The bypass circuit according to claim 3, characterized in that, The first input terminal of the repeater is used to input data signals; The third input terminal of the repeater is used to input a request signal, which is used to indicate the validity of the data signal; The second input terminal of the repeater is used to input an acknowledgment signal, which indicates that the data signal has been received.

5. A testing method, characterized in that, The method is used for a transmitting device that establishes a transmission path with a receiving device through at least one repeater, wherein each of the at least one repeater is provided with a bypass circuit as described in any one of claims 1-4, and the method includes: The transmitting device sends a first test signal to the receiving device through a first repeater among the at least one repeater; The transmitting device receives a first response signal from the receiving device via the first repeater, the first response signal being used to indicate that the first test signal has been received; The transmitting device determines whether the first repeater has malfunctioned based on the number of first test signals transmitted within a first duration and the number of first response signals received within the first duration.

6. The method according to claim 5, characterized in that, The transmitting device determines whether the first repeater has malfunctioned based on the number of first test signals transmitted within a first duration and the number of first response signals received within the first duration, including: When the number of the first test signals equals the number of the first response signals, the transmitting device determines that the first repeater has not malfunctioned; or, When the number of the first test signals and the number of the first response signals are not equal, the transmitting device determines that the first repeater has malfunctioned.

7. The method according to claim 6, characterized in that, The method further includes: When it is determined that the first repeater has failed, the transmitting device bypasses the first repeater through the bypass circuit of the first repeater.

8. The method according to claim 5, characterized in that, Before the transmitting device transmits a first test signal to the receiving device through a first repeater of the at least one repeater, the method further includes: The transmitting device configures the first repeater to enhance the driving force of the signal through a bypass circuit of the first repeater; The transmitting device configures each of the at least one second repeaters to be bypassed via a bypass circuit for each of the at least one second repeaters, the at least one second repeater including repeaters other than the first repeater.

9. The method according to claim 5, characterized in that, The transmitting device transmits the first test signal to the receiving device through the first repeater, including: The transmitting device encodes the first test signal using a multi-track encoding method to obtain a first encoded signal. The multi-track encoding method is used to indicate the validity of the first test signal. The transmitting device sends the first encoded signal to the receiving device through the first repeater.

10. The method according to claim 5, characterized in that, Before the transmitting device receives the first acknowledgment signal from the receiving device via the first repeater, the method further includes: The transmitting device sends a first request signal to the receiving device through the first repeater, the first request signal being used to indicate the validity of the first test signal.

11. The method according to claim 5, characterized in that, When at least one third repeater among the at least one repeater is not faulty, the method further includes: The transmitting device sends a second test signal to the receiving device through the at least one third repeater; The transmitting device receives a second response signal from the receiving device via the at least one third repeater, the second response signal being used to indicate that the second test signal has been received; The transmitting device determines whether the transmission performance of the transmission path meets the transmission performance requirements based on the number of second response signals received within a second time period and a preset number threshold.

12. The method according to claim 5, characterized in that, When at least one fourth repeater among the at least one repeater has not failed, the method further includes: The transmitting device transmits data signals to the receiving device through the at least one fourth repeater; The transmitting device receives a third response signal from the receiving device via the at least one fourth repeater, the third response signal being used to indicate that the data signal has been received; The transmitting device determines the data flow transmitted through the transmission path based on a third duration and the number of third response signals received within the third duration.

13. A transmitting device, characterized in that, The transmitting device establishes a transmission path with the receiving device through at least one repeater, wherein each of the at least one repeater is provided with a bypass circuit as described in any one of claims 1-4, and the transmitting device includes: a signal transmitter, a controller, a first counter and a second counter, wherein the controller is coupled to the first counter and the second counter respectively, and the signal transmitter is coupled to the first counter and the second counter respectively. The signal transmitter is used to send a first test signal to the receiving device through a first repeater of the at least one repeater; The signal transmitter is also configured to receive a first response signal from the receiving device via the first repeater, the first response signal being used to indicate that the first test signal has been received; The controller is used to count the number of first test signals sent within a first time period using the first counter; to count the number of first response signals received within the first time period using the second counter; and to determine whether the first repeater has malfunctioned based on the number of the first test signals and the number of the first response signals.

14. The apparatus according to claim 13, characterized in that, The controller is specifically used for: When the number of the first test signals equals the number of the first response signals, the transmitting device determines that the first repeater has not malfunctioned; or, When the number of the first test signals and the number of the first response signals are not equal, the transmitting device determines that the first repeater has malfunctioned.

15. The apparatus according to claim 14, characterized in that, The controller is also used for: When it is determined that the first repeater has failed, the first repeater is bypassed through the bypass circuit of the first repeater.

16. The apparatus according to claim 13, characterized in that, Before the signal transmitter sends a first test signal to the receiving device through the first repeater of the at least one repeater, the controller is further configured to: The first repeater is configured to enhance the driving force of the signal by using a bypass circuit. Each of the at least one second repeaters is bypassed by a bypass circuit of each of the at least one second repeaters, the at least one second repeater including repeaters other than the first repeater.

17. The apparatus according to claim 13, characterized in that, The transmitting device also includes a signal generator. The signal generator is used to encode the first test signal using a multi-track encoding method to obtain a first encoded signal, wherein the multi-track encoding method is used to indicate the validity of the first test signal; and to send the first encoded signal to the signal transmitter. The signal transmitter is specifically used to transmit the first encoded signal.

18. The apparatus according to claim 13, characterized in that, Before the signal transmitter receives the first response signal from the receiving device via the first repeater, the signal transmitter is further configured to: The first request signal is sent to the receiving device through the first repeater, and the first request signal is used to indicate the validity of the first test signal.

19. The apparatus according to claim 13, characterized in that, The signal transmitter is also used to send a second test signal to the receiving device through the at least one third repeater when at least one of the at least one repeater is not faulty; The signal transmitter is also configured to receive a second response signal from the receiving device via the at least one third repeater, the second response signal being used to indicate that the second test signal has been received; The controller is also used to count the number of second response signals received within a second time period using the second counter; and to determine whether the transmission performance of the transmission path meets the transmission performance requirements based on the number of second response signals received within the second time period and a preset number threshold.

20. The apparatus according to claim 13, characterized in that, The signal transmitter is also used to transmit a data signal to the receiving device through the at least one fourth repeater when the at least one fourth repeater is not faulty; The signal transmitter is also configured to receive a third response signal from the receiving device via the at least one fourth repeater, the third response signal being used to indicate that the data signal has been received; The controller is further configured to count the number of third response signals received within a third time period using the second counter; and to determine the data traffic transmitted through the transmission path based on the third time period and the number of third response signals received within the third time period.

21. An asynchronous circuit comprising a transmitting device as described in any one of claims 13-20, at least one repeater, and a receiving device, wherein each of the at least one repeater is provided with a bypass circuit as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Method and tool device for testing equipment communication port

    CN109995425A

  • Method and system for seamless dual switching in a port bypass controller

    US20050131988A1