CN102821082A - Data transmission method, device and system - Google Patents

Data transmission method, device and system Download PDF

Info

Publication number
CN102821082A
CN102821082A CN2011101555526A CN201110155552A CN102821082A CN 102821082 A CN102821082 A CN 102821082A CN 2011101555526 A CN2011101555526 A CN 2011101555526A CN 201110155552 A CN201110155552 A CN 201110155552A CN 102821082 A CN102821082 A CN 102821082A
Authority
CN
China
Prior art keywords
ethernet
pcie
tlp
bag
packet
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.)
Pending
Application number
CN2011101555526A
Other languages
Chinese (zh)
Inventor
王雨晨
孟健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Digital Technologies Chengdu Co Ltd
Original Assignee
Huawei Symantec Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CN2011101555526A priority Critical patent/CN102821082A/en
Publication of CN102821082A publication Critical patent/CN102821082A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

An embodiment of the invention discloses a data transmission method, a device and a system. According to the embodiment, an Ethernet data packet is packaged in a peripheral component interconnect express (PCIE) data packet, so that the Ethernet data packet can be transmitted in a PCIE bus, that is to say, all nodes can be interconnected through the Ethernet protocol without a network controller in a multi-host clustered computing system connected by the whole PCIE, and not only implementation is facilitated, but also the cost is saved.

Description

A kind of data transmission method, device and system
Technical field
The present invention relates to communication technical field, be specifically related to a kind of data transmission method, device and system.
Background technology
Peripheral component interconnection (PCIE, Peripheral Component Interconnect Express) is up-to-date bus and interface standard fast, because its message transmission rate is high; And the scope of application is wider; So in development in future, the PCIE standard will replace existing peripheral element extension interface (PCI, Pedpherd Component Interconnect) and AGP (AGP comprehensively; Accelerated Graphic Ports), to realize the unification of bus standard.
Ethernet (Ethernet) agreement is the existing the most general communication protocol standard of local area network (LAN); There are evident difference in PCIE standard and Ethernet protocol standard at aspects such as data frame formats; It is a kind of in many mainframe clusters computing system that full PCIE connects that prior art does not provide, and each Ethernet Hosts transmits the scheme of Ethernet data bag through the PCIE bus.
Summary of the invention
The embodiment of the invention provides a kind of data transmission method, device and system, makes that in many mainframe clusters computing system that full PCIE connects, each Ethernet Hosts can transmit the data that adopt Ethernet protocol to encapsulate through the PCIE bus.
For convenience, in embodiments of the present invention, the data with adopting Ethernet protocol to encapsulate abbreviate the Ethernet data bag as, and the data of PCIE protocol encapsulation are become the PCIE packet.
A kind of data transmission method comprises:
Ethernet data sealed dress up Ethernet processing layer agreement (Ethernet-TLP; Ethernet Transaction Layer Protocol) bag; Said Ethernet-TLP comprises protocol type field and data division, and said protocol type field is used to indicate the packaged agreement that data adopted;
Said Ethernet-TLP sealed dress up the PCIE packet;
Said PCIE packet is sent to other nodes on the PCIE bus through the PCIE interface, so that said other nodes are handled said PCIE packet.
A kind of data transmission method comprises:
Receive the PCIE packet through the PCIE interface from the PCIE bus;
From the PCIE packet, parse the Ethernet-TLP bag;
From said Ethernet-TLP bag, parse the Ethernet data bag;
Ethernet data bag to parsing is handled.
A kind of network equipment comprises:
First encapsulation unit is used for Ethernet data sealed and dresses up Ethernet-TLP bag, and said Ethernet-TLP comprises protocol type field and data division, and said protocol type field is used to indicate the packaged agreement that data adopted;
Second encapsulation unit is used for the Ethernet-TLP that first encapsulation unit encapsulation forms sealed and dresses up the PCIE packet;
Transmitting element is used for the PCIE packet that the encapsulation of second encapsulation unit forms is sent to other nodes on the PCIE bus through the PCIE interface, so that said other nodes are handled said PCIE packet.
A kind of network equipment is characterized in that, comprising:
Receiving element is used for receiving the PCIE packet through the PCIE interface from the PCIE bus;
First resolution unit is used for parsing the Ethernet-TLP bag from the PCIE packet that receiving element receives;
Second resolution unit is used for parsing the Ethernet data bag from the Ethernet-TLP bag that first resolution unit parses;
Processing unit, the Ethernet data bag that is used for second resolution unit is parsed is handled.
A kind of communication system comprises first network equipment and second network equipment;
First network equipment is used for Ethernet data sealed and dresses up Ethernet-TLP bag, and said Ethernet-TLP comprises protocol type field and data division, and said protocol type field is used to indicate the packaged agreement that data adopted; Said Ethernet-TLP sealed dress up the PCIE packet, said PCIE packet is sent to second network equipment on the PCIE bus through the PCIE interface;
Second network equipment; Be used for receiving the PCIE packet from the PCIE bus through the PCIE interface; From the PCIE packet, parse the Ethernet-TLP bag, from said Ethernet-TLP bag, parse the Ethernet data bag, the Ethernet data bag that parses is handled.
The embodiment of the invention is contained in the PCIE packet through Ethernet data is sealed; Make the Ethernet data bag in the PCIE bus, to transmit; That is to say that in many mainframe clusters computing system that full PCIE connects, each node need not network controller and can interconnect through Ethernet protocol; Not only be convenient to realize, and provide cost savings.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, to those skilled in the art; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 a is the flow chart of the data transmission method that provides of the embodiment of the invention;
Fig. 1 b is the sketch map of the Ethernet-TLP bag that provides of the embodiment of the invention;
Fig. 1 c is the sketch map of the PCIE bag that provides of the embodiment of the invention;
Fig. 2 is another flow chart of the data transmission method that provides of the embodiment of the invention;
Fig. 3 a is the scene sketch map of many mainframe clusters computing system that full PCIE connects in the embodiment of the invention;
Fig. 3 b is the another flow chart of the data transmission method that provides of the embodiment of the invention;
Fig. 4 is the another flow chart of the data transmission method that provides of the embodiment of the invention;
Fig. 5 a is the structural representation of the network equipment that provides of the embodiment of the invention;
Fig. 5 b is another structural representation of the network equipment that provides of the embodiment of the invention;
Fig. 6 is the another structural representation of the network equipment that provides of the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those skilled in the art are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of data transmission method, device and system.Below be elaborated respectively.
Present embodiment is a method embodiment of the embodiment of the invention.In the present embodiment, will describe from the angle of transmitting apparatus.
A kind of data transmission method; Comprise: Ethernet data is sealed dressed up the Ethernet-TLP bag; This Ethernet-TLP sealed dress up the PCIE packet; This PCIE packet is sent to other nodes on the PCIE bus through the PCIE interface, so that other nodes are handled this PCIE packet.Wherein, Ethernet-TLP comprises protocol type field and data division, and protocol type field is used to indicate the packaged agreement that data adopted.
Referring to Fig. 1 a, idiographic flow can be following:
101, Ethernet data is sealed dressed up Ethernet-TLP bag;
For example, referring to Fig. 1 b, this Ethernet-TLP bag can comprise protocol type (Protocol type) field and data division, and is optional, can also comprise data length (Length) and wait other fields.For the ease of this Ethernet-TLP bag is expanded in the future, can also comprise reserved field (Reserved).
Wherein, the data division of Ethernet-TLP bag is mainly used in to deposit nets very much packet (Ethernet Frame), promptly specifically can the Ethernet data bag be write the data division of Ethernet-TLP bag.
Protocol type field then is mainly used in the packaged agreement that data adopted of indication, can be set to 8 bytes (byte), such as, in the present embodiment, specifically can in protocol type field, write the Ethernet protocol sign.Because the TLP packet portion of PCIE packet can carry the packet of various protocols type; Ethernet data bag for example; Optical-fibre channel (FC; Fibre Channel) packet etc. for other nodes that receive the PCIE packet on the PCIE bus can adopt correct processing mode to handle wherein TLP packet portion data packet loaded, therefore need be provided with protocol type in the Ethernet-TLP bag.
Data length field then is used to indicate the length of said Ethernet data bag, can be set to 8 bytes equally.
What need explanation is, more than a kind of packet format of only just defining in the embodiment of the invention, should be understood that the embodiment of the invention is suitable for for other packet formats too, repeats no more at this.
102, the Ethernet-TLP that encapsulation in the step 101 is formed seals and dresses up the PCIE packet, is specially the TLP packet portion that said Ethernet-TLP bag is write the PCIE packet; Wherein, The PCIE bag can comprise that frame begins sign, data link layer packets (DLLP; Data Link Layer Packet) head, TLP head, TLP bag, end-to-end CRC (ECRC; End to end CRC), data link layer CRC (LCRC, Link Layer CRC) and frame end sign, referring to Fig. 1 c.
Wherein, frame begins to identify the beginning of a Frame of expression;
The DLLP head is used for the link management function, comprises the flow control of physical layer, and major responsibility is to guarantee that packet is reliable, correct transmission, guarantees the integrality of packet;
The TLP head is used to handle the affairs such as read-write requests of upper layer application;
The TLP bag is exactly the Ethernet-TLP bag described in the embodiment of the invention;
ECRC refers to CRC (CRC, Cyclic Redundancy Check) end to end, and wherein, CRC is a kind of error check code the most frequently used in the data communication field;
LCRC, index be according to the CRC of link layer, and (ID is IDentity) with the crc field of the whole bytes of TLP to be based on sequence identifier;
The end of a Frame of frame end sign expression.
Each part in the above PCIE packet specifically can repeat no more at this referring to the PCIE agreement.
What need explanation is, more than a kind of packet format of only just defining in the embodiment of the invention, should be understood that the embodiment of the invention is suitable for for other packet formats too, repeats no more at this.
103, the PCIE packet that step 102 encapsulation is formed sends to other nodes on the PCIE bus through the PCIE interface, so that other nodes are handled this PCIE packet.
Wherein, other nodes method that this PCIE packet is handled specifically can be following:
Other nodes receive the PCIE packet through the PCIE interface from the PCIE bus, from the PCIE packet, parse the Ethernet-TLP bag, from the Ethernet-TLP bag, parse the Ethernet data bag, and the Ethernet data bag that parses is handled.Such as can the Ethernet data bag that parse being submitted to Ethernet protocol stack handling procedure; Ethernet protocol stack handling procedure confirms that the target MAC (Media Access Control) address of Ethernet data bag determines whether the MAC Address into this main frame; If then this Ethernet data bag is handled; If not, then this Ethernet data bag is abandoned.
Optional; Except can not specifying receiving equipment; By receiving equipment according to medium Access Layer (MAC; Media Access Control) outside the address determines whether the Ethernet data bag handled, receiving equipment (being target device) can also directly be specified, so that this target device is directly handled this Ethernet data bag.
Such as, specifically can (ID IDentity) be encapsulated in the TLP head part of PCIE packet with the PCIE device identification of target device; Like this, the PCIE packet will be sent on this target device, and other nodes will can not receive this PCIE packet; So; Target device can not judged the target MAC (Media Access Control) address of Ethernet data bag, but directly handled after receiving this PCIE packet and resolving.In order to make the PCIE device identification that can get access to target device as the Ethernet Hosts of transmitting apparatus; Need each Ethernet Hosts in presetting the network equipment, to register MAC Address and PCIE device identification; Promptly this data transmission method can also comprise before step 101:
To presetting network device registration MAC Address and PCIE device identification; Wherein, this network equipment specifically can be PCIE equipment or PCIE switch.
Then will seal and dress up PCIE packet (being step 102) and can comprise: the MAC Address that obtains target device with Ethernet-TLP; The network equipment is preset in MAC Address inquiry according to target device; To obtain the PCIE device identification of target device; The PCIE device identification of the target device that gets access to is write the TLP head part of PCIE packet, the Ethernet-TLP bag is write the TLP packet portion of PCIE packet, thereby be packaged into the PCIE packet.
By on can know; The embodiment of the invention is contained in the PCIE packet through Ethernet data is sealed, and makes the Ethernet data bag in the PCIE bus, to transmit, and that is to say; In many mainframe clusters computing system that full PCIE connects; Each node need not network controller and can interconnect through Ethernet protocol, not only is convenient to realize, and provides cost savings.
Present embodiment is another method embodiment of the embodiment of the invention.In the present embodiment, will describe from the angle of receiving equipment.
A kind of data transmission method; Comprise: receive the PCIE packet from the PCIE bus through quick peripheral component interconnection PCIE interface; From the PCIE packet, parse the Ethernet-TLP bag; From said Ethernet-TLP bag, parse the Ethernet data bag, the Ethernet data bag that parses is handled.
Referring to Fig. 2, idiographic flow can be following:
201, receive the PCIE packet through the PCIE interface from the PCIE bus;
202, from the PCIE packet that step 201 receives, parse the Ethernet-TLP bag, be specially the content of the TLP packet portion that reads the PCIE packet, i.e. the Ethernet-TLP bag;
203, from the Ethernet-TLP bag that step 202 parses, parse the Ethernet data bag, be specially the data division that reads the Ethernet-TLP bag and be the Ethernet data bag;
204, the Ethernet data bag that step 203 is parsed is handled.Such as, the Ethernet data bag that parses is submitted to corresponding protocol stack handling procedure, for example Ethernet protocol stack handling procedure, FC protocol stack handling procedure etc. are handled, for example, specifically can be following:
From the Ethernet-TLP bag that step 202 parses, obtain the protocol type field content; According to the protocol type field content; The Ethernet data bag that step 203 parses is submitted to Ethernet protocol stack handling procedure; So that Ethernet protocol stack handling procedure is handled this Ethernet data bag; Alternatively, obtain field contents such as data length the Ethernet-TLP bag that can also parse from step 202, the integrality of the Ethernet data bag that parses checked according to the data length field content; Wherein, said Ethernet data bag is handled specifically can be following for Ethernet protocol stack handling procedure:
Ethernet protocol stack handling procedure confirms whether the target MAC (Media Access Control) address of Ethernet data bag is the MAC Address of this main frame; If then this Ethernet data bag is handled; If not, then this Ethernet data bag is abandoned.
Certainly; If carried the PCIE device identification of target device in the TLP packet header in the PCIE packet that receives, then target device receives this PCIE packet, and after parsing the Ethernet data bag; Can target MAC (Media Access Control) address not judged; But directly handle, specifically can repeat no more at this referring to a last method embodiment.
By on can know; The embodiment of the invention is contained in the PCIE packet through Ethernet data is sealed, and makes the Ethernet data bag in the PCIE bus, to transmit, and that is to say; In many mainframe clusters computing system that full PCIE connects; Each node need not network controller and can interconnect through Ethernet protocol, not only is convenient to realize, and provides cost savings.
According to two the described methods of method embodiment in front, below will do further explain for example.
Present embodiment is another method embodiment provided by the invention.
Shown in Fig. 3 a, this figure is the scene sketch map of many mainframe clusters computing system of full PCIE connection, in many mainframe clusters computing system that this full PCIE connects; The main frame that has comprised a plurality of support Ethernet protocols; Be called Ethernet Hosts in embodiments of the present invention, abbreviate main frame as, connect through PCIE between them; That is to say that Ethernet Hosts is a node on the PCIE bus.In the present embodiment, will desire to communicate through Ethernet protocol with Ethernet Hosts B with Ethernet Hosts A be that example describes.
Referring to Fig. 3 b, idiographic flow can be following:
301, Ethernet Hosts A seals Ethernet data and dresses up the Ethernet-TLP bag; Wherein, the form of Ethernet-TLP bag can be provided with according to the demand of practical application, for example specifically can adopt the form shown in Fig. 1 b, specifically can repeat no more at this referring to the method embodiment of front.
302, Ethernet Hosts A seals Ethernet-TLP and dresses up the PCIE packet, and wherein, the form of PCIE packet specifically can repeat no more at this referring to the method embodiment of front.
303, Ethernet Hosts A sends the PCIE packet through the PCIE interface.
304, the PCIE bus is transmitted this PCIE packet and is given other all connected nodes, promptly sends to other Ethernet Hosts on this PCIE bus.Such as, specifically can adopt the mode of broadcasting that this PCIE packet is sent to other Ethernet Hosts on this PCIE bus.
305, after other Ethernet Hosts receive this PCIE packet, this PCIE packet is resolved, obtain the Ethernet-TLP bag, and then the Ethernet-TLP bag is resolved, obtain the Ethernet data bag.
306, the Ethernet data bag that obtains of other Ethernet Hosts consigns to corresponding handling procedure, handles such as Ethernet protocol stack handling procedure.
307, Ethernet protocol stack handling procedure confirms according to the Ethernet data bag whether target MAC (Media Access Control) address is the MAC Address of this Ethernet Hosts, if then this Ethernet data bag is for further processing, otherwise, if not then this Ethernet data bag being abandoned.Wherein, concrete processing mode can be provided with according to the demand of business, specifically can repeat no more at this referring to prior art.
For example; In the present embodiment; Ethernet Hosts A desires to communicate with Ethernet Hosts B, so target MAC (Media Access Control) address is the MAC Address of Ethernet Hosts B, so; The Ethernet protocol stack handling procedure of Ethernet Hosts B will be for further processing to this Ethernet data bag, and the Ethernet protocol stack handling procedure of other Ethernet Hosts then will abandon this Ethernet data bag.
By on can know; The embodiment of the invention is contained in the PCIE packet through Ethernet data is sealed, and makes the Ethernet data bag in the PCIE bus, to transmit, and that is to say; In many mainframe clusters computing system that full PCIE connects; Each node need not network controller and can interconnect through Ethernet protocol, not only is convenient to realize, and provides cost savings.
Optional; Except can not specifying receiving equipment, but outside determining whether the Ethernet data bag handled according to MAC Address by receiving equipment, can also directly specify receiving equipment (being target device); Like this; This target device just can directly be handled this Ethernet data bag, and need not judge according to MAC Address after receiving the Ethernet data bag.Below will describe for example.
Present embodiment is another method embodiment provided by the invention.
Still be example with the application scenarios among Fig. 3 a, referring to Fig. 4, idiographic flow can be following:
401, each Ethernet Hosts is after starting, and at first to presetting its MAC Address of network device registration and PCIE device identification, wherein, this network equipment specifically can be PCIE equipment or PCIE switch.
402, if Ethernet Hosts A desires to communicate through Ethernet protocol with Ethernet Hosts B, then Ethernet Hosts A obtains the MAC Address of Ethernet Hosts B.
What need explanation is; Because the prerequisite of the embodiment of the invention is that Ethernet Hosts (such as the Ethernet Hosts A of present embodiment) has generated the Ethernet data bag, so this Ethernet Hosts (such as the Ethernet Hosts A of present embodiment) itself has just been known the MAC Address of target Ethernet Hosts (such as the Ethernet Hosts B of present embodiment).
403, Ethernet Hosts A inquires about this according to the MAC Address of the Ethernet Hosts B that gets access to and presets the network equipment, to obtain the corresponding PCIE device identification of Ethernet Hosts B.
404, Ethernet Hosts A seals Ethernet data and dresses up the Ethernet-TLP bag, and wherein, the form of Ethernet-TLP bag specifically can repeat no more at this referring to the method embodiment of front.
405, Ethernet Hosts A utilizes the PCIE device identification of the Ethernet Hosts B that gets access to that the Ethernet-TLP that obtains in the step 404 is sealed and dresses up the PCIE packet, and sends through the PCIE interface.Specifically can the PCIE device identification of Ethernet Hosts B be encapsulated in the TLP head (please with reference to shown in the accompanying drawing 1c); Ethernet-TLP sealed be contained in the TLP bag (please with reference to shown in the accompanying drawing 1c); Wherein, the form of PCIE packet specifically can repeat no more at this referring to the method embodiment of front.
406, the PCIE bus is transmitted this PCIE packet according to the PCIE device identification of the Ethernet Hosts B in the PCIE packet and is given Ethernet Hosts B.
407, after Ethernet Hosts B receives this PCIE packet, this PCIE packet is resolved, obtain the Ethernet-TLP bag, and then the Ethernet-TLP bag is resolved, obtain the Ethernet data bag.
408, Ethernet Hosts B consigns to corresponding handling procedure with the Ethernet data bag, handles such as Ethernet protocol stack handling procedure.Wherein, concrete processing mode can be provided with according to the demand of business, specifically can repeat no more at this referring to prior art.
By on can know; The embodiment of the invention is contained in the PCIE packet through Ethernet data is sealed, and makes the Ethernet data bag in the PCIE bus, to transmit, and that is to say; In many mainframe clusters computing system that full PCIE connects; Each node need not network controller and can interconnect through Ethernet protocol, not only is convenient to realize, and provides cost savings.
In order to implement above method better, the embodiment of the invention also correspondingly provides a kind of network equipment, in the many mainframe clusters computing system that connects as full PCIE as the Ethernet Hosts of transmitting apparatus.Below will be elaborated.
Present embodiment is a device embodiment provided by the invention.
Shown in Fig. 5 a, this network equipment comprises first encapsulation unit 501, second encapsulation unit 502 and transmitting element 503;
First encapsulation unit 501 is used for Ethernet data sealed and dresses up Ethernet-TLP bag, and wherein, Ethernet-TLP comprises protocol type field and data division, and protocol type field is used to indicate the packaged agreement that data adopted; Specifically can repeat no more at this referring to the method embodiment of front.
Second encapsulation unit 502 is used for the Ethernet-TLP that the encapsulation of first encapsulation unit 501 forms sealed and dresses up the PCIE packet;
Transmitting element 503 is used for the PCIE packet that 502 encapsulation of second encapsulation unit form is sent to other nodes on the PCIE bus through the PCIE interface, so that other nodes are handled this PCIE packet.
Wherein, other nodes method that this PCIE packet is handled specifically can be following:
Other nodes receive the PCIE packet through the PCIE interface from the PCIE bus, from the PCIE packet, parse the TLP bag, from the TLP bag, parse the Ethernet data bag, and the Ethernet data bag that parses is handled.Such as can the Ethernet data bag that parse being submitted to Ethernet protocol stack handling procedure; Ethernet protocol stack handling procedure confirms that the target MAC (Media Access Control) address of Ethernet data bag determines whether the MAC Address into this main frame; If then this Ethernet data bag is handled; If not, then this Ethernet data bag is abandoned.
Optional; Except can not specifying receiving equipment, but outside determining whether the Ethernet data bag handled according to MAC Address by receiving equipment, can also directly specify receiving equipment (being target device); Like this; This target device just can directly be handled this Ethernet data bag, and need not judge according to MAC Address after receiving the Ethernet data bag.
Such as, in specifically can the PCIE device identification encapsulation PCIE of target device being wrapped, like this; The PCIE packet will be sent on this target device; And other nodes will can not receive this PCIE packet, so target device is after receiving this PCIE packet and resolving; Can the target MAC (Media Access Control) address of Ethernet data bag not judged, but directly handle.In order to make the PCIE device identification that can get access to target device as the Ethernet Hosts of transmitting apparatus; Need each Ethernet Hosts in presetting the network equipment, to register MAC Address and PCIE device identification; That is, shown in Fig. 5 b, this network equipment can also comprise registering unit 504;
Registering unit 504 is used for to presetting network device registration MAC Address and PCIE device identification; Wherein, this network equipment specifically can be PCIE equipment or PCIE switch.
Then at this moment; Second encapsulation unit 502 specifically is used to obtain the MAC Address of target device, according to the said network equipment that presets of MAC Address inquiry of target device; To obtain the PCIE device identification of target device; The PCIE device identification of the target device that gets access to is write the TLP head part of PCIE packet, the Ethernet-TLP bag is write the TLP packet portion of PCIE packet, thereby be packaged into the PCIE packet.
More than the practical implementation of each unit can repeat no more at this referring to front embodiment.What need explanation is, during practical implementation, more than each unit promptly can realize as an independent entity, also can carry out combination in any, realize as a unified entity or plurality of entity.
By on can know; First encapsulation unit 501 in the network equipment of the embodiment of the invention and second encapsulation unit 502 can be sealed Ethernet data and be contained in the PCIE packet; And then by transmitting element 503 the PCIE packet is sent through the PCIE interface, make the Ethernet data bag in the PCIE bus, to transmit, that is to say; In many mainframe clusters computing system that full PCIE connects; Each node need not network controller and can interconnect through Ethernet protocol, not only is convenient to realize, and provides cost savings.
Accordingly, the embodiment of the invention also provides the another kind of network equipment, in the many mainframe clusters computing system that connects as full PCIE as the Ethernet Hosts of receiving equipment.
Present embodiment is another device embodiment provided by the invention.
As shown in Figure 6, this network equipment can comprise receiving element 601, first resolution unit 602, second resolution unit 603 and processing unit 604;
Receiving element 601 is used for receiving the PCIE packet through the PCIE interface from the PCIE bus;
First resolution unit 602 is used for parsing the Ethernet-TLP bag from the PCIE packet that receiving element 601 receives;
Second resolution unit 603 is used for parsing the Ethernet data bag from the Ethernet-TLP bag that first resolution unit 602 parses;
Processing unit 604 is used for the Ethernet data bag that second resolution unit 603 parses is handled.Such as, the Ethernet data bag that parses is submitted to corresponding program handle, that is:
Processing unit 604; Specifically be used for obtaining the protocol type field content from the Ethernet-TLP bag that first resolution unit 602 parses; According to the protocol type field content of obtaining; The Ethernet data bag that second resolution unit parses is submitted to Ethernet protocol stack handling procedure, so that Ethernet protocol stack handling procedure is handled said Ethernet data bag.Wherein, said Ethernet data bag is handled specifically can be following for Ethernet protocol stack handling procedure:
Ethernet protocol stack handling procedure confirms whether the target MAC (Media Access Control) address of Ethernet data bag is the MAC Address of this main frame; If then this Ethernet data bag is handled; If not, then this Ethernet data bag is abandoned.
Certainly; If carried the PCIE device identification of target device in the TLP packet header in the PCIE packet that receives, then target device receives this PCIE packet, and after parsing the Ethernet data bag; Can target MAC (Media Access Control) address not judged; But directly handle, specifically can repeat no more at this referring to the method embodiment of front.
Alternatively; Processing unit 604; Concrete also being used for obtained field contents such as data length from the Ethernet-TLP bag that first resolution unit 602 parses; According to the data length field content integrality of the Ethernet data bag that parses is checked, specifically can be repeated no more at this referring to the embodiment of front.
More than the practical implementation of each unit can repeat no more at this referring to front embodiment.What need explanation is, during practical implementation, more than each unit promptly can realize as an independent entity, also can carry out combination in any, realize as a unified entity or plurality of entity.
By on can know; First resolution unit 602 of the network equipment of the embodiment of the invention and second resolution unit 603 can be resolved the PCIE packet that receiving element 601 receives; To obtain being encapsulated in the Ethernet data bag in the PCIE packet, make the Ethernet data bag also can in the PCIE bus, transmit, that is to say; In many mainframe clusters computing system that full PCIE connects; Each node need not network controller and can interconnect through Ethernet protocol, not only is convenient to realize, and provides cost savings.
Accordingly, the embodiment of the invention also provides a kind of communication system, comprises first network equipment and at least one second network equipment; Wherein, first network equipment any network equipment, second network equipment any network equipment for providing among second device of the present invention embodiment for providing among first device of the present invention embodiment.Below will elaborate for example.
Present embodiment is a system embodiment of the present invention.
First network equipment is used for Ethernet data sealed and dresses up Ethernet-TLP bag, and wherein, Ethernet-TLP comprises protocol type field and data division, and protocol type field is used to indicate the packaged agreement that data adopted; Said Ethernet-TLP sealed dress up the PCIE packet, this PCIE packet is sent to second network equipment on the PCIE bus through the PCIE interface.
Second network equipment; Be used for receiving the PCIE packet from the PCIE bus through the PCIE interface; From the PCIE packet, parse the Ethernet-TLP bag, from this Ethernet-TLP bag, parse the Ethernet data bag, the Ethernet data bag that parses is handled.For example, the Ethernet data bag that parses is submitted to corresponding program such as Ethernet protocol stack handling procedure is handled, specific as follows:
Ethernet protocol stack handling procedure confirms whether the target MAC (Media Access Control) address of Ethernet data bag is the MAC Address of this main frame; If then this Ethernet data bag is handled; If not, then this Ethernet data bag is abandoned.
Certainly; If carried the PCIE device identification of target device in the TLP packet header in the PCIE packet that receives, then target device receives this PCIE packet, and after parsing the Ethernet data bag; Can target MAC (Media Access Control) address not judged; But directly handle, specifically can repeat no more at this referring to the method embodiment of front.
More than the practical implementation of each equipment can repeat no more at this referring to front embodiment.
By on can know; The communication system of the embodiment of the invention is contained in the PCIE packet through Ethernet data is sealed, and makes the Ethernet data bag in the PCIE bus, to transmit, and that is to say; In many mainframe clusters computing system that full PCIE connects; Each node need not network controller and can interconnect through Ethernet protocol, not only is convenient to realize, and provides cost savings.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to accomplish through program; This program can be stored in the computer-readable recording medium; Storage medium can comprise: read-only memory (ROM; Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than a kind of data transmission method, device and system that the embodiment of the invention provided have been carried out detailed introduction; Used concrete example among this paper principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for those skilled in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (11)

1. a data transmission method is characterized in that, comprising:
Ethernet data sealed dress up Ethernet processing layer agreement Ethernet-TLP bag, said Ethernet-TLP comprises protocol type field and data division, and said protocol type field is used to indicate the packaged agreement that data adopted;
Said Ethernet-TLP sealed dress up quick peripheral component interconnection PCIE packet;
Said PCIE packet is sent to other nodes on the PCIE bus through the PCIE interface, so that said other nodes are handled said PCIE packet.
2. method according to claim 1 is characterized in that, said Ethernet data is sealed dressed up the Ethernet-TLP bag, specifically comprises:
The Ethernet protocol sign is write in the protocol type field of said Ethernet-TLP bag;
Said Ethernet data bag is write the data division of said Ethernet-TLP bag.
3. method according to claim 1 and 2 is characterized in that, said Ethernet data is sealed dressed up before the Ethernet-TLP bag, and this method also comprises:
To presetting network device registration medium Access Layer MAC Address and PCIE device identification;
Then said said Ethernet-TLP is sealed dressed up the PCIE packet and comprised: the MAC Address that obtains target device; The said network equipment that presets of MAC Address inquiry according to target device; To obtain the PCIE device identification of target device; The PCIE device identification of the target device that gets access to is write the TLP head part of PCIE packet, the Ethernet-TLP bag is write the TLP packet portion of PCIE packet, thereby be packaged into the PCIE packet.
4. a data transmission method is characterized in that, comprising:
Receive the PCIE packet through quick peripheral component interconnection PCIE interface from the PCIE bus;
From the PCIE packet, parse Ethernet processing layer agreement Ethernet-TLP bag;
From said Ethernet-TLP bag, parse the Ethernet data bag;
Ethernet data bag to parsing is handled.
5. method according to claim 4 is characterized in that, the said Ethernet data bag that parses is handled comprises:
From the Ethernet-TLP bag that parses, obtain the protocol type field content;
According to the protocol type field content of obtaining, the Ethernet data bag that parses is submitted to Ethernet protocol stack handling procedure, so that Ethernet protocol stack handling procedure is handled said Ethernet data bag.
6. according to claim 4 or 5 described methods, it is characterized in that said Ethernet protocol stack handling procedure is handled said Ethernet data bag and comprised:
Ethernet protocol stack handling procedure confirms whether the purpose medium Access Layer MAC Address of said Ethernet data bag is the MAC Address of this main frame;
If then said Ethernet data bag is handled;
If not, then said Ethernet data bag is abandoned.
7. a network equipment is characterized in that, comprising:
First encapsulation unit; Be used for Ethernet data sealed and dress up Ethernet processing layer agreement Ethernet-TLP bag; Said Ethernet-TLP comprises protocol type field and data division, and said protocol type field is used to indicate the packaged agreement that data adopted;
Second encapsulation unit is used for the Ethernet-TLP that first encapsulation unit encapsulation forms sealed and dresses up quick peripheral component interconnection PCIE packet;
Transmitting element is used for the PCIE packet that the encapsulation of second encapsulation unit forms is sent to other nodes on the PCIE bus through the PCIE interface, so that said other nodes are handled said PCIE packet.
8. the network equipment according to claim 7 is characterized in that, also comprises registering unit;
Registering unit is used for to presetting network device registration medium Access Layer MAC Address and PCIE device identification;
Second encapsulation unit then; Specifically be used to obtain the MAC Address of target device; The said network equipment that presets of MAC Address inquiry according to target device to obtain the PCIE device identification of target device, writes the PCIE device identification of the target device that gets access to the TLP head part of PCIE packet; The Ethernet-TLP bag is write the TLP packet portion of PCIE packet, thereby be packaged into the PCIE packet.
9. a network equipment is characterized in that, comprising:
Receiving element is used for receiving the PCIE packet through quick peripheral component interconnection PCIE interface from the PCIE bus;
First resolution unit is used for parsing Ethernet processing layer agreement Ethernet-TLP bag from the PCIE packet that receiving element receives;
Second resolution unit is used for parsing the Ethernet data bag from the Ethernet-TLP bag that first resolution unit parses;
Processing unit, the Ethernet data bag that is used for second resolution unit is parsed is handled.
10. the network equipment according to claim 9 is characterized in that,
Said processing unit specifically is used for obtaining the protocol type field content from the Ethernet-TLP bag that first resolution unit parses; According to the protocol type field content of obtaining, the Ethernet data bag that second resolution unit parses is submitted to Ethernet protocol stack handling procedure, so that Ethernet protocol stack handling procedure is handled said Ethernet data bag.
11. a communication system is characterized in that, comprises first network equipment and at least one second network equipment;
Said first network equipment is claim 7 or 8 described any network equipments;
Said second network equipment is claim 9 or 10 described any network equipments.
CN2011101555526A 2011-06-10 2011-06-10 Data transmission method, device and system Pending CN102821082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101555526A CN102821082A (en) 2011-06-10 2011-06-10 Data transmission method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101555526A CN102821082A (en) 2011-06-10 2011-06-10 Data transmission method, device and system

Publications (1)

Publication Number Publication Date
CN102821082A true CN102821082A (en) 2012-12-12

Family

ID=47304941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101555526A Pending CN102821082A (en) 2011-06-10 2011-06-10 Data transmission method, device and system

Country Status (1)

Country Link
CN (1) CN102821082A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086295A1 (en) * 2010-02-22 2013-04-04 Youichi Hidaka Communication control system, switching node, communication control method and communication control program
CN103312720A (en) * 2013-07-01 2013-09-18 华为技术有限公司 Data transmission method, equipment and system
CN103533045A (en) * 2013-10-12 2014-01-22 江苏华丽网络工程有限公司 Method for high-performance fault tolerance of PCIE (Peripheral Component Interface Express) data link layer
CN103701680A (en) * 2013-12-17 2014-04-02 杭州华为数字技术有限公司 Cross-PCIe domain message transmitting method, equipment and system
CN103905453A (en) * 2014-04-04 2014-07-02 浪潮电子信息产业股份有限公司 Communication model and method based on address mapping multiplexing
CN104580011A (en) * 2013-10-23 2015-04-29 杭州华三通信技术有限公司 Data forwarding device and method
CN104579695A (en) * 2013-10-23 2015-04-29 杭州华三通信技术有限公司 Data forwarding device and method
WO2021147050A1 (en) * 2020-01-22 2021-07-29 华为技术有限公司 Pcie-based data transmission method and apparatus
CN113498597A (en) * 2020-01-22 2021-10-12 华为技术有限公司 PCIe-based data transmission method and device
WO2023019403A1 (en) * 2021-08-16 2023-02-23 北京小米移动软件有限公司 Ip data packet transmission method and apparatus and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070266179A1 (en) * 2006-05-11 2007-11-15 Emulex Communications Corporation Intelligent network processor and method of using intelligent network processor
CN101277196A (en) * 2007-03-30 2008-10-01 杭州华三通信技术有限公司 Communication system, communication method and cable fastener plate based on PCIE switching network
CN102075401A (en) * 2011-01-28 2011-05-25 成都市华为赛门铁克科技有限公司 Method, equipment and system for transmitting message on peripheral component interface express (PCIE) bus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070266179A1 (en) * 2006-05-11 2007-11-15 Emulex Communications Corporation Intelligent network processor and method of using intelligent network processor
CN101277196A (en) * 2007-03-30 2008-10-01 杭州华三通信技术有限公司 Communication system, communication method and cable fastener plate based on PCIE switching network
CN102075401A (en) * 2011-01-28 2011-05-25 成都市华为赛门铁克科技有限公司 Method, equipment and system for transmitting message on peripheral component interface express (PCIE) bus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨阿锋等: "PCIe接口高速数据传输卡的驱动程序开发", 《中国测试技术》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9047416B2 (en) * 2010-02-22 2015-06-02 Nec Corporation Communication control system, switching node, communication control method and communication control program including PCI express switch and LAN interface
US20130086295A1 (en) * 2010-02-22 2013-04-04 Youichi Hidaka Communication control system, switching node, communication control method and communication control program
CN103312720A (en) * 2013-07-01 2013-09-18 华为技术有限公司 Data transmission method, equipment and system
CN103312720B (en) * 2013-07-01 2016-05-25 华为技术有限公司 A kind of data transmission method, equipment and system
CN103533045A (en) * 2013-10-12 2014-01-22 江苏华丽网络工程有限公司 Method for high-performance fault tolerance of PCIE (Peripheral Component Interface Express) data link layer
CN103533045B (en) * 2013-10-12 2017-12-29 丁贤根 A kind of method fault-tolerant for PCIE data link layer high-performance
US10084647B2 (en) 2013-10-23 2018-09-25 Hewlett Packard Enterprise Development Lp Data forwarding to server via virtual network card or to external network via network interface, based on fusion descriptor
CN104579695A (en) * 2013-10-23 2015-04-29 杭州华三通信技术有限公司 Data forwarding device and method
CN104580011A (en) * 2013-10-23 2015-04-29 杭州华三通信技术有限公司 Data forwarding device and method
CN104580011B (en) * 2013-10-23 2017-12-15 新华三技术有限公司 A kind of data forwarding device and method
CN104579695B (en) * 2013-10-23 2018-07-20 新华三技术有限公司 A kind of data forwarding device and method
CN103701680A (en) * 2013-12-17 2014-04-02 杭州华为数字技术有限公司 Cross-PCIe domain message transmitting method, equipment and system
CN103905453A (en) * 2014-04-04 2014-07-02 浪潮电子信息产业股份有限公司 Communication model and method based on address mapping multiplexing
WO2021147050A1 (en) * 2020-01-22 2021-07-29 华为技术有限公司 Pcie-based data transmission method and apparatus
CN113498597A (en) * 2020-01-22 2021-10-12 华为技术有限公司 PCIe-based data transmission method and device
CN113498597B (en) * 2020-01-22 2022-10-28 华为技术有限公司 PCIe-based data transmission method and device
WO2023019403A1 (en) * 2021-08-16 2023-02-23 北京小米移动软件有限公司 Ip data packet transmission method and apparatus and readable storage medium

Similar Documents

Publication Publication Date Title
CN102821082A (en) Data transmission method, device and system
US10884965B2 (en) PCI express tunneling over a multi-protocol I/O interconnect
EP2080328B1 (en) Network direct memory access
US6438128B1 (en) Alternate use of data packet fields to convey information
US10735373B2 (en) Communications over multiple protocol interfaces in a computing environment
JP6269999B2 (en) Packet processing method and apparatus
CN111352889B (en) Equipment management method, equipment, device and medium based on MCTP (Multi-port technology protocol)
WO2014180312A2 (en) Methods for dynamically binding header field identifiers in a network control protocol
CN107770085B (en) Network load balancing method, equipment and system
CN109412922B (en) Method, forwarding device, controller and system for transmitting message
US9866639B2 (en) Communication apparatus, information processor, communication method, and computer-readable storage medium
WO2017088494A1 (en) Link management method and apparatus
KR102450095B1 (en) Data transmission method, transmission device, and reception device
CN109936492A (en) A kind of methods, devices and systems by tunnel transmission message
CN101540772A (en) DPI (deep packet inspection) equipment and communication method thereof
CN110214439B (en) Data transmission method, device, sending end, receiving end and system
KR20110110199A (en) Communication protocol for sharing memory resources between components of a device
CN104836636A (en) Method, device and system for communication based on novel CAN frame
CN113498597B (en) PCIe-based data transmission method and device
CN109417507A (en) The message of section retards accesses
CN110169023A (en) A kind of data transmission method, data receiver and data transmitting equipment
CN104717109A (en) Simulation testing method and system for wide area network links
US20150249616A1 (en) Apparatus and method for supporting multi-host access
CN102835127B (en) The sending, receiving method of OTN expense and device
CN107168909A (en) Interconnecting device, telecommunication system, data transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Applicant after: Huawei Symantec Technologies Co., Ltd.

Address before: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Applicant before: Chengdu Huawei Symantec Technologies Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: CHENGDU HUAWEI SYMANTEC TECHNOLOGY CO., LTD. TO: HUAWEI DIGITAL TECHNOLOGY (CHENGDU) CO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121212