发明名称 System and method for transmitting data based on PCIe
摘要 Embodiments of the present invention provide a system and a method for transmitting data based on Peripheral Component Interconnect Express 9PCIe). The system includes: a PCIe switching network, multiple switch terminal devices, a managing unit, multiple host processing units, multiple terminal processing units, multiple hosts, and multiple terminal devices. After a PCIe data packet sent by a host is processed by a host processing unit, a new PCIe data packet that can be transmitted in a PCIe switch is constructed, and is transferred, by using a switch terminal device and a terminal processing unit, to a terminal device. The embodiments can break through a limitation about a single root node of PCIe and implement sharing of a PCIe switching network by multiple hosts.
申请公布号 US9632963(B2) 申请公布日期 2017.04.25
申请号 US201414193217 申请日期 2014.02.28
申请人 Huawei Technologies Co., Ltd. 发明人 Yi Chang;Wang Jing;Su Dexian
分类号 G06F13/24;G06F13/40 主分类号 G06F13/24
代理机构 代理人
主权项 1. A system for transmitting data based on Peripheral Component Interconnect Express (PCIe), the system comprising: a PCIe switch comprising an upstream port and multiple downstream ports; a managing unit, which connects to the upstream port of the PCIe switch; multiple switch terminal devices, which separately connect to the multiple downstream ports in a one-to-one manner; multiple host processing units, each configured to connect to a respective host, including at least a first host processing unit configured to connect to a first host; and multiple terminal processing units, configured to connect to terminal devices; wherein: the multiple switch terminal devices further separately connect to the multiple host processing units or the multiple terminal processing units in a one-to-one manner;the managing unit is configured to establish a first path rule that comprises a routing path for routing based on the PCIe switch between the switch terminal devices that connect to the PCIe switch;the first host processing unit stores a second path rule that comprises a correspondence between a first destination switch terminal device that needs to be passed through when the first host processing unit transmits a first PCIe data packet according to the first path rule to a destination terminal device and the destination terminal device, the destination terminal device is a terminal device that needs to receive the first PCIe data packet sent by the first host, and the first destination switch terminal device is a switch terminal device that connects to the destination terminal device by using the terminal processing unit among the multiple switch terminal devices;the first host processing unit is further configured to receive the first PCIe data packet sent by the first host, wherein the first PCIe data packet carries a data payload and terminal routing information of the destination terminal device;determine, according to the second path rule and the terminal routing information, the first destination switch terminal device that corresponds to the destination terminal device, and construct, based on the first PCIe data packet, a second PCIe data packet that can be routed from a first source switch terminal device to the first destination switch terminal device, wherein the first source switch terminal device is a switch terminal device that connects to the first host processing unit; andsend the constructed second PCIe data packet to the first source switch terminal device, so that the first source switch terminal device routes the second PCIe data packet to the first destination switch terminal device according to the first path rule, wherein the second PCIe data packet comprises the data payload; after receiving the second PCIe data packet, the first destination switch terminal device sends the second PCIe data packet to a destination terminal processing unit, wherein the destination terminal processing unit is a terminal processing unit that connects to the first destination switch terminal device among the multiple terminal processing units; and after receiving the second PCIe data packet, the destination terminal processing unit parses the second PCIe data packet to obtain the data payload and sends the data payload to the destination terminal device that connects to the destination terminal processing unit.
地址 Shenzhen CN