WO2015010514A1 - 一种信号转换方法、装置及系统 - Google Patents

一种信号转换方法、装置及系统 Download PDF

Info

Publication number
WO2015010514A1
WO2015010514A1 PCT/CN2014/080673 CN2014080673W WO2015010514A1 WO 2015010514 A1 WO2015010514 A1 WO 2015010514A1 CN 2014080673 W CN2014080673 W CN 2014080673W WO 2015010514 A1 WO2015010514 A1 WO 2015010514A1
Authority
WO
WIPO (PCT)
Prior art keywords
interconnection
message
domain
fast
port
Prior art date
Application number
PCT/CN2014/080673
Other languages
English (en)
French (fr)
Inventor
陆斌
王工艺
陈昊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015010514A1 publication Critical patent/WO2015010514A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/106Mapping addresses of different types across networks, e.g. mapping telephone numbers to data network addresses

Definitions

  • the present invention relates to the field of communications, and in particular, to a signal conversion method, apparatus, and system. Background technique
  • IB Inf iniBand
  • IB switch routes packets through subnets, and the IB router connects multiple subnets together.
  • IB can be managed more sparingly, with a manager in each subnet that plays a decisive role in routing packets, mapping network topologies, providing multiple links within the network, and monitoring performance. Therefore, the connection between the IB domain network and the CPU is very common.
  • the way the CPU is connected to the IB domain network is mainly to place the CPU in PCIe.
  • a signal conversion method including:
  • the fast channel interconnection message includes a destination node address DN ID; and searching, in the routing table, the infinite interconnection IB ⁇ ⁇ corresponding to the destination node address according to the destination node address a local address LID; the fast channel interconnection message is converted into an infinitely interconnected message, wherein the packet header of the infinitely interconnected message includes a local address, and the data field of the infinitely interconnected message includes the fast channel interconnection
  • the infinitely interconnected message is sent to the infinite interconnected domain according to the port identifier of the infinite interconnected domain in the routing table.
  • a signal conversion method including:
  • the data field of the infinitely interconnected message includes a fast channel interconnect QP I ⁇ ; extracting the fast channel interconnect message in the data field of the infinite interconnect message; according to the routing table
  • the port identifier of the fast-path interconnect domain sends the fast-channel interconnect message to the fast-path interconnect domain.
  • the according to the routing table The port identifier of the fast channel interconnection domain, the sending the fast channel interconnection message to the fast channel interconnection domain, specifically: searching for the location in the routing table according to the destination node address DNID of the fast channel interconnection Port identifier of the fast-path interconnect domain corresponding to the destination node address; the fast-path interconnect port corresponding to the port identifier of the fast-path interconnect domain
  • the routing table includes: a mapping relationship between a destination node address of the fast channel interconnection message and a port identifier of the fast channel interconnection domain.
  • the third aspect provides a signal conversion apparatus, including a port unit, a route conversion unit, and a conversion unit: the port unit is configured to receive a fast channel interconnection QPI message, where the fast channel interconnection includes a destination node
  • the address conversion unit is configured to search, in the routing table, the local address of the infinitely interconnected IB ⁇ text corresponding to the destination node address according to the destination node address of the fast channel interconnection message received by the port unit.
  • the packet conversion unit is configured to convert the fast channel interconnection message into an infinitely interconnected local address, where the data field of the infinitely interconnected message includes the fast channel interconnection message;
  • the port unit is further configured to send the infinite interconnection message converted by the packet conversion unit to the infinite interconnection domain according to the port identifier of the infinite interconnection domain in the routing table.
  • the port unit includes: a query subunit and a sending subunit;
  • the query subunit is configured to query the routing table, according to the infinitely interconnected message
  • the sending subunit is configured to send the infinite interconnected message to the corresponding device of the infinite interconnected domain by using the infinite interconnected port corresponding to the port identifier of the infinite interconnected domain obtained by the query subunit;
  • the routing table includes: Destination address field of the fast channel interconnection message, unlimited The mapping between the local address field of the interconnected packet and the port identifier of the infinite interconnected domain.
  • a fourth aspect provides a signal conversion apparatus, including: a port unit and a message conversion unit;
  • the port unit is configured to receive an infinitely interconnected IB message, where the data field of the infinitely interconnected message includes a fast channel interconnect QP I message, and the message converting unit is configured to extract the infinite interconnect message received by the port unit.
  • the port unit includes a query subunit and a sending subunit;
  • the DNI D is configured to search, in the routing table, a port label i of the fast-path interconnect domain corresponding to the destination node address, where the sending sub-unit is configured to correspond to a port identifier of the fast-path interconnect domain obtained by the query sub-unit
  • the fast channel interconnection port sends the fast channel interconnection to the corresponding device of the fast channel interconnection domain;
  • the routing table includes: a destination node address of the fast channel interconnection message and a port identifier of the fast channel interconnection domain Mapping relationship.
  • a network system including a fast channel interconnection QP I domain interconnection network and an infinite interconnection IB domain interconnection network, where the fast channel interconnection domain interconnection network and the infinite interconnection domain interconnection network are connected by the foregoing signal conversion device.
  • the signal conversion method, device, and system provided by the embodiment of the present invention convert the QP I message into the IB message, or convert the IB message into the QP I message, and convert the QP I message and the IB message.
  • the signal conversion of the QP I domain network and the IB domain network is realized, thereby realizing the connection between the QP I domain network and the IB domain network.
  • FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a signal conversion apparatus according to an embodiment of the present invention
  • FIG. 3 is still another signal conversion provided by an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a signal conversion apparatus according to another embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of still another signal conversion apparatus according to another embodiment of the present invention;
  • FIG. 6 is a schematic structural diagram of still another signal conversion apparatus according to another embodiment of the present invention
  • FIG. 7 is a schematic flowchart of a signal conversion method according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram of a signal conversion method according to an embodiment of the present invention
  • FIG. 9 is a schematic flow chart of a signal conversion method according to another embodiment of the present invention.
  • Embodiments of the present invention provide a signal conversion method, apparatus, and system, which are applied to implement signal conversion between a QPI domain network and an IB domain network in a communication system, thereby implementing connection between a QPI domain network and an IB domain network.
  • the embodiment of the present invention provides a network system, which is shown in FIG. 1, and includes at least one signal conversion device 2 for connecting the QPI domain network la and the IB domain network lb.
  • the signal conversion device 2 includes a port unit 21, a route conversion unit 11, and a message conversion unit 23.
  • the port unit 21 is configured to receive a fast channel interconnection QPI packet, and the fast channel interconnection message includes a destination node identifier (DNID).
  • the route conversion unit 22 is configured to search for the infinite interconnection IB corresponding to the destination node address in the routing table according to the destination node address of the fast channel interconnection message received by the port unit 21.
  • the local identification (LID) message conversion unit 23 is configured to convert the fast channel interconnection message into an infinitely interconnected message, wherein the message header of the infinitely interconnected message includes the local address obtained by the route conversion unit 22.
  • the data fields of the infinitely interconnected message include fast channel interconnect messages.
  • the port unit 21 is further configured to send the infinite interconnection message converted by the message conversion unit 23 to the infinite interconnection domain according to the port identifier of the infinite interconnection domain in the routing table.
  • the port unit 21 includes: a query subunit 211 and a sending subunit 212.
  • the query sub-unit 211 is configured to query the routing table, and obtain the port identifier of the infinite interconnect domain corresponding to the infinite interconnect message according to the local address field of the infinite interconnect message.
  • the sending subunit 212 is configured to send the infinite interconnected text to the corresponding device of the infinite interconnected domain by using the infinite interconnect port corresponding to the port identifier of the infinite interconnected domain obtained by the query subunit 211.
  • the routing table is as shown in Table 1 below: The mapping relationship of the destination section of the fast channel interconnection message.
  • the port unit is a common input and output 10-port unit, including a message parser, which is used for encapsulation, decapsulation, and Cyclic Redundancy Check (CRC) detection.
  • CRC Cyclic Redundancy Check
  • the signal conversion apparatus converts the QPI packet into the IB packet by converting the QPI packet into the IB packet, or the IB packet into the QPI packet, thereby realizing the QPI domain network and the IB packet. Signal conversion of the domain network, thereby implementing the QPI domain network CPU High speed connection to the IB domain network.
  • the embodiment of the present invention further provides a signal conversion apparatus.
  • the signal conversion apparatus 4 includes a port unit 41 and a message conversion unit 42.
  • the port unit 41 is configured to receive an infinitely interconnected IB message, and the data field of the infinitely interconnected message includes a fast channel interconnect QP I message.
  • the message conversion unit 42 is configured to extract the fast channel interconnection message in the data field of the infinitely interconnected message received by the port unit 41.
  • Port unit 41 is also used to identify the port identifier of the fast path interconnect domain in the routing table.
  • the port unit 41 includes a query subunit 411 and a sending subunit 412.
  • the query sub-unit 411 is configured to search the routing table for the port identifier of the fast-path interconnect domain corresponding to the destination node address according to the destination node address DNID of the fast-path interconnect.
  • the sending subunit 412 is configured to send the fast channel interconnection to the corresponding device of the fast channel interconnection domain by querying the fast channel interconnection port corresponding to the port identifier of the fast channel interconnection domain obtained by the subunit 411.
  • the routing table includes: The mapping relationship between the destination node address of the fast-path interconnect message and the port identifier of the fast-path interconnect domain.
  • the signal conversion apparatus converts the QPI packet into the IB packet by converting the QPI packet into the IB packet, or converting the IB packet into the QPI packet, thereby realizing the QP I domain network and The signal conversion of the IB domain network, thereby realizing the high-speed connection between the QP I domain network CPU and the IB domain network.
  • Another embodiment of the present invention provides a signal conversion apparatus having a structure as shown in FIG. 6.
  • the signal conversion apparatus includes: at least one processor 61, a data bus 62, and a storage And a communication port 64, at least one processor 61, a memory 63 and a communication port 66 are connected through the data bus 62 and complete communication with each other, wherein:
  • the data bus 62 can be an industry standard architecture I S A bus, an external device interconnect PCI bus, or an extended industry standard architecture EISA bus.
  • the data bus 62 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 6, but it does not mean that there is only one bus or one type of bus.
  • the memory 63 is for storing executable program code, the program code including computer operating instructions.
  • the memory 63 may include a high speed RAM memory and may also include a nonvolatile memory.
  • the memory includes at least a memory space of the memory 63, and stores a routing table.
  • Processor 61 may be a central processing unit CPU, or a specific integrated circuit ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the communication port 64 is configured to implement the function of the processor 61, receive a packet of the network, or send a message.
  • the processor 61 is further configured to call the program code in the memory 63 to perform the operations of the route conversion unit 11 and the message conversion unit 23 in the foregoing device embodiment, or to execute the message conversion unit 42 in the above device embodiment.
  • the signal conversion apparatus provided by the embodiment of the present invention converts the QP I message into an IB message, or packs the IB message into a QP I message, and converts the QP I message and the IB message, thereby realizing the QP I domain.
  • the signal conversion between the network and the IB domain network thereby realizing the high-speed connection between the QP I domain network CPU and the IB domain network.
  • the embodiment of the present invention further provides a signal conversion method, which is applied to the signal conversion device provided by the device embodiment. Referring to FIG. 7, the method includes:
  • the signal conversion apparatus receives the fast channel interconnection QP I message, and the fast channel interconnection message includes a destination node address DNI D.
  • the signal conversion device searches, in the routing table, the local address L I D of the infinite interconnected IB message corresponding to the destination node address according to the destination node address.
  • the signal conversion device converts the fast channel interconnection message into an infinitely interconnected message, wherein the packet header of the infinitely interconnected message includes a local address, and a data field of the infinitely interconnected message Includes fast channel interconnect messages.
  • the signal conversion apparatus sends the infinite interconnection message to the infinite interconnection domain according to the port identifier of the infinite interconnection domain in the routing table.
  • the routing table is as shown in Table 1 of the foregoing device embodiment, and includes: a mapping relationship between a destination node address field of the fast channel interconnection packet, a local address field of the infinitely interconnected packet, and a port identifier of the infinite interconnection domain. 704 specifically includes:
  • the signal conversion device queries the routing table, and obtains the port identifier of the infinite interconnection domain corresponding to the infinite interconnection message according to the local address field of the infinite interconnection message. 704b. The signal conversion device sends the infinite interconnection message to the corresponding device of the infinite interconnection domain through the infinite interconnection port corresponding to the port identifier of the infinite interconnection domain.
  • the packets of the I B domain network in the communication system are converted into the packets of the QP I domain network, thereby realizing the signal conversion between the CPU interconnect domain network and the I B domain network.
  • the embodiment of the present invention further provides a signal conversion method, which is applied to the signal conversion device provided by the device embodiment. Referring to FIG. 8, the method includes:
  • the signal conversion apparatus receives the infinitely interconnected IB message, and the data field of the infinitely interconnected message includes a fast channel interconnection QP I message.
  • the signal conversion device extracts a fast channel interconnection message in a data field of the infinitely interconnected message.
  • the signal conversion device sends the fast channel interconnection message to the fast channel interconnection domain according to the port identifier of the fast channel interconnection domain in the routing table.
  • the routing table is as shown in Table 2 in the foregoing device embodiment, and includes: mapping relationship between the destination node address of the fast channel interconnection packet and the port identifier of the fast path interconnection domain.
  • step 803, specifically includes:
  • the 803a the signal conversion device searches the routing table for the port identifier of the fast path interconnection domain corresponding to the destination node address according to the destination node address DN ID of the fast channel interconnection message.
  • the signal conversion device identifies the corresponding fast backup through the port identifier of the fast path interconnection domain. , , , ' , , , , , '
  • the packets of the QPI domain network are converted into the packets of the IB domain network, thereby realizing the signal conversion between the CPU interconnect domain network and the IB domain network.
  • the signal conversion method provided by the embodiment of the present invention converts a QP I message into an IB message, or packs the IB message into a QPI message, and converts the QPI message and the IB message to implement a QP I domain network.
  • the embodiment of the present invention further provides an internetwork signal conversion method, which is applied to the signal conversion apparatus provided in the foregoing apparatus embodiment. Referring to FIG. 9, the method specifically includes:
  • the signal conversion apparatus receives the message. 902.
  • the signal conversion apparatus detects a port that receives the message. When the port that receives the packet is a fast-path interconnect port, perform scenario one:
  • the destination node address field of the fast channel interconnection message is extracted, and the local address of the infinite interconnection message corresponding to the destination node address is searched in the first routing table stored by the signal conversion device, where the first routing table is as in the foregoing device embodiment.
  • the mapping between the destination node address field of the fast-path interconnect message, the local address field of the infinitely interconnected message, and the port identifier of the infinite interconnected domain is included.
  • the fast channel interconnection message is converted into an infinitely interconnected message, wherein the local address field is used as the packet header of the converted infinitely interconnected message, and the fast channel interconnection message is used as the data of the converted infinitely interconnected message.
  • the field encapsulates the converted packet header of the infinitely interconnected packet and the data field of the converted infinitely interconnected packet into the converted infinitely interconnected packet.
  • 906a Query the first routing table, and obtain the port identifier corresponding to the converted infinite internet packet according to the local address field of the converted infinite internet packet.
  • 906b Query the second routing table, and obtain the port identifier corresponding to the converted fast channel interconnection packet according to the destination node address field of the converted fast channel interconnection message.
  • the fast channel interconnection port corresponding to the port identifier sends the converted fast channel interconnection message to the corresponding device of the fast channel interconnection domain.
  • the second routing table is as shown in Table 2 in the foregoing apparatus embodiment, and includes: mapping relationship between a destination node address field of the fast channel interconnection message and a port identifier of the fast path interconnection domain.
  • the method provided by the foregoing solution 1 and the method provided by the second solution realize the mutual conversion between the QPI message and the IB message.
  • the signal conversion method provided by the embodiment of the present invention converts a QPI message into an IB message, or converts the IB message into a QPI message, and converts the QPI message and the IB message, thereby realizing the QPI domain network and The signal conversion of the IB domain network, thereby realizing the connection between the QP I domain network and the IB domain network.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种信号转换方法、装置及系统,涉及通信领域,能够直接将快速通道互联QPI域网络信号和无限互联IB域网络信号进行转换。该方法包括:提取QPI报文的目的节点地址DNID字段,获取DNID字段对应的IB报文的本地地址LID字段,将LID字段作为转换后的IB报文的报文头,将QPI报文作为转换后的IB报文的数据字段,打包为转换后的IB报文;或者,提取IB报文的数据字段,将IB报文的数据字段打包为转换后的QPI报文。本发明的实施例应用于快速通道互联域网络信号和无限互联域网络信号的转换。

Description

一种信号转换方法、 装置及系统
本申请要求于 2013年 7月 22日提交中国专利局、 申请号为
201310308808.1、 发明名称为 "一种信号转换方法、 装置及系统" 的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域 本发明涉及通信领域, 尤其涉及一种信号转换方法、 装置及系统。 背景技术
IB ( Inf iniBand , 无限互联) 是一个统一的互联结构, 应用于服 务器与服务器、 服务器和存储设备以及服务器和网络之间的通信。 IB 交换机通过子网路由分组, IB路由器将多个子网连接在一起。 相对以 太网, IB 可以更加分散地进行管理, 每个子网内有一个管理器, 其在 路由分组、 映射网络拓朴、 在网络内提供多个链路、 监视性能方面起 决定性的作用。 因此, IB域网络与 CPU的连接非常普遍。 目前 CPU 与 IB 域网络连接的方式主要是将 CPU 置于 PCIe
( Per i phera l Component Interconnec t expre s s , 高速夕卜设部件互连 标准)域, 通过 PCIe域与 IB域的连接, 实现 CPU与 IB域网络的连接, 或者将将 CPU置于 E therne t (以太网) 域, 通过 Etherne t域与 IB域 的连接, 实现 CPU与 IB域网络的连接。 QPI ( Qui ck Pa th Interconnec t , 快速通道互联) 是一种基于包 传输的串行式高速点对点连接协议, 釆用差分信号与专门的时钟进行 传输, 用来实现芯片之间的直接互联, 主要用于处理器之间和系统组 件之间的互联通信。 QPI由于具有峰值带宽高, 架构本身具有升级性等 优点, 普遍适用处理器中集成内存控制器的体系架构。
目前 PCIe和 Etherne t域的码率转换速率较低, 导致 CPU与 IB域 的信息转换效率低, QPI 域的码率转换速率较高, 但是将 CPU 配置在 QP I域时, 在目前并没有 QPI域和 IB域的直接连接或实现信号转换的 方法。 发明内容 本发明的实施例提供一种信号转换方法、 装置及系统, 能够将 QP I 报文与 I B报文进行相互转换, 进而实现了 QP I域与 I B域连接。 为达到上述目的, 本发明的实施例釆用如下技术方案: 第一方面, 提供一种信号转换方法, 包括:
接收快速通道互联 QP I 报文, 所述快速通道互联报文包括目的节 点地址 DN I D; 根据所述目的节点地址, 在路由表中查找所述目的节点地址对应 的无限互联 I B · ^艮文的本地地址 L I D; 将所述快速通道互联报文转换为无限互联报文, 其中, 所述无限 互联报文的报文头包括本地地址, 所述无限互联报文的数据字段包括 所述快速通道互联 4艮文; 根据所述路由表中无限互联域的端口标识, 将所述无限互联报文 发送至无限互联域。 结合第一方面, 在第一种可能的实现方式中, 所述根据所述路由 表中无限互联域的端口标识, 将所述无限互联报文发送至无限互联域, 具体包括:
查询所述路由表, 根据所述无限互联报文的本地地址字段, 获取 所述无限互联报文对应的无限互联域的端口标识; 通过所述无限互联域的端口标识对应的无限互联端口将所述无限 互联报文发送至所述无限互联域的对应设备; 所述路由表包括: 快速通道互联报文的目的节点地址字段、 无限 互联报文的本地地址字段与无限互联域的端口标识的映射关系。 第二方面, 提供一种信号转换方法, 包括:
接收无限互联 I B报文, 所述无限互联报文的数据字段包括快速通 道互联 QP I ^艮文; 提取所述无限互联报文的数据字段中的所述快速通道互联报文; 根据路由表中的快速通道互联域的端口标识, 将所述快速通道互 联报文发送至快速通道互联域。
结合第二方面, 在第一种可能的实现方式中, 所述根据路由表中 的快速通道互联域的端口标识, 将所述快速通道互联报文发送至快速 通道互联域, 具体包括: 根据所述快速通道互联^艮文的目的节点地址 DNID, 在所述路由表 中查找所述目的节点地址对应的快速通道互联域的端口标识; 通过所述快速通道互联域的端口标识对应的快速通道互联端口将
所述路由表, 包括: 快速通道互联报文的目的节点地址与快速通 道互联域的端口标识的映射关系。 第三方面, 提供一种信号转换装置, 包括端口单元、 路由转换单 元及 ^艮文转换单元: 所述端口单元用于接收快速通道互联 QPI 报文, 所述快速通道互 联才艮文包括目的节点地址 DNID; 所述路由转换单元用于根据所述端口单元接收的快速通道互联报 文的所述目的节点地址, 在路由表中查找所述目的节点地址对应的无 限互联 IB ^艮文的本地地址 LID; 所述报文转换单元用于将所述快速通道互联报文转换为无限互联 的本地地址, 所述无限互联报文的数据字段包括所述快速通道互联报 文;
所述端口单元, 还用于根据所述路由表中无限互联域的端口标识, 将所述报文转换单元转换的无限互联报文发送至无限互联域。 结合第三方面, 在第一种可能的实现方式中, 所述端口单元包括: 查询子单元和发送子单元;
所述查询子单元用于查询所述路由表, 根据所述无限互联报文的
所述发送子单元用于通过所述查询子单元获取的无限互联域的端 口标识对应的无限互联端口将所述无限互联报文发送至所述无限互联 域的对应设备; 所述路由表包括: 快速通道互联报文的目的节点地址字段、 无限 互联报文的本地地址字段与无限互联域的端口标识的映射关系。 第四方面, 提供一种信号转换装置, 包括: 端口单元及报文转换 单元;
所述端口单元用于接收无限互联 IB报文, 所述无限互联报文的数 据字段包括快速通道互联 QP I报文; 所述报文转换单元用于提取所述端口单元接收的无限互联报文的 数据字段中的所述快速通道互联报文;
识, 将所述报文转换单元提取的快速通道互联报文发送至快速通道互 联域。 结合第四方面, 在第一种可能的实现方式中, 所述端口单元包括 查询子单元和发送子单元;
DNI D , 在所述路由表中查找所述目的节点地址对应的快速通道互联域 的端口标 i只; 所述发送子单元用于通过所述查询子单元获取的快速通道互联域 的端口标识对应的快速通道互联端口将所述快速通道互联 ^艮文发送至 所述快速通道互联域的对应设备; 所述路由表, 包括: 快速通道互联报文的目的节点地址与快速通 道互联域的端口标识的映射关系。 第五方面, 提供一种网络系统, 包括快速通道互联 QP I 域互联网 络与无限互联 I B域互联网络, 所述快速通道互联域互联网络与无限互 联域互联网络通过上述的信号转换装置连接。 本发明实施例提供的信号转换方法、 装置及系统, 通过将 QP I 报 文转换为 IB报文, 或者将 IB报文转换为 QP I报文, 将 QP I报文与 IB 报文进行转换, 实现了 QP I域网络和 I B域网络的信号转换, 进而实现 了 QP I域网络与 IB域网络的连接。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将 对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见 地, 下面描述中的附图仅仅是本发明的一些实施例。 图 1为本发明的实施例提供的一种通信系统结构示意图; 图 2为本发明的实施例提供的一种信号转换装置结构示意图; 图 3为本发明的实施例提供的又一种信号转换装置结构示意图; 图 4为本发明的另一实施例提供的一种信号转换装置结构示意图; 图 5 为本发明的另一实施例提供的又一种信号转换装置结构示意 图;
图 6 为本发明的又一实施例提供的又一种信号转换装置结构示意 图; 图 7为本发明的实施例提供的一种信号转换方法流程示意图; 图 8为本发明的实施例提供的又一种信号转换方法流程示意图; 图 9为本发明的另一实施例提供的一种信号转换方法流程示意图。 具体实施方式 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案 进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实 施例, 而不是全部的实施例。 本发明实施例提供一种信号转换方法、 装置及系统, 应用于通信 系统中实现 QPI域网络与 IB域网络的信号转换, 从而实现 QPI域网络 与 IB域网络的连接。 具体的, 本发明实施例提供一种网络系统, 参照 图 1 所示, 包括至少一个信号转换装置 2, 信号转换装置 2 用于连接 QPI域网络 la及 IB域网络 lb。 其中, 参照图 2所示, 信号转换装置 2 包括端口单元 21、 路由转 换单元 11及报文转换单元 23。
端口单元 21用于端口单元用于接收快速通道互联 QPI报文, 快速 通道互联报文包括目的节点地址 ( Destination Node Identification, DNID ) 。 路由转换单元 22用于根据端口单元 21接收的快速通道互联报文 的目的节点地址, 在路由表中查找目的节点地址对应的无限互联 IB才艮 文的本地地址 ( Local Identification, LID ) 报文转换单元 23用于将快速通道互联报文转换为无限互联报文, 其中, 无限互联报文的报文头包括路由转换单元 22获取的本地地址, 无限互联报文的数据字段包括快速通道互联报文。 端口单元 21, 还用于根据路由表中无限互联域的端口标识, 将报 文转换单元 23转换的无限互联报文发送至无限互联域。 这样, 通信系统中 QPI域网络的报文转换成为 IB域网络的报文, 从而实现了 QPI域网络与 IB域网络的信号转换。 可选的, 参照图 3所示, 端口单元 21包括: 查询子单元 211和发 送子单元 212。 查询子单元 211 用于查询路由表, 根据无限互联报文的本地地址 字段, 获取无限互联报文对应的无限互联域的端口标识。 发送子单元 212用于通过查询子单元 211 获取的无限互联域的端 口标识对应的无限互联端口将无限互联 文发送至无限互联域的对应 设备。
具体的, 路由表如下表 1 所示: 包括快速通道互联报文的目的节 的映射关系。
表 1
Figure imgf000008_0001
其中,端口单元为普通的输入输出 10端口单元, 包括报文解析器, 用于 ^艮文的封装、解封装、循环冗余校验码( Cyclic Redundancy Check, CRC )检测。
本发明的实施例提供的信号转换装置通过将 QPI报文打包为 IB报 文, 或者将 IB报文打包为 QPI报文, 将 QPI报文与 IB报文进行转换, 实现了 QPI域网络和 IB域网络的信号转换,进而实现了 QPI域网络 CPU 与 IB域网络的高速连接。
本发明的实施例还提供一种信号转换装置, 具体的, 参照图 4 所 示, 信号转换装置 4包括端口单元 41、 及报文转换单元 42。 端口单元 41 用于接收无限互联 IB报文, 无限互联报文的数据字 段包括快速通道互联 QP I报文。 报文转换单元 42用于提取端口单元 41接收的无限互联报文的数 据字段中的快速通道互联报文。 端口单元 41还用于根据路由表中的快速通道互联域的端口标识,
可选的, 参照图 5所示, 端口单元 41包括查询子单元 411和发送 子单元 412。 查询子单元 411用于根据快速通道互联 ^艮文的目的节点地址 DNID, 在路由表中查找目的节点地址对应的快速通道互联域的端口标识。
发送子单元 412用于通过查询子单元 411 获取的快速通道互联域 的端口标识对应的快速通道互联端口将快速通道互联^艮文发送至快速 通道互联域的对应设备。
路由表, 如下表 1 所示, 包括: 快速通道互联报文的目的节点地 址与快速通道互联域的端口标识的映射关系。
表 2
Figure imgf000009_0001
本发明的实施例提供的信号转换装置通过将 QPI报文打包为 IB报 文, 或者将 IB报文打包为 QPI报文, 将 QPI报文与 IB报文进行转换, 实现了 QP I域网络和 IB域网络的信号转换,进而实现了 QP I域网络 CPU 与 IB域网络的高速连接。 本发明的另一实施例提供了一种信号转换装置, 其结构参照图 6 所示, 该信号转换装置包括: 至少一个处理器 61、 数据总线 62、 存储 器 63及通信端口 64 , 至少一个处理器 61、 存储器 63和通信端口 66 通过数据总线 62连接并完成相互间的通信, 其中:
该数据总线 62可以是工业标准体系结构 I S A总线、 外部设备互连 PCI总线或扩展工业标准体系结构 EISA总线等。 该数据总线 62可以 分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 6 中仅用一 条粗线表示, 但并不表示仅有一根总线或一种类型的总线。
存储器 63用于存储可执行程序代码, 该程序代码包括计算机操作 指令。 存储器 63可能包含高速 RAM存储器, 也可能还包括非易失性 存储器, 在本发明中存储器至少包括存储器 63的存储空间, 存储路由 表。 处理器 61 可能是一个中央处理器 CPU , 或者是特定集成电路 ASIC , 或者是被配置成实施本发明实施例的一个或多个集成电路。 通信端口 64 , 用于实现处理器 61的功能, 接收网络的报文或发送 报文。 处理器 61 , 还用于调用存储器 63中的程序代码, 用以执行上述设 备实施例中路由转换单元 11及报文转换单元 23 的操作, 或者用以执 行上述设备实施例中报文转换单元 42的操作, 具体描述参照图 2或图 4对应的装置实施例, 这里不再赘述。 本发明实施例提供的信号转换装置通过将 QP I 报文打包为 IB 报 文, 或者将 IB报文打包为 QP I报文, 将 QP I报文与 IB报文进行转换, 实现了 QP I域网络和 I B域网络的信号转换,进而实现了 QP I域网络 CPU 与 IB域网络的高速连接。 本发明实施例还提供一种信号转换方法, 应用于上述装置实施例 提供的信号转换装置, 参照图 7所示, 包括:
701、 信号转换装置接收快速通道互联 QP I报文, 快速通道互联报 文包括目的节点地址 DNI D。
702、 信号转换装置根据目的节点地址, 在路由表中查找目的节点 地址对应的无限互联 IB 艮文的本地地址 L I D。
703、 信号转换装置将快速通道互联报文转换为无限互联报文, 其 中, 无限互联报文的报文头包括本地地址, 无限互联报文的数据字段 包括快速通道互联报文。
704、 信号转换装置根据路由表中无限互联域的端口标识, 将无限 互联报文发送至无限互联域。 其中路由表如上述装置实施例中表 1 所示, 包括: 快速通道互联 报文的目的节点地址字段、 无限互联报文的本地地址字段与无限互联 域的端口标识的映射关系 可选的, 步骤 704具体包括:
704a , 信号转换装置查询路由表, 根据无限互联报文的本地地址 字段, 获取无限互联报文对应的无限互联域的端口标识。 704b , 信号转换装置通过无限互联域的端口标识对应的无限互联 端口将无限互联报文发送至无限互联域的对应设备。
这样, 通信系统中 I B域网络的报文转换成 QP I域网络的报文, 从 而实现了 CPU互联域网络与 I B域网络的信号转换。 本发明实施例还提供一种信号转换方法, 应用于上述装置实施例 提供的信号转换装置, 参照图 8所示, 包括:
801、 信号转换装置接收无限互联 IB报文, 无限互联报文的数据 字段包括快速通道互联 QP I报文。
802、 信号转换装置提取无限互联报文的数据字段中的快速通道互 联报文。
803、 信号转换装置根据路由表中的快速通道互联域的端口标识, 将快速通道互联报文发送至快速通道互联域。 其中路由表如上述装置实施例中表 2 所示, 包括: 快速通道互联 报文的目的节点地址与快速通道互联域的端口标识的映射关系。 可选的, 步骤 803 , 具体包括:
803a、信号转换装置根据快速通道互联报文的目的节点地址 DN ID , 在路由表中查找目的节点地址对应的快速通道互联域的端口标识。
803b , 信号转换装置通过快速通道互联域的端口标识对应的快速 备。 、 、、 ' 、、 " 、 ' 这样, QPI域网络的报文转换成 IB域网络的报文,从而实现了 CPU 互联域网络与 IB域网络的信号转换。 本发明的实施例提供的信号转换方法通过将 QP I报文打包为 IB报 文, 或者将 IB报文打包为 QPI报文, 将 QPI报文与 IB报文进行转换, 实现了 QP I域网络和 IB域网络的信号转换,进而实现了 QP I域网络 CPU 与 IB域网络的高速连接。 本发明实施例还提供一种互联网络信号转换方法,应用于上述装置 实施例提供的信号转换装置, 参照图 9所示, 具体包括:
901、 信号转换装置接收报文。 902、 信号转换装置检测接收报文的端口。 当接收报文的端口为快速通道互联端口时, 执行方案一:
903a , 判定该报文为快速通道互联报文, 对该快速通道互联报文 进行循环冗余校验码校验。
904a , 提取快速通道互联报文的目的节点地址字段, 在信号转换 装置存储的第一路由表中查找目的节点地址对应的无限互联报文的本 地地址, 其中第一路由表如上述装置实施例中表 1 所示, 包括: 快速 通道互联报文的目的节点地址字段、 无限互联报文的本地地址字段与 无限互联域的端口标识的映射关系。
905a , 将快速通道互联报文转换为无限互联报文, 其中, 将本地 地址字段作为转换后的无限互联报文的报文头, 将快速通道互联报文 作为转换后的无限互联报文的数据字段, 将转换后的无限互联报文的 报文头及转换后的无限互联报文的数据字段打包为转换后的无限互联 报文。
906a , 查询第一路由表, 根据转换后的无限互联报文的本地地址 字段, 获取转换后的无限互联报文对应的端口标识。
907、 根据转换后的无限互联报文对应的端口标识, 通过端口标识 对应的无限互联端口将转换后的无限互联报文发送至无限互联域的对 应设备。 当接收报文的端口为无限互联端口时, 执行方案二: 903b , 判定该报文为无限互联报文, 对该无限互联报文进行循环 冗余校验码校验。
904b , 提取该无限互联报文的数据字段。
905b、 将该无限互联报文的数据字段作为转换后的快速通道互联 报文。
906b , 查询第二路由表, 根据转换后的快速通道互联报文的目的 节点地址字段, 获取转换后的快速通道互联报文对应的端口标识。
907、 根据转换后的快速通道互联报文的对应端口标识, 端口标识 对应的快速通道互联端口将转换后的快速通道互联报文发送至快速通 道互联域的对应设备。
其中第二路由表如上述装置实施例中表 2 所示, 包括: 快速通道 互联报文的目的节点地址字段与快速通道互联域的端口标识的映射关 系。
这样, 通过上述方案一提供的方法与方案二提供的方法, 实现了 QPI报文与 IB报文的相互转换。 本发明的实施例提供的信号转换方法, 通过将 QPI报文转换为 IB 报文, 或者将 IB报文转换为 QPI报文, 将 QPI报文与 IB报文进行转 换, 实现了 QPI域网络和 IB域网络的信号转换, 进而实现了 QP I域网 络与 IB域网络的连接。 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并 不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范 围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应所述以权利要求的保护范围为准。

Claims

权利要求
1、 一种信号转换方法, 其特征在于:
接收快速通道互联 QP I 报文, 所述快速通道互联报文包括目的节 点地址 DNI D; 根据所述目的节点地址, 在路由表中查找所述目的节点地址对应 的无限互联 IB · ^艮文的本地地址 L I D; 将所述快速通道互联报文转换为无限互联报文, 其中, 所述无限 互联报文的报文头包括本地地址, 所述无限互联报文的数据字段包括 所述快速通道互联 4艮文;
根据所述路由表中无限互联域的端口标识, 将所述无限互联报文 发送至无限互联域。
2、 根据权利要求 1所述的信号转换方法, 其特征在于, 所述根据 所述路由表中无限互联域的端口标识, 将所述无限互联报文发送至无 限互联域, 具体包括: 查询所述路由表, 根据所述无限互联报文的本地地址字段, 获取 所述无限互联报文对应的无限互联域的端口标识; 通过所述无限互联域的端口标识对应的无限互联端口将所述无限 互联报文发送至所述无限互联域的对应设备;
所述路由表包括: 快速通道互联报文的目的节点地址字段、 无限 互联报文的本地地址字段与无限互联域的端口标识的映射关系。
3、 一种信号转换方法, 其特征在于:
接收无限互联 IB报文, 所述无限互联报文的数据字段包括快速通 道互联 QP I 艮文; 提取所述无限互联报文的数据字段中的所述快速通道互联报文; 根据路由表中的快速通道互联域的端口标识, 将所述快速通道互 联报文发送至快速通道互联域。
4、 根据权利要求 3所述的信号转换方法, 其特征在于, 所述根据 路由表中的快速通道互联域的端口标识, 将所述快速通道互联 ^艮文发 送至快速通道互联域, 具体包括: 根据所述快速通道互联^艮文的目的节点地址 DNID, 在所述路由表 中查找所述目的节点地址对应的快速通道互联域的端口标识; 通过所述快速通道互联域的端口标识对应的快速通道互联端口将
所述路由表, 包括: 快速通道互联报文的目的节点地址与快速通 道互联域的端口标识的映射关系。
5、 一种信号转换装置, 其特征在于, 包括端口单元、 路由转换单 元及 文转换单元: 所述端口单元用于接收快速通道互联 QP I 报文, 所述快速通道互 联 ^艮文包括目的节点地址 DNID; 所述路由转换单元用于根据所述端口单元接收的快速通道互联报 文的所述目的节点地址, 在路由表中查找所述目的节点地址对应的无 限互联 IB ^艮文的本地地址 LID; 所述报文转换单元用于将所述快速通道互联报文转换为无限互联 的本地地址, 所述无限互联报文的数据字段包括所述快速通道互联报 文;
所述端口单元, 还用于根据所述路由表中无限互联域的端口标识, 将所述报文转换单元转换的无限互联报文发送至无限互联域。
6、 根据权利要求 5所述的信号转换装置, 其特征在于, 所述端口 单元包括: 查询子单元和发送子单元;
所述查询子单元用于查询所述路由表, 根据所述无限互联报文的
所述发送子单元用于通过所述查询子单元获取的无限互联域的端 口标识对应的无限互联端口将所述无限互联报文发送至所述无限互联 域的对应设备; 所述路由表包括: 快速通道互联报文的目的节点地址字段、 无限 互联报文的本地地址字段与无限互联域的端口标识的映射关系。
7、 一种信号转换装置, 其特征在于, 包括: 端口单元及报文转换 单元;
所述端口单元用于接收无限互联 IB报文, 所述无限互联报文的数 据字段包括快速通道互联 QPI报文;
所述报文转换单元用于提取所述端口单元接收的无限互联报文的 数据字段中的所述快速通道互联报文;
识, 将所述报文转换单元提取的快速通道互联报文发送至快速通道互 联域。
8、 根据权利要求 7所述的信号转换装置, 其特征在于, 所述端口 单元包括查询子单元和发送子单元;
所述查询子单元用于根据所述快速通道互联 ^艮文的目的节点地址 DNID , 在所述路由表中查找所述目的节点地址对应的快速通道互联域 的端口标 i只; 所述发送子单元用于通过所述查询子单元获取的快速通道互联域 的端口标识对应的快速通道互联端口将所述快速通道互联 ^艮文发送至 所述快速通道互联域的对应设备;
所述路由表, 包括: 快速通道互联报文的目的节点地址与快速通 道互联域的端口标识的映射关系。
9、 一种网络系统, 包括快速通道互联 QPI域互联网络与无限互联 IB域互联网络, 其特征在于:
求 5-8所述的信号转换 ^置连接。 ― " '
PCT/CN2014/080673 2013-07-22 2014-06-25 一种信号转换方法、装置及系统 WO2015010514A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310308808.1 2013-07-22
CN201310308808.1A CN104333500B (zh) 2013-07-22 2013-07-22 一种信号转换方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2015010514A1 true WO2015010514A1 (zh) 2015-01-29

Family

ID=52392684

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/080673 WO2015010514A1 (zh) 2013-07-22 2014-06-25 一种信号转换方法、装置及系统

Country Status (2)

Country Link
CN (1) CN104333500B (zh)
WO (1) WO2015010514A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615564A (zh) * 2015-02-05 2015-05-13 浪潮电子信息产业股份有限公司 一种基于qpi总线的数据传输方法及计算机系统
CN104935530B (zh) * 2015-04-29 2017-12-19 浪潮电子信息产业股份有限公司 一种计算机间数据交换的方法、交换机和系统
CN108989317A (zh) * 2018-07-26 2018-12-11 浪潮(北京)电子信息产业有限公司 一种基于FPGA的RoCE网卡数据传输方法及网卡

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040024905A1 (en) * 2002-07-30 2004-02-05 Brocade Communications Systems, Inc. Method and apparatus for transparent communication between a fibre channel network and an infiniband network
CN1494003A (zh) * 2002-10-30 2004-05-05 华为技术有限公司 一种实现接口转换的装置及方法
US20090141734A1 (en) * 2007-12-04 2009-06-04 Brown Aaron C Method and system for a converged infiniband over ethernet network
CN103141050A (zh) * 2011-12-28 2013-06-05 华为技术有限公司 快速通道互联系统中数据包重传方法、节点

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040024905A1 (en) * 2002-07-30 2004-02-05 Brocade Communications Systems, Inc. Method and apparatus for transparent communication between a fibre channel network and an infiniband network
CN1494003A (zh) * 2002-10-30 2004-05-05 华为技术有限公司 一种实现接口转换的装置及方法
US20090141734A1 (en) * 2007-12-04 2009-06-04 Brown Aaron C Method and system for a converged infiniband over ethernet network
CN103141050A (zh) * 2011-12-28 2013-06-05 华为技术有限公司 快速通道互联系统中数据包重传方法、节点

Also Published As

Publication number Publication date
CN104333500A (zh) 2015-02-04
CN104333500B (zh) 2017-11-24

Similar Documents

Publication Publication Date Title
US11979322B2 (en) Method and apparatus for providing service for traffic flow
US9876842B2 (en) Offload operations for overlay networks
WO2019029318A1 (zh) 网络拥塞的通告方法、代理节点及计算机设备
US9178818B2 (en) Communication apparatus
EP2940949B1 (en) Method and device for packet handling
RU2661768C2 (ru) Способ воплощения arp, устройство коммутатора и модуль управления
US20160150043A1 (en) Source ip address transparency systems and methods
JP2012217178A5 (zh)
WO2011050644A1 (zh) 一种实现动态隧道报文转发的方法及交换机
WO2019127134A1 (zh) 一种数据传送的方法和虚拟交换机
WO2020119644A1 (zh) 一种转发表项生成方法、装置及设备
EP3133797B1 (en) Message forwarding method, system, and relay agent device
WO2016000184A1 (zh) 一种交换机模式切换方法、设备及系统
WO2014201974A1 (zh) 业务路由报文处理方法、装置及网络系统
WO2017031947A1 (zh) 向网络中发送和从网络中获取目标数据的方法和装置
WO2022121707A1 (zh) 报文传输方法、设备及系统
WO2020173424A1 (zh) 报文处理的方法和网关设备
WO2011127849A2 (zh) 一种数据流传送方法及网络设备
WO2015176257A1 (zh) OpenFlow设备与IP网络设备通信的方法、装置和系统
WO2015010514A1 (zh) 一种信号转换方法、装置及系统
WO2015018263A1 (zh) 生成转发信息的方法及设备
WO2014110737A1 (zh) 网络中的设备配置方法、设备和系统
WO2011097859A1 (zh) 一种实现灵活qinq的方法及装置
JP2017123522A (ja) 通信装置、制御装置、通信システム、および、通信方法
WO2014075421A1 (zh) 多链路透明互联数据帧发送方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14829976

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14829976

Country of ref document: EP

Kind code of ref document: A1