[go: up one dir, main page]

CN103401775B - Source messages conversion equipment and its message forwarding method, object message conversion equipment and its message forwarding method - Google Patents

Source messages conversion equipment and its message forwarding method, object message conversion equipment and its message forwarding method Download PDF

Info

Publication number
CN103401775B
CN103401775B CN201310308989.8A CN201310308989A CN103401775B CN 103401775 B CN103401775 B CN 103401775B CN 201310308989 A CN201310308989 A CN 201310308989A CN 103401775 B CN103401775 B CN 103401775B
Authority
CN
China
Prior art keywords
srio
messages
addresses
source
conversion equipment
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
CN201310308989.8A
Other languages
Chinese (zh)
Other versions
CN103401775A (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.)
XFusion Digital Technologies Co Ltd
Original Assignee
Hangzhou Huawei Digital 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 Hangzhou Huawei Digital Technologies Co Ltd filed Critical Hangzhou Huawei Digital Technologies Co Ltd
Priority to CN201310308989.8A priority Critical patent/CN103401775B/en
Publication of CN103401775A publication Critical patent/CN103401775A/en
Application granted granted Critical
Publication of CN103401775B publication Critical patent/CN103401775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

Embodiment of the present invention discloses a kind of source messages conversion equipment and its message forwarding method, object message conversion equipment and its message forwarding method, and this method includes:Receive the IB messages from source IB networks, obtain the IB addresses of the target IB equipment in the message head region of IB messages, obtain the SRIO addresses of object message conversion equipment corresponding with the IB addresses of target IB equipment, the SRIO addresses of object message conversion equipment are placed in the message head region of SRIO messages, and IB messages are placed in the load region of SRIO messages, to generate the SRIO messages corresponding to IB messages and send to SRIO networks.By disclosure above, the present invention can by SRIO networks by the IB message transmissions of source IB networks to target IB networks so that the message transmissions by SRIO real-time performances between different IB networks.

Description

Source messages conversion equipment and its message forwarding method, object message conversion equipment and its Message forwarding method
Technology leads network
The present invention relates to network communication technology field, more particularly to a kind of source messages conversion equipment and its message conversion side Method, object message conversion equipment and its message forwarding method.
Background technology
SRIO (Serial Rapid Input Output, serial high speed input and output) is a kind of high-performance, low pin Number, the interconnection architecture based on packet-switching, are designed now with following high performance embedded system demand to meet A kind of open system interconnection technical standard.SRIO is mainly used in embedded system intraconnection, supports chip to be arrived to chip, plate Communication between plate, can be connected as the backboard (Backplane) of embedded device.
SRIO is directed between high performance embedded system chip chamber and plate and interconnects and design, independent by providing bandwidth, software Property, fault-tolerant and low latency and meet the demand to higher performance, be the optimal choosing that embedded system is interconnected in the following more than ten years One of select, almost all of embedded system chip and equipment supplier add SRIO employer's organizations.
IB (InfiniBand, infinite bandwidth) framework is concurrently to link " Convertion cable " technology, IB skills more than a kind of support Art is not intended to general networking connection, and its major design purpose is the connectivity problem for server end.Therefore, IB skills Art will be applied to server and (such as be replicated, distributed work etc.) with server, server and storage device (such as SAN (Storage Area Networkan, storage area network) and directly store annex) and server and network between (such as LAN, wide area network and internet) communication.
IB is directed to the high performance interconnection technology of server end, and its mission is:Make the bandwidth of processor level, from processing Device passes through whole data center to system I/O, to storage network, forms unified including server interconnection, a server With the neutral net including storage interconnection, storage network.
The content of the invention
Embodiment of the present invention provides a kind of source messages conversion equipment and its message forwarding method, object message conversion equipment And its message forwarding method, can by SRIO networks by the IB message transmissions of source IB networks to target IB networks, so as to pass through IB message transmissions between the different IB networks of SRIO real-time performances.
First aspect provides a kind of message forwarding method of source messages conversion equipment, source messages conversion equipment and source IB networks Connection, and with SRIO network connections, this method includes:Receive the IB messages from source IB networks;Obtain the report positioned at IB messages The IB addresses of the target IB equipment in the destination address region of literary head, wherein target IB equipment are located at target IB networks;By target IB The IB address conversions of equipment are the SRIO addresses of corresponding object message conversion equipment, and wherein object message conversion equipment is located at SRIO networks, and with target IB network connections;The SRIO addresses of object message conversion equipment are placed in the heading of SRIO messages Destination address region, and IB messages are placed in the load region of SRIO messages, to generate the SRIO messages corresponding to IB messages; SRIO messages are sent to SRIO networks.
It is corresponding mesh by the IB address conversions of target IB equipment in the first possible implementation of first aspect The SRIO addresses of mark message conversion equipment include:Address mapping table is read, wherein address mapping table record has target IB equipment The corresponding relation of IB addresses and the SRIO addresses of object message conversion equipment;Obtained and target IB equipment according to address mapping table The SRIO addresses of the corresponding object message conversion equipment in IB addresses.
In second of possible implementation of first aspect, the SRIO addresses of object message conversion equipment are placed in The destination address region of the heading of SRIO messages, and IB messages are placed in the load region of SRIO messages, corresponded to generating The SRIO messages of IB messages include:Obtain the message length in the message length region for the heading for being located at IB messages;Judge message Whether length is more than preset data length, and IB messages are divided into serial number if so, being measured on the basis of preset data length Multiple data segment informations, and multiple data segment informations are respectively placed in the load region of multiple SRIO messages, by object message The SRIO addresses of conversion equipment are placed in the destination address region of the heading of multiple SRIO messages, serial number are placed in multiple The reserved bit region of the heading of SRIO messages, to generate multiple SRIO messages corresponding to IB messages.
In the third possible implementation of first aspect, receive after the IB messages from source IB networks, the side Method further comprises:The IB addresses of the source IB equipment in the source address region for the heading for being located at IB messages are obtained, wherein source IB is set It is standby to be located at source IB networks;By the SRIO addresses that the IB address conversions of source IB equipment are corresponding source messages conversion equipment;Source is reported The SRIO addresses of literary conversion equipment are placed in the source address region of the heading of SRIO messages.
With reference to the third possible implementation of first aspect, in the 4th kind of possible implementation, by the source The IB address conversions of IB equipment include for the SRIO addresses of the corresponding source messages conversion equipment:Address mapping table is read, its Middle address mapping table records the corresponding relation of the IB addresses of active IB equipment and the SRIO addresses of source messages conversion equipment;Base area Location mapping table obtains the SRIO addresses of source messages conversion equipment corresponding with the IB addresses of source IB equipment.
In the 5th kind of possible implementation of first aspect, generation is further wrapped corresponding to the SRIO messages of IB messages Include:The Format Type region of the heading of SRIO messages is set to user's defined function.
Second aspect provides a kind of message forwarding method of object message conversion equipment, object message conversion equipment and target IB network connections, and with SRIO network connections, this method includes:Receive the SRIO messages from SRIO networks, wherein SRIO reports The load region of text is equipped with IB messages, and the destination address region of the heading of SRIO messages is equipped with object message conversion equipment SRIO addresses, the destination address region of the heading of IB messages is equipped with the IB addresses of target IB equipment, and target IB equipment is located at mesh Mark in IB networks;IB messages are obtained from the load region of SRIO messages;IB messages are sent to target IB networks.
In the first possible implementation of second aspect, receiving the SRIO messages from SRIO networks includes:Connect Multiple SRIO messages from SRIO networks are received, the load region of each of which SRIO messages is equipped with data segment information, many numbers IB messages are constituted according to segment information, the destination address region of the heading of every SRIO messages is equipped with object message conversion equipment SRIO addresses, the reserved bit region of the heading of every SRIO messages is equipped with the corresponding serial number of data segment information;From SRIO The load region of message, which obtains IB messages, to be included:Multiple data segment informations are obtained from the load regions of multiple SRIO messages, from many The reserved bit region of the heading of individual SRIO messages obtains multiple serial numbers, according to serial number by multiple data segment information groups Synthesize IB messages.
In second of possible implementation of second aspect, the source address region of the heading of SRIO messages is further The SRIO addresses of source messages conversion equipment are equipped with, this method further comprises:From the source address region of the heading of SRIO messages Obtain the SRIO addresses of source messages conversion equipment.
In the third possible implementation of second aspect, from the load regions of SRIO messages obtain IB messages be What preparatory condition was performed after being satisfied, preparatory condition is:The Format Type region of the heading of SRIO messages is set to user's definition Function.
The third aspect provides a kind of source messages conversion equipment, source messages conversion equipment and source IB network connections, and and SRIO Network connection, source messages conversion equipment includes:IB message receiving modules, for receiving the IB messages from source IB networks;IB is set Standby address acquisition module, the IB addresses of the target IB equipment in the destination address region for obtaining the heading positioned at IB messages, Wherein target IB equipment is located at target IB networks;Address conversion module, for being correspondence by the IB address conversions of target IB equipment Object message conversion equipment SRIO addresses, wherein object message conversion equipment be located at SRIO networks, and with target IB networks Connection;SRIO message generation modules, the heading for the SRIO addresses of object message conversion equipment to be placed in SRIO messages Destination address region, and IB messages are placed in the load region of SRIO messages, to generate the SRIO messages corresponding to IB messages; SRIO message sending modules, for SRIO messages to be sent to SRIO networks.
In the first possible implementation of the third aspect, source messages conversion equipment further comprises address of cache Table, wherein address mapping table record have the IB addresses of target IB equipment are corresponding with the SRIO addresses of object message conversion equipment to close System, address conversion module is used for:Read address mapping table;Obtain corresponding with the IB addresses of target IB equipment according to address mapping table Object message conversion equipment SRIO addresses.
In second of possible implementation of the third aspect, SRIO message generation modules are used for:Obtain and be located at IB reports The message length in the message length region of the heading of text;Judge whether message length is more than preset data length, if so, with pre- IB messages are divided into multiple data segment informations with serial number if being measured on the basis of data length, and by multiple data segment informations The load region of multiple SRIO messages is respectively placed in, the SRIO addresses of object message conversion equipment are placed in multiple SRIO messages The destination address region of heading, serial number is placed in the reserved bit region of the heading of multiple SRIO messages, with generation pair Should be in multiple SRIO messages of IB messages.
In the third possible implementation of the third aspect, target IB device addresses acquisition module is further used for: The IB addresses of the source IB equipment in the source address region for the heading for being located at IB messages are obtained, wherein source IB equipment is located at source IB nets Network;Address conversion module is further used for:By the SRIO that the IB address conversions of source IB equipment are corresponding source messages conversion equipment Address;SRIO message generation modules are further used for:The SRIO addresses of source messages conversion equipment are placed in the message of SRIO messages The source address region of head.
With reference to the third possible implementation of the third aspect, in the 4th kind of possible implementation, device enters one Step includes address mapping table, wherein address mapping table with recording the IB addresses of active IB equipment and the SRIO of source messages conversion equipment The corresponding relation of location, address conversion module is used for:Read address mapping table;IB with source IB equipment is obtained according to address mapping table The SRIO addresses of the corresponding source messages conversion equipment in address.
In the 5th kind of possible implementation of the third aspect, SRIO message generation modules are further used for:By SRIO The Format Type region of the heading of message is set to user's defined function.
Fourth aspect provides a kind of object message conversion equipment, object message conversion equipment and target IB network connections, and With SRIO network connections, object message conversion equipment includes:SRIO message receiving modules, for receiving from SRIO networks SRIO messages, the load region of wherein SRIO messages is equipped with IB messages, and the destination address region of the heading of SRIO messages is equipped with The SRIO addresses of object message conversion equipment, the destination address region of the heading of IB messages is with being equipped with the IB of target IB equipment Location, target IB equipment is located in target IB networks;IB Receive message modules, for obtaining IB reports from the load region of SRIO messages Text;IB message sending modules, for IB messages to be sent to target IB networks.
In the first possible implementation of fourth aspect, SRIO message receiving modules are used for:Receive and come from SRIO Multiple SRIO messages of network, the load region of each of which SRIO messages is equipped with data segment information, multiple data segment information groups Into IB messages, the destination address region of the heading of every SRIO messages is equipped with the SRIO addresses of object message conversion equipment, often The reserved bit region of the heading of one SRIO messages is equipped with the corresponding serial number of data segment information;IB Receive messages module is used In:Multiple data segment informations are obtained from the load region of multiple SRIO messages, from the reserved bit of the heading of multiple SRIO messages Region obtains multiple serial numbers, and multiple data segment informations are combined into IB messages according to serial number.
In second of possible implementation of fourth aspect, the source target area of the heading of SRIO messages is further The SRIO addresses of source messages conversion equipment are equipped with, IB Receive message modules are further used for:From the source of the heading of SRIO messages Address area obtains the SRIO addresses of source messages conversion equipment.
In the third possible implementation of fourth aspect, IB Receive messages module after preparatory condition is satisfied from The load region of SRIO messages obtains IB messages, and preparatory condition is:The Format Type region of the heading of SRIO messages is set to use Family defined function.
Embodiment of the present invention provide source messages conversion equipment and its message forwarding method, object message conversion equipment and Its message forwarding method, by receiving the IB messages from source IB networks, obtains the mesh in the message head region of IB messages The IB addresses of IB equipment are marked, by the SRIO addresses that the IB address conversions of target IB equipment are corresponding object message conversion equipment, The SRIO addresses of object message conversion equipment are placed in the message head region of SRIO messages, and IB messages are placed in SRIO messages Load region, to generate the SRIO messages corresponding to IB messages and send to SRIO networks, also, passes through the load from SRIO messages Lotus region obtains IB messages, and IB messages are sent to target IB networks, can be reported the IB of source IB networks by SRIO networks Text is transmitted to target IB networks, so as to pass through the IB message transmissions between the different IB networks of SRIO real-time performances.
Brief description of the drawings
Fig. 1 is provided with the source messages conversion equipment of the present invention, the system tray of the network environment of object message conversion equipment Composition;
Fig. 2 is the flow chart of the message forwarding method first embodiment of source messages conversion equipment of the present invention;
Fig. 3 is the IB message format schematic diagrames of the message forwarding method first embodiment of source messages conversion equipment of the present invention;
Fig. 4 is the message format conversion signal of the message forwarding method first embodiment of source messages conversion equipment of the present invention Figure;
Fig. 5 is the SRIO message formats signal of the message forwarding method first embodiment of source messages conversion equipment of the present invention Figure;
Fig. 6 is the flow chart of the message forwarding method first embodiment of object message conversion equipment of the present invention;
Fig. 7 is the flow chart of the message forwarding method second embodiment of source messages conversion equipment of the present invention;
Fig. 8 is the flow chart of the message forwarding method second embodiment of object message conversion equipment of the present invention;
Fig. 9 is the apparatus structure schematic diagram of the first embodiment of source messages conversion equipment 40 of the present invention;
Figure 10 is the apparatus structure schematic diagram of the first embodiment of object message conversion equipment 50 of the present invention;
Figure 11 is the apparatus structure schematic diagram of source messages conversion equipment second embodiment of the present invention;
Figure 12 is the apparatus structure schematic diagram of the second embodiment of object message conversion equipment 50 of the present invention;
Figure 13 is provided with the source messages conversion equipment of the present invention, another network environment of object message conversion equipment System Organization Chart.
Embodiment
The present invention is described in detail with embodiment below in conjunction with the accompanying drawings.
Referring firstly to Fig. 1, Fig. 1 is provided with the source messages conversion equipment of the present invention, the net of object message conversion equipment The system architecture diagram of network environment.As shown in figure 1, the network environment includes source IB networks 10, target IB networks 20, SRIO networks 30th, source messages conversion equipment 40 and object message conversion equipment 50.
Source IB networks 10 include source IB equipment 101, IB equipment 102, IB interchangers 103 and IB interchangers 104, target IB Network 20 includes IB equipment 201, target IB equipment 202, IB interchangers 203 and IB interchangers 204.
SRIO networks 30 include SRIO equipment 301, SRIO interchangers 302 and SRIO equipment 303.
Source messages conversion equipment 40 is connected with source IB networks 10, and is connected with SRIO networks 30.Object message conversion equipment 50 are connected with target IB networks 20, and are connected with SRIO networks 30.
Specifically, source messages conversion equipment 40, so as to access source IB networks 10, is passed through by being connected with IB interchangers 104 It is connected with SRIO interchangers 302, so as to access SRIO networks 30.Object message conversion equipment 50 with IB interchangers 203 by connecting Connect, so that target IB networks 20 are accessed, by being connected with SRIO interchangers 302, so as to access SRIO networks 30.
In embodiments of the present invention, source messages conversion equipment 40 is in addition to SRIO addresses, with more IB addresses, source report The SRIO addresses of literary conversion equipment 40 may be such that source messages conversion equipment 40 is identified in SRIO networks 30, source messages converting means The IB addresses for putting 40 may be such that source messages conversion equipment 40 is identified in source IB networks 10.
Similarly, object message conversion equipment 50 is in addition to SRIO addresses, with more IB addresses, object message conversion The SRIO addresses of device 50 may be such that object message conversion equipment 50 is identified in SRIO networks 30, object message conversion equipment 50 IB addresses may be such that object message conversion equipment 50 is identified in target IB networks 20.
In source IB networks 10, IB interchangers 103 and IB interchangers 104 can be used for completing IB messages in source IB networks 10 Distribution and transmission, specifically, message can be sent to the corresponding IB in the address by reading the destination address in message and set It is standby.
In target IB networks 20, IB interchangers 203 and IB interchangers 204 can be used for completing IB messages in target IB nets Distribution and transmission in network 20, specifically, can by read the destination address in message by message be sent to the address correspondence IB equipment.
In SRIO networks 30, SRIO interchangers 302 can be used for completing distribution of the SRIO messages in SRIO networks 30 And transmission, specifically, the corresponding SRIO equipment in the address can be sent to by reading the destination address in message by message.
In the prior art, IB messages can only source IB networks 10 or target IB networks 20 internal transmission, it is impossible to pass through SRIO networks 30, and the technical problems to be solved by the invention be IB messages in source IB networks 10 to be caused can be by SRIO Network 30 is transmitted to target IB networks 20.
Fig. 2 is referred to below, and Fig. 2 is the flow of the message forwarding method first embodiment of source messages conversion equipment of the present invention Figure.In the present embodiment, it is specifically described using the source messages conversion equipment 40 shown in Fig. 1 as main body, as shown in Fig. 2 this The message forwarding method of the source messages conversion equipment of embodiment comprises the following steps:
Step 401:Receive the IB messages from source IB networks.Specifically, IB messages are that source IB equipment 101 is sent, Assuming that the destination address of the IB messages is that (it is located in target IB networks 20 target IB equipment 202, without in source IB networks 10 In), therefore, IB interchangers 104 can not find corresponding destination address in source IB networks 10, therefore without corresponding in source IB networks 10 IB equipment receive the message, the IB messages are then received by source messages conversion equipment 40.
, can be with further reference to Fig. 3 in order to more clearly illustrate, Fig. 3 is the message of source messages conversion equipment of the present invention The IB message format schematic diagrames of conversion method first embodiment.As shown in figure 3, IB messages 902 are arranged on starting delimiter and knot Between beam delimiter, wherein IB messages 902 include heading, payload (Payload) and check code.
Specifically, heading includes LRH (Local Route Header, local routing head) information, GRH (Global Routing Header, the overall situation route head) information, BTH (Base Transport Header, basic transmission head) information, ETH (Extended Transport Header extend transmission head) information, check code includes ICRC (Invariant Cyclic Redundancy Check, standard cyclic redundancy code check) check code and VCRC (Variant Cyclic Redundancy Check, mutation CRC) check code.
Wherein, LRH information specifically includes region as shown in table 1:
Table 1:
Step 402:Obtain the address of the target IB equipment in the DLID regions for the heading for being located at IB messages, wherein target IB Equipment is located at target IB networks.
Step 403:By the SRIO addresses that the IB address conversions of target IB equipment are corresponding object message conversion equipment.Tool For body, can in the following manner by by the IB address conversions of target IB equipment be corresponding object message conversion equipment SRIO Address:
Address mapping table is read, wherein address mapping table record has IB addresses and the object message converting means of target IB equipment The corresponding relation for the SRIO addresses put, obtains object message corresponding with the IB addresses of target IB equipment according to address mapping table and turns The SRIO addresses of changing device.
With reference to Fig. 1, address mapping table is as shown in table 2:
Table 2:
The IB addresses of IB equipment 201 The SRIO addresses of object message conversion equipment 50
The IB addresses of target IB equipment 202 The SRIO addresses of object message conversion equipment 50
Therefore, table 2 is address mapping table, its IB address for listing target IB equipment 202 and object message conversion equipment The corresponding relation of 50 SRIO addresses.Turn it is worth noting that, address mapping table can also record IB equipment 201 with object message The corresponding relation of changing device 50.
And Fig. 4 is referred to, Fig. 4 is the message lattice of the message forwarding method first embodiment of source messages conversion equipment of the present invention Formula transition diagram, as shown in figure 4, the packet of IB messages 902 specifically includes heading 9021, load region 9022 and school Test symbol 9023.Specifically can by reading the IB addresses of the target IB equipment 202 in IB messages 902, wherein, target IB equipment 202 IB addresses be recorded in DLID regions in the local routing header of the heading of IB messages 902.And the ground according to table 2 Location mapping table obtains the SRIO addresses of the corresponding object message conversion equipment 50 in IB addresses of target IB equipment 202.
Step 404:The SRIO addresses of object message conversion equipment are placed in the destination address area of the heading of SRIO messages Domain, and IB messages are placed in the load region of SRIO messages, to generate the SRIO messages corresponding to IB messages.
Fig. 5 specifically is referred to, Fig. 5 is the SRIO of the message forwarding method first embodiment of source messages conversion equipment of the present invention Message format schematic diagram.As shown in figure 5, SRIO messages specifically include heading, load region and check character.
Wherein, heading specifically includes response address, reserved bit, priority, device identification length, Format Type, target Address, source address and logical layer information.
Step 405:SRIO messages are sent to SRIO networks.
Fig. 6 is referred to below, and Fig. 6 is the stream of the message forwarding method first embodiment of object message conversion equipment of the present invention Cheng Tu, in the present embodiment, is illustrated using the object message conversion equipment 50 shown in Fig. 1 as main body, as shown in fig. 6, this The message forwarding method of subject invention message conversion equipment comprises the following steps:
Step 501:Receive the SRIO messages from SRIO networks.
Step 502:IB messages are obtained from the load region of SRIO messages.
Step 503:IB messages are sent to target IB networks.
Due in the message forwarding method first embodiment of source messages conversion equipment of the present invention, source messages conversion equipment 40 SRIO messages are sent to SRIO networks 30, and in the SRIO messages, its load region is equipped with IB messages, the mesh of its heading Mark address is equipped with the SRIO addresses of object message conversion equipment 50, and therefore, SRIO messages can be forwarded to via SRIO interchangers 302 Object message conversion equipment 50 so that object message conversion equipment 50 can receive the SRIO messages from SRIO networks 30.
Object message conversion equipment 50 obtains IB messages from the load region of SRIO messages, and IB messages are sent to target IB networks 20.
Because the DLID regions of the heading of IB messages are equipped with the IB addresses of target IB equipment 202, therefore, IB messages are in mesh Mark IB networks being forwarded to up to target IB equipment 202 via IB interchangers 203 and IB interchangers 204.
Therefore, in the message forwarding method first embodiment and object message converting means of source messages conversion equipment of the present invention In the message forwarding method first embodiment put, the work of source messages conversion equipment and object message conversion equipment is specifically described Mode.Embodiment of the present invention provide source messages conversion equipment and its message forwarding method, object message conversion equipment and its Message forwarding method, at source messages conversion equipment end:By receiving the IB messages from source IB networks, obtain positioned at IB messages The IB addresses of target IB equipment in message head region, the IB address conversions of target IB equipment are changed for corresponding object message The SRIO addresses of device, the SRIO addresses of object message conversion equipment are placed in the message head region of SRIO messages, and IB is reported Text is placed in the load region of SRIO messages, to generate the SRIO messages corresponding to IB messages and send to SRIO networks;Also, Object message conversion equipment end:By obtaining IB messages from the load region of SRIO messages, and IB messages are sent to target IB Network, so that by SRIO networks by the IB message transmissions of source IB networks 10 to target IB networks, by SRIO real-time performances not IB message transmissions between same IB networks.
Fig. 7 is referred to below, and Fig. 7 is the flow of the message forwarding method second embodiment of source messages conversion equipment of the present invention Figure, as shown in fig. 7, the message forwarding method of source messages conversion equipment of the present invention comprises the following steps:
Step 601:Receive the IB messages from source IB networks.
Step 602:Obtain the IB addresses of the target IB equipment in the DLID regions for the heading for being located at IB messages.Wherein target IB equipment is located at target IB networks.
Step 603:By the SRIO addresses that the IB address conversions of target IB equipment are corresponding object message conversion equipment.Its Middle object message conversion equipment be located at SRIO networks 3, and with target IB network connections.
Step 604:Obtain the message length in the PktLen regions for the heading for being located at IB messages;
Step 605:Judge whether message length is more than preset data length, if so, step 606 is performed, if it is not, performing step Rapid 608.Specifically, preset data length can be arranged as required to by user, it is however generally that, because IB messages are located in The load region of SRIO messages, and the data length of the load region of SRIO messages is 256 bytes, therefore preset data length can It is set to 256 bytes.But, preset data length can also be arranged between 1-256 bytes by user according to actual needs, this hair It is bright that this is not especially limited.
Step 606:Measured on the basis of preset data length and IB messages are divided into multiple data segments letter with serial number Breath.Wherein, serial number is used for arrangement position of the flag data segment information in IB messages, specifically, if IB messages are divided into n Individual data segment information, then the serial number of the n data segment information from the beginning to the end be respectively 1,2,3 ..., n.
Step 607:Multiple data segment informations are respectively placed in the load region of multiple SRIO messages, object message is changed The SRIO addresses of device are placed in the destination address region of the heading of multiple SRIO messages, and serial number is placed in into multiple SRIO reports The reserved bit region (specific as shown in Figure 5) of the heading of text, to generate multiple SRIO messages corresponding to IB messages.
Step 608:The SRIO addresses of object message conversion equipment are placed in the destination address area of the heading of SRIO messages Domain, and IB messages are placed in the load region of SRIO messages, to generate the SRIO messages corresponding to IB messages.
Step 609:SRIO messages are sent to SRIO networks.
Fig. 8 is referred to below, and Fig. 8 is the stream of the message forwarding method second embodiment of object message conversion equipment of the present invention Cheng Tu, in the present embodiment, is illustrated using the object message conversion equipment 50 shown in Fig. 1 as main body, and, it is assumed that above In the message forwarding method second embodiment of described source messages conversion equipment 40, multiple SRIO messages are generated.Such as Fig. 8 institutes Show, the message forwarding method of object message conversion equipment of the present invention comprises the following steps:
Step 701:Multiple SRIO messages from SRIO networks are received, the load region of each of which SRIO messages is equipped with Data segment information, multiple data segment informations constitute IB messages, and the destination address region of the heading of every SRIO messages is equipped with mesh Mark the SRIO addresses of message conversion equipment, the corresponding order of reserved bit area data segment information of the heading of every SRIO messages Numbering.
Step 702:Multiple data segment informations are obtained from the load region of multiple SRIO messages, from the report of multiple SRIO messages The reserved bit region of literary head obtains multiple serial numbers, and multiple data segment informations are combined into IB messages according to serial number.
Step 703:IB messages are sent to target IB networks.
If it is worth noting that, in the message forwarding method second embodiment of source messages conversion equipment described above, producing Single SRIO messages are given birth to, then the message forwarding method first embodiment that can refer to object message conversion equipment of the present invention carries out phase It should handle, the present invention is not repeated this.
In the message forwarding method second embodiment and object message conversion equipment of source messages conversion equipment of the present invention In message forwarding method second embodiment, the work side of source messages conversion equipment and object message conversion equipment is specifically described Formula.Source messages conversion equipment and its message forwarding method, object message conversion equipment and its report that embodiment of the present invention is provided Literary conversion method, at source messages conversion equipment end:By receiving the IB messages from source IB networks, the report positioned at IB messages is obtained The IB addresses of target IB equipment in literary head region, are corresponding object message converting means by the IB address conversions of target IB equipment The SRIO addresses put, obtain the message length in the PktLen regions for the heading for being located at IB messages, judge whether message length is big In preset data length, IB messages are divided into multiple data with serial number if so, being measured on the basis of preset data length Segment information, and multiple data segment informations are respectively placed in the load region of multiple SRIO messages, by object message conversion equipment SRIO addresses are placed in the destination address region of the heading of multiple SRIO messages, and serial number is placed in the report of multiple SRIO messages The reserved bit region of literary head, to generate multiple SRIO messages corresponding to IB messages;Also, at object message conversion equipment end: Multiple SRIO messages are received from SRIO networks, multiple data segment informations are obtained from the load region of multiple SRIO messages, from multiple The reserved bit region of the heading of SRIO messages obtains multiple serial numbers, is combined multiple data segment informations according to serial number Sent into IB messages, and by IB messages to target IB networks, so that by SRIO networks by the IB message transmissions of source IB networks 10 To target IB networks, to pass through the IB message transmissions between the different IB networks of SRIO real-time performances.
The message forwarding method second embodiment of source messages conversion equipment of the present invention and the report of object message conversion equipment Literary conversion method second embodiment emphasis considers the situation that IB message lengths are more than preset data length, by the way that IB messages is long Degree carries out cutting, to produce multiple data segment informations, and is placed into multiple SRIO messages by multiple data segment informations respectively Row transmission, so that the present embodiment is suitably applied network environment relatively large to IB message lengths in practical application.
It is worth noting that, in the alternative embodiment of the message forwarding method of source messages conversion equipment of the present invention, source report Literary conversion equipment can further obtain the IB addresses of the source IB equipment positioned at the SLID regions of the heading of IB messages, wherein source IB Equipment is located at source IB networks, and IB messages are sent by source IB equipment.The IB address conversions of source IB equipment are reported for corresponding source The SRIO addresses of literary conversion equipment.The SRIO addresses of source messages conversion equipment are placed in the source address field of the heading of SRIO messages Domain.
By the source address region for the heading that the SRIO addresses of source messages conversion equipment are placed in SRIO messages, it may be such that Object message conversion equipment can know the source address of SRIO messages after the SRIO messages are received.
Specifically, source messages conversion equipment can be by reading address mapping table, by the IB address conversions of source IB equipment For the SRIO addresses of corresponding source messages conversion equipment.Wherein address mapping table records IB addresses and the source messages of active IB equipment The corresponding relation of the SRIO addresses of conversion equipment, and source report corresponding with the IB addresses of source IB equipment is obtained according to address mapping table The SRIO addresses of literary conversion equipment.
Table 3 is referred to below, and wherein table 3 is further provided with the IB addresses of source IB equipment on the basis of table 2 and source is reported The corresponding relation of the SRIO addresses of literary conversion equipment, with reference to Fig. 1, address mapping table is as shown in table 3:
Table 3:
The IB addresses of IB equipment 201 The SRIO addresses of object message conversion equipment 50
The IB addresses of target IB equipment 202 The SRIO addresses of object message conversion equipment 50
The IB addresses of source IB equipment 101 The SRIO addresses of source messages conversion equipment 40
The IB addresses of IB equipment 102 The SRIO addresses of source messages conversion equipment 40
Wherein, table 3 records what the IB addresses of all IB equipment in active IB networks 10 were connected with source IB networks 40 The IB addresses of all IB equipment in the corresponding relation of the SRIO addresses of source messages conversion equipment 40, and target IB networks 20 with The corresponding relation of the SRIO addresses for the object message conversion equipment 50 being connected with target IB networks 20.
Also, can be by the message of SRIO messages in the alternative embodiment of the message forwarding method in source messages conversion equipment The Format Type region of head is set to user's defined function, and object message conversion equipment 50 can be by judging the headings of SRIO messages Format Type (Ftype, Format type) region (as shown in Figure 5) whether be set to user's defined function, it is common to distinguish SRIO messages and the SRIO messages with IB messages disclosed in the embodiment of the present invention, so that disclosed in the embodiment of the present invention Technical scheme can be applied to while there is common SRIO messages and disclosed SRIO messages with IB messages In SRIO networks.
Fig. 9 is referred to, Fig. 9 is the apparatus structure schematic diagram of the first embodiment of source messages conversion equipment 40 of the present invention, wherein, Source messages conversion equipment 40 and source IB network connections, and with SRIO network connections, source messages conversion equipment 40 includes:
IB messages receiving module 4401, for receiving the IB messages from source IB networks;
IB device addresses acquisition module 4402, sets for obtaining the target IB in DLID regions of the heading positioned at IB messages Standby IB addresses, wherein target IB equipment are located at target IB networks;
Address conversion module 4403, for being corresponding object message conversion equipment by the IB address conversions of target IB equipment SRIO addresses, wherein object message conversion equipment be located at SRIO networks, and with target IB network connections;
SRIO message generation modules 4404, the report for the SRIO addresses of object message conversion equipment to be placed in SRIO messages The destination address region of literary head, and IB messages are placed in the load region of SRIO messages, to generate the SRIO corresponding to IB messages Message;
SRIO messages sending module 4405, for SRIO messages to be sent to SRIO networks.
Alternatively, source messages conversion equipment 40 further comprises address mapping table, and wherein address mapping table record has target The corresponding relation of the IB addresses of IB equipment and the SRIO addresses of object message conversion equipment, address conversion module 4403 is used for:
Read address mapping table;
The SRIO of object message conversion equipment corresponding with the IB addresses of target IB equipment is obtained according to address mapping table Location.
Alternatively, SRIO message generation modules 4404 are further used for:Obtain the PktLen of the heading positioned at IB messages The message length in region;Judge whether message length is more than preset data length, will if so, being measured on the basis of preset data length IB messages are divided into multiple data segment informations with serial number, and multiple data segment informations are respectively placed in into multiple SRIO messages Load region, the SRIO addresses of object message conversion equipment are placed in the destination address area of the heading of multiple SRIO messages Domain, serial number is placed in the reserved bit region of the heading of multiple SRIO messages, to generate corresponding to the multiple of IB messages SRIO messages.SRIO messages sending module 4405 sends the plurality of SRIO messages to SRIO networks.
Alternatively, IB device addresses acquisition module 4402 is used for:Obtain the SLID regions for the heading for being located at IB messages The IB addresses of source IB equipment, wherein source IB equipment are located at source IB networks;Address conversion module 4403 is by the IB addresses of source IB equipment Be converted to the SRIO addresses of corresponding source messages conversion equipment 40;SRIO message generation modules 4404 are by source messages conversion equipment 40 SRIO addresses be placed in SRIO messages heading source address region.
Alternatively, source messages conversion equipment 40 further comprises address mapping table, and wherein address mapping table records active IB The corresponding relation of the IB addresses of equipment and the SRIO addresses of source messages conversion equipment 40, address conversion module 4403 is used for:Read Address mapping table;The SRIO of source messages conversion equipment 40 corresponding with the IB addresses of source IB equipment is obtained according to address mapping table Location.
Alternatively, SRIO message generation modules 4404 are used for:The Format Type region of the heading of SRIO messages is set to User's defined function.
Specifically, each functional module of the above can be realized using field programmable gate array or application specific integrated circuit, Also, it in some cases, can also be realized with program, hereafter disclose what is used during using the program realization present invention by detailed Hardware structure.
Figure 10 is referred to below, and Figure 10 is the apparatus structure signal of the first embodiment of object message conversion equipment 50 of the present invention Figure, object message conversion equipment 50 and target IB network connections, and with SRIO network connections, object message conversion equipment 50 wraps Include:
SRIO messages receiving module 5501, the load for receiving SRIO messages, wherein SRIO messages from SRIO networks Lotus region is equipped with IB messages, and the destination address region of the heading of SRIO messages is with being equipped with the SRIO of object message conversion equipment 50 Location, the DLID regions of the heading of IB messages are equipped with the IB addresses of target IB equipment, and target IB equipment is located in target IB networks;
IB Receive messages module 5502, for obtaining IB messages from the load region of SRIO messages;
IB messages sending module 5503, for IB messages to be sent to target IB networks.
Alternatively, SRIO messages receiving module 5501 is used for:Multiple SRIO messages from SRIO networks are received, wherein often The load region of one SRIO messages is equipped with data segment information, and multiple data segment informations constitute IB messages, the report of every SRIO messages The destination address region of literary head is equipped with the SRIO addresses of object message conversion equipment 50, the reservation of the heading of every SRIO messages The corresponding serial number of position area data segment information;
IB Receive messages module 5502 is used for:Multiple data segment informations are obtained from the load region of multiple SRIO messages, from The reserved bit region of the heading of multiple SRIO messages obtains multiple serial numbers, according to serial number by multiple data segment informations It is combined into IB messages.
Alternatively, the source target area of the heading of SRIO messages is with being further equipped with the SRIO of source messages conversion equipment Location, IB Receive messages module 5502 is further used for:Source messages conversion is obtained from the source address region of the heading of SRIO messages The SRIO addresses of device.
Alternatively, the Format Type region of the heading of SRIO messages is set to user's defined function, IB Receive message modules 5502 obtain IB messages after preparatory condition is satisfied from the load region of SRIO messages, and preparatory condition is:IB Receive message moulds The Format Type region that block 5502 determines the heading of SRIO messages is set to user's defined function.
Figure 11 is referred to below, and Figure 11 is the apparatus structure schematic diagram of source messages conversion equipment second embodiment of the present invention, Source messages conversion equipment 40 and source IB network connections, and with SRIO network connections, source messages conversion equipment 40 includes processor 4411st, SRIO interfaces 4412, memory 4413, IB interfaces 4414 and bus 4415, processor 4411, SRIO interfaces 4412, Memory 4413, IB interfaces 4414 are connected with bus 4415 respectively, to interact communication.
Specifically, source messages conversion equipment 40 is by IB interfaces 4414 and source IB network connections, and passes through SRIO interfaces 4412 with SRIO network connections.Wherein:
IB interfaces 4414, for receiving the IB messages from source IB networks;
Memory 4413, for storage program, the program is used for:
Obtain the IB addresses of the target IB equipment in the DLID regions for the heading for being located at IB messages, wherein target IB equipment position In target IB networks;
By the SRIO addresses that the IB address conversions of target IB equipment are corresponding object message conversion equipment, wherein target report Literary conversion equipment be located at SRIO networks, and with target IB network connections;
The SRIO addresses of object message conversion equipment are placed in the destination address region of the heading of SRIO messages, and by IB Message is placed in the load region of SRIO messages, to generate the SRIO messages corresponding to IB messages;
Processor 4411, for running the program.
SRIO interfaces 4412, for SRIO messages to be sent to SRIO networks.
Alternatively, memory 4413 is stored with address mapping table, and wherein address mapping table record has the IB of target IB equipment The corresponding relation of address and the SRIO addresses of object message conversion equipment, the program is used for:Read address mapping table;According to address Mapping table obtains the SRIO addresses of object message conversion equipment corresponding with the IB addresses of target IB equipment.
Alternatively, the program is further used for:Obtain the message length in the PktLen regions for the heading for being located at IB messages; Judge whether message length is more than preset data length, carried if so, being measured on the basis of preset data length and being divided into IB messages Multiple data segment informations of serial number, and multiple data segment informations are respectively placed in the load region of multiple SRIO messages, will The SRIO addresses of object message conversion equipment are placed in the destination address region of the heading of multiple SRIO messages, and serial number is put In the reserved bit region of the heading of multiple SRIO messages, to generate multiple SRIO messages corresponding to IB messages.SRIO interfaces 4412 send the plurality of SRIO messages to SRIO networks.
Alternatively, the program is used for:The IB addresses of the source IB equipment in the SLID regions for the heading for being located at IB messages are obtained, Wherein IB equipment in source is located at source IB networks;By the SRIO that the IB address conversions of source IB equipment are corresponding source messages conversion equipment 40 Address;The SRIO addresses of source messages conversion equipment 40 are placed in the source address region of the heading of SRIO messages.
Alternatively, address mapping table further records the IB addresses of active IB equipment and the SRIO of source messages conversion equipment 40 The corresponding relation of address, the program is used for:Read address mapping table;IB addresses with source IB equipment are obtained according to address mapping table The SRIO addresses of corresponding source messages conversion equipment 40.
Alternatively, SRIO interfaces 4412 are used for:The Format Type region of the heading of SRIO messages is set to user's definition Function.
Figure 12 is referred to below, and Figure 12 is the apparatus structure signal of the second embodiment of object message conversion equipment 50 of the present invention Figure, object message conversion equipment 50 and target IB network connections, and with SRIO network connections, object message conversion equipment 50 includes Processor 5511, SRIO interfaces 5512, memory 5513, IB interfaces 5514 and bus 5515, processor 5511, SRIO interfaces 5512nd, memory 5513, IB interfaces 5514 are connected with bus 5515 respectively, to interact communication.
Specifically, object message conversion equipment 50 is by IB interfaces 5514 and target IB network connections, and passes through SRIO Interface 5512 and SRIO network connections.Wherein:
SRIO interfaces 5512, for receiving the SRIO messages from SRIO networks, the load region of wherein SRIO messages is put There are IB messages, the destination address region of the heading of SRIO messages is equipped with the SRIO addresses of object message conversion equipment 50, IB reports The DLID regions of the heading of text are equipped with the IB addresses of target IB equipment, and target IB equipment is located in target IB networks;
Memory 5513, has program stored therein, and the program is used to obtain IB messages from the load region of SRIO messages,
IB messages are sent to target IB networks.
Alternatively, SRIO interfaces 5512 are used for:Receive multiple SRIO messages from SRIO networks, each of which SRIO reports The load region of text is equipped with data segment information, and multiple data segment informations constitute IB messages, the mesh of the heading of every SRIO messages Mark address area is equipped with the SRIO addresses of object message conversion equipment 50, the reserved bit number of regions of the heading of every SRIO messages According to the corresponding serial number of segment information.
The program is used for:Multiple data segment informations are obtained from the load region of multiple SRIO messages, from multiple SRIO messages The reserved bit region of heading obtain multiple serial numbers, multiple data segment informations are combined into by IB reports according to serial number Text.
Alternatively, the source target area of the heading of SRIO messages is with being further equipped with the SRIO of source messages conversion equipment Location, the program is further used for:From the source address region of the heading of SRIO messages with obtaining the SRIO of source messages conversion equipment Location.
Alternatively, the Format Type region of the heading of SRIO messages is set to user's defined function, and the program is in default bar Part obtains IB messages after being satisfied from the load region of SRIO messages, and preparatory condition is:Determine the heading of SRIO messages Format Type region is set to user's defined function.
Refer to Figure 13 below, Figure 13 is provided with the source messages conversion equipment of the present invention, object message conversion equipment The system architecture diagram of another network environment.As shown in figure 13, the network environment include source IB networks 810, target IB networks 811, SRIO networks 800, source messages conversion equipment 40 and object message conversion equipment 50.
In the present embodiment, illustrated with a more extreme example, i.e.,:Source IB networks 810 only include source IB equipment 8101, target IB network 811 only includes target IB equipment 8111.
SRIO networks 800 include SRIO equipment 801, SRIO equipment 802, SRIO equipment 803, SRIO equipment 804, SRIO reports Literary interchanger 805, SRIO message exchangers 806 and SRIO message exchangers 807.
Similarly, the IB messages that source IB equipment 8101 is sent are loaded into SRIO messages by source messages conversion equipment 40, concurrently SRIO networks 800 are delivered to, specifically, SRIO messages can be sent to SRIO message exchangers 807, SRIO messages are reported through SRIO Literary interchanger 807 is forwarded to object message conversion equipment 50, and object message conversion equipment 50 obtains IB messages from SRIO messages, And send to target IB equipment 8111.
Therefore, the present invention, which can be also suitably used for source IB networks 10, only includes single IB equipment, and target IB networks 20 only include single The network environment of individual IB equipment.
Therefore, the source messages conversion equipment and its message forwarding method of embodiment of the present invention offer, object message conversion Device and its message forwarding method, by receiving the IB messages from source IB networks, obtain the message head region positioned at IB messages In target IB equipment IB addresses, by the IB address conversions of target IB equipment be corresponding object message conversion equipment SRIO Address, the SRIO addresses of object message conversion equipment is placed in the message head region of SRIO messages, and IB messages are placed in into SRIO The load region of message, to generate the SRIO messages corresponding to IB messages and send to SRIO networks, also, by being reported from SRIO The load region of text obtains IB messages, and IB messages is sent to target IB networks, can be by SRIO networks by source IB networks IB message transmissions to target IB networks, so as to pass through the IB message transmissions between the different IB networks of SRIO real-time performances.
Embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technology leads network, is included within the scope of the present invention.

Claims (20)

1. a kind of message forwarding method of source messages conversion equipment, it is characterised in that the source messages conversion equipment and source are unlimited Bandwidth IB network connections, and with serial high speed input and output SRIO network connections, the source messages conversion equipment is with having SRIO Location and IB addresses, can be such that the source messages conversion equipment is identified in the SRIO networks and source IB networks, methods described bag Include:
Receive the IB messages from the source IB networks;
The IB addresses of the target IB equipment in the destination address region for the heading for being located at the IB messages are obtained, wherein the target IB equipment is located at target IB networks;
By the SRIO addresses that the IB address conversions of the target IB equipment are corresponding object message conversion equipment, wherein the mesh Mark message conversion equipment and the target IB network connections, and with the SRIO network connections, the object message conversion equipment With SRIO addresses and target IB addresses, the object message conversion equipment can be made to be known in SRIO networks and target IB networks Not;
The SRIO addresses of the object message conversion equipment are placed in the destination address region of the heading of SRIO messages, and by institute The load region that IB messages are placed in the SRIO messages is stated, to generate the SRIO messages corresponding to the IB messages;
The SRIO messages are sent to the SRIO networks.
2. according to the method described in claim 1, it is characterised in that the IB address conversions by the target IB equipment for pair The SRIO addresses for the object message conversion equipment answered include:
Address mapping table is read, wherein address mapping table record has the IB addresses of the target IB equipment and the target report The corresponding relation of the SRIO addresses of literary conversion equipment;
The object message conversion equipment corresponding with the IB addresses of the target IB equipment is obtained according to the address mapping table SRIO addresses.
3. according to the method described in claim 1, it is characterised in that the SRIO addresses by the object message conversion equipment The destination address region of the heading of SRIO messages is placed in, and the IB messages are placed in the load region of the SRIO messages, Included with the SRIO messages generated corresponding to the IB messages:
Obtain the message length in the message length region for the heading for being located at the IB messages;
Judge whether the message length is more than preset data length, if so, being measured institute on the basis of the preset data length State IB messages and be divided into multiple data segment informations with serial number, and the multiple data segment information is respectively placed in multiple The load region of SRIO messages, the SRIO addresses of the object message conversion equipment is placed in the message of the multiple SRIO messages The destination address region of head, the serial number is placed in the reserved bit region of the heading of the multiple SRIO messages, with life Into the multiple SRIO messages corresponding to the IB messages.
4. according to the method described in claim 1, it is characterised in that described after the IB messages of the reception from source IB networks Method further comprises:
The IB addresses of the source IB equipment in the source address region for the heading for being located at the IB messages are obtained, wherein the source IB equipment Positioned at source IB networks;
By the SRIO addresses that the IB address conversions of the source IB equipment are the corresponding source messages conversion equipment;
The SRIO addresses of the source messages conversion equipment are placed in the source address region of the heading of the SRIO messages.
5. method according to claim 4, it is characterised in that the IB address conversions by the source IB equipment are correspondence The SRIO addresses of the source messages conversion equipment include:
Address mapping table is read, wherein address mapping table record has the IB addresses of the source IB equipment and the source messages to turn The corresponding relation of the SRIO addresses of changing device;
The source messages conversion equipment corresponding with the IB addresses of the source IB equipment is obtained according to the address mapping table SRIO addresses.
6. according to the method described in claim 1, it is characterised in that the generation is reported corresponding to the SRIO of the IB messages Text further comprises:
The Format Type region of the heading of the SRIO messages is set to user's defined function.
7. a kind of message forwarding method of object message conversion equipment, it is characterised in that the object message conversion equipment and mesh Mark infinite bandwidth IB network connections, and with serial high speed input and output SRIO network connections, object message conversion equipment tool There are SRIO addresses and target IB addresses, the object message conversion equipment can be made to be known in SRIO networks and target IB networks Not, methods described includes:
The SRIO messages from the SRIO networks are received, wherein the load region of the SRIO messages is equipped with IB messages, it is described The destination address region of the heading of SRIO messages is equipped with the SRIO addresses of the object message conversion equipment, the IB messages The destination address region of heading is equipped with the IB addresses of target IB equipment, and the target IB equipment is located at the target IB networks In;
The IB messages are obtained from the load region of the SRIO messages;
The IB messages are sent to the target IB networks.
8. method according to claim 7, it is characterised in that SRIO message of the reception from SRIO networks includes:
Multiple SRIO messages from the SRIO networks are received, the load region of SRIO messages is equipped with data described in each of which Segment information, multiple data segment informations constitute the IB messages, the destination address area of the heading of each SRIO messages Domain is equipped with the SRIO addresses of the object message conversion equipment, and the reserved bit region of the heading of each SRIO messages is equipped with The corresponding serial number of the data segment information;
The load region from the SRIO messages, which obtains the IB messages, to be included:
Multiple data segment informations are obtained from the load region of multiple SRIO messages, from the report of the multiple SRIO messages The reserved bit region of literary head obtains multiple serial numbers, is combined multiple data segment informations according to the serial number Into the IB messages.
9. method according to claim 7, it is characterised in that the source address region of the heading of the SRIO messages enters one Step is equipped with the SRIO addresses of source messages conversion equipment, and methods described further comprises:
The SRIO addresses of the source messages conversion equipment are obtained from the source address region of the heading of the SRIO messages.
10. method according to claim 7, it is characterised in that the load region from the SRIO messages obtains institute State IB messages to perform after preparatory condition is satisfied, the preparatory condition is:The form of the heading of the SRIO messages Type area is set to user's defined function.
11. a kind of source messages conversion equipment, it is characterised in that the source messages conversion equipment connects with source infinite bandwidth IB networks Connect, and with serial high speed input and output SRIO network connections, the source messages conversion equipment has SRIO addresses and IB addresses, can The source messages conversion equipment is set to be identified in the SRIO networks and source IB networks, the source messages conversion equipment includes:
IB message receiving modules, for receiving the IB messages from source IB networks;
IB device addresses acquisition module, sets for obtaining the target IB in destination address region of the heading positioned at the IB messages Standby IB addresses, wherein the target IB equipment is located at target IB networks;
Address conversion module, for being corresponding object message conversion equipment by the IB address conversions of the target IB equipment SRIO addresses, wherein the object message conversion equipment and the target IB network connections, and with the SRIO network connections;
SRIO message generation modules, the heading for the SRIO addresses of the object message conversion equipment to be placed in SRIO messages Destination address region, and the IB messages are placed in the load region of the SRIO messages, correspond to IB reports to generate The SRIO messages of text;
SRIO message sending modules, for the SRIO messages to be sent to the SRIO networks.
12. device according to claim 11, it is characterised in that the source messages conversion equipment further comprises that address is reflected Firing table, wherein address mapping table record has the IB addresses of the target IB equipment and the object message conversion equipment The corresponding relation of SRIO addresses, the address conversion module is used for:
Read the address mapping table;
The object message conversion equipment corresponding with the IB addresses of the target IB equipment is obtained according to the address mapping table SRIO addresses.
13. device according to claim 11, it is characterised in that the SRIO message generation modules are further used for:
Obtain the message length in the message length region for the heading for being located at the IB messages;
Judge whether the message length is more than preset data length, if so, being measured institute on the basis of the preset data length State IB messages and be divided into multiple data segment informations with serial number, and the multiple data segment information is respectively placed in multiple The load region of SRIO messages, the SRIO addresses of the object message conversion equipment is placed in the message of the multiple SRIO messages The destination address region of head, the serial number is placed in the reserved bit region of the heading of the multiple SRIO messages, with life Into the multiple SRIO messages corresponding to the IB messages.
14. device according to claim 11, it is characterised in that
IB device addresses acquisition module is further used for:
The IB addresses of the source IB equipment in the source address region for the heading for being located at the IB messages are obtained, wherein the source IB equipment Positioned at source IB networks;
The address conversion module is further used for:
By the SRIO addresses that the IB address conversions of the source IB equipment are the corresponding source messages conversion equipment;
The SRIO message generation modules are further used for:
The SRIO addresses of the source messages conversion equipment are placed in the source address region of the heading of the SRIO messages.
15. device according to claim 14, it is characterised in that described device further comprises address mapping table, wherein The address mapping table record has the IB addresses of the source IB equipment corresponding with the SRIO addresses of the source messages conversion equipment Relation, the address conversion module is used for:
Read the address mapping table;
The source messages conversion equipment corresponding with the IB addresses of the source IB equipment is obtained according to the address mapping table SRIO addresses.
16. device according to claim 11, it is characterised in that the SRIO message generation modules are further used for:
The Format Type region of the heading of the SRIO messages is set to user's defined function.
17. a kind of object message conversion equipment, the object message conversion equipment and target infinite bandwidth IB network connections, and with Serial high speed input and output SRIO network connections, the object message conversion equipment has SRIO addresses and target IB addresses, can The object message conversion equipment is set to be identified in SRIO networks and target IB networks, it is characterised in that the object message Conversion equipment includes:
SRIO message receiving modules, for receiving the SRIO messages from the SRIO networks, wherein the load of the SRIO messages Lotus region is equipped with IB messages, and the destination address region of the heading of the SRIO messages is equipped with the object message conversion equipment SRIO addresses, the destination address region of the heading of the IB messages is equipped with the IB addresses of target IB equipment, and the target IB is set It is standby to be located in the target IB networks;
IB Receive message modules, for obtaining the IB messages from the load region of the SRIO messages;
IB message sending modules, for the IB messages to be sent to the target IB networks.
18. device according to claim 17, it is characterised in that
The SRIO messages receiving module is further used for:
Multiple SRIO messages from the SRIO networks are received, the load region of SRIO messages is equipped with data described in each of which Segment information, multiple data segment informations constitute the IB messages, the destination address area of the heading of each SRIO messages Domain is equipped with the SRIO addresses of the object message conversion equipment, and the reserved bit region of the heading of each SRIO messages is equipped with The corresponding serial number of the data segment information;
The IB Receive messages module is further used for:
Multiple data segment informations are obtained from the load region of multiple SRIO messages, from the report of the multiple SRIO messages The reserved bit region of literary head obtains multiple serial numbers, is combined multiple data segment informations according to the serial number Into the IB messages.
19. device according to claim 17, it is characterised in that the source target area of the heading of the SRIO messages is entered One step is equipped with the SRIO addresses of source messages conversion equipment, and the IB Receive messages module is further used for:
The SRIO addresses of the source messages conversion equipment are obtained from the source address region of the heading of the SRIO messages.
20. device according to claim 17, it is characterised in that the IB Receive messages module is satisfied in preparatory condition The IB messages are obtained from the load region of the SRIO messages afterwards, the preparatory condition is:The heading of the SRIO messages Format Type region be set to user's defined function.
CN201310308989.8A 2013-07-18 2013-07-18 Source messages conversion equipment and its message forwarding method, object message conversion equipment and its message forwarding method Active CN103401775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310308989.8A CN103401775B (en) 2013-07-18 2013-07-18 Source messages conversion equipment and its message forwarding method, object message conversion equipment and its message forwarding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310308989.8A CN103401775B (en) 2013-07-18 2013-07-18 Source messages conversion equipment and its message forwarding method, object message conversion equipment and its message forwarding method

Publications (2)

Publication Number Publication Date
CN103401775A CN103401775A (en) 2013-11-20
CN103401775B true CN103401775B (en) 2017-07-21

Family

ID=49565304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310308989.8A Active CN103401775B (en) 2013-07-18 2013-07-18 Source messages conversion equipment and its message forwarding method, object message conversion equipment and its message forwarding method

Country Status (1)

Country Link
CN (1) CN103401775B (en)

Families Citing this family (4)

* 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
WO2016191990A1 (en) * 2015-05-30 2016-12-08 华为技术有限公司 Packet conversion method and device
CN114465694B (en) * 2022-01-07 2024-02-23 锐捷网络股份有限公司 Message transmission method and device
CN115842870B (en) * 2022-11-24 2024-11-19 井芯微电子技术(天津)有限公司 SRIO message conversion method, processor and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492643A (en) * 2002-10-21 2004-04-28 华为技术有限公司 A device and method for transmitting InfiniBand data in an optical network
CN101035087A (en) * 2007-04-20 2007-09-12 杭州华三通信技术有限公司 Message forwarding method, system and device
CN101258719A (en) * 2005-07-17 2008-09-03 黑曜石研究有限公司 A Method of Prolonging the Real-time Reach of InfiniBand Network
CN101582058A (en) * 2009-06-10 2009-11-18 华为技术有限公司 Method and device for accessing registers
CN102438121A (en) * 2011-11-22 2012-05-02 中兴通讯股份有限公司 Data transmission method, system and serial high-speed input/output port gateway equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9256560B2 (en) * 2009-07-29 2016-02-09 Solarflare Communications, Inc. Controller integration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492643A (en) * 2002-10-21 2004-04-28 华为技术有限公司 A device and method for transmitting InfiniBand data in an optical network
CN101258719A (en) * 2005-07-17 2008-09-03 黑曜石研究有限公司 A Method of Prolonging the Real-time Reach of InfiniBand Network
CN101035087A (en) * 2007-04-20 2007-09-12 杭州华三通信技术有限公司 Message forwarding method, system and device
CN101582058A (en) * 2009-06-10 2009-11-18 华为技术有限公司 Method and device for accessing registers
CN102438121A (en) * 2011-11-22 2012-05-02 中兴通讯股份有限公司 Data transmission method, system and serial high-speed input/output port gateway equipment

Also Published As

Publication number Publication date
CN103401775A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
CN103401775B (en) Source messages conversion equipment and its message forwarding method, object message conversion equipment and its message forwarding method
US7068651B2 (en) Fibre channel address adaptor having data buffer extension and address mapping in a fibre channel switch
CN101043428B (en) Method and system for route forwarding
CN102656850B (en) For the treatment of the method for multiple data and the switching equipment for switched communication grouping
US20130070777A1 (en) Reordering Network Traffic
JP5694717B2 (en) Traffic distribution control process and apparatus
CN108768866A (en) Across the card retransmission method of multicast message, device, the network equipment and readable storage medium storing program for executing
US20130329572A1 (en) Misdirected packet statistics collection and analysis
WO2015184706A1 (en) Statistical counting device and implementation method therefor, and system having statistical counting device
CN109905321A (en) A kind of route control system interacted for customized high-speed interface with Ethernet
CN108933787A (en) Message forming method and device
CN110048961A (en) Duplicate message detection method and system based on ASIC
CN106161227A (en) A kind of message forwarding method and device
CN114844827A (en) A shared storage-based spanning tree routing hardware architecture and method for on-chip network chips
CN108696431A (en) Lan port configuration method and device, exchange chip and route exchange device
CN106453091B (en) The equivalent route management method and device of router Forwarding plane
CN101582058A (en) Method and device for accessing registers
CN104253718B (en) A kind of network test method and device
CN102656844B (en) Tracking support in router
CN105471548B (en) A kind of network data Packet analyzing and distribution method
CN104598430B (en) Network interface interconnection design and control system of CPU interconnection expansion system
CN115314438A (en) Chip address reconstruction method and device, electronic equipment and storage medium
CN112148651A (en) An enhanced rapidio interconnection device and equipment
CN105207904B (en) Processing method, device and the router of message
CN117749640B (en) Ethernet exchange chip UVM and FPGA prototype verification method and upper computer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200417

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 301, A building, room 3, building 301, foreshore Road, No. 310052, Binjiang District, Zhejiang, Hangzhou

Patentee before: Hangzhou Huawei Digital Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211223

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: xFusion Digital Technologies Co., Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right