Low-delay switch and data transmission method and system

By configuring the receiving and sending ends on the data transmission port of the switch and realizing parallel processing of data transmission requests, the problems of low data transmission delay and efficiency in the prior art are solved, and low-latency and high-efficiency data transmission is achieved.

CN120017614APending Publication Date: 2025-05-16SHANGHAI XINLIJI SEMICON CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202510058914.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

Existing switch technologies have major problems in data transmission delay and cannot fully utilize the bidirectional transmission capabilities provided by the bus, resulting in low data transmission efficiency.

Method used

A low-latency switch is designed to realize parallel transmission of data between reception and transmission by configuring the receiving end and transmitting end on each data transmission port, and generating a data transmission request after the receiving end completes the reception address.

Benefits of technology

It effectively reduces the delay time of the data exchange process, improves the efficiency of data transmission, and makes full use of the bidirectional transmission capability of the bus, improving the reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120017614A_ABST
    Figure CN120017614A_ABST
Patent Text Reader

Abstract

The invention discloses a low-delay switch and a data transmission method and system, the switch comprises a plurality of mutually electrically connected data transmission ports, and the data transmission ports comprise a receiving end and a sending end; the receiving end is used for receiving data and sending the data to the sending ends of other data transmission ports; the receiving end receives data, the data comprises a target address, and the target address is one of port addresses corresponding to the plurality of data transmission ports; after the receiving end completes receiving of the target address, a data transmission request including the target address is sent to the sending end; the sending end of which the port address is consistent with the target address returns a receiving confirmation signal to the receiving end; and the receiving end sends data to the corresponding sending end after receiving the receiving confirmation signal. The invention can reduce the data exchange delay and improve the data transmission efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a low-latency switch, a data transmission method and a system. Background Art

[0002] In modern computer systems, switches are a vital device that is used to connect multiple computers or other network devices to achieve high-speed data transmission. The main function of a switch is to forward received data to a specified output port according to certain rules. The performance of a switch, especially the delay in data transmission, directly affects the performance of the entire computer system.

[0003] Modern high-speed data transmission buses have eliminated traditional unidirectional transmission buses and used bidirectional transmission buses, such as the PCIe (Peripheral Component Interconnect Express) bus, which is a high-speed serial computer expansion bus standard that provides high-bandwidth, low-latency data transmission capabilities and is widely used in computer systems. The PCIe bus supports bidirectional transmission, that is, data can be transmitted in both directions at the same time in the same clock cycle.

[0004] Currently, switches usually use store and forward technology to transmit data. Figure 1 As shown, in this switch data transmission technology, the receiving end receives the data completely before sending it to other receiving ends. The advantage is that the accuracy of data transmission can be guaranteed. However, this switch technology has a big problem in data transmission delay. Since data needs to be completely received before it can be sent, after confirming the target address of the received data, it is still necessary to wait for the subsequent data to be completely received before it can be sent, which leads to a high delay. In addition, the existing switch technology cannot fully utilize the bidirectional transmission capability provided by the bus. When a device sends data to the switch, it cannot simultaneously receive data from other devices, which further increases the delay of data transmission.

[0005] The disclosure of the above background technology content is only used to assist in understanding the inventive concept and technical solution of the present invention. It does not necessarily belong to the prior art of the present application, nor does it necessarily provide technical guidance. In the absence of clear evidence that the above content has been disclosed before the filing date of the present application, the above background technology should not be used to evaluate the novelty and creativity of the present application. Summary of the invention

[0006] The object of the present invention is to provide a low-latency switch, a data transmission method and a system, which can reduce data exchange delay and improve data transmission efficiency.

[0007] To achieve the above object, the technical solution adopted by the present invention is as follows:

[0008] A low-latency switch, the switch comprising a plurality of data transmission ports electrically connected to each other, each of the data transmission ports being configured with a port address, different data transmission ports corresponding to different port addresses, and each of the data transmission ports comprising a receiving end and a transmitting end, the receiving end being configured with a receiving end temporary storage area corresponding thereto, the receiving end temporary storage area being configured to store data received by the receiving end, the transmitting end being configured with a transmitting end temporary storage area, the transmitting end temporary storage area being configured to store data received by the transmitting end;

[0009] The receiving end of the data transmission port is configured to receive data transmitted from the outside to the switch and send the data to the sending end of other data transmission ports; the sending end of the data transmission port is configured to receive the data sent by the receiving end of other data transmission ports;

[0010] The receiving end of the data transmission port receives data and stores it in the corresponding receiving end temporary storage area, wherein the data includes a target address, and the target address is one of the multiple port addresses;

[0011] When the receiving end completes receiving the target address of the data, it sends a data transmission request to the sending end of the other data transmission port, wherein the data transmission request includes the target address;

[0012] The sending end of the other data transmission port receives the data transmission request and matches the target address with its corresponding port address, and the sending end with a consistent match returns a confirmation reception signal to the receiving end;

[0013] In response to receiving the confirmation reception signal, the receiving end sends data to the sending end that returns the confirmation reception signal, and the sending end receives the data and stores it in the corresponding sending end temporary storage area.

[0014] Further, based on any one of the above technical solutions or a combination of multiple technical solutions, the switch includes N data transmission ports, and the N data transmission ports are arranged on N layers of circuits;

[0015] Each layer of the circuit includes a receiving end of one of the data transmission ports and a transmitting end of the other data transmission ports, and the receiving end of one of the data transmission ports is electrically connected to the transmitting ends of the other data transmission ports, respectively.

[0016] Further, according to any one of the technical solutions or a combination of multiple technical solutions mentioned above, data is transmitted between the receiving end and the transmitting end on the same layer of circuit, and data is not transmitted between the receiving end and the transmitting end on different layers of circuit.

[0017] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, the receiving end and the transmitting end on each layer of the circuit independently transmit data to each other; and / or,

[0018] The receiving end and the transmitting end on each layer of circuit can simultaneously transmit data.

[0019] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, when the receiving end sends data to the sending end, the data in the receiving end temporary storage area corresponding to the receiving end is synchronously retained;

[0020] After the receiving end sends a group of data to the sending end, the data stored in the temporary storage area of ​​the receiving end is cleared.

[0021] Furthermore, based on any one of the technical solutions or a combination of multiple technical solutions mentioned above, if the transmission is interrupted or terminated during the process of the receiving end sending data to the sending end, when the receiving end sends data to the sending end again, all the data in the corresponding receiving end temporary storage area will be sent to the sending end, and the sending end will receive the data and store and / or replace the data in the corresponding sending end temporary storage area.

[0022] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, the sending end receives data and synchronously sends the received data to the outside of the switch.

[0023] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, when the sending end sends data to the outside of the switch, the data in the sending end temporary storage area corresponding to the sending end is synchronously retained;

[0024] After the sending end sends a group of data to the outside of the switch, the data stored in the temporary storage area of ​​the sending end is cleared.

[0025] Further, based on any one of the technical solutions or a combination of multiple technical solutions described above, if the sending is interrupted or terminated during the process of the sending end sending data to the outside of the switch, when the sending end sends data to the outside of the switch again, all the data in the sending end temporary storage area corresponding to the sending end is sent to the outside of the switch.

[0026] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, at the same time, one of the receiving end temporary storage areas only retains one set of data; and / or,

[0027] At the same time, one sending-end temporary storage area only retains one set of data.

[0028] According to another aspect of the present invention, the present invention provides a low-latency data transmission method for transmitting data between a plurality of electrically connected data transmission ports, comprising the following steps:

[0029] A port address is configured for each of the data transmission ports, and a receiving end and a transmitting end are configured for each of the data transmission ports, wherein the receiving end is configured with a corresponding receiving end temporary storage area, and the receiving end temporary storage area is configured to store data received by the receiving end, and the transmitting end is configured with a transmitting end temporary storage area, and the transmitting end temporary storage area is configured to store data received by the transmitting end;

[0030] The receiving end of the data transmission port is configured to receive data and send the data to the sending end of other data transmission ports; the sending end of the data transmission port is configured to receive data sent by the receiving end of other data transmission ports;

[0031] The receiving end of the data transmission port receives data and stores it in the corresponding receiving end temporary storage area, wherein the data includes a target address, and the target address is one of the multiple port addresses;

[0032] When the receiving end completes receiving the target address of the data, it sends a data transmission request to the sending end of the other data transmission port, wherein the data transmission request includes the target address;

[0033] The sending ends of the other data transmission ports respectively receive the data transmission request and match the target address with its corresponding port address, and the sending ends with consistent matches return a confirmation reception signal to the receiving end;

[0034] In response to receiving the confirmation reception signal, the receiving end sends data to the corresponding sending end, and the sending end receives the data and stores it in the sending end temporary storage area to which it returns the confirmation reception signal.

[0035] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, it also includes configuring the receiving end of each of the data transmission ports to be electrically connected to the sending ends of other data transmission ports;

[0036] The receiving ends of different data transmission ports perform data transmission independently from the sending ends of other data transmission ports.

[0037] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, the sending end receives data and synchronously sends the received data to the outside; and / or,

[0038] When the receiving end sends data to the sending end, the data in the receiving end temporary storage area corresponding to the receiving end is synchronously retained; after the receiving end completes sending a group of data to the sending end, the data stored in the receiving end temporary storage area is cleared.

[0039] According to another aspect of the present invention, the present invention provides a data transmission system, which performs data transmission using the low-latency data transmission method described in any one of the above technical solutions or a combination of multiple technical solutions.

[0040] The beneficial effects brought by the technical solution provided by the present invention are as follows:

[0041] a. In the switch provided by the present invention, the receiving end of each data transmission port does not need to completely receive data before performing the next data transmission. After completing the target address in the received data, it will generate a data transmission request and send it to the sending end of each other data transmission port. After receiving the confirmation reception signal returned by the corresponding sending end, the receiving end sends data to the corresponding sending end while receiving the data itself, thereby saving a lot of time for storing data in the temporary storage area of ​​the receiving end and the temporary storage area of ​​the sending end and the time required to wait for sending data, effectively reducing the delay time of the data exchange process and improving the efficiency of data transmission;

[0042] b. If the switch provided by the present invention includes N data transmission ports, the N data transmission ports are arranged on N layers of circuits, each layer of circuits includes a receiving end of a data transmission port and a transmitting end of other data transmission ports, and the receiving end of one data transmission port is electrically connected to the transmitting end of other data transmission ports respectively, and the receiving end and the transmitting end of different data transmission ports on each layer of circuits perform data transmission independently and synchronously, which not only improves the efficiency of data transmission and reduces the delay of data transmission, but also prevents mutual interference between various data transmission channels, and can ensure the reliability of data transmission;

[0043] c. The switch and data transmission method provided by the present invention optimize the data retransmission mechanism. On the one hand, when the receiving end and the sending end send data, the data in the corresponding temporary storage area is synchronously retained until all the data transmission is completed. On the other hand, when data retransmission is required after termination or interruption, the data transmission mode in the existing switch can be changed. Only one set of data is retained in the storage of the sending and receiving temporary storage areas. For example, when the target end (external device) fails to verify the data, the target end will abandon / terminate the data transmission. When the data is retransmitted, all the data in the temporary storage areas corresponding to the receiving end and the sending end can be retransmitted to the target address. There is no need to find the data location in the temporary storage area, which reduces the delay of data retransmission, improves the efficiency of data retransmission, and solves the problem of data retransmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1 It is a schematic diagram of the data transmission principle of a switch in the prior art;

[0046] Figure 2 A schematic diagram of the working process of a switch provided for an exemplary embodiment of the present invention;

[0047] Figure 3 A schematic diagram of data transmission principle of a switch provided for an exemplary embodiment of the present invention;

[0048] Figure 4 A schematic diagram of a circuit architecture in a four-port switch provided for an exemplary embodiment of the present invention. DETAILED DESCRIPTION

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

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

[0051] In one embodiment of the present invention, a low-latency switch is provided. Figures 2 to 4 , the switch includes a plurality of data transmission ports electrically connected to each other, each of the data transmission ports is configured with a port address, different data transmission ports correspond to different port addresses, and each of the data transmission ports includes a receiving end and a transmitting end, the receiving end is configured with a corresponding receiving end temporary storage area, the receiving end temporary storage area is configured to store data received by the receiving end, and the transmitting end is configured with a transmitting end temporary storage area, the transmitting end temporary storage area is configured to store data received by the transmitting end;

[0052] The receiving end of the data transmission port is configured to receive data transmitted from the outside to the switch and send the data to the sending end of other data transmission ports; the sending end of the data transmission port is configured to receive the data sent by the receiving end of other data transmission ports;

[0053] The receiving end of the data transmission port receives data and stores it in the corresponding receiving end temporary storage area, wherein the data includes a target address, and the target address is one of the multiple port addresses;

[0054] When the receiving end completes receiving the target address of the data, it sends a data transmission request to the sending end of the other data transmission port, wherein the data transmission request includes the target address;

[0055] The sending end of the other data transmission port receives the data transmission request and matches the target address with its corresponding port address, and the sending end with a consistent match returns a confirmation reception signal to the receiving end;

[0056] In response to receiving the confirmation reception signal, the receiving end sends data to the corresponding sending end, and the sending end receives the data and stores it in the corresponding sending end temporary storage area.

[0057] Existing switch technology has a big problem in data transmission delay. Since data needs to be received completely before it can be sent to the next step, such as Figure 1 As shown, after the external device completely transmits the data to the receiving end's buffer area, the receiving end will send the data stored in the receiving end's buffer area to the target's sending end only after obtaining the confirmation signal from the target sending end; similarly, the sending end will send the data in its sending end's buffer area to the target only after receiving all the data and confirming the confirmation signal returned by the target, which results in a higher delay.

[0058] The switch provided by the present invention greatly reduces the delay by changing the way of receiving and sending data and changing the path of the temporary storage area in the switch. Figure 3 As shown, the receiving end in this switch does not need to receive the data completely before proceeding to the next transmission. It only needs to generate a data transmission request and send it to the transmitting end of each other data transmission port after completing the target address in the received data. The data transmission request includes the target address, the port address that matches the target address, and determines that the port address is the target transmitting end. The target transmitting end will return a confirmation reception signal to the receiving end. After receiving the confirmation reception signal, the receiving end sends data to the target transmitting end while receiving data itself. Preferably, as Figure 3 As shown, the sending end receives data and synchronously sends the received data to the outside of the switch. This saves a lot of time for storing data in the receiving end temporary storage area and the sending end temporary storage area, as well as the time for waiting to send a data transmission request signal and waiting for the confirmation reception signal to return, effectively reducing the delay time of the data exchange process.

[0059] The low-latency switch provided by the present invention is based on multiple data transmission ports. When a device sends data to the switch, it can simultaneously receive data from other devices in the switch and send data to other devices at the same time, which can further reduce the delay of data transmission and improve the efficiency of data transmission. The above steps can be performed in a laboratory environment, and the required equipment includes a switch, a bus (such as PCIe), a computer, etc. Among them, the capacity of the receiving end buffer area and the sending end buffer area of ​​the switch can be set according to actual needs to ensure the efficiency and accuracy of data transmission. The computer can be used to send and receive data, and monitor the delay and accuracy of data transmission.

[0060] In one embodiment of the present invention, Figure 4 As shown, the switch includes N data transmission ports, and the N data transmission ports are arranged on N layers of circuits. Each layer of the circuit includes a receiving end of one data transmission port and a transmitting end of the other data transmission ports, and the receiving end of one data transmission port is electrically connected to the transmitting ends of the other data transmission ports respectively.

[0061] In this embodiment, data is transmitted between the receiving end and the transmitting end on the same layer circuit, and data is not transmitted between the receiving end and the transmitting end on different layers circuit. The receiving end and the transmitting end on each layer circuit transmit data independently from each other. The receiving end and the transmitting end on each layer circuit can transmit data simultaneously.

[0062] Specifically, Figure 4 The 4-layer circuit architecture provided in the figure is suitable for 4 data transmission ports. Figure 4 In the figure, the two data transmission ports on the front side of each layer are port one and port two from left to right, and the two data transmission ports on the back side of each layer are port three and port four from left to right. Port one to port four are all configured with a receiving end, a transmitting end and a corresponding temporary storage area.

[0063] Among them, the receiving end of port 1 of the first layer is electrically connected to the transmitting ends of ports 2 to 4 respectively; the receiving end of port 2 of the second layer is electrically connected to the transmitting ends of ports 1, 3 and 4 respectively; the receiving end of port 3 of the third layer is electrically connected to the transmitting ends of ports 1, 2 and 4 respectively; the receiving end of port 4 of the fourth layer is electrically connected to the transmitting ends of ports 1, 2 and 3 respectively. In this way, the receiving ends of different data transmission ports and the transmitting ends can independently and synchronously transmit data, which not only improves the efficiency of data transmission and reduces the delay of data transmission, but also prevents the data transmission channels from interfering with each other, thus ensuring the reliability of data transmission.

[0064] Different from the prior art, the receiving end and the sending end of the same data transmission port share the same temporary storage area; in the present application, a temporary storage area is respectively configured for the receiving end and the sending end of each data transmission port, thereby making full use of the bidirectional transmission provided on the bus, electrically connecting the receiving end temporary storage area with each sending end temporary storage area, and separating the received data and the sent data into different temporary storage areas by adding a temporary storage area, thereby reducing the waiting delay caused by the inability to receive data when the temporary storage area of ​​a port is sending data when data is transmitted in the switch.

[0065] Preferably, in order to further improve the reliability of data transmission, in one embodiment of the present invention, when the receiving end sends data to the sending end, the data in the receiving end temporary storage area corresponding to the receiving end is synchronously retained. Specifically, the sent data and the unsent data in the receiving end temporary storage area are synchronously retained and will not be cleared; after the receiving end sends a group of data to the sending end, the data stored in the receiving end temporary storage area is cleared. More preferably, at the same time, a receiving end temporary storage area only retains one group of data.

[0066] Similarly, when the sending end sends data to the outside of the switch, the data in the sending end temporary storage area corresponding to the sending end is synchronously retained. Specifically, the sent data and the unsent data in the sending end temporary storage area continue to be retained in the sending end temporary storage area and will not be cleared; after the sending end sends a group of data to the outside of the switch, the data stored in the sending end temporary storage area is cleared. More preferably, at the same time, one sending end temporary storage area only retains one group of data.

[0067] If the transmission is interrupted or terminated during the process of the receiving end sending data to the sending end, when the receiving end sends data to the sending end again, all the data in the corresponding receiving end buffer area will be sent to the sending end, and the sending end will receive the data and store and / or replace the data in the corresponding sending end buffer area.

[0068] If the sending is interrupted or stopped during the process of the sending end sending data to the outside of the switch, when the sending end sends data to the outside of the switch again, all the data in the sending end temporary storage area corresponding to the sending end is sent to the outside of the switch.

[0069] Based on the above optimized data retransmission mechanism, the data transmission mode in the existing switch can be changed. Only one set of data is retained in the storage of the sending and receiving temporary storage areas. When the target end (external device) fails to verify the data, the target end will abandon / terminate the data transmission. When the data is retransmitted, the target end only needs to retransmit all the data in the temporary storage area of ​​the receiving sending end, and there is no need to find the storage address in the temporary storage area of ​​the sending end, thereby improving the efficiency of data retransmission.

[0070] In the existing switch technology, when data is transmitted, if the receiving end's temporary storage area is processing other data and cannot respond in time, the sending end will temporarily store this group of transmission data in the temporary storage area, and continue to receive data until the temporary storage area is full. When the transmission starts, it will need to find the data location in the temporary storage area, which also increases the delay. This technical solution improves the efficiency of data retransmission by optimizing the data retransmission mechanism as above, and solves the problem of data retransmission efficiency.

[0071] The technical solution of the present invention simplifies the data transmission process, reduces the storage and transmission time of data in the switch, improves the efficiency of data transmission, and thus improves the performance of the entire computer system. In general, the present invention has significant advantages over the prior art in terms of data transmission delay, bidirectional transmission capability of the bus, data retransmission efficiency, and simplified data transmission process.

[0072] In one embodiment of the present invention, a low-latency data transmission method is provided for transmitting data between a plurality of electrically connected data transmission ports, comprising the following steps:

[0073] A port address is configured for each of the data transmission ports, and a receiving end and a transmitting end are configured for each of the data transmission ports, wherein the receiving end is configured with a corresponding receiving end temporary storage area, and the receiving end temporary storage area is configured to store data received by the receiving end, and the transmitting end is configured with a transmitting end temporary storage area, and the transmitting end temporary storage area is configured to store data received by the transmitting end;

[0074] The receiving end of the data transmission port is configured to receive data and send the data to the sending end of other data transmission ports; the sending end of the data transmission port is configured to receive data sent by the receiving end of other data transmission ports;

[0075] The receiving end of the data transmission port receives data and stores it in the corresponding receiving end temporary storage area, wherein the data includes a target address, and the target address is one of the multiple port addresses;

[0076] When the receiving end completes receiving the target address of the data, it sends a data transmission request to the sending end of the other data transmission port, wherein the data transmission request includes the target address;

[0077] The sending ends of the other data transmission ports respectively receive the data transmission request and match the target address with its corresponding port address, and the sending ends with consistent matches return a confirmation reception signal to the receiving end;

[0078] In response to receiving the confirmation signal, the receiving end sends data to the sending end that returns the confirmation signal, and the sending end receives the data and stores it in the corresponding sending end temporary storage area. The sending end receives the data and synchronously sends the received data to the outside.

[0079] In this embodiment, the receiving end of each of the data transmission ports is configured to be electrically connected to the transmitting end of the other data transmission ports; the receiving ends of different data transmission ports and the transmitting ends of other data transmission ports perform data transmission independently. When the receiving end sends data to the transmitting end, the data in the receiving end temporary storage area corresponding to the receiving end is synchronously retained; after the receiving end sends a group of data to the transmitting end, the data stored in the receiving end temporary storage area is cleared.

[0080] In one embodiment of the present invention, a data transmission system is provided, which performs data transmission using the low-delay data transmission method as described above.

[0081] The low-latency data transmission method and data transmission system provided by the present invention can be widely used in application fields such as computer systems, high-speed data transmission equipment, and bus equipment. First, in a computer system, a switch is a crucial device, which is used to connect multiple computers or other network devices to achieve high-speed data transmission. This technical solution reduces the delay and realizes the simultaneous reception of data when the port is sent by changing the way of receiving and sending data and changing the path of the temporary storage interval in the switch, which will greatly improve the performance of the computer system, especially the efficiency and speed of data transmission. Secondly, in high-speed data transmission equipment, this technical solution can make full use of the bidirectional transmission capability provided by the bus, and can simultaneously receive data from other devices when the device sends data to the switch, which will greatly improve the efficiency and speed of data transmission and reduce the delay of data transmission. Finally, in a bus device, this technical solution reduces the delay and realizes the simultaneous reception of data when the port is sent by changing the way and path of data transmission in the switch, which will greatly improve the performance of the bus device, especially the efficiency and speed of data transmission. In general, this technical solution has broad application prospects in the fields of computer systems, high-speed data transmission equipment, bus equipment, etc., with huge market demand and great commercial value.

[0082] It should be noted that the low-latency data transmission method and data transmission system embodiments provided by the present invention have the same inventive concept as the above-mentioned low-latency switch embodiments, and the entire content of the low-latency switch embodiments is incorporated into the low-latency data transmission method and data transmission system embodiments by introduction.

[0083] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0084] The above is only a specific implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A low-latency switch, characterized in that: The switch comprises a plurality of data transmission ports electrically connected to each other, each of the data transmission ports is configured with a port address, and each of the data transmission ports comprises a receiving end and a transmitting end; The receiving end of the data transmission port is configured to receive data transmitted from the outside to the switch and send the data to the sending end of other data transmission ports; the sending end of the data transmission port is configured to receive the data sent by the receiving end of other data transmission ports; The receiving end of the data transmission port receives data, the data includes a target address, and the target address is one of the multiple port addresses; When the receiving end completes receiving the target address of the data, it sends a data transmission request to the sending end of the other data transmission port, wherein the data transmission request includes the target address; The sending end of the other data transmission port receives the data transmission request and matches the target address with its corresponding port address, and the sending end with a consistent match returns a confirmation reception signal to the receiving end; In response to receiving the confirmation reception signal, the receiving end sends data to the sending end that returns the confirmation reception signal, and the sending end receives the data.

2. The low-latency switch according to claim 1, characterized in that The switch comprises N data transmission ports, and the N data transmission ports are arranged on an N-layer circuit; Each layer of the circuit includes a receiving end of one of the data transmission ports and a transmitting end of the other data transmission ports, and the receiving end of one of the data transmission ports is electrically connected to the transmitting ends of the other data transmission ports, respectively.

3. The low-latency switch according to claim 2, characterized in that Data is transmitted between the receiving end and the transmitting end on the same layer circuit, and data is not transmitted between the receiving end and the transmitting end on different layers circuit.

4. The low-latency switch according to claim 2, characterized in that The receiving end and the transmitting end on each layer of the circuit independently transmit data to each other; and / or, The receiving end and the transmitting end on each layer of circuit can simultaneously transmit data.

5. The low-latency switch according to claim 1, wherein: The receiving end is configured with a corresponding receiving end temporary storage area, and the receiving end temporary storage area is configured to store data received by the receiving end; The transmitting end is configured with a transmitting end temporary storage area, and the transmitting end temporary storage area is configured to store data received by the transmitting end.

6. The low-latency switch according to claim 5, characterized in that When the receiving end sends data to the sending end, the data in the receiving end temporary storage area corresponding to the receiving end is synchronously retained; After the receiving end sends a group of data to the sending end, the data stored in the temporary storage area of ​​the receiving end is cleared.

7. The low-latency switch according to claim 6, characterized in that If the transmission is interrupted or terminated during the process of the receiving end sending data to the sending end, when the receiving end sends data to the sending end again, all the data in the corresponding receiving end buffer area will be sent to the sending end, and the sending end will receive the data and store and / or replace the data in the corresponding sending end buffer area.

8. The low-latency switch according to claim 5, characterized in that The sending end receives data and synchronously sends the received data to the outside of the switch.

9. The low-latency switch according to claim 8, characterized in that When the sending end sends data to the outside of the switch, the data in the sending end temporary storage area corresponding to the sending end is synchronously retained; After the sending end sends a group of data to the outside of the switch, the data stored in the temporary storage area of ​​the sending end is cleared.

10. The low-latency switch according to claim 9, characterized in that If the sending is interrupted or stopped during the process of the sending end sending data to the outside of the switch, when the sending end sends data to the outside of the switch again, all the data in the sending end temporary storage area corresponding to the sending end is sent to the outside of the switch.

11. The low-latency switch according to claim 5, characterized in that At the same time, one of the receiving end temporary storage areas only retains one set of data; and / or, At the same time, one sending-end temporary storage area only retains one set of data.

12. A low-latency data transmission method, characterized in that: The method is used to transmit data between a plurality of electrically connected data transmission ports, comprising the following steps: Configure a port address for each of the data transmission ports, and configure a receiving end and a transmitting end for each of the data transmission ports; The receiving end of the data transmission port is configured to receive data and send the data to the sending end of other data transmission ports; the sending end of the data transmission port is configured to receive data sent by the receiving end of other data transmission ports; The receiving end of the data transmission port receives data, the data includes a target address, and the target address is one of the multiple port addresses; When the receiving end completes receiving the target address of the data, it sends a data transmission request to the sending end of the other data transmission port, wherein the data transmission request includes the target address; The sending ends of the other data transmission ports respectively receive the data transmission request and match the target address with its corresponding port address, and the sending ends with consistent matches return a confirmation reception signal to the receiving end; In response to receiving the confirmation reception signal, the receiving end sends data to the sending end that returns the confirmation reception signal, and the sending end receives the data.

13. The low-delay data transmission method according to claim 12, characterized in that: The receiving end is configured with a corresponding receiving end temporary storage area, and the receiving end temporary storage area is configured to store data received by the receiving end; The transmitting end is configured with a transmitting end temporary storage area, and the transmitting end temporary storage area is configured to store data received by the transmitting end.

14. The low-delay data transmission method according to claim 13, characterized in that: The transmitting end receives data and synchronously sends the received data to the outside; and / or, When the receiving end sends data to the sending end, the data in the receiving end temporary storage area corresponding to the receiving end is synchronously retained; After the receiving end sends a group of data to the sending end, the data stored in the temporary storage area of ​​the receiving end is cleared.

15. The low-delay data transmission method according to claim 12, characterized in that: It also includes configuring the receiving end of each of the data transmission ports to be electrically connected to the sending ends of the other data transmission ports; The receiving ends of different data transmission ports perform data transmission independently from the sending ends of other data transmission ports.

16. A data transmission system, characterized in that: Data transmission is performed using the low-latency data transmission method as described in any one of claims 12 to 15.

Citation Information

Cited By

  • Low-failure-rate switch, data transmission method and data transmission system

    CN120281734A

  • A low failure rate switch, data transmission method and data transmission system

    CN120281734B

  • Flow forwarding method and communication system based on fat tree data center network topology structure

    CN120528871A

  • Switch, system and method for data transmission based on dynamic route descriptor and shared pool

    CN121309511A