[go: up one dir, main page]

CN103368959B - Conversion method between RapidIO message and InfiniBand message and device - Google Patents

Conversion method between RapidIO message and InfiniBand message and device Download PDF

Info

Publication number
CN103368959B
CN103368959B CN201310283397.5A CN201310283397A CN103368959B CN 103368959 B CN103368959 B CN 103368959B CN 201310283397 A CN201310283397 A CN 201310283397A CN 103368959 B CN103368959 B CN 103368959B
Authority
CN
China
Prior art keywords
message
infiniband
rapidio
network
unit
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201310283397.5A
Other languages
Chinese (zh)
Other versions
CN103368959A (en
Inventor
王工艺
黄江乐
杨宝川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310283397.5A priority Critical patent/CN103368959B/en
Publication of CN103368959A publication Critical patent/CN103368959A/en
Application granted granted Critical
Publication of CN103368959B publication Critical patent/CN103368959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了通信技术领域中的RapidIO报文和InfiniBand报文之间的转换方法及装置。本发明通过对RapidIO报文的信息提取,将RapidIO报文转换到InfiniBand报文中;同时提供了从包含RapidIO报文的InfiniBand报文中提取出RapidIO报文的方法;本发明还提供了RapidIO报文转换到InfiniBand报文的装置和InfiniBand报文转换到RapidIO报文的装置。本发明解决了RapidIO报文和InfiniBand报文之间的转换问题,实现了RapidIO架构和InfiniBand架构之间的信息传递;通过对含有RapidIO报文的InfiniBand报文的解析,使得RapidIO报文能够在服务器之间、服务器与存储设备之间或服务器与网络之间传递;使得与各服务器、存储设备或网络相关的嵌入式系统能够在更大的范围内实现指令传递;同时,本发明的装置可以根据需要设置在RapidIO网络和InfiniBand网络中,具有很高的灵活性。

The invention discloses a conversion method and device between RapidIO messages and InfiniBand messages in the technical field of communication. The present invention converts the RapidIO message into the InfiniBand message by extracting the information of the RapidIO message; meanwhile, it provides a method for extracting the RapidIO message from the InfiniBand message containing the RapidIO message; the present invention also provides the RapidIO message A device for converting text into InfiniBand messages and a device for converting InfiniBand messages into RapidIO messages. The present invention solves the conversion problem between RapidIO message and InfiniBand message, and realizes the information transmission between RapidIO framework and InfiniBand framework; By analyzing the InfiniBand message containing RapidIO message, RapidIO message can be sent to the server Between servers, between servers and storage devices, or between servers and networks; so that embedded systems related to each server, storage device or network can realize instruction transmission in a larger range; at the same time, the device of the present invention can Set in RapidIO network and InfiniBand network, it has high flexibility.

Description

RapidIO报文和InfiniBand报文之间的转换方法及装置Conversion method and device between RapidIO message and InfiniBand message

技术领域technical field

本发明涉及通信技术领域,特别涉及RapidIO报文和InfiniBand报文之间的转换方法及装置。The invention relates to the technical field of communication, in particular to a conversion method and device between RapidIO messages and InfiniBand messages.

背景技术Background technique

高速输入输出协议(以下简写为RapidIO)是一种高性能、低引脚数、基于数据包交换的互连体系结构,是为满足现在和未来高性能嵌入式系统需求而设计的一种开放式互连技术标准。RapidIO主要应用于嵌入式系统内部互连,支持芯片到芯片、板到板间的通讯,可作为嵌入式设备的背板连接。The high-speed input and output protocol (hereinafter referred to as RapidIO) is a high-performance, low-pin-count, packet-based interconnection architecture. It is an open system designed to meet the needs of current and future high-performance embedded systems. Interconnect technology standards. RapidIO is mainly used in the internal interconnection of embedded systems, supports chip-to-chip, board-to-board communication, and can be used as a backplane connection for embedded devices.

RapidIO针对高性能嵌入式系统芯片间和板间互连而设计,通过提供带宽、软件独立性、容错和低延迟而满足了对更高性能的需求,是未来十几年中嵌入式系统互连的最佳选择之一。几乎所有的嵌入式系统芯片及设备供应商都加入了RapidIO行业协会。RapidIO is designed for the interconnection between chips and boards of high-performance embedded systems. It meets the demand for higher performance by providing bandwidth, software independence, fault tolerance and low latency. It will be the interconnection of embedded systems in the next ten years. One of the best choices. Almost all embedded system chips and equipment suppliers have joined the RapidIO industry association.

无限带宽网络传输协议(以下简写为InfiniBand)架构是一种支持多并发链接的“转换线缆”技术,InfiniBand技术不是用于一般网络连接的,它的主要设计目的是针对服务器端的连接问题的。因此,InfiniBand技术将会被应用于服务器与服务器(比如复制,分布式工作等),服务器和存储设备(比如SAN和直接存储附件)以及服务器和网络之间(比如局域网(LAN,Local Area Network),远程网(WANs,Wide Area Network)和互联网)的通信。The InfiniBand network transmission protocol (hereinafter referred to as InfiniBand) architecture is a "conversion cable" technology that supports multiple concurrent links. InfiniBand technology is not used for general network connections. Its main design purpose is for server-side connection problems. Therefore, InfiniBand technology will be applied to servers and servers (such as replication, distributed work, etc.), between servers and storage devices (such as SAN and direct storage attachments), and between servers and networks (such as LANs (Local Area Network) , remote network (WANs, Wide Area Network) and Internet) communication.

InfiniBand是致力于服务器端的高性能互联技术,它的使命是:使处理器级的带宽,从处理器到系统I/O、到存储网络,穿越整个数据中心,形成一张统一的、包括服务器互连、服务器与存储互连、存储网络在内的神经网络。InfiniBand is a high-performance interconnection technology dedicated to the server side. Its mission is to enable processor-level bandwidth, from the processor to system I/O, to the storage network, to pass through the entire data center to form a unified network including server interconnection. Neural networks including interconnects, server and storage interconnects, and storage networks.

但对于两种架构的融合和这两种不同网络间数据交换的总线技术,目前还没有基于RapidIO报文和InfiniBand报文之间相互转换的技术方案与硬件设备。However, for the integration of the two architectures and the bus technology for data exchange between the two different networks, there is currently no technical solution and hardware equipment based on the mutual conversion between RapidIO messages and InfiniBand messages.

发明内容Contents of the invention

本发明实施例提供了RapidIO报文和InfiniBand报文之间的转换方法及装置,以解决现有技术中存在的RapidIO架构和InfiniBand架构之间无法信息传递的问题。Embodiments of the present invention provide a conversion method and device between RapidIO messages and InfiniBand messages, so as to solve the problem in the prior art that information cannot be transmitted between the RapidIO architecture and the InfiniBand architecture.

为了解决上述技术问题,本发明实施例公开了如下技术方案:In order to solve the above technical problems, the embodiment of the present invention discloses the following technical solutions:

第一方面,提供一种高速输入输出协议RapidIO报文转无限带宽网络传输协议InfiniBand报文的方法,该方法包括:First aspect, provide a kind of method of high-speed input and output protocol RapidIO message and transfer InfiniBand message of infinite bandwidth network transmission protocol, this method comprises:

接收RapidIO报文;Receive RapidIO message;

从所述RapidIO报文中解析出所述RapidIO报文的路由信息;Analyzing the routing information of the RapidIO message from the RapidIO message;

根据所述RapidIO报文的路由信息确定所述RapidIO报文在InfiniBand网络中的设备地址映射信息;Determine the device address mapping information of the RapidIO message in the InfiniBand network according to the routing information of the RapidIO message;

构建InfiniBand报文,所述InfiniBand报文的报文头信息域包括所述RapidIO报文在InfiniBand网络中的设备地址映射信息,所述InfiniBand报文的数据信息域包括所述RapidIO报文;Build an InfiniBand message, the message header information field of the InfiniBand message includes the device address mapping information of the RapidIO message in the InfiniBand network, and the data information field of the InfiniBand message includes the RapidIO message;

发送所述InfiniBand报文。Send the InfiniBand message.

第一方面的第一种可选方式中,所述该方法还包括:In the first optional manner of the first aspect, the method further includes:

对所述RapidIO报文进行流控制、循环冗余校验和信道管理。Perform flow control, cyclic redundancy check and channel management on the RapidIO message.

第二方面,提供一种无限带宽网络传输协议InfiniBand报文转高速输入输出协议RapidIO报文的方法,该方法包括:Second aspect, provide a kind of InfiniBand message of infinite bandwidth network transmission protocol and change the method for high-speed input and output protocol RapidIO message, this method comprises:

接收InfiniBand报文;Receive InfiniBand messages;

获取所述InfiniBand报文的报文头信息域中的RapidIO报文在InfiniBand网络中的设备地址映射信息和所述InfiniBand报文的数据信息域中的所述RapidIO报文;Obtain the device address mapping information of the RapidIO message in the message header information field of the InfiniBand message in the InfiniBand network and the RapidIO message in the data information field of the InfiniBand message;

根据所述RapidIO报文在InfiniBand网络中的设备地址映射信息确定InfiniBand报文的路由信息;Determine the routing information of the InfiniBand message according to the device address mapping information of the RapidIO message in the InfiniBand network;

根据所述InfiniBand报文的路由信息选择RapidIO网络的输出接口;Select the output interface of the RapidIO network according to the routing information of the InfiniBand message;

通过所述RapidIO网络的输出接口发送所述RapidIO报文。Send the RapidIO message through the output interface of the RapidIO network.

第二方面的第一种可选方式中,所述该方法还包括:In the first optional manner of the second aspect, the method further includes:

对所述InfiniBand报文进行流控制、循环冗余校验和信道管理。Perform flow control, cyclic redundancy check and channel management on the InfiniBand message.

第三方面,提供一种高速输入输出协议RapidIO报文转无限带宽网络传输协议InfiniBand报文的装置,该装置包括:In a third aspect, a device for converting a high-speed input and output protocol RapidIO message to an infinite bandwidth network transmission protocol InfiniBand message is provided, the device comprising:

第一接收单元,用于接收RapidIO报文;The first receiving unit is used to receive the RapidIO message;

第一路由查询单元,用于从所述RapidIO报文中解析出所述RapidIO报文的路由信息;A first route query unit, configured to parse out the routing information of the RapidIO message from the RapidIO message;

地址映射单元,用于根据所述RapidIO报文的路由信息确定所述RapidIO报文在InfiniBand网络中的设备地址映射信息;The address mapping unit is used to determine the device address mapping information of the RapidIO message in the InfiniBand network according to the routing information of the RapidIO message;

报文构建单元,用于构建InfiniBand报文,所述InfiniBand报文的报文头信息域包括所述RapidIO报文在InfiniBand网络中的设备地址映射信息,所述InfiniBand报文的数据信息域包括所述RapidIO报文;A message construction unit is used to construct an InfiniBand message, the message header information field of the InfiniBand message includes the device address mapping information of the RapidIO message in the InfiniBand network, and the data information field of the InfiniBand message includes the Describe the RapidIO message;

第一发送单元,用于发送所述InfiniBand报文。The first sending unit is configured to send the InfiniBand message.

第三方面的第一种可选方式中,所述第一接收单元还包括:In the first optional manner of the third aspect, the first receiving unit further includes:

第一流控制单元,用于对所述RapidIO报文进行流控制。The first flow control unit is configured to perform flow control on the RapidIO message.

第三方面的第二种可选方式中,所述第一接收单元还包括:In a second optional manner of the third aspect, the first receiving unit further includes:

第一冗余校验单元,用于对所述RapidIO报文进行循环冗余校验。The first redundancy check unit is configured to perform cyclic redundancy check on the RapidIO message.

第三方面的第三种可选方式中,所述第一接收单元还包括:In a third optional manner of the third aspect, the first receiving unit further includes:

第一信道管理单元,用于对所述RapidIO报文进行信道管理。The first channel management unit is configured to perform channel management on the RapidIO message.

第四方面,提供一种无限带宽网络传输协议InfiniBand报文转高速输入输出协议RapidIO报文的装置,该装置包括:In a fourth aspect, a device for transferring an InfiniBand message of an infinite bandwidth network transmission protocol to a RapidIO message of a high-speed input and output protocol is provided, the device comprising:

第二接收单元,用于接收InfiniBand报文;The second receiving unit is used to receive InfiniBand messages;

报文识别单元,用于获取所述InfiniBand报文的报文头信息域中的RapidIO报文在InfiniBand网络中的设备地址映射信息和所述InfiniBand报文的数据信息域中的所述RapidIO报文;The message identification unit is used to obtain the device address mapping information of the RapidIO message in the message header information field of the InfiniBand message in the InfiniBand network and the RapidIO message in the data information field of the InfiniBand message ;

第二路由查询单元,用于根据所述RapidIO报文在InfiniBand网络中的设备地址映射信息确定InfiniBand报文的路由信息;The second route query unit is used to determine the routing information of the InfiniBand message according to the device address mapping information of the RapidIO message in the InfiniBand network;

接口选择单元,用于根据所述InfiniBand报文的路由信息选择RapidIO网络的输出接口;Interface selection unit, for selecting the output interface of RapidIO network according to the route information of described InfiniBand message;

第二发送单元,用于通过所述RapidIO网络的输出接口发送所述RapidIO报文。The second sending unit is configured to send the RapidIO packet through the output interface of the RapidIO network.

第四方面的第一种可选方式中,所述第二接收单元还包括:In the first optional manner of the fourth aspect, the second receiving unit further includes:

第二流控制单元,用于对InfiniBand报文进行流控制。The second flow control unit is configured to perform flow control on InfiniBand packets.

第四方面的第二种可选方式中,所述第二接收单元还包括:In a second optional manner of the fourth aspect, the second receiving unit further includes:

第二冗余校验单元,用于对InfiniBand报文进行循环冗余校验。The second redundancy check unit is configured to perform cyclic redundancy check on the InfiniBand message.

第四方面的第三种可选方式中,所述第二接收单元还包括:In a third optional manner of the fourth aspect, the second receiving unit further includes:

第二信道管理单元,用于对InfiniBand报文进行信道管理。The second channel management unit is configured to perform channel management on InfiniBand packets.

本发明实施例提供的RapidIO报文和InfiniBand报文之间的转换方法及装置,通过将RapidIO报文加入到InfiniBand报文中,解决了将RapidIO报文转换为InfiniBand报文的问题,实现了从RapidIO网络到InfiniBand网络的信息传递,并且,实现上述方法的装置设置在RapidIO网络和InfiniBand网络之间,具有很高的灵活性,并可以根据需要灵活扩展;通过对含有RapidIO报文的InfiniBand报文的解析,解决了将InfiniBand报文转换为RapidIO报文的问题,实现了从InfiniBand网络到RapidIO网络的信息传递,使得RapidIO报文能够在服务器之间、服务器与存储设备之间或服务器与网络之间传递,使得与各服务器、存储设备或网络相关的嵌入式系统能够在更大的范围内实现指令传递,并且,实现该方法的装置设置在InfiniBand网络和RapidIO网络之间,具有很高的灵活性,并可以根据需要灵活扩展。The method and device for converting between RapidIO messages and InfiniBand messages provided by the embodiments of the present invention solves the problem of converting RapidIO messages into InfiniBand messages by adding RapidIO messages to InfiniBand messages, and realizes from Information transmission from the RapidIO network to the InfiniBand network, and the device for realizing the above method is set between the RapidIO network and the InfiniBand network, which has high flexibility and can be flexibly expanded as required; by including the InfiniBand message containing the RapidIO message The analysis solves the problem of converting InfiniBand messages into RapidIO messages, and realizes the information transfer from InfiniBand network to RapidIO network, so that RapidIO messages can be transmitted between servers, between servers and storage devices, or between servers and networks Transfer, so that the embedded system related to each server, storage device or network can realize instruction transfer in a larger range, and the device for realizing this method is set between the InfiniBand network and the RapidIO network, which has high flexibility , and can be flexibly expanded as needed.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明的实施例1的流程图;Fig. 1 is the flowchart of embodiment 1 of the present invention;

图2是本发明的实施例2的结构图;Fig. 2 is the structural diagram of embodiment 2 of the present invention;

图3是本发明的实施例3的流程图;Fig. 3 is the flowchart of embodiment 3 of the present invention;

图4是本发明的实施例4的结构图;Fig. 4 is the structural diagram of embodiment 4 of the present invention;

图5是本发明的RoIB转换装置和IBoR转换装置的一个应用场景图;Fig. 5 is an application scenario diagram of the RoIB conversion device and the IBoR conversion device of the present invention;

图6是本发明的RoIB转换装置和IBoR转换装置的另一个应用场景图;Fig. 6 is another application scenario diagram of the RoIB conversion device and the IBoR conversion device of the present invention;

图7是本发明的RoIB转换装置的结构示意图;Fig. 7 is a structural schematic diagram of the RoIB conversion device of the present invention;

图8是本发明的IBoR转换装置的结构示意图。Fig. 8 is a schematic structural diagram of the IBoR conversion device of the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

为了解决现有技术中存在的RapidIO架构和InfiniBand架构之间无法信息传递的问题,本发明提供了RapidIO报文和InfiniBand报文之间的转换方法及装置。本发明具体如下:In order to solve the problem in the prior art that information cannot be transmitted between the RapidIO architecture and the InfiniBand architecture, the present invention provides a conversion method and device between RapidIO messages and InfiniBand messages. The present invention is specifically as follows:

实施例1Example 1

RapidIO报文转InfiniBand报文的方法,如图1所示,包括如下步骤:The method for converting a RapidIO message to an InfiniBand message, as shown in Figure 1, includes the following steps:

S11、RoIB(RapiIO协议转换为InfiniBand协议,RapiIO protocolinterface to Inifiniband protocol interface)转换装置接收RapidIO报文;S11. The RoIB (RapiIO protocol is converted to InfiniBand protocol, RapiIO protocol interface to Infiniband protocol interface) conversion device receives the RapidIO message;

RoIB转换装置首先对RapidIO报文进行流控制、循环冗余校验和信道管理,分别对接收的RapidIO报文量、RapidIO报文数据正确性和RapidIO报文数据的传输通道进行控制;The RoIB conversion device first performs flow control, cyclic redundancy check and channel management on the RapidIO message, and controls the amount of received RapidIO message, the correctness of the RapidIO message data and the transmission channel of the RapidIO message data;

S12、RoIB转换装置从所述RapidIO报文中解析出所述RapidIO报文的路由信息;S12. The RoIB conversion device parses out the routing information of the RapidIO message from the RapidIO message;

RoIB转换装置从RapidIO报文中的报文头信息域中解析出RapidIO报文的路由信息;The RoIB conversion device resolves the routing information of the RapidIO message from the message header information field in the RapidIO message;

S13、RoIB转换装置根据所述RapidIO报文的路由信息确定所述RapidIO报文在InfiniBand网络中的设备地址映射信息;S13. The RoIB conversion device determines device address mapping information of the RapidIO message in the InfiniBand network according to the routing information of the RapidIO message;

路由信息中含有RapidIO报文的来源地址和要到达的目的地址,并将来源地址和目的地址转换为InfiniBand网络中的设备地址映射信息;The routing information contains the source address and destination address of the RapidIO message, and converts the source address and destination address into device address mapping information in the InfiniBand network;

S14、RoIB转换装置构建InfiniBand报文;所述InfiniBand报文的报文头信息域包括所述RapidIO报文在InfiniBand网络中的设备地址映射信息,所述InfiniBand报文的数据信息域包括所述RapidIO报文;S14. The RoIB conversion device constructs an InfiniBand message; the message header information field of the InfiniBand message includes the device address mapping information of the RapidIO message in the InfiniBand network, and the data information field of the InfiniBand message includes the RapidIO message;

RoIB转换装置构造InfiniBand报文,将RapidIO报文的对应InfiniBand网络中的设备地址映射信息放入构造的InfiniBand报文的报文头信息域;The RoIB conversion device constructs an InfiniBand message, and puts the equipment address mapping information in the corresponding InfiniBand network of the RapidIO message into the message header information field of the InfiniBand message constructed;

在将设备地址映射信息放入构造的InfiniBand报文的报文头信息域和RapidIO报文放入InfiniBand报文的数据信息域之后,RoIB转换装置还要完善InfiniBand报文的其他信息,即,对InfiniBand报文的启示定界符和结束条件进行增加;After putting the device address mapping information into the message header information field of the constructed InfiniBand message and the RapidIO message into the data information field of the InfiniBand message, the RoIB conversion device will also improve other information of the InfiniBand message, that is, to The revelation delimiter and end condition of the InfiniBand message are added;

S15、RoIB转换装置发送InfiniBand报文。S15. The RoIB conversion device sends the InfiniBand message.

本实施例将RapidIO报文加入到InfiniBand报文中,解决了将RapidIO报文转换为InfiniBand报文的问题,实现了从RapidIO网络到InfiniBand网络的信息传递。In this embodiment, the RapidIO message is added to the InfiniBand message, which solves the problem of converting the RapidIO message into the InfiniBand message, and realizes the information transmission from the RapidIO network to the InfiniBand network.

实施例2Example 2

一种RapidIO报文转InfiniBand报文的装置,如图2所示,该装置包括:A kind of device that RapidIO message transfers InfiniBand message, as shown in Figure 2, this device comprises:

第一接收单元210,用于接收RapidIO报文;The first receiving unit 210 is configured to receive a RapidIO message;

第一接收单元210包括对RapidIO报文进行流控制的第一流控制单元211,第一流控制单元211用于防止过大的数据量涌入,当大量的数据量同时到达时,流控制的单元会阻止过多的数据进入,只保留接收RapidIO报文的单元能处理的数据量,等当前的数据处理完了后再让后续的数据量进入,以保证接收RapidIO报文的单元的正常工作;The first receiving unit 210 includes a first flow control unit 211 that performs flow control on the RapidIO message. The first flow control unit 211 is used to prevent the influx of excessive data volume. When a large amount of data arrives at the same time, the flow control unit will Prevent too much data from entering, and only keep the amount of data that can be processed by the unit receiving the RapidIO message, and then allow the subsequent data to enter after the current data is processed, so as to ensure the normal operation of the unit receiving the RapidIO message;

第一接收单元210还包括对RapidIO报文进行循环冗余校验的第一冗余校验单元212,该单元用于对接收到的RapidIO报文进行差错校验,以保证RapidIO报文的正确性,校验时,信息字段和校验字段的长度可以任意选定;The first receiving unit 210 also includes a first redundancy check unit 212 for performing a cyclic redundancy check on the RapidIO message, which is used for error checking the received RapidIO message to ensure that the RapidIO message is correct When checking, the length of the information field and the check field can be selected arbitrarily;

此外,第一接收单元210还包括对RapidIO报文进行信道管理的第一信道管理单元213,用于对RapidIO报文的数据传输通道进行选择;In addition, the first receiving unit 210 also includes a first channel management unit 213 for performing channel management on the RapidIO message, for selecting the data transmission channel of the RapidIO message;

第一流控制单元211、第一冗余校验单元212和第一信道管理单元213依次连接;The first flow control unit 211, the first redundancy check unit 212 and the first channel management unit 213 are sequentially connected;

第一路由查询单元220,用于从所述RapidIO报文中解析出所述RapidIO报文的路由信息;该单元用于从RapidIO报文中的报文头信息域中解析出RapidIO报文的路由信息,以备后续步骤使用;The first route query unit 220 is used to parse out the routing information of the RapidIO message from the RapidIO message; this unit is used to parse out the route of the RapidIO message from the message header information field in the RapidIO message information for use in subsequent steps;

地址映射单元230,用于根据所述RapidIO报文的路由信息确定所述RapidIO报文在InfiniBand网络中的设备地址映射信息;该单元根据路由信息中含有RapidIO报文的来源地址和要到达的目的地址,将来源地址和目的地址转换为InfiniBand网络中的设备地址映射信息;The address mapping unit 230 is used to determine the device address mapping information of the RapidIO message in the InfiniBand network according to the routing information of the RapidIO message; this unit contains the source address and the destination of the RapidIO message according to the routing information Address, convert the source address and destination address into device address mapping information in the InfiniBand network;

报文构建单元240,用于构建InfiniBand报文,所述InfiniBand报文的报文头信息域包括所述RapidIO报文在InfiniBand网络中的设备地址映射信息,所述InfiniBand报文的数据信息域包括所述RapidIO报文;该单元首先会构造InfiniBand报文,然后将RapidIO报文的对应InfiniBand网络中的设备地址映射信息放入构造的InfiniBand报文的报文头信息域中;该单元在将设备地址映射信息放入构造的InfiniBand报文的报文头信息域和RapidIO报文放入InfiniBand报文的数据信息域之后,还要完善InfiniBand报文的其他信息,即,对InfiniBand报文的启示定界符和结束条件进行增加;The message construction unit 240 is used to construct the InfiniBand message, the message header information field of the InfiniBand message includes the device address mapping information of the RapidIO message in the InfiniBand network, and the data information field of the InfiniBand message includes Described RapidIO message; This unit can construct InfiniBand message at first, and then the device address mapping information in the corresponding InfiniBand network of RapidIO message is put into the message header information field of the InfiniBand message of structure; This unit is in the equipment After the address mapping information is put into the message header information field of the constructed InfiniBand message and the RapidIO message is put into the data information field of the InfiniBand message, other information of the InfiniBand message must be improved, that is, the revelation definition of the InfiniBand message Delimiters and end conditions are added;

第一发送单元250,用于发送所述InfiniBand报文。The first sending unit 250 is configured to send the InfiniBand message.

通过第一接收单元210、路由查询单元220、地址映射单元230、报文构建单元240和第一发送单元250实现了RapidIO报文到InfiniBand报文的转换,该装置设置在RapidIO网络和InfiniBand网络之间,具有很高的灵活性,并可以根据需要灵活扩展.Through the first receiving unit 210, the route query unit 220, the address mapping unit 230, the message construction unit 240 and the first sending unit 250, the conversion of the RapidIO message to the InfiniBand message is realized, and the device is arranged between the RapidIO network and the InfiniBand network It has high flexibility and can be flexibly expanded as needed.

实施例3Example 3

一种InfiniBand报文转RapidIO报文的方法,如图3所示,包括如下步骤:A method for InfiniBand message to RapidIO message, as shown in Figure 3, comprises the steps:

S31、IBoR(InfiniBand协议转换为RapiIO协议,Inifinibandprotocol interface to RapiIO protocol interface)转换装置接收InfiniBand报文;S31. The IBoR (InfiniBand protocol conversion to RapiIO protocol, Inifiniband protocol interface to RapiIO protocol interface) conversion device receives the InfiniBand message;

IBoR转换装置首先对InfiniBand报文进行流控制、循环冗余校验和信道管理。IBoR转换装置首先对对InfiniBand报文进行流控制、循环冗余校验和信道管理,分别对接收的InfiniBand报文量、InfiniBand报文数据正确性和InfiniBand报文数据的传输通道进行控制;The IBoR conversion device first performs flow control, cyclic redundancy check and channel management on the InfiniBand message. The IBoR conversion device first performs flow control, cyclic redundancy check and channel management on InfiniBand messages, and controls the amount of received InfiniBand messages, the correctness of InfiniBand message data and the transmission channel of InfiniBand message data;

S32、IBoR转换装置提取所述InfiniBand报文的报文头信息域中的RapidIO报文在InfiniBand网络中的设备地址映射信息;并提取InfiniBand报文的数据信息域中的所述RapidIO报文;S32. The IBoR conversion device extracts the device address mapping information of the RapidIO message in the InfiniBand network in the message header information field of the InfiniBand message; and extracts the RapidIO message in the data information field of the InfiniBand message;

IBoR转换装置根据InfiniBand报文的报文头信息域中的设备地址映射信息,在InfiniBand报文的数据信息域查找该RapidIO报文;The IBoR conversion device searches for the RapidIO message in the data information field of the InfiniBand message according to the device address mapping information in the message header information field of the InfiniBand message;

S33、IBoR转换装置根据所述InfiniBand网络中的设备地址映射信息确定InfiniBand报文的路由信息;S33. The IBoR conversion device determines the routing information of the InfiniBand message according to the device address mapping information in the InfiniBand network;

S34、IBoR转换装置根据InfiniBand报文的路由信息选择RapidIO网络的输出接口;S34, the IBoR conversion device selects the output interface of the RapidIO network according to the routing information of the InfiniBand message;

IBoR转换装置根据InfiniBand报文的报文头信息域中的设备地址映射信息,查找RapidIO报文的目的地址,根据目的地址对应的路由信息选择RapidIO网络的输出接口The IBoR conversion device searches for the destination address of the RapidIO message according to the device address mapping information in the message header information field of the InfiniBand message, and selects the output interface of the RapidIO network according to the routing information corresponding to the destination address

S35、IBoR转换装置通过所述RapidIO网络的输出接口发送所述RapidIO报文。S35. The IBoR conversion device sends the RapidIO message through the output interface of the RapidIO network.

通过对含有RapidIO报文的InfiniBand报文的解析,解决了将InfiniBand报文转换为RapidIO报文的问题,实现了从InfiniBand网络到RapidIO网络的信息传递;使得RapidIO报文能够在服务器之间、服务器与存储设备之间或服务器与网络之间传递;使得与各服务器、存储设备或网络相关的嵌入式系统能够在更大的范围内实现指令传递。By analyzing the InfiniBand message containing the RapidIO message, the problem of converting the InfiniBand message into the RapidIO message is solved, and the information transmission from the InfiniBand network to the RapidIO network is realized; the RapidIO message can be transmitted between servers, servers Transfer between storage devices or between servers and networks; enable embedded systems related to each server, storage device or network to achieve command transfer in a larger range.

实施例4Example 4

一种InfiniBand报文转RapidIO报文的装置,如图4所示,其特征是,该装置包括:A kind of device that InfiniBand message transfers RapidIO message, as shown in Figure 4, is characterized in that, this device comprises:

第二接收单元410,用于接收InfiniBand报文;The second receiving unit 410 is configured to receive an InfiniBand message;

第二接收单元410包括第二流控制单元411,用于对InfiniBand报文进行流控制,防止过大的数据量涌入,当大量的数据量同时到达时,流控制的单元会阻止过多的数据进入,只保留接收InfiniBand报文的单元能处理的数据量,等当前的数据处理完了后再让后续的数据量进入,以保证接收InfiniBand报文的单元的正常工作;The second receiving unit 410 includes a second flow control unit 411, which is used to perform flow control on the InfiniBand message to prevent the influx of excessive data volume. When a large amount of data arrives at the same time, the unit of flow control will prevent excessive When the data enters, only the amount of data that can be processed by the unit receiving the InfiniBand message is reserved, and the subsequent data volume is allowed to enter after the current data is processed, so as to ensure the normal operation of the unit receiving the InfiniBand message;

第二接收单元410还包括第二冗余校验单元412,用于对InfiniBand报文进行循环冗余校验,该单元对接收到的InfiniBand报文进行差错校验,以保证InfiniBand报文的正确性,校验时,信息字段和校验字段的长度可以任意选定;The second receiving unit 410 also includes a second redundancy check unit 412, which is used to perform a cyclic redundancy check on the InfiniBand message, and this unit performs error checking on the received InfiniBand message to ensure that the InfiniBand message is correct When checking, the length of the information field and the check field can be selected arbitrarily;

此外,第二接收单元410还包括第二信道管理单元413,用于对InfiniBand报文进行信道管理,对InfiniBand报文的数据传输通道进行选择;In addition, the second receiving unit 410 also includes a second channel management unit 413, configured to perform channel management on the InfiniBand message, and select a data transmission channel for the InfiniBand message;

第二流控制单元411、第二冗余校验单元412和第二信道管理单元413依次连接;The second flow control unit 411, the second redundancy check unit 412 and the second channel management unit 413 are sequentially connected;

报文识别单元420,提取所述InfiniBand报文的报文头信息域中的RapidIO报文在InfiniBand网络中的设备地址映射信息,;并提取InfiniBand报文的数据信息域中的所述RapidIO报文;该单元根据InfiniBand报文的报文头信息域中的设备地址映射信息,在InfiniBand报文的数据信息域查找该RapidIO报文;The message identification unit 420 extracts the device address mapping information of the RapidIO message in the InfiniBand network in the message header information field of the InfiniBand message; and extracts the RapidIO message in the data information field of the InfiniBand message ; The unit searches for the RapidIO message in the data information field of the InfiniBand message according to the device address mapping information in the message header information field of the InfiniBand message;

第二路由查询单元430,用于根据所述InfiniBand网络中的设备地址映射信息确定InfiniBand报文的路由信息;The second route query unit 430 is configured to determine the routing information of the InfiniBand message according to the device address mapping information in the InfiniBand network;

接口选择单元440,用于根据InfiniBand报文的路由信息选择RapidIO网络的输出接口;该单元根据InfiniBand报文的报文头信息域中的设备地址映射信息,查找RapidIO报文的目的地址,根据目的地址对应的路由信息选择RapidIO网络的输出接口;The interface selection unit 440 is used to select the output interface of the RapidIO network according to the routing information of the InfiniBand message; this unit searches for the destination address of the RapidIO message according to the device address mapping information in the message header information field of the InfiniBand message, and according to the purpose The routing information corresponding to the address selects the output interface of the RapidIO network;

第二发送单元450,用于将RapidIO报文通过RapidIO网络的输出接口发送出去。The second sending unit 450 is configured to send the RapidIO message through the output interface of the RapidIO network.

通过第二接收单元410、报文识别单元420、第二路由查询单元430、接口选择单元440、和第二发送单元450实现了InfiniBand报文到RapidIO报文的转换,该装置设置在InfiniBand网络和RapidIO网络之间,具有很高的灵活性,并可以根据需要灵活扩展。Through the second receiving unit 410, the message identification unit 420, the second routing query unit 430, the interface selection unit 440, and the second sending unit 450, the conversion of the InfiniBand message to the RapidIO message is realized, and the device is arranged on the InfiniBand network and The RapidIO network has high flexibility and can be flexibly expanded as needed.

根据本发明的一个应用场景如图5所示,该场景将两组(或以上)RapidIO互联的嵌入式系统集群互联在一起,通过RapidIO报文转InfiniBand报文的设备,实现RapidIO域报文通过InfiniBand转换器进行交换。An application scenario according to the present invention is shown in Figure 5. In this scenario, two groups (or more) of RapidIO interconnected embedded system clusters are interconnected together, and the RapidIO message is transferred to the device of InfiniBand message to realize the passage of RapidIO domain message. InfiniBand converter for switching.

图5中,每组RapidIO互联的嵌入式系统由若干个RapidIO节点组成。在每个RapidIO互联的嵌入式系统内设置RapidIO转换器,RapidIO转换器用于连接RapidIO节点和InfiniBand网络;RapidIO转换器直接也可以相互连接。RapidIO转换器分别与RoIB转换装置和IBoR转换装置连接;RoIB转换装置和IBoR转换装置连接分别与InfiniBand转换器连接。这样,两个RapidIO互联的嵌入式系统就能够通过InfiniBand网络建立连接关系。使得RapidIO能够在不同的RapidIO互联的嵌入式系统进行传递。该实施例利用了InfiniBand网络,使得RapidIO能够在服务器与服务器、服务器和存储器,以及服务器与网络相关的RapidIO互联的嵌入式系统之间进行信息传递,大大扩展了RapidIO报文的传递范围。In Figure 5, each group of RapidIO interconnected embedded systems consists of several RapidIO nodes. A RapidIO converter is set in each RapidIO interconnected embedded system, and the RapidIO converter is used to connect the RapidIO node and the InfiniBand network; the RapidIO converter can also be directly connected to each other. The RapidIO converter is respectively connected with the RoIB conversion device and the IBoR conversion device; the RoIB conversion device and the IBoR conversion device are respectively connected with the InfiniBand converter. In this way, two embedded systems interconnected by RapidIO can establish a connection relationship through the InfiniBand network. This enables RapidIO to be delivered in different RapidIO interconnected embedded systems. This embodiment utilizes the InfiniBand network, so that RapidIO can carry out information transmission between the server and the server, the server and the memory, and the embedded system related to the RapidIO interconnection between the server and the network, which greatly expands the transmission range of the RapidIO message.

本发明的另一个应用场景如图6所示。该场景将两组(或以上)InfiniBand互联的服务器集群与RapidIO嵌入式系统集群互联在一起,通过RapidIO报文转InfiniBand报文的设备,实现了RapidIO报文在多个InfiniBand互联的服务器中进行传递。Another application scenario of the present invention is shown in FIG. 6 . In this scenario, two (or more) InfiniBand interconnected server clusters are interconnected with RapidIO embedded system clusters, and RapidIO messages are transmitted among multiple InfiniBand interconnected servers through the device that converts RapidIO messages to InfiniBand messages. .

本发明实施例中的RoIB转换装置可以基于计算机系统来实现,图1所示的方法均可在基于计算机系统的RoIB转换装置来实现。图7示出了基于计算机系统来实现的RoIB转换装置的实施例。本实施例中RoIB转换装置可以包括:处理器701、存储器702和通信接口703,其中:The RoIB conversion device in the embodiment of the present invention can be implemented based on a computer system, and the method shown in FIG. 1 can be implemented in the RoIB conversion device based on a computer system. Fig. 7 shows an embodiment of a RoIB conversion device implemented based on a computer system. In this embodiment, the RoIB conversion device may include: a processor 701, a memory 702, and a communication interface 703, wherein:

通信接口703,用于与RapidIO网络和InfiniBand网络连接。RapidIO网络与InfiniBand网络之间交互的RapidIO报文、InfiniBand报文及其它信息均通过通信接口703发送和接收。具体地,通信接口703用于接收RapidIO网络发送的RapidIO报文;存储器702用于存储程序指令;处理器701用于在接收RapidIO网络发送的RapidIO报文之后,调用存储器702中存储的程序指令,执行如下操作:从RapidIO报文中解析出RapidIO报文的路由信息;对RapidIO报文进行流控制、循环冗余校验和信道管理;根据RapidIO报文的路由信息找到RapidIO报文在InfiniBand网络中的设备地址映射信息;将设备地址映射信息放入InfiniBand报文的报文头信息域;将RapidIO报文放入InfiniBand报文的数据信息域;构建InfiniBand报文;发送InfiniBand报文。The communication interface 703 is used for connecting with the RapidIO network and the InfiniBand network. RapidIO messages, InfiniBand messages and other information exchanged between the RapidIO network and the InfiniBand network are sent and received through the communication interface 703 . Specifically, the communication interface 703 is used to receive the RapidIO message sent by the RapidIO network; the memory 702 is used to store the program instruction; the processor 701 is used to call the program instruction stored in the memory 702 after receiving the RapidIO message sent by the RapidIO network, Perform the following operations: analyze the routing information of the RapidIO message from the RapidIO message; perform flow control, cyclic redundancy check, and channel management on the RapidIO message; find the RapidIO message in the InfiniBand network according to the routing information of the RapidIO message The device address mapping information; put the device address mapping information into the message header information field of the InfiniBand message; put the RapidIO message into the data information field of the InfiniBand message; construct the InfiniBand message; send the InfiniBand message.

其中,处理器701可以是中央处理器(central processing unit,CPU)、专用集成电路(application-specific integrated circuit,ASIC)等。其中,本实施例中的RapidIO网络可以包括总线704。处理器701、存储器702以及通信接口703之间可通过总线704连接并通信。其中,存储器702可以包括:随机存取存储器(random access memory,RAM),只读存储器(read-only memory,ROM),磁盘等具有存储功能的实体。Wherein, the processor 701 may be a central processing unit (central processing unit, CPU), an application-specific integrated circuit (application-specific integrated circuit, ASIC), or the like. Wherein, the RapidIO network in this embodiment may include a bus 704 . The processor 701 , the memory 702 and the communication interface 703 can be connected and communicate with each other through the bus 704 . Wherein, the memory 702 may include: random access memory (random access memory, RAM), read-only memory (read-only memory, ROM), disk and other entities with storage functions.

处理器701还可以用于执行方法实施例中图1描述的各步骤,本发明实施例在此不再详述。The processor 701 may also be configured to execute the steps described in FIG. 1 in the method embodiment, which will not be described in detail in this embodiment of the present invention.

本发明实施例中的IBoR转换装置也可以基于计算机系统来实现,图3所示的方法均可在基于计算机系统的IBoR转换装置来实现。图8示出了基于计算机系统来实现的IBoR转换装置的实施例。本实施例中IBoR转换装置可以包括:处理器801、存储器802和通信接口803,其中:The IBoR conversion device in the embodiment of the present invention can also be implemented based on a computer system, and the method shown in FIG. 3 can be implemented on the IBoR conversion device based on a computer system. Fig. 8 shows an embodiment of an IBoR conversion device implemented based on a computer system. The IBoR conversion device in this embodiment may include: a processor 801, a memory 802, and a communication interface 803, wherein:

通信接口803,用于与InfiniBand网络和RapidIO网络连接。InfiniBand网络与RapidIO网络之间交互的InfiniBand报文、RapidIO报文及其它信息均通过通信接口803发送和接收。具体地,通信接口803用于接收InfiniBand网络发送的InfiniBand报文;存储器802用于存储程序指令;处理器801用于在接收InfiniBand网络发送的InfiniBand报文之后,调用存储器802中存储的程序指令,执行如下操作:对InfiniBand报文进行流控制、循环冗余校验和信道管理;根据InfiniBand报文的报文头信息域中的设备地址映射信息对RapidIO报文进行识别;根据InfiniBand报文的路由信息选择RapidIO网络的输出接口;从InfiniBand报文的数据信息域提取RapidIO报文;将RapidIO报文通过RapidIO网络的输出接口发送出去。The communication interface 803 is used for connecting with the InfiniBand network and the RapidIO network. InfiniBand messages, RapidIO messages and other information exchanged between the InfiniBand network and the RapidIO network are sent and received through the communication interface 803 . Specifically, the communication interface 803 is used to receive the InfiniBand message sent by the InfiniBand network; the memory 802 is used to store program instructions; the processor 801 is used to call the program instructions stored in the memory 802 after receiving the InfiniBand message sent by the InfiniBand network, Perform the following operations: perform flow control, cyclic redundancy check, and channel management on InfiniBand messages; identify RapidIO messages according to the device address mapping information in the message header information field of InfiniBand messages; The information selects the output interface of the RapidIO network; extracts the RapidIO message from the data information field of the InfiniBand message; and sends the RapidIO message through the output interface of the RapidIO network.

其中,处理器801可以是中央处理器(central processing unit,CPU)、专用集成电路(application-specific integrated circuit,ASIC)等。其中,本实施例中的InfiniBand网络可以包括总线804。处理器801、存储器802以及通信接口803之间可通过总线804连接并通信。其中,存储器802可以包括:随机存取存储器(random access memory,RAM),只读存储器(read-only memory,ROM),磁盘等具有存储功能的实体。Wherein, the processor 801 may be a central processing unit (central processing unit, CPU), an application-specific integrated circuit (application-specific integrated circuit, ASIC), or the like. Wherein, the InfiniBand network in this embodiment may include a bus 804 . The processor 801 , the memory 802 and the communication interface 803 can be connected and communicate with each other through the bus 804 . Wherein, the memory 802 may include: random access memory (random access memory, RAM), read-only memory (read-only memory, ROM), disk and other entities with storage functions.

处理器801还可以用于执行方法实施例中图3描述的各步骤,本发明实施例在此不再详述。The processor 801 may also be configured to execute the steps described in FIG. 3 in the method embodiment, which will not be described in detail in this embodiment of the present invention.

本领域普通技术人员将会理解,本发明的各个方面、或各个方面的可能实现方式可以被具体实施为系统、方法或者计算机程序产品。因此,本发明的各方面、或各个方面的可能实现方式可以采用完全硬件实施例、完全软件实施例(包括固件、驻留软件等等),或者组合软件和硬件方面的实施例的形式,在这里都统称为“电路”、“模块”或者“系统”。此外,本发明的各方面、或各个方面的可能实现方式可以采用计算机程序产品的形式,计算机程序产品是指存储在计算机可读介质中的计算机可读程序代码。Those of ordinary skill in the art will understand that various aspects of the present invention, or possible implementations of various aspects, may be embodied as systems, methods or computer program products. Accordingly, aspects of the present invention, or possible implementations of various aspects, may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, etc.), or an embodiment combining software and hardware aspects, described in These are collectively referred to herein as "circuits," "modules," or "systems." In addition, aspects of the present invention, or possible implementations of various aspects, may take the form of computer program products, and computer program products refer to computer-readable program codes stored in computer-readable media.

计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质包含但不限于电子、磁性、光学、电磁、红外或半导体系统、设备或者装置,或者前述的任意适当组合,如随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或者快闪存储器)、光纤、便携式只读存储器(CD-ROM)。The computer readable medium may be a computer readable signal medium or a computer readable storage medium. Computer-readable storage media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing, such as random access memory (RAM), read-only memory (ROM), Erase Programmable Read-Only Memory (EPROM or Flash), Fiber Optic, Portable Read-Only Memory (CD-ROM).

计算机中的处理器读取存储在计算机可读介质中的计算机可读程序代码,使得处理器能够执行在流程图中每个步骤、或各步骤的组合中规定的功能动作;生成实施在框图的每一块、或各块的组合中规定的功能动作的装置。The processor in the computer reads the computer-readable program code stored in the computer-readable medium, so that the processor can execute the functional actions specified in each step in the flow chart, or a combination of steps; A device that performs functional actions specified in each block or a combination of blocks.

计算机可读程序代码可以完全在用户的计算机上执行、部分在用户的计算机上执行、作为单独的软件包、部分在用户的计算机上并且部分在远程计算机上,或者完全在远程计算机或者服务器上执行。也应该注意,在某些替代实施方案中,在流程图中各步骤、或框图中各块所注明的功能可能不按图中注明的顺序发生。例如,依赖于所涉及的功能,接连示出的两个步骤、或两个块实际上可能被大致同时执行,或者这些块有时候可能被以相反顺序执行。The computer readable program code may execute entirely on the user's computer, partly on the user's computer, as a separate software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server . It should also be noted that, in some alternative implementations, the functions noted at the steps in the flowcharts or blocks in the block diagrams may occur out of the order noted in the figures. For example, two steps, or two blocks shown in succession, may in fact be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.

Claims (4)

1. a high speed input and output agreement RapidIO message turns the infinite bandwidth network transmission protocol The method of InfiniBand message, is characterized in that, the method includes:
Receive RapidIO message;Wherein when receiving RapidIO message, to described RapidIO Message carries out flow control, cyclic redundancy check (CRC) and channel management;
The routing iinformation of described RapidIO message is parsed from described RapidIO message;
Routing iinformation according to described RapidIO message determines that described RapidIO message exists Device address map information in InfiniBand network;
Building InfiniBand message, the heading information field of described InfiniBand message includes institute State RapidIO message device address map information in InfiniBand network, described The data message territory of InfiniBand message includes described RapidIO message;
Send described InfiniBand message.
2. an infinite bandwidth network transmission protocol InfiniBand message turns high speed input and output The method of agreement RapidIO message, is characterized in that, the method includes:
Receive InfiniBand message;Wherein, when receiving InfiniBand message, to described InfiniBand message carries out flow control, cyclic redundancy check (CRC) and channel management;
The RapidIO message obtained in the heading information field of described InfiniBand message exists Device address map information in InfiniBand network and the data letter of described InfiniBand message Described RapidIO message in breath territory;
According to described RapidIO message device address map information in InfiniBand network Determine the routing iinformation of InfiniBand message;
Routing iinformation according to described InfiniBand message selects the output of RapidIO network to connect Mouthful;
Described RapidIO message is sent by the output interface of described RapidIO network.
3. a high speed input and output agreement RapidIO message turns infinite bandwidth network transmission association The device of view InfiniBand message, is characterized in that, this device includes:
First receives unit, is used for receiving RapidIO message;
Wherein, described first reception unit includes described RapidIO message is carried out flow control First-class control unit, described RapidIO message is circulated the first redundancy of redundancy check Verification unit, and described RapidIO message is carried out the first channel management list of channel management Unit;
The first via is by query unit, described for parsing from described RapidIO message The routing iinformation of RapidIO message;
Address mapping unit, described for determining according to the routing iinformation of described RapidIO message RapidIO message device address map information in InfiniBand network;
Message construction unit, is used for building InfiniBand message, described InfiniBand message Heading information field includes described RapidIO message device address in InfiniBand network Map information, the data message territory of described InfiniBand message includes described RapidIO message;
First transmitting element, is used for sending described InfiniBand message.
4. an infinite bandwidth network transmission protocol InfiniBand message turns high speed input and output The device of agreement RapidIO message, is characterized in that, this device includes:
Second receives unit, is used for receiving InfiniBand message;
Wherein, described second receives unit includes second control unit, is used for described InfiniBand message carries out flow control;
Described second receives unit also includes the second redundancy check unit, for described InfiniBand message is circulated redundancy check;
Described second receives unit also includes second channel administrative unit, for described InfiniBand message carries out channel management;
Message recognition unit, in the heading information field obtaining described InfiniBand message RapidIO message device address map information in InfiniBand network and described Described RapidIO message in the data message territory of InfiniBand message;
Secondary route query unit, is used for according to described RapidIO message at InfiniBand network In device address map information determine the routing iinformation of InfiniBand message;
Interface selects unit, selects for the routing iinformation according to described InfiniBand message The output interface of RapidIO network;
Second transmitting element, described for being sent by the output interface of described RapidIO network RapidIO message.
CN201310283397.5A 2013-07-05 2013-07-05 Conversion method between RapidIO message and InfiniBand message and device Active CN103368959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310283397.5A CN103368959B (en) 2013-07-05 2013-07-05 Conversion method between RapidIO message and InfiniBand message and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310283397.5A CN103368959B (en) 2013-07-05 2013-07-05 Conversion method between RapidIO message and InfiniBand message and device

Publications (2)

Publication Number Publication Date
CN103368959A CN103368959A (en) 2013-10-23
CN103368959B true CN103368959B (en) 2016-08-24

Family

ID=49369496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310283397.5A Active CN103368959B (en) 2013-07-05 2013-07-05 Conversion method between RapidIO message and InfiniBand message and device

Country Status (1)

Country Link
CN (1) CN103368959B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753753B (en) * 2013-12-31 2018-11-16 杭州华为数字技术有限公司 A kind of transmission method, equipment and the computer system of QPI message
CN110297797B (en) * 2019-07-04 2021-05-04 天津芯海创科技有限公司 Heterogeneous protocol conversion device and method
CN115701063B (en) * 2021-07-30 2025-08-08 华为技术有限公司 Message transmission method and communication device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424922A (en) * 2008-12-11 2009-05-06 国网电力科学研究院 Support platform general-purpose for electric power observe and control embedded system
US7542867B2 (en) * 2001-08-14 2009-06-02 National Instruments Corporation Measurement system with modular measurement modules that convey interface information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060222004A1 (en) * 2005-04-01 2006-10-05 International Business Machines Corporation Methods and apparatus for transferring data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7542867B2 (en) * 2001-08-14 2009-06-02 National Instruments Corporation Measurement system with modular measurement modules that convey interface information
CN101424922A (en) * 2008-12-11 2009-05-06 国网电力科学研究院 Support platform general-purpose for electric power observe and control embedded system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于RapidIO和存储映射的高速互连网络;黄亮等;《计算机工程》;20080731;第34卷(第14期);全文 *

Also Published As

Publication number Publication date
CN103368959A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
CN102017542B (en) A method for interfacing a fibre channel network with an Ethernet based network
US9455916B2 (en) Method and system for changing path and controller thereof
CN111769998B (en) Method and device for detecting network delay state
ES2739204T3 (en) Data packet processing method, service node and delivery node
CN101563889B (en) Ethernet/tmpls hybrid network operation administration and maintenance frame creation method
CN106471780B (en) Method, system and logic for configuring a local link based on a remote link partner
Lee et al. The principles and performance of Hubnet: A 50 Mbit/s glass fiber local area network
CN109698788A (en) Flow forwarding method and flow forwarding device
US9197442B2 (en) Relay apparatus and relay method
US7804840B2 (en) Combined FCoE network device
US9712901B2 (en) Interconnection system, apparatus, and data transmission method
WO2016107122A1 (en) Method and device for converting between rapidio packet and ethernet packet
EP2720421B1 (en) Method for processing congestion and network device
CN110995602B (en) System and method for load balancing multicast traffic
CN104579973B (en) Message forwarding method and device in a kind of Virtual Cluster
US9215517B2 (en) Switching Clos network universal element
CN104202313A (en) Data forwarding method and gateway
CN105530193A (en) Method, network device and system for determining tunnel maximum transmission unit
CN103368959B (en) Conversion method between RapidIO message and InfiniBand message and device
CN114066707A (en) General-purpose graphics processing systems, computing devices, and distributed systems
CN116506348A (en) Communication network system, message forwarding method and message forwarding device
US8359401B2 (en) Network switch
CN102845042A (en) System and method for aggregating bandwidth of multiple active physical interfaces on application layer
WO2018004931A1 (en) Techniques for virtual ethernet switching of a multi-node fabric
US10382250B2 (en) Information processing system and control method for information processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant