Summary of the invention
In view of this, the technical problem to be solved in the present invention is how effectively to improve the use flexibility of QPI interface.
In order to address the above problem, in first aspect, the present invention proposes a kind of protocol conversion device, comprising:
The interconnected QPI of express passway unit, be connected with the QPI interface of processor node, for from described QPI interface, receiving the QPI message;
Conversion unit of protocol, be connected with described QPI unit, for described QPI message is changed according to quick input and output RapidIO protocol format, obtains the RapidIO message, in described RapidIO message, carries the configuration information of indication QPI message conversion;
The RapidIO unit, be connected respectively with the RapidIO interface of described conversion unit of protocol and RapidIO switching equipment, for to described RapidIO interface, sending described RapidIO message.
In conjunction with first aspect, in the possible implementation of the first, described conversion unit of protocol specifically for:
Obtain the routing iinformation of described QPI message;
The routing iinformation of described QPI message is carried out to the address mapping at the RapidIO network, and the routing iinformation that mapping is obtained is kept in the heading of message of RapidIO protocol format;
Described QPI message is kept in the packet of message of RapidIO protocol format;
Heading and packet according to the message of described RapidIO protocol format, generate described RapidIO message.
In conjunction with the possible implementation of the first of first aspect or first aspect, in the possible implementation of the second, described protocol conversion device also comprises:
The addressing processing unit, for the routing iinformation according to described QPI message, determine the address information of target device in described RapidIO network; According to the address information of described target device, judge whether described target device is in the RapidIO territory; If described target device is in described RapidIO territory, from the address space of the address information storage of the message of extraction QPI protocol format the packet of described QPI message; According to described address space, determine the addressing system corresponding to message of described RapidIO protocol format; Described addressing system is stored in the packet of message of described RapidIO protocol format.
Second aspect, the present invention proposes a kind of protocol conversion device, comprising:
Input and output RapidIO unit, be connected with the RapidIO interface of RapidIO switching equipment fast, for from described RapidIO interface, receiving the RapidIO message;
Conversion unit of protocol, be connected with described RapidIO unit, if for described RapidIO message, carry the configuration information of the interconnected QPI message conversion of indication express passway, from described RapidIO message, resolving and obtain the QPI message;
The QPI unit, be connected with described conversion unit of protocol, be used to sending described QPI message.
In conjunction with second aspect, in the possible implementation of the first, described conversion unit of protocol specifically for:
Resolve the heading of described RapidIO message, obtain the routing iinformation of described RapidIO message;
According to the routing iinformation of described RapidIO message, in output interface information corresponding to QPI Network Capture;
From the packet of described RapidIO message, extracting described QPI message.
In conjunction with the possible implementation of the first of second aspect or second aspect, in the possible implementation of the second, described conversion unit of protocol also for:
According to the routing iinformation of described RapidIO message, determine the outlet of described RapidIO message in the RapidIO network.
The third aspect, the present invention proposes the internet that the interconnected QPI message of a kind of express passway turns quick input and output RapidIO message, comprising:
Processor node, conversion equipment and RapidIO switching equipment;
Described processor node is supported the QPI agreement;
Described conversion equipment is connected respectively with described RapidIO switching equipment with described processor node, be used to carrying out the conversion between QPI message and RapidIO message;
Described conversion equipment adopts the protocol conversion device of any one structure in the embodiment of the present invention.
Fourth aspect, the present invention proposes a kind of data processing method, comprising:
Receive the interconnected QPI message of express passway;
Described QPI message is changed according to quick input and output RapidIO protocol format, obtained the RapidIO message, in described RapidIO message, carry the configuration information of indication QPI message conversion;
Send described RapidIO message.
In conjunction with fourth aspect, in the possible implementation of the first, described described QPI message is changed according to quick input and output RapidIO protocol format, obtain the RapidIO message, comprising:
Obtain the routing iinformation of described QPI message;
The routing iinformation of described QPI message is carried out to the address mapping at the RapidIO network, and the routing iinformation that mapping is obtained is kept in the heading of message of RapidIO protocol format;
Described QPI message is kept in the packet of message of RapidIO protocol format;
Heading and packet according to the message of described RapidIO protocol format, generate described RapidIO message.
In conjunction with the possible implementation of the first of fourth aspect or fourth aspect, in the possible implementation of the second, described method also comprises:
According to the routing iinformation of described QPI message, determine the address information of target device in described RapidIO network;
According to the address information of described target device, judge whether described target device is in the RapidIO territory;
If described target device is in described RapidIO territory, from the address space of the address information storage of the message of extraction QPI protocol format the packet of described QPI message;
According to described address space, determine the addressing system corresponding to message of described RapidIO protocol format;
Described addressing system is stored in the packet of message of described RapidIO protocol format.
The 5th aspect, the present invention proposes a kind of data processing method, comprising:
Receive quick input and output RapidIO message;
If in described RapidIO message, carry the configuration information of the interconnected QPI message conversion of indication express passway, from described RapidIO message, resolving and obtain the QPI message;
Send described QPI message.
In conjunction with the 5th aspect, in the possible implementation of the first, described from described RapidIO message, resolving and obtain described QPI message, comprising:
Resolve the heading of described RapidIO message, obtain the routing iinformation of described RapidIO message;
According to the routing iinformation of described RapidIO message, in output interface information corresponding to QPI Network Capture;
From the packet of described RapidIO message, extracting described QPI message.
In conjunction with the possible implementation of the first of the 5th Huo Diwu aspect, aspect, in the possible implementation of the second, described method also comprises:
According to the routing iinformation of described RapidIO message, determine the outlet of described RapidIO message in the RapidIO network.
Conversion between message by the QPI protocol format and the message of RapidIO protocol format, the embodiment of the present invention can be the RapidIO interface by the QPI interface conversion, can the flexible expansion system equipment and the Installed System Memory of server, upgrade and easy to maintenance.
Embodiment
Below with reference to accompanying drawing, describe various exemplary embodiments of the present invention, feature and aspect in detail.The identical same or analogous element of Reference numeral presentation function in accompanying drawing.Although the various aspects of embodiment shown in the drawings, unless otherwise indicated, needn't draw accompanying drawing in proportion.
Here special-purpose word " exemplary " means " as example, embodiment or illustrative ".Here as " exemplary " illustrated any embodiment, needn't be interpreted as being better than or being better than other embodiment.
In addition, for better explanation the present invention, in embodiment hereinafter, provided numerous details.It will be appreciated by those skilled in the art that and there is no these details, the present invention can implement equally.In the other example, method, means, element and the circuit for everybody, known are not described in detail, so that highlight purport of the present invention.
The main design of the embodiment of the present invention is: by interconnected to the QPI(express passway) and RapidIO(Rapid Input Output, input and output fast) carry out the protocol format conversion, realize the interface with RapidIO Interface Expanding QPI.Wherein, RapidIO is a kind of interconnection architecture of based on data packet switch, has the characteristics of high-performance, low pin count, is a kind of open system interconnection technical standard that can meet present and following high performance embedded system demand and design.RapidIO is mainly used in the embedded system intraconnection, and supporting chip is to chip, plate to the communication between plate, and the backboard (Backplane) that can be used as embedded device connects.RapidIO, by bandwidth, software independence, fault-tolerant and low delay are provided, can meet more high performance demand.Follow-on RapidIO develops on the high-speed interconnect direction between cabinet and cabinet in application, higher transmission rate is provided simultaneously, in the RapidIO2.0 standard, can realize the bandwidth of 40Gbps.With at present popular agreement, as 4x PCI Express(Peripherial Component Interconnect Express, the high speed peripheral component interlinkage standard) and TCP(Transmission Control Protocol, transmission control protocol)/IP(Internet Protocol, the Internet Interconnection agreement) etc. compare, RapidIO supports that not only point-to-point equity is interconnected, also has the characteristics such as low delay, high packing efficiency, is applicable to the less demanding internal memory secret sharing of transmission range.
Fig. 1 is the structural representation that the QPI message of one embodiment of the invention turns the internet of RapidIO message, as shown in Figure 1, this system can be that the RapidIO interface carries out the internal memory expansion by the QPI interface conversion, and realize the multiprocessor shared drive, the processor interconnect architecture of this system can comprise with lower module: processor node (CPU_1, CPU_2), RapidIO switching equipment (RapidIO SW) and conversion equipment.Wherein, processor node (CPU_1, CPU_2) can support the QPI agreement, can pass through SMI(Scalable Memory Interconnect, memory management interfaces) connect DDR(Double Data Rate SRAM, the Double Data Rate synchronous DRAM) and DIMM(Dual-Inline-Memory-Modules, dual inline memory module) storage device such as; Conversion equipment can be Q2R(QPI protocol interface to RapidIO protocol interface) equipment, the QPI message that the Q2R equipment interconnection is received carries out format conversion, realizes being the function of RapidIO interface by the QPI interface conversion.Q2R equipment mainly realizes transmitting by the RapidIO message format function of the affairs such as QPI internal storage access, processor node and Q2R equipment can be together as a RapidIO equipment connection to RapidIO SW, Q2R equipment also can independently arrange, for example can be used as an independently IP(intellectual property, intellectual property) core embedded processor or can make special chip and be external to processor.Wherein, RapidIO SW is RapidIO bus data switching equipment; Q2R equipment can be based on FPGA(Field Programmable Gate Array, field programmable gate array) or ASIC(application specific integrated circuit, application-specific integrated circuit (ASIC)) etc. the hardware programming mode is carried out design chips and realizes, in the embodiment of the present invention, does not limit its concrete way of realization.
Wherein, between processor node, can carry out the internal storage data share and access by RapidIO SW.Q2R equipment in processor node can the conversion of realize target equipment between QPI territory and RapidIO territory, and wherein, if this target device is the equipment of the message of processing QPI protocol format, this target device is in the QPI territory; If this target device is the equipment of the message of processing RapidIO protocol format, this target device is in the RapidIO territory.Q2R equipment mainly completes by the RapidIO message and transmits the QPI message, for example: as shown in Figure 2, schematic diagram for the message format in the data processing method of one embodiment of the invention, at SRIO(serial RapidIO, Serial RapidIO) in message format, can carry by the packet of SRIO message the QPI message, to transmit the QPI affairs.
The present embodiment QPI message turns in the internet of RapidIO message and for example adopts conversion equipment: Q2R equipment is the RapidIO interface by the QPI interface conversion, utilize RapidIO switching equipment flexible expansion system equipment, can realize that a large amount of DDR, DIMM connect, and realize CPU and the isomery of other processors on framework.Owing to there being Q2R equipment, processor node is seen remains Installed System Memory, the greatly Installed System Memory of expansion servers; In CPU change or interface, for example change: after QPI upgrades to KTI (Intel's bussing technique of future generation), still can keep constant based on the server system architecture of Q2R, what need change is Q2R equipment.
Fig. 3 is the structural representation that the QPI message of another embodiment of the present invention turns the internet of RapidIO message, and as shown in Figure 3, the CPU in main frame supports the QPI agreement; Q2R equipment is conversion equipment, can for example transfer the bus QPI interface of CPU in main frame to the RapidIO interface: the SRIO interface, then pass through the interconnection between (RapidIO SW) realization of RapidIO switching equipment and memory system, association's treatment system, IO system, realize that a kind of QPI message of heterogeneous interconnects turns the internet of RapidIO message.In this case, if cpu bus has, change or be converted to other CPU, only needing upgrade interface conversion chip (Q2R equipment) to get final product.Backboard and other nodes can remain unchanged.In the present embodiment, at first, Q2R equipment can utilize the RapidIO message to transmit the QPI affairs such as QPI internal storage access, can realize between the processor based on the RapidIO switching equipment interconnecting; Secondly, in this application scene, use the functional characteristic of supporting point-to-point transmission in the RapidIO switching equipment, can complete the totally interconnected realization between cpu node, take full advantage of the characteristic that the QPI message turns the internet of RapidIO message; In addition, due to when the upgrading of system upgrade or agreement, do not need to change whole system, the certain module that only needs to upgrade in this system gets final product, Q2R module for example, therefore, the processor node of protocol conversion device designs modularization, simplification more, as long as through Q2R equipment, output to the RapidIO interface of RapidIO switching equipment, can be connected in the internet that the QPI message turns the RapidIO message, realize the connection of interconnection, association's treatment system and IO equipment between processor.
The present embodiment QPI message turns that in the internet of RapidIO message, to adopt Q2R equipment be the RapidIO interface by the QPI interface conversion, utilizes RapidIO SW flexible expansion system equipment, can realize that a large amount of DDR, DIMM connect.Owing to there being Q2R equipment, processor node is seen remains Installed System Memory, the greatly Installed System Memory of expansion servers; In CPU change or interface, for example change: after QPI upgrades to KTI, still can keep constant based on the server system architecture of Q2R, need the just Q2R equipment that changes.
Fig. 4 is the structural representation that the QPI message of further embodiment of this invention turns the internet of RapidIO message, as shown in Figure 4, Q2R equipment in main frame can utilize the RapidIO message to transmit the QPI affairs such as QPI internal storage access, between the processor based on RapidIO switching equipment (RapidIO SW), interconnect, therefore can realize CC-NUMA(Cache-Coherent Non-Uniform Memory Architecture, the non-homogeneous memory access of cache coherence) framework.In order to realize the CC-NUMA framework, can in Q2R equipment, add cache coherence (Cache Coherence) submodule, thereby realize based on the framework of internal memory expansion or the internal memory share framework of CC-NUMA.The cache coherence submodule mainly realizes safeguarding the consistency function that is distributed in data in each processor high speed buffer memory (Cache).Due to the restriction of processor extended capability, can not safeguard multiprocessor (greater than 8 s') Cache consistency function, therefore along with the increasing of processor number in interconnect architecture, need to be the inner agency who increases the cache coherence function of processor node.The cache coherence submodule has two kinds of implementations usually, a kind of bus monitoring agreement (Bus-Snooping Protocol) that is based on, a kind of directory protocol (Directory-based Protocol) that is based on.The QPI message turns in the internet of RapidIO message, and the Q2R equipment with cache coherence function can be supported the interconnection between 16 CPU, 32 CPU and even more processor.
The present embodiment QPI message turns that in the internet of RapidIO message, to adopt Q2R equipment be the RapidIO interface by the QPI interface conversion, utilize RapidIO SW flexible expansion system equipment, can realize CPU and the isomery of other processors on framework, for example: the CC-NUMA framework.Owing to there being Q2R equipment, processor node is seen remains Installed System Memory, the greatly Installed System Memory of expansion servers; In CPU change or interface, for example change: after QPI upgrades to KTI, still can keep constant based on the server system architecture of Q2R, need the just Q2R equipment that changes.
Fig. 5 is the structural representation of the protocol conversion device of one embodiment of the invention, and as shown in Figure 5, this protocol conversion device can comprise:
The interconnected QPI ofexpress passway unit 51, be connected with the QPI interface of processor node, for from described QPI interface, receiving the QPI message;
Conversion unit ofprotocol 53, be connected with describedQPI unit 51, for described QPI message is changed according to quick input and output RapidIO protocol format, obtains the RapidIO message, in described RapidIO message, carries the configuration information of indication QPI message conversion;
RapidIO unit 55, be connected respectively with the RapidIO interface of described conversion unit ofprotocol 53 and RapidIO switching equipment, for to described RapidIO interface, sending described RapidIO message.
Particularly, the QPI message that protocol conversion device in the present embodiment can be carried out above-described embodiment turns the function of the Q2R equipment in the internet of RapidIO message, wherein, QPI1.1 physical layer (PHY Layer) and link layer (Link Layer) function of standard can be realized in QPI unit 51.Outside, 51 pairs of this QPI unit is connected with CPU by the QPI interface, and to inside transmitting-receiving QPI protocol layer message, what exchange with CPU is all QPI internal memory affairs.Conversion unit ofprotocol 53 can use the QPI message form of the message of RapidIO protocol format to carry out assembled, distribution, makes the QPI affairs in the RapidIO territory, to apply.And can separate out the QPI message according to heading (header) partial solution of RapidIO message, turn back to the QPI territory, make whole communication complete the process that sends to reception.RapidIO unit 55 can be realized based on the physical layer of RapidIO agreement and link layer, ensures correct unimpeded RapidIO path.
The protocol conversion device of the present embodiment can be changed the QPI message according to the message of RapidIO protocol format, obtain the RapidIO message, thereby realize the conversion of QPI interface and RapidIO interface, can utilize the Installed System Memory of RapidIO interface flexible expanding system equipment and server, renewal and easy to maintenance.
Fig. 6 is the structural representation of the protocol conversion device of another embodiment of the present invention, the assembly that Fig. 6 is identical with Fig. 5 label has identical implication, as shown in Figure 6, with the main distinction of a upper embodiment, be, the conversion unit ofprotocol 53 of this protocol conversion device specifically for:
Obtain the routing iinformation of described QPI message;
The routing iinformation of described QPI message is carried out to the address mapping at the RapidIO network, and the routing iinformation that mapping is obtained is kept in the heading of message of RapidIO protocol format;
Described QPI message is kept in the packet of message of RapidIO protocol format;
Heading and packet according to the message of described RapidIO protocol format, generate described RapidIO message.
Further, if target device is in the RapidIO territory, also need to determine its addressing system, therefore, described protocol conversion device can also comprise:
Addressing processingunit 57, for the routing iinformation according to described QPI message, determine the address information of target device in described RapidIO network; According to the address information of described target device, judge whether described target device is in the RapidIO territory; If described target device is in described RapidIO territory, from the address space of the address information storage of the message of extraction QPI protocol format the packet of described QPI message; According to described address space, determine the addressing system corresponding to message of described RapidIO protocol format; Described addressing system is stored in the packet of message of described RapidIO protocol format.
Particularly, addressingprocessing unit 57 can be realized the address space in QPI territory and RapidIO territory and the conversion of addressing system, and safeguards the conforming function of data in the high-speed cache that is distributed in each processor.If the access between CPU in processor node, can directly in the QPI territory, carry out addressing, that is to say, the access between the CPU in processor node, after entering Q2R equipment, just directly return, can not pass to again PCIe switching equipment (PCIe Switch).If the access of CPU between node needs to carry out the conversion of QPI domain addresses space and RapidIO territory addressing system.
In addition, this protocol conversion device can also comprise RapidIOtransaction layer unit 59, be used to realizing necessary RapidIO transaction layer function.
The protocol conversion device of the present embodiment can be changed the QPI message according to the message of RapidIO protocol format, obtain the RapidIO message, thereby realize the conversion of QPI interface and RapidIO interface, can utilize the Installed System Memory of RapidIO interface flexible expanding system equipment and server, renewal and easy to maintenance.
Fig. 7 is the structural representation of the protocol conversion device of further embodiment of this invention, and as shown in Figure 7, this protocol conversion device can comprise:
Input andoutput RapidIO unit 71, be connected with the RapidIO interface of RapidIO switching equipment fast, for from described RapidIO interface, receiving the RapidIO message;
Conversion unit ofprotocol 73, be connected with described RapidIO unit, if for described RapidIO message, carry the configuration information of the interconnected QPI message conversion of indication express passway, from described RapidIO message, resolving and obtain described QPI message;
QPI unit 75, be connected with described conversion unit of protocol, be used to sending described QPI message.
Particularly, the QPI message that the protocol conversion device in the present embodiment can be carried out above-described embodiment turns the function of the Q2R equipment in the internet of RapidIO message, and wherein, QPI1.1 physical layer and the link layer functionality of standard can be realized in QPI unit 75.Outside, 75 pairs of this QPI unit is connected with CPU by the QPI interface, and to inside transmitting-receiving QPI protocol layer message, what exchange with CPU is all QPI internal memory affairs.Conversion unit ofprotocol 73 can use the QPI message form of the message of RapidIO protocol format to carry out assembled, distribution, makes the QPI affairs in the RapidIO territory, to apply.And can divide and parse the QPI message according to the header of RapidIO message, turn back to the QPI territory, make whole communication complete the process that sends to reception.RapidIO unit 71 can be realized based on the physical layer of RapidIO agreement and link layer, ensures correct unimpeded RapidIO path.AfterRapidIO unit 71 received the RapidIO message, if configuration information has wherein indicated this RapidIO message to be converted to by the QPI message, conversion unit ofprotocol 73 can be from resolving and obtain the QPI message this RapidIO message; ByQPI unit 75, send to target device again.
The RapidIO message that the protocol conversion device of the present embodiment can be converted to from the message according to the RapidIO protocol format, parsing obtains the QPI message, thereby realize the conversion of QPI interface and RapidIO interface, can utilize the Installed System Memory of RapidIO interface flexible expanding system equipment and server, renewal and easy to maintenance.
Fig. 8 is the structural representation of the protocol conversion device of yet another embodiment of the invention, the assembly that Fig. 8 is identical with Fig. 7 label has identical implication, as shown in Figure 8, with the main distinction of a upper embodiment, be, the conversion unit ofprotocol 73 of this protocol conversion device specifically for:
Resolve the heading of described RapidIO message, obtain the routing iinformation of described RapidIO message;
According to the routing iinformation of described RapidIO message, in output interface information corresponding to QPI Network Capture;
From the packet of described RapidIO message, extracting described QPI message.
Further, conversion unit ofprotocol 73 can also for:
According to the routing iinformation of described RapidIO message, determine the outlet of described RapidIO message in the RapidIO network.Particularly, no matter target device is in the QPI territory or this target device is in the RapidIO territory, can, according to the routing iinformation of described RapidIO message, determine the outlet of described RapidIO message in the RapidIO network.For example, if target device is in the QPI territory, can be according to the corresponding relation of the routing iinformation of the message of the routing iinformation of RapidIO message and QPI protocol format, get the routing iinformation of the message of this QPI protocol format, according to the routing iinformation of the message of this QPI protocol format, determine this outlet of RapidIO message in the RapidIO network; Otherwise, if target device is in the RapidIO territory, can, according to the routing iinformation of this RapidIO message, directly determine this outlet of RapidIO message in the RapidIO network.
In addition, this protocol conversion device can also comprise RapidIOtransaction layer unit 79, be used to realizing necessary RapidIO transaction layer function.
The RapidIO message that the protocol conversion device of the present embodiment can be converted to from the message according to the RapidIO protocol format, parsing obtains the QPI message, thereby realize the conversion of QPI interface and RapidIO interface, can utilize the Installed System Memory of RapidIO interface flexible expanding system equipment and server, renewal and easy to maintenance.
Fig. 9 is the flow chart of the data processing method of one embodiment of the invention, and as shown in Figure 9, this data processing method can comprise:
Step 101, the interconnected QPI message of reception express passway.
Step 102, described QPI message is changed according to quick input and output RapidIO protocol format, obtained the RapidIO message, in described RapidIO message, carry the configuration information of indication QPI message conversion.
Step 103, the described RapidIO message of transmission.
Particularly, the QPI message that the data processing method of the embodiment of the present invention can be applied in above-described embodiment turns in the internet scene of RapidIO message, conversion equipment is for example: after Q2R equipment is received the QPI message from the processor node of supporting the QPI agreement, the QPI message can be changed according to the RapidIO protocol format, and the RapidIO message after changing sends to the RapidIO switching equipment, by the RapidIO switching equipment, is transmitted to other processor node or IO system.Wherein, in the RapidIO message, carry the configuration information of indication QPI message conversion, can facilitate the conversion equipment of receiving terminal to determine whether to carry out the conversion of the message of the message of QPI protocol format and RapidIO protocol format.The form of the RapidIO message in the embodiment of the present invention and the form of QPI message specifically can be referring to Fig. 2 and associated description thereof.
The present embodiment can be changed the QPI message according to the message of RapidIO protocol format, obtain the RapidIO message, thereby realize the conversion of QPI interface and RapidIO interface, can utilize the Installed System Memory of RapidIO interface flexible expanding system equipment and server, renewal and easy to maintenance.
Figure 10 is the flow chart of the data processing method of another embodiment of the present invention, the step that Figure 10 is identical with Fig. 9 label has identical implication, as shown in figure 10, with the main distinction of a upper embodiment, is, in the present embodiment data processing method, step 102 specifically can comprise the following steps:
Step 201, obtain the routing iinformation of described QPI message.
Referring to Fig. 2, can get from the route head of QPI message the routing iinformation of QPI message.Conversion equipment, according to the routing iinformation of described QPI message, can be determined the address information of the target device in described RapidIO network; According to the address information of described target device, can judge whether described target device is in the RapidIO territory.
Referring to Fig. 4, in the situation that described target device is in the QPI territory, conversion equipment can, according to the routing iinformation of the message of RapidIO protocol format directly from the packet of Rapid message, extracting the QPI message, be given the equipment in QPI territory and process.Referring to Fig. 3, in the situation that described target device is in the RapidIO territory, conversion equipment can be from the address space of the address information storage of the message of extraction QPI protocol format the packet of described QPI message; According to described address space, determine the addressing system corresponding to message of described RapidIO protocol format; Described addressing system is stored in the packet of described RapidIO protocol format.
Step 202, the routing iinformation of described QPI message is carried out to the address mapping at the RapidIO network.
Step 203, the routing iinformation that mapping is obtained are kept in the heading of message of RapidIO protocol format; Wherein, conversion equipment can select diverse ways the routing iinformation of QPI message to be converted to the routing iinformation of the message of RapidIO protocol format as required, as adopted the method for full coupling mapping.
Step 204, described QPI message is kept in the packet (data packet) of the message of RapidIO protocol format.
Step 205, according to heading and the packet of the message of described RapidIO protocol format, generate described RapidIO message.
The present embodiment can be changed the QPI message according to the message of RapidIO protocol format, obtain the RapidIO message, thereby realize the conversion of QPI interface and RapidIO interface, can utilize the Installed System Memory of RapidIO interface flexible expanding system equipment and server, renewal and easy to maintenance.
Figure 11 is the flow chart of the data processing method of further embodiment of this invention, and as shown in figure 11, this data processing method specifically can comprise the following steps:
Step 301, the quick input and output RapidIO message of reception;
If in the described RapidIO message ofstep 302, carry the configuration information of the interconnected QPI message conversion of indication express passway, from described RapidIO message, resolving and obtain described QPI message;
Step 303, the described QPI message of transmission.
Particularly, the RapidIO message that the data processing method of the embodiment of the present invention can be applied in above-described embodiment turns in the internet scene of QPI message, conversion equipment is for example: after Q2R equipment is received the RapidIO message from the RapidIO switching equipment, if in described RapidIO message, carry the configuration information of indication QPI message conversion, can obtain the QPI message from parsing described RapidIO message, and send to other processor node or IO system.
The RapidIO message that the present embodiment can be converted to from the message according to the RapidIO protocol format, parsing obtains the QPI message, thereby realize the conversion of QPI interface and RapidIO interface, can utilize the Installed System Memory of RapidIO interface flexible expanding system equipment and server, renewal and easy to maintenance.
Figure 12 is the flow chart of the data processing method of yet another embodiment of the invention, the step that Figure 12 is identical with Figure 11 label has identical implication, as shown in figure 12, with the main distinction of a upper embodiment, be, in the present embodiment data processing method, if according to the configuration information that carries in the RapidIO message, can determine that the RapidIO message comprises the QPI message, instep 302, from parsing described RapidIO message, obtain the QPI message, specifically can comprise the following steps:
Step 401, resolve the heading of described RapidIO message, obtain the routing iinformation of described RapidIO message;
Step 402, according to the routing iinformation of described RapidIO message, in output interface information corresponding to QPI Network Capture;
Step 403, from the packet of described RapidIO message, extracting described QPI message.
In addition, this data processing method also comprises: according to the routing iinformation of described RapidIO message, can determine the outlet of described RapidIO message in the RapidIO network.Particularly, no matter target device is in the QPI territory or this target device is in the RapidIO territory, can, according to the routing iinformation of described RapidIO message, determine the outlet of described RapidIO message in the RapidIO network.For example, if target device is in the QPI territory, can be according to the corresponding relation of the routing iinformation of the message of the routing iinformation of RapidIO message and QPI protocol format, get the routing iinformation of the message of this QPI protocol format, according to the routing iinformation of the message of this QPI protocol format, determine this outlet of RapidIO message in the RapidIO network; Otherwise, if target device is in the RapidIO territory, can, according to the routing iinformation of this RapidIO message, directly determine this outlet of RapidIO message in the RapidIO network.
The RapidIO message that the present embodiment can be converted to from the message according to the RapidIO protocol format, parsing obtains the QPI message, thereby realize the conversion of QPI interface and RapidIO interface, can utilize the Installed System Memory of RapidIO interface flexible expanding system equipment and server, renewal and easy to maintenance.
Those of ordinary skills can recognize, each exemplary cell and algorithm steps in embodiment described herein can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions realize with hardware or form of software actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can realize described function for specific application choice diverse ways, but this realization should not thought and exceeds scope of the present invention.
If the form of computer software of usining realizes described function and as production marketing independently or while using, can think to a certain extent that all or part of (part that for example prior art is contributed) of technical scheme of the present invention is with the form embodiment of computer software product.This computer software product is stored in the storage medium of embodied on computer readable usually, comprises that some instructions are used so that computer equipment (can be personal computer, server or the network equipment etc.) is carried out all or part of step of various embodiments of the present invention method.And aforesaid storage medium comprises the various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection range with claim.