WO2018121443A1 - Message transmission method and device - Google Patents

Message transmission method and device Download PDF

Info

Publication number
WO2018121443A1
WO2018121443A1 PCT/CN2017/118046 CN2017118046W WO2018121443A1 WO 2018121443 A1 WO2018121443 A1 WO 2018121443A1 CN 2017118046 W CN2017118046 W CN 2017118046W WO 2018121443 A1 WO2018121443 A1 WO 2018121443A1
Authority
WO
WIPO (PCT)
Prior art keywords
fcf
fcoe
fcid
packet
vxlan
Prior art date
Application number
PCT/CN2017/118046
Other languages
French (fr)
Chinese (zh)
Inventor
张行柱
陈志伟
夏迎春
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018121443A1 publication Critical patent/WO2018121443A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0073Provisions for forwarding or routing, e.g. lookup tables

Definitions

  • the present invention relates to the field of communications, and in particular to a message transmission method and apparatus.
  • FCoE Fiber Channel over Ethernet
  • FCoE Fibre Channel over Ethernet
  • FCoE Fibre Channel over Ethernet
  • the FCoE virtual link is divided into three phases: the FCoE Initialization Protocol (FIP) Virtual Local Area Network (VLAN) discovery phase, and the FIP FCoE Forwarder (FCF) discovery phase.
  • Switch login phase FIP is used to discover, initialize, and maintain FCoE devices.
  • the Ethernet type of FIP is different from the Ethernet type of FCoE.
  • FIP is used to discover, initialize, and maintain FCoE virtual links with different traffic than other FCoE traffic.
  • FCoE Fibre Channel
  • VXLAN Virtual eXtensible Local Area Network
  • the present invention provides a packet transmission method and apparatus, so as to solve at least the problem that the FCF function must be supported by each switch in the case of transmitting FCoE data in a large virtual logical network in the related art, thereby causing inflexibility of FCoE data transmission. .
  • a message transmission method including: creating a VXLAN tunnel supporting FCoE services according to FCoE node identifier information stored in a first FCF, wherein the VXLAN tunnel is connected to a first FCF and a Two FCF; and The FCoE data packet to be transmitted in the first FCF is transmitted to the second FCF through the VXLAN tunnel.
  • a packet transmission apparatus including: a creating module, configured to create a VXLAN tunnel supporting FCoE services according to FCoE node identifier information stored in a first FCF, wherein the VXLAN tunnel Connecting the first FCF and the second FCF; and the transmitting module, configured to transmit the FCoE data packet to be transmitted in the first FCF to the second FCF through the VXLAN tunnel.
  • FIG. 1 is a flowchart of a message transmission method according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a message transmission method according to another embodiment of the present invention.
  • FIG. 3 is a block diagram showing the structure of a message transmission apparatus according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a creation module of a message transmission apparatus according to an embodiment of the present invention shown in FIG. 3;
  • FIG. 5 is a structural block diagram of a transmission module of the message transmission apparatus according to the embodiment of the present invention shown in FIG. 3;
  • FIG. 6 is a structural block diagram of a message transmission apparatus according to another embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a decapsulation unit in a message transmission apparatus according to an example of the present invention shown in FIG. 6;
  • FIG. 8 is a block diagram showing the structure of a message transmission apparatus according to another embodiment of the present invention.
  • FIG. 1 is a flow chart of a message transmission method according to an embodiment of the present invention.
  • a message transmission method may include steps S102 and S104.
  • a VXLAN tunnel supporting the FCoE service is created according to the FCoE Node Identifier (FCID) information stored in the first FCF, where the VXLAN tunnel connects the first FCF and the second FCF.
  • FCID FCoE Node Identifier
  • step S102 may include: acquiring a destination FCID carried in the FCID information; determining an FCF corresponding to the destination FCID as the second FCF; and creating a support FCoE service between the first FCF and the second FCF VXLAN tunnel.
  • step S104 the FCoE data packet to be transmitted in the first FCF is transmitted to the second FCF through the VXLAN tunnel.
  • the step S104 may include: encapsulating a VXLAN packet header for the FCoE data packet; and transmitting the FCoE data packet encapsulating the VXLAN packet header to the destination FCID according to the destination FCID carried in the FCID information. Corresponding second FCF.
  • the second FCF may decompose the FCoE data packet encapsulating the VXLAN packet header.
  • the packet is obtained to obtain a Fibre Channel (FC) packet, and the destination FCID in the FC packet is obtained.
  • FC Fibre Channel
  • the FC packet carries the FCID information.
  • the forwarding table of the second FCF is queried according to the destination FCID to obtain a second FCoE node corresponding to the FCID in the forwarding table.
  • the FCoE data packet generated after the Ethernet packet header is encapsulated in the FC packet is sent to the second FCoE node.
  • the FCoE data packet encapsulated with the VXLAN packet header may be first decapsulated to obtain the FCoE data packet, and the second decapsulation is performed on the FCoE data packet to obtain the FC packet.
  • the destination FCID can be obtained by parsing the FC message.
  • the second decapsulation of the FCoE data message may be performed by decapsulating the FCoE data packet and removing the Ethernet packet header to obtain the FC message.
  • the FCID information may be stored in the routing table of the first FCF.
  • a VXLAN tunnel supporting the FCoE service is created according to the FCID information stored in the first FCF, and the VXLAN tunnel connects the first FCF and the second FCF, and the FCoE to be transmitted in the first FCF Data packets are transmitted to the second FCF through the VXLAN tunnel.
  • a new method for transmitting FCoE messages over Ethernet is provided on the basis of the VXLAN Ethernet tunnel.
  • the VXLAN tunnel can be updated according to the FCID stored by the FCF so that FCoE data packets can be identified and transmitted in the VXLAN tunnel.
  • FIG. 2 is a flow chart of a message transmission method according to another embodiment of the present invention.
  • the message transmission method may include steps S201 to S211.
  • step S201 the FCF, the FCoE node (FCoE Node, ENode), and the VXLAN are initially configured.
  • step S202 the ENode sends a FIP protocol packet to the FCF to request to establish a FIP virtual link.
  • step S203 the FCF establishes a FIP virtual link according to the received FIP protocol packet, and allocates a Fabric Provided MAC Address (FPMA) to the ENode.
  • FPMA Fabric Provided MAC Address
  • step S204 the VXLAN network creates a VXLAN tunnel with FCoE characteristics according to the ECo's FCoE routing information (ie, FCID information), and updates the VXLAN tunnel.
  • FCoE routing information ie, FCID information
  • step S205 the first ENode sends the FCoE data message to the first FCF.
  • step S206 the first FCF determines whether to transmit via the VXLAN tunnel according to the destination FCID carried in the FCID information.
  • step S207 if the result of the determination is that the transmission is via the VXLAN tunnel, the VXLAN packet header is encapsulated for the FCoE data packet, and sent to the second FCF through the VXLAN tunnel;
  • step S208 the second FCF receives the FCoE data packet encapsulated with the VXLAN packet header, and performs decapsulation to remove the VXLAN packet header.
  • step S209 the second FCF determines whether it is a two-layer exchange or a three-layer exchange.
  • step S210 in the case that the decision is a three-layer exchange, the FCoE Layer 3 routing table is queried, and the FCoE data packet is forwarded to the second ENode according to the search result.
  • step S211 in the case that the decision is a Layer 2 switching, the FCoE Layer 2 forwarding table is queried, and the FCoE data packet is forwarded to the second ENode according to the search result.
  • the message transmission method solves the problem that in the related art, when the FCoE data is transmitted in a large virtual logical network, each switch must support the FCF function, thereby causing inflexibility of FCoE data transmission, and expanding the problem.
  • the application scenario of FCoE technology in a large virtual logical Ethernet scenario enhances the convergence of FC network and Ethernet.
  • the message transmission method according to the embodiment can be implemented by means of software in a general hardware platform, and of course, can also be implemented only by hardware.
  • the technical solution of the inventive concept may be embodied in the form of a computer software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), and includes a plurality of instructions for causing a terminal device (for example, a mobile phone or a computer)
  • a terminal device for example, a mobile phone or a computer
  • a server, a network device, or the like performs a message transmission method according to various embodiments of the present invention.
  • FIG. 3 is a block diagram showing the structure of a message transmission apparatus according to an embodiment of the present invention.
  • the message transmission apparatus according to this embodiment is for implementing the message transmission method according to the foregoing implementation. The details that have already been explained will not be described again.
  • module can be a combination of software and/or hardware that implements a predetermined function.
  • message transmission apparatus according to the embodiment described below can be understood to be implemented by using a software module, the technical solution of the inventive concept can also be implemented by hardware or a combination of software and hardware.
  • the message transmission apparatus 300 may include a creation module 32 and a transmission module 34.
  • the creating module 32 is configured to create a VXLAN tunnel supporting the FCoE service according to the FCID information stored in the first FCF, where the VXLAN tunnel connects the first FCF and the second FCF.
  • the transmission module 34 is configured to transmit the FCoE data packet to be transmitted in the first FCF to the second FCF through the VXLAN tunnel.
  • FIG. 4 is a block diagram showing the structure of the creation module 32 of the message transmission apparatus 300 shown in FIG. 3 according to an embodiment of the present invention.
  • the creation module 32 can include a first acquisition unit 322, a determination unit 324, and a creation unit 326.
  • the first obtaining unit 322 is configured to acquire the destination FCID carried in the FCID information.
  • the determining unit 324 is configured to determine the FCF corresponding to the destination FCID as the second FCF.
  • the creating unit 326 is configured to create a VXLAN tunnel supporting the FCoE service between the first FCF and the second FCF.
  • FIG. 5 is a block diagram showing the structure of a transmission module 34 of the message transmission apparatus 300 shown in FIG. 3 according to an embodiment of the present invention.
  • the transmission module 34 can include a package 342 and a transmission unit 344.
  • the encapsulating unit 342 is configured to encapsulate the VXLAN packet header for the FCoE data packet.
  • the transmitting unit 344 is configured to transmit the FCoE data packet encapsulating the VXLAN packet header to the second FCF corresponding to the destination FCID according to the destination FCID carried in the FCID information.
  • FIG. 6 is a structural block diagram of a message transmission apparatus according to another embodiment of the present invention.
  • the message transmission apparatus 600 may further include a decapsulation unit 62, a second acquisition unit 64, and a transmission unit 66, as compared with the embodiment shown in FIG.
  • the decapsulation unit 62 is configured to decapsulate the FCoE data packet encapsulated with the VXLAN packet header to obtain the FC message, and obtain the destination FCID in the FC message, where the FC message carries the FCID information.
  • the second obtaining unit 64 is configured to query the forwarding table of the second FCF according to the destination FCID to obtain the second FCoE node corresponding to the FCID in the forwarding table.
  • the sending unit 66 is configured to send the FCoE data packet generated after the Ethernet packet header is encapsulated to the second FCoE node.
  • FIG. 7 is a block diagram showing the structure of the decapsulation unit 62 in the message transmission apparatus 600 according to the example of the present invention shown in FIG. 6.
  • the decapsulation unit 62 can include a first decapsulation subunit 622, a second decapsulation subunit 624, and a parsing subunit 626.
  • the first decapsulation sub-unit 622 is configured to perform a first decapsulation on the FCoE data packet encapsulated with the VXLAN packet header to obtain the FCoE data packet.
  • the second decapsulation sub-unit 624 is configured to perform a second decapsulation on the FCoE data packet to obtain the FC message.
  • the parsing sub-unit 626 is configured to parse and obtain the destination FCID in the FC message.
  • the second decapsulation subunit 624 may perform the first for the FCoE data message by decapsulating the FCoE data message and removing the Ethernet message header. The second decapsulation is to obtain the FC message.
  • the message transmission device 600 may further include a storage module 36.
  • the storage module 36 stores the FCID information in the routing table of the first FCF.
  • the virtual extension LAN VXLAN tunnel supporting the FCoE service is created according to the FCID information stored in the first FCF, and the to-be-transmitted in the first FCF is implemented by the creation module 32 and the transmission module 34.
  • the FCoE data packet is transmitted to the second FCF through the VXLAN tunnel, which solves the problem that the FCF function must be supported by each switch in the case of transmitting FCoE data in a large virtual logical network in the related art, thereby causing inflexibility of FCoE data transmission. It expands the application scenario of FCoE in large virtual logical Ethernet scenarios and enhances the integration of FC network and Ethernet.
  • FIG. 8 is a block diagram showing the structure of a message transmission apparatus according to another embodiment of the present invention.
  • the message transmission apparatus may include an ENode module 82, an FCF/VXLAN access switch module 84, and a VXLAN network module 86.
  • the ENode module 82 is used for establishing an FCoE virtual link and transmitting and receiving FIP protocol packets and FCoE data packets.
  • the ENode module 82 can be used to set up an FCoE setup link configuration including, but not limited to, VLAN, WWPN, WWNN, FC-MAP, and the like.
  • the ENode module 82 can actively send the FIP protocol packet to the FCF.
  • the FCF/VXLAN access switch module 84 is configured to receive the FIP protocol packet sent by the ENode module 82, establish a virtual link with the ENode module 82, establish a VXLAN tunnel with the VXLAN network module 86, and accept and forward the FCoE data packet.
  • the FCF/VXLAN access switch module 84 is both part of the FCoE link and part of the VXLAN network. Therefore, the FCF/VXLAN access switch module 84 is required to encapsulate and decapsulate FCoE headers, and to encapsulate and decapsulate VXLAN headers.
  • the VXLAN network module 86 is used to establish a VXLAN Ethernet tunnel based on the destination FCID and transparently transmit the FCoE protocol and data packets.
  • the message transmission apparatus is implemented by the ENode module 82, the FCF/VXLAN access switch module 84, and the VXLAN network module 86.
  • the FCID information stored in the FCF creates a virtual scalable LAN VXLAN tunnel that supports the FCoE service, and transmits the FCoE data packet to be transmitted in the first FCF to the second FCF through the VXLAN tunnel, thereby solving the related art in the large virtual logic.
  • each switch When FCoE data is transmitted in the network, each switch must support the FCF function, which causes the FCoE data transmission to be inflexible. It extends the application scenarios of FCoE in large virtual logical Ethernet scenarios, and enhances FC network and Ethernet. Convergence.
  • modules or steps of the present invention can be implemented with a general purpose computing device. Implementations of the various modules or steps of the present invention can be centralized on a single computing device or distributed across a network of multiple computing devices. Modules or steps of the present invention may be implemented with program code executable by a computing device, such that the storage may be performed by the computing device in a storage device, and in some cases, may be performed in accordance with embodiments of the present invention. The steps shown or described are performed in a different order than described herein. Modules or steps of the present invention may be implemented as respective integrated circuit modules, or multiple of them may be implemented as a single integrated circuit module, in accordance with an embodiment of the present invention. Thus, the invention is not limited to any specific combination of hardware and software.

Abstract

Provided are a message transmission method and device. The method comprises: according to FCoE node identifier information stored in a first FCoE forwarder, creating a VXLAN channel for supporting an FCoE service, wherein the VXLAN channel connects the first FCoE forwarder and a second FCoE forwarder; and transmitting a FCoE data message to be transmitted in the first FCoE forwarder to the second FCoE forwarder via the VXLAN channel.

Description

报文传输方法及装置Message transmission method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种报文传输方法及装置。The present invention relates to the field of communications, and in particular to a message transmission method and apparatus.
背景技术Background technique
以太网光纤通道(Fiber Channel over Ethernet,FCoE)技术的诞生源于对于整合的需求。FCoE并不是要代替传统的光纤通道技术,而是在不同连接传输层上对光纤通道进行拓展。FCoE建立虚链路主要分为三个阶段,分别是FCoE初始化协议(FCoE Initialization Protocol,FIP)虚拟局域网(Virtual Local Area Network,VLAN)发现阶段、FIP FCoE转发器(FCoE Forwarder,FCF)发现阶段和交换机登陆阶段。FIP用来发现、初始化和维护FCoE设备。FIP的以太网类型不同于FCoE的以太网类型。FIP用来发现、初始化和维护FCoE虚拟链路,其流量不同于其他的FCoE流量。The birth of Fiber Channel over Ethernet (FCoE) technology stems from the need for integration. FCoE is not intended to replace traditional Fibre Channel technology, but to extend Fibre Channel over different connected transport layers. The FCoE virtual link is divided into three phases: the FCoE Initialization Protocol (FIP) Virtual Local Area Network (VLAN) discovery phase, and the FIP FCoE Forwarder (FCF) discovery phase. Switch login phase. FIP is used to discover, initialize, and maintain FCoE devices. The Ethernet type of FIP is different from the Ethernet type of FCoE. FIP is used to discover, initialize, and maintain FCoE virtual links with different traffic than other FCoE traffic.
随着大数据的到来和人们对数据信息需求的日益增强,单一的FCoE技术已经不能完全满足复杂多变的网络环境。在大型虚拟逻辑网络(例如,虚拟可扩展局域网(Virtual eXtensible Local Area Network,VXLAN))中传输FCoE数据的情况下,如果使用传统的FCoE技术,则需要每台交换机都要支持FCF功能,并且要占有一定的VLAN资源,从而限制了业务的灵活性。With the advent of big data and the increasing demand for data information, a single FCoE technology can not fully meet the complex and varied network environment. In the case of FCoE data transmission in a large virtual logical network (for example, Virtual eXtensible Local Area Network (VXLAN)), if traditional FCoE technology is used, each switch needs to support FCF function, and It has a certain amount of VLAN resources, which limits the flexibility of the business.
发明内容Summary of the invention
本发明提供了一种报文传输方法及装置,以至少解决相关技术中在大型虚拟逻辑网络中传输FCoE数据的情况下需要每台交换机都必须支持FCF功能,从而导致FCoE数据传输不灵活的问题。The present invention provides a packet transmission method and apparatus, so as to solve at least the problem that the FCF function must be supported by each switch in the case of transmitting FCoE data in a large virtual logical network in the related art, thereby causing inflexibility of FCoE data transmission. .
根据本发明的一个方面,提供了一种报文传输方法,包括:根据第一FCF中存储的FCoE节点标识符信息创建支持FCoE业务的VXLAN隧道,其中,所述VXLAN隧道连接第一FCF和第二FCF;以及 将第一FCF中待传输的FCoE数据报文通过所述VXLAN隧道传输给第二FCF。According to an aspect of the present invention, a message transmission method is provided, including: creating a VXLAN tunnel supporting FCoE services according to FCoE node identifier information stored in a first FCF, wherein the VXLAN tunnel is connected to a first FCF and a Two FCF; and The FCoE data packet to be transmitted in the first FCF is transmitted to the second FCF through the VXLAN tunnel.
根据本发明的另一方面,提供了一种报文传输装置,包括:创建模块,用于根据第一FCF中存储的FCoE节点标识符信息创建支持FCoE业务的VXLAN隧道,其中,所述VXLAN隧道连接第一FCF和第二FCF;以及传输模块,用于将第一FCF中待传输的FCoE数据报文通过所述VXLAN隧道传输给第二FCF。According to another aspect of the present invention, a packet transmission apparatus is provided, including: a creating module, configured to create a VXLAN tunnel supporting FCoE services according to FCoE node identifier information stored in a first FCF, wherein the VXLAN tunnel Connecting the first FCF and the second FCF; and the transmitting module, configured to transmit the FCoE data packet to be transmitted in the first FCF to the second FCF through the VXLAN tunnel.
附图说明DRAWINGS
本公开的说明书附图用来提供对本发明构思的进一步理解,并且构成本申请的一部分。本发明的示意性实施例及其说明用于解释本发明构思,并且不构成对本发明的不当限定。在附图中:The drawings of the present disclosure are intended to provide a further understanding of the concepts of the present invention and constitute a part of this application. The illustrative embodiments of the present invention and the description thereof are intended to explain the present invention and are not intended to limit the invention. In the drawing:
图1是根据本发明实施例的报文传输方法的流程图;1 is a flowchart of a message transmission method according to an embodiment of the present invention;
图2是根据本发明另一实施例的报文传输方法的流程图;2 is a flowchart of a message transmission method according to another embodiment of the present invention;
图3是根据本发明实施例的报文传输装置的结构框图;3 is a block diagram showing the structure of a message transmission apparatus according to an embodiment of the present invention;
图4是图3所示的根据本发明实施例的报文传输装置的创建模块的结构框图;4 is a structural block diagram of a creation module of a message transmission apparatus according to an embodiment of the present invention shown in FIG. 3;
图5是图3所示的根据本发明实施例的报文传输装置的传输模块的结构框图;5 is a structural block diagram of a transmission module of the message transmission apparatus according to the embodiment of the present invention shown in FIG. 3;
图6是根据本发明另一实施例的报文传输装置的结构框图;FIG. 6 is a structural block diagram of a message transmission apparatus according to another embodiment of the present invention; FIG.
图7是图6所示的根据本发明示例的报文传输装置中的解封装单元的结构框图;以及7 is a structural block diagram of a decapsulation unit in a message transmission apparatus according to an example of the present invention shown in FIG. 6;
图8是根据本发明另一实施例的报文传输装置的结构框图。FIG. 8 is a block diagram showing the structure of a message transmission apparatus according to another embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及附图中的术语“第一”、“第二”等仅用于对类似的对象进行区分,而不是进行限 定也不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the specification and claims of the present invention and the drawings are only used to distinguish similar objects instead of limiting. It is also not necessary to describe a particular order or order.
图1是根据本发明实施例的报文传输方法的流程图。1 is a flow chart of a message transmission method according to an embodiment of the present invention.
如图1所示,根据本发明实施例的报文传输方法可以包括步骤S102和S104。As shown in FIG. 1, a message transmission method according to an embodiment of the present invention may include steps S102 and S104.
在步骤S102,根据第一FCF中存储的FCoE节点标识符(FCoE Node Identifier,FCID)信息创建支持FCoE业务的VXLAN隧道,其中,所述VXLAN隧道连接第一FCF和第二FCF。In the step S102, a VXLAN tunnel supporting the FCoE service is created according to the FCoE Node Identifier (FCID) information stored in the first FCF, where the VXLAN tunnel connects the first FCF and the second FCF.
根据本发明的实施例,步骤S102可以包括:获取FCID信息中携带的目的FCID;将与目的FCID相对应的FCF确定为第二FCF;以及在第一FCF与第二FCF之间创建支持FCoE业务的VXLAN隧道。According to an embodiment of the present invention, step S102 may include: acquiring a destination FCID carried in the FCID information; determining an FCF corresponding to the destination FCID as the second FCF; and creating a support FCoE service between the first FCF and the second FCF VXLAN tunnel.
在步骤S104,将第一FCF中待传输的FCoE数据报文通过VXLAN隧道传输给第二FCF。In step S104, the FCoE data packet to be transmitted in the first FCF is transmitted to the second FCF through the VXLAN tunnel.
根据本发明的实施例,步骤S104可以包括:为FCoE数据报文封装VXLAN报文头;以及根据FCID信息中携带的目的FCID,将封装有VXLAN报文头的FCoE数据报文传输给与目的FCID对应的第二FCF。According to the embodiment of the present invention, the step S104 may include: encapsulating a VXLAN packet header for the FCoE data packet; and transmitting the FCoE data packet encapsulating the VXLAN packet header to the destination FCID according to the destination FCID carried in the FCID information. Corresponding second FCF.
根据本发明的实施例,在将封装有VXLAN报文头的FCoE数据报文传输给与目的FCID对应的第二FCF之后,第二FCF可以将封装有VXLAN报文头的FCoE数据报文进行解封装以得到光纤通道(Fiber Channel,FC)报文,并获取FC报文中的目的FCID,其中,FC报文携带有FCID信息。根据目的FCID查询第二FCF的转发表,以获取转发表中与FCID对应的第二FCoE节点。将为FC报文封装以太网报文头后生成的FCoE数据报文发送给第二FCoE节点。According to the embodiment of the present invention, after the FCoE data packet encapsulating the VXLAN packet header is transmitted to the second FCF corresponding to the destination FCID, the second FCF may decompose the FCoE data packet encapsulating the VXLAN packet header. The packet is obtained to obtain a Fibre Channel (FC) packet, and the destination FCID in the FC packet is obtained. The FC packet carries the FCID information. The forwarding table of the second FCF is queried according to the destination FCID to obtain a second FCoE node corresponding to the FCID in the forwarding table. The FCoE data packet generated after the Ethernet packet header is encapsulated in the FC packet is sent to the second FCoE node.
根据本发明的实施例,可以对封装有VXLAN报文头的FCoE数据报文执行第一解封装,以获取FCoE数据报文,并且对FCoE数据报文执行第二解封装,以获取FC报文。通过解析FC报文可以获取目的FCID。According to the embodiment of the present invention, the FCoE data packet encapsulated with the VXLAN packet header may be first decapsulated to obtain the FCoE data packet, and the second decapsulation is performed on the FCoE data packet to obtain the FC packet. . The destination FCID can be obtained by parsing the FC message.
根据本发明的实施例,可以通过将FCoE数据报文解封装并去除以太网报文头来执行对于FCoE数据报文的第二解封装,以获取FC报文。According to an embodiment of the present invention, the second decapsulation of the FCoE data message may be performed by decapsulating the FCoE data packet and removing the Ethernet packet header to obtain the FC message.
根据本发明的实施例,当识别出第一FCoE节点发送的FIP协议 报文中携带有FCID信息时,可以将所述FCID信息存储在第一FCF的路由表中。According to an embodiment of the present invention, when the FIP protocol sent by the first FCoE node is identified When the message carries the FCID information, the FCID information may be stored in the routing table of the first FCF.
根据本发明实施例的报文传输方法,根据第一FCF中存储的FCID信息创建支持FCoE业务的VXLAN隧道,该VXLAN隧道连接第一FCF和第二FCF,并且将第一FCF中待传输的FCoE数据报文通过VXLAN隧道传输给第二FCF。从而,在VXLAN以太网隧道的基础上提供了FCoE报文在以太网上传输的一种新方法。可以根据FCF存储的FCID对VXLAN隧道的更新,使得可以在该VXLAN隧道中识别和传输FCoE数据报文。这种方法提供了FCoE技术在大型虚拟网络中的一种应用场景,同时也增加了FCoE与以太网的融合性。According to the packet transmission method of the embodiment of the present invention, a VXLAN tunnel supporting the FCoE service is created according to the FCID information stored in the first FCF, and the VXLAN tunnel connects the first FCF and the second FCF, and the FCoE to be transmitted in the first FCF Data packets are transmitted to the second FCF through the VXLAN tunnel. Thus, a new method for transmitting FCoE messages over Ethernet is provided on the basis of the VXLAN Ethernet tunnel. The VXLAN tunnel can be updated according to the FCID stored by the FCF so that FCoE data packets can be identified and transmitted in the VXLAN tunnel. This approach provides an application scenario for FCoE technology in large virtual networks, while also increasing the convergence of FCoE and Ethernet.
图2是根据本发明另一实施例的报文传输方法的流程图。2 is a flow chart of a message transmission method according to another embodiment of the present invention.
如图2所示,根据本发明实施例的报文传输方法可以包括步骤S201至S211。As shown in FIG. 2, the message transmission method according to an embodiment of the present invention may include steps S201 to S211.
在步骤S201,对FCF、FCoE节点(FCoE Node,ENode)和VXLAN进行初始化配置。In step S201, the FCF, the FCoE node (FCoE Node, ENode), and the VXLAN are initially configured.
在步骤S202,ENode向FCF发送FIP协议报文,以请求建立FIP虚拟链路。In step S202, the ENode sends a FIP protocol packet to the FCF to request to establish a FIP virtual link.
在步骤S203:FCF根据收到的FIP协议报文,建立FIP虚拟链路,并为ENode分配Fabric提供MAC地址(Fabric Provided MAC Address,FPMA)。In step S203, the FCF establishes a FIP virtual link according to the received FIP protocol packet, and allocates a Fabric Provided MAC Address (FPMA) to the ENode.
在步骤S204:VXLAN网络根据ENode的FCoE路由信息(即,FCID信息)创建具有FCoE特征的VXLAN隧道,并更新VXLAN隧道。In step S204: the VXLAN network creates a VXLAN tunnel with FCoE characteristics according to the ECo's FCoE routing information (ie, FCID information), and updates the VXLAN tunnel.
在步骤S205:第一ENode将FCoE数据报文发送至第一FCF。In step S205, the first ENode sends the FCoE data message to the first FCF.
在步骤S206:第一FCF根据FCID信息中携带的目的FCID判断是否经由VXLAN隧道进行传递。In step S206, the first FCF determines whether to transmit via the VXLAN tunnel according to the destination FCID carried in the FCID information.
在步骤S207:如果判断结果为经由VXLAN隧道进行传递,则为FCoE数据报文封装VXLAN报文头,并通过VXLAN隧道发送给第二FCF;In step S207: if the result of the determination is that the transmission is via the VXLAN tunnel, the VXLAN packet header is encapsulated for the FCoE data packet, and sent to the second FCF through the VXLAN tunnel;
在步骤S208:第二FCF收到封装有VXLAN报文头FCoE数据报文,执行解封装以去掉VXLAN报文头。In step S208, the second FCF receives the FCoE data packet encapsulated with the VXLAN packet header, and performs decapsulation to remove the VXLAN packet header.
在步骤S209:第二FCF判断是二层交换还是三层交换。 In step S209, the second FCF determines whether it is a two-layer exchange or a three-layer exchange.
在步骤S210:在判决是三层交换的情况下,查询FCoE三层路由表,并按照查找结果将FCoE数据报文转发给第二ENode。In step S210, in the case that the decision is a three-layer exchange, the FCoE Layer 3 routing table is queried, and the FCoE data packet is forwarded to the second ENode according to the search result.
在步骤S211:在判决是二层交换的情况下,查询FCoE二层转发表,并按照查找结果将FCoE数据报文转发给第二ENode。In step S211, in the case that the decision is a Layer 2 switching, the FCoE Layer 2 forwarding table is queried, and the FCoE data packet is forwarded to the second ENode according to the search result.
根据本发明实施例的报文传输方法,解决了相关技术中在大型虚拟逻辑网络中传输FCoE数据的情况下需要每台交换机都必须支持FCF功能,从而导致FCoE数据传输不灵活的问题,扩展了FCoE技术在大型虚拟逻辑以太网场景中的应用场景,增强了FC网络与以太网的融合性。The message transmission method according to the embodiment of the present invention solves the problem that in the related art, when the FCoE data is transmitted in a large virtual logical network, each switch must support the FCF function, thereby causing inflexibility of FCoE data transmission, and expanding the problem. The application scenario of FCoE technology in a large virtual logical Ethernet scenario enhances the convergence of FC network and Ethernet.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据实施例的报文传输方法可借助软件加以通用硬件平台的方式来实现,当然也可以仅通过硬件来实现。本发明构思的技术方案可以以计算机软件产品的形式体现,该计算机软件产品存储在存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得终端设备(例如,手机、计算机、服务器或者网络设备等)执行根据本发明各个实施例的报文传输方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the message transmission method according to the embodiment can be implemented by means of software in a general hardware platform, and of course, can also be implemented only by hardware. The technical solution of the inventive concept may be embodied in the form of a computer software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), and includes a plurality of instructions for causing a terminal device (for example, a mobile phone or a computer) A server, a network device, or the like) performs a message transmission method according to various embodiments of the present invention.
图3是根据本发明实施例的报文传输装置的结构框图。根据该实施例的报文传输装置用于实现根据前述实施的报文传输方法。对于已经说明的部分不再赘述。FIG. 3 is a block diagram showing the structure of a message transmission apparatus according to an embodiment of the present invention. The message transmission apparatus according to this embodiment is for implementing the message transmission method according to the foregoing implementation. The details that have already been explained will not be described again.
如本文所使用的那样,术语“模块”可以是实现预定功能的软件和/或硬件的组合。虽然根据以下描述的实施例的报文传输装置可以理解为利用软件模块来来实现,但是通过硬件或者软件和硬件的组合也可以实现本发明构思的技术方案。As used herein, the term "module" can be a combination of software and/or hardware that implements a predetermined function. Although the message transmission apparatus according to the embodiment described below can be understood to be implemented by using a software module, the technical solution of the inventive concept can also be implemented by hardware or a combination of software and hardware.
如图3所示,根据本发明实施例的报文传输装置300可以包括创建模块32和传输模块34。创建模块32用于根据第一FCF中存储的FCID信息创建支持FCoE业务的VXLAN隧道,其中,该VXLAN隧道连接第一FCF和第二FCF。传输模块34用于将第一FCF中待传输的FCoE数据报文通过VXLAN隧道传输给第二FCF。As shown in FIG. 3, the message transmission apparatus 300 according to an embodiment of the present invention may include a creation module 32 and a transmission module 34. The creating module 32 is configured to create a VXLAN tunnel supporting the FCoE service according to the FCID information stored in the first FCF, where the VXLAN tunnel connects the first FCF and the second FCF. The transmission module 34 is configured to transmit the FCoE data packet to be transmitted in the first FCF to the second FCF through the VXLAN tunnel.
图4是图3所示的根据本发明实施例的报文传输装置300的创建模块32的结构框图。 FIG. 4 is a block diagram showing the structure of the creation module 32 of the message transmission apparatus 300 shown in FIG. 3 according to an embodiment of the present invention.
如图4所示,创建模块32可以包括第一获取单元322、确定单元324和创建单元326。第一获取单元322用于获取FCID信息中携带的目的FCID。确定单元324用于将与目的FCID相对应的FCF确定为第二FCF。创建单元326用于在第一FCF与第二FCF之间创建支持FCoE业务的VXLAN隧道。As shown in FIG. 4, the creation module 32 can include a first acquisition unit 322, a determination unit 324, and a creation unit 326. The first obtaining unit 322 is configured to acquire the destination FCID carried in the FCID information. The determining unit 324 is configured to determine the FCF corresponding to the destination FCID as the second FCF. The creating unit 326 is configured to create a VXLAN tunnel supporting the FCoE service between the first FCF and the second FCF.
图5是图3所示的根据本发明实施例的报文传输装置300的传输模块34的结构框图。FIG. 5 is a block diagram showing the structure of a transmission module 34 of the message transmission apparatus 300 shown in FIG. 3 according to an embodiment of the present invention.
如图5所示,传输模块34可以包括封装的那样342和传输单元344。封装单元342用于为FCoE数据报文封装VXLAN报文头。传输单元344用于根据FCID信息中携带的目的FCID,将封装有VXLAN报文头的FCoE数据报文传输给与目的FCID对应的第二FCF。As shown in FIG. 5, the transmission module 34 can include a package 342 and a transmission unit 344. The encapsulating unit 342 is configured to encapsulate the VXLAN packet header for the FCoE data packet. The transmitting unit 344 is configured to transmit the FCoE data packet encapsulating the VXLAN packet header to the second FCF corresponding to the destination FCID according to the destination FCID carried in the FCID information.
图6是根据本发明另一实施例的报文传输装置的结构框图。FIG. 6 is a structural block diagram of a message transmission apparatus according to another embodiment of the present invention.
如图6所示,与图3所示的实施例相比,根据本实施例的报文传输装置600还可以包括解封装单元62、第二获取单元64和发送单元66。解封装单元62用于将封装有VXLAN报文头的FCoE数据报文进行解封装以得到FC报文,并获取FC报文中的目的FCID,其中,FC报文携带有所述FCID信息。第二获取单元64用于根据目的FCID查询第二FCF的转发表,以获取转发表中与FCID对应的第二FCoE节点。发送单元66用于将为FC报文封装以太网报文头后生成的FCoE数据报文发送给第二FCoE节点。As shown in FIG. 6, the message transmission apparatus 600 according to the present embodiment may further include a decapsulation unit 62, a second acquisition unit 64, and a transmission unit 66, as compared with the embodiment shown in FIG. The decapsulation unit 62 is configured to decapsulate the FCoE data packet encapsulated with the VXLAN packet header to obtain the FC message, and obtain the destination FCID in the FC message, where the FC message carries the FCID information. The second obtaining unit 64 is configured to query the forwarding table of the second FCF according to the destination FCID to obtain the second FCoE node corresponding to the FCID in the forwarding table. The sending unit 66 is configured to send the FCoE data packet generated after the Ethernet packet header is encapsulated to the second FCoE node.
图7是图6所示的根据本发明示例的报文传输装置600中的解封装单元62的结构框图。FIG. 7 is a block diagram showing the structure of the decapsulation unit 62 in the message transmission apparatus 600 according to the example of the present invention shown in FIG. 6.
如图7所示,解封装单元62可以包括第一解封装子单元622、第二解封装子单元624和解析子单元626。第一解封装子单元622用于对封装有VXLAN报文头的FCoE数据报文执行第一解封装,以获取FCoE数据报文。第二解封装子单元624用于对FCoE数据报文执行第二解封装,以获取FC报文。解析子单元626用于解析并获取FC报文中的目的FCID。As shown in FIG. 7, the decapsulation unit 62 can include a first decapsulation subunit 622, a second decapsulation subunit 624, and a parsing subunit 626. The first decapsulation sub-unit 622 is configured to perform a first decapsulation on the FCoE data packet encapsulated with the VXLAN packet header to obtain the FCoE data packet. The second decapsulation sub-unit 624 is configured to perform a second decapsulation on the FCoE data packet to obtain the FC message. The parsing sub-unit 626 is configured to parse and obtain the destination FCID in the FC message.
根据本发明的实施例,第二解封装子单元624可以通过将FCoE数据报文解封装并去除以太网报文头来执行对于FCoE数据报文的第 二解封装,以获取FC报文。According to an embodiment of the present invention, the second decapsulation subunit 624 may perform the first for the FCoE data message by decapsulating the FCoE data message and removing the Ethernet message header. The second decapsulation is to obtain the FC message.
根据本发明的实施例,报文传输装置600还可以包括存储模块36。当识别出第一FCoE节点发送的FIP协议报文中携带有FCID信息时,存储模块36将FCID信息存储在第一FCF的路由表中。According to an embodiment of the present invention, the message transmission device 600 may further include a storage module 36. When it is recognized that the FIP protocol packet sent by the first FCoE node carries the FCID information, the storage module 36 stores the FCID information in the routing table of the first FCF.
根据本实施例的报文传输装置,通过创建模块32和传输模块34实现了根据第一FCF中存储的FCID信息创建支持FCoE业务的虚拟可扩展局域网VXLAN隧道,并且将第一FCF中待传输的FCoE数据报文通过VXLAN隧道传输给第二FCF,从而解决了相关技术中在大型虚拟逻辑网络中传输FCoE数据的情况下需要每台交换机都必须支持FCF功能,从而导致FCoE数据传输不灵活的问题,扩展了FCoE在大型虚拟逻辑以太网场景中的应用场景,增强了FC网络与以太网的融合性。According to the message transmission apparatus of the present embodiment, the virtual extension LAN VXLAN tunnel supporting the FCoE service is created according to the FCID information stored in the first FCF, and the to-be-transmitted in the first FCF is implemented by the creation module 32 and the transmission module 34. The FCoE data packet is transmitted to the second FCF through the VXLAN tunnel, which solves the problem that the FCF function must be supported by each switch in the case of transmitting FCoE data in a large virtual logical network in the related art, thereby causing inflexibility of FCoE data transmission. It expands the application scenario of FCoE in large virtual logical Ethernet scenarios and enhances the integration of FC network and Ethernet.
图8是根据本发明另一实施例的报文传输装置的结构框图。FIG. 8 is a block diagram showing the structure of a message transmission apparatus according to another embodiment of the present invention.
如图8所示,根据本实施例的报文传输装置可以包括ENode模块82、FCF/VXLAN接入交换机模块84和VXLAN网络模块86。As shown in FIG. 8, the message transmission apparatus according to the present embodiment may include an ENode module 82, an FCF/VXLAN access switch module 84, and a VXLAN network module 86.
ENode模块82用于FCoE虚拟链路的建立以及FIP协议报文和FCoE数据报文的发送和接收。The ENode module 82 is used for establishing an FCoE virtual link and transmitting and receiving FIP protocol packets and FCoE data packets.
根据本发明的实施例,ENode模块82可以用于设置FCoE的建立链接配置,其包括(但不限于)VLAN、WWPN、WWNN和FC-MAP等。建立链接时,ENode模块82可以主动发送FIP协议报文至FCF。In accordance with an embodiment of the present invention, the ENode module 82 can be used to set up an FCoE setup link configuration including, but not limited to, VLAN, WWPN, WWNN, FC-MAP, and the like. When the link is established, the ENode module 82 can actively send the FIP protocol packet to the FCF.
FCF/VXLAN接入交换机模块84用于接收ENode模块82发送的FIP协议报文、与ENode模块82建立虚链路、与VXLAN网络模块86建立VXLAN隧道、并接受和转发FCoE数据报文;The FCF/VXLAN access switch module 84 is configured to receive the FIP protocol packet sent by the ENode module 82, establish a virtual link with the ENode module 82, establish a VXLAN tunnel with the VXLAN network module 86, and accept and forward the FCoE data packet.
根据本发明的实施例,FCF/VXLAN接入交换机模块84既是FCoE链路一部分,又是VXLAN网络的一部分。因此,要求FCF/VXLAN接入交换机模块84既能够封装和解封装FCoE报文头,又能够封装和解封装VXLAN报文头。In accordance with an embodiment of the present invention, the FCF/VXLAN access switch module 84 is both part of the FCoE link and part of the VXLAN network. Therefore, the FCF/VXLAN access switch module 84 is required to encapsulate and decapsulate FCoE headers, and to encapsulate and decapsulate VXLAN headers.
VXLAN网络模块86用于建立以目的FCID为基础的VXLAN以太网隧道,并对FCoE协议和数据报文进行透明传输。The VXLAN network module 86 is used to establish a VXLAN Ethernet tunnel based on the destination FCID and transparently transmit the FCoE protocol and data packets.
根据本本发明实施例的报文传输装置,通过ENode模块82、FCF/VXLAN接入交换机模块84和VXLAN网络模块86实现了根据第一 FCF中存储的FCID信息创建支持FCoE业务的虚拟可扩展局域网VXLAN隧道,并且将第一FCF中待传输的FCoE数据报文通过VXLAN隧道传输给第二FCF,从而解决了相关技术中在大型虚拟逻辑网络中传输FCoE数据的情况下需要每台交换机都必须支持FCF功能,从而导致FCoE数据传输不灵活的问题,扩展了FCoE在大型虚拟逻辑以太网场景中的应用场景,增强了FC网络与以太网的融合性。The message transmission apparatus according to the embodiment of the present invention is implemented by the ENode module 82, the FCF/VXLAN access switch module 84, and the VXLAN network module 86. The FCID information stored in the FCF creates a virtual scalable LAN VXLAN tunnel that supports the FCoE service, and transmits the FCoE data packet to be transmitted in the first FCF to the second FCF through the VXLAN tunnel, thereby solving the related art in the large virtual logic. When FCoE data is transmitted in the network, each switch must support the FCF function, which causes the FCoE data transmission to be inflexible. It extends the application scenarios of FCoE in large virtual logical Ethernet scenarios, and enhances FC network and Ethernet. Convergence.
本领域的技术人员应该明白,本发明的各模块或各步骤可以用通用的计算装置来实现。本发明的各模块或各步骤的实现可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上。根据本发明的实施例,本发明的各模块或各步骤可以用计算装置可执行的程序代码来实现,从而,可以将存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于本文所述的顺序执行所示出或描述的步骤。根据本发明的实施例,可以将本发明的各模块或各步骤分别实现为各个集成电路模块,或者将它们中的多个模块或步骤实现为单个集成电路模块。这样,本发明不限制于任何特定的硬件和软件结合。Those skilled in the art will appreciate that the various modules or steps of the present invention can be implemented with a general purpose computing device. Implementations of the various modules or steps of the present invention can be centralized on a single computing device or distributed across a network of multiple computing devices. Modules or steps of the present invention may be implemented with program code executable by a computing device, such that the storage may be performed by the computing device in a storage device, and in some cases, may be performed in accordance with embodiments of the present invention. The steps shown or described are performed in a different order than described herein. Modules or steps of the present invention may be implemented as respective integrated circuit modules, or multiple of them may be implemented as a single integrated circuit module, in accordance with an embodiment of the present invention. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (14)

  1. 一种报文传输方法,包括:A message transmission method includes:
    根据第一以太网光纤通道转发器FCF中存储的以太网光纤通道FCoE节点标识符FCID信息创建支持FCoE业务的虚拟可扩展局域网VXLAN隧道,其中,所述VXLAN隧道连接所述第一FCF和第二FCF;以及Creating a virtual scalable local area network VXLAN tunnel supporting FCoE services according to the Fibre Channel over Ethernet FCoE node identifier FCID information stored in the first Fibre Channel Forwarder FCF, wherein the VXLAN tunnel connects the first FCF and the second FCF; and
    将所述第一FCF中待传输的FCoE数据报文通过所述VXLAN隧道传输给所述第二FCF。And transmitting, by the VXLAN tunnel, the FCoE data packet to be transmitted in the first FCF to the second FCF.
  2. 根据权利要求1所述的方法,其中,根据第一FCF中存储的FCID信息创建支持FCoE业务的VXLAN隧道的步骤包括:The method of claim 1, wherein the step of creating a VXLAN tunnel supporting the FCoE service according to the FCID information stored in the first FCF comprises:
    获取所述FCID信息中携带的目的FCID;Obtaining the destination FCID carried in the FCID information;
    将与所述目的FCID相对应的FCF确定为所述第二FCF;以及Determining an FCF corresponding to the destination FCID as the second FCF;
    在所述第一FCF与所述第二FCF之间创建支持FCoE业务的VXLAN隧道。A VXLAN tunnel supporting the FCoE service is created between the first FCF and the second FCF.
  3. 根据权利要求1所述的方法,其中,将所述第一FCF中待传输的FCoE数据报文通过所述VXLAN隧道传输给所述第二FCF的步骤包括:The method of claim 1, wherein the step of transmitting the FCoE data message to be transmitted in the first FCF to the second FCF through the VXLAN tunnel comprises:
    为所述FCoE数据报文封装VXLAN报文头;以及Encapsulating a VXLAN packet header for the FCoE data packet;
    根据所述FCID信息中携带的目的FCID,将封装有VXLAN报文头的FCoE数据报文传输给与所述目的FCID对应的第二FCF。And transmitting, according to the destination FCID carried in the FCID information, the FCoE data packet encapsulating the VXLAN packet header to the second FCF corresponding to the destination FCID.
  4. 根据权利要求3所述的方法,其中,在将封装有VXLAN报文头的FCoE数据报文传输给与所述目的FCID对应的第二FCF之后,所述方法还包括:The method of claim 3, wherein after the FCoE data packet encapsulating the VXLAN packet header is transmitted to the second FCF corresponding to the destination FCID, the method further includes:
    将封装有VXLAN报文头的FCoE数据报文进行解封装以得到光纤通道FC报文,并获取所述FC报文中的目的FCID,其中,所述FC报文携带有所述FCID信息; The FCoE data packet encapsulated with the VXLAN packet header is decapsulated to obtain the Fibre Channel FC packet, and the destination FCID in the FC packet is obtained, where the FC packet carries the FCID information;
    根据所述目的FCID查询所述第二FCF的转发表,以获取所述转发表中与所述FCID对应的第二FCoE节点;以及Querying, according to the destination FCID, a forwarding table of the second FCF, to obtain a second FCoE node corresponding to the FCID in the forwarding table;
    将为所述FC报文封装以太网报文头后生成的FCoE数据报文发送给所述第二FCoE节点。The FCoE data packet generated after the Ethernet packet header is encapsulated in the FC packet is sent to the second FCoE node.
  5. 根据权利要求4所述的方法,其中,将封装有VXLAN报文头的FCoE数据报文进行解封装以得到FC报文,并获取所述FC报文中的目的FCID的步骤包括:The method of claim 4, wherein the step of decapsulating the FCoE data packet encapsulating the VXLAN packet header to obtain the FC message and obtaining the destination FCID in the FC packet includes:
    对封装有VXLAN报文头的FCoE数据报文执行第一解封装,以获取所述FCoE数据报文;Performing a first decapsulation on the FCoE data packet encapsulated with the VXLAN packet header to obtain the FCoE data packet;
    对所述FCoE数据报文执行第二解封装,以获取所述FC报文;以及Performing a second decapsulation on the FCoE data packet to obtain the FC packet;
    解析并获取所述FC报文中的目的FCID。Parsing and obtaining the destination FCID in the FC message.
  6. 根据权利要求5所述的方法,其中,将所述FCoE数据报文进行第二解封装的步骤包括:The method of claim 5, wherein the step of performing the second decapsulation of the FCoE data message comprises:
    将所述FCoE数据报文解封装并去除以太网报文头,以获取所述FC报文。The FCoE data packet is decapsulated and the Ethernet packet header is removed to obtain the FC packet.
  7. 根据权利要求1至6任一项所述的方法,其中,在根据第一FCF中存储的FCID信息创建支持FCoE业务的VXLAN隧道之前,所述方法还包括:The method according to any one of claims 1 to 6, wherein before the VXLAN tunnel supporting the FCoE service is created according to the FCID information stored in the first FCF, the method further includes:
    当识别出第一FCoE节点发送的以太网光纤通道初始化协议FIP协议报文中携带有FCID信息时,将所述FCID信息存储在所述第一FCF的路由表中。The FCID information is stored in the routing table of the first FCF when it is identified that the Fibre Channel Initialization Protocol FIP protocol packet sent by the first FCoE node carries the FCID information.
  8. 一种报文传输装置,包括:A message transmission device comprising:
    创建模块,用于根据第一以太网光纤通道转发器FCF中存储的以太网光纤通道FCoE节点标识符FCID信息创建支持FCoE业务的虚拟可扩展局域网VXLAN隧道,其中,所述VXLAN隧道连接所述第一 FCF和第二FCF;以及a creating module, configured to create a virtual scalable local area network VXLAN tunnel supporting FCoE services according to the Fibre Channel FCoE node identifier FCID information stored in the first Fibre Channel Forwarder FCF, where the VXLAN tunnel connects the One FCF and second FCF;
    传输模块,用于将所述第一FCF中待传输的FCoE数据报文通过所述VXLAN隧道传输给所述第二FCF。And a transmission module, configured to transmit the FCoE data packet to be transmitted in the first FCF to the second FCF through the VXLAN tunnel.
  9. 根据权利要求8所述的装置,其中于,所述创建模块包括:The apparatus of claim 8, wherein the creating module comprises:
    第一获取单元,用于获取所述FCID信息中携带的目的FCID;a first acquiring unit, configured to acquire a destination FCID carried in the FCID information;
    确定单元,用于将与所述目的FCID相对应的FCF确定为所述第二FCF;以及a determining unit, configured to determine an FCF corresponding to the destination FCID as the second FCF;
    创建单元,用于在所述第一FCF与所述第二FCF之间创建支持FCoE业务的VXLAN隧道。And a creating unit, configured to create a VXLAN tunnel supporting the FCoE service between the first FCF and the second FCF.
  10. 根据权利要求8所述的装置,其中,所述传输模块包括:The apparatus of claim 8 wherein said transmission module comprises:
    封装单元,用于为所述FCoE数据报文封装VXLAN报文头;以及a packaging unit, configured to encapsulate a VXLAN packet header for the FCoE data packet;
    传输单元,用于根据所述FCID信息中携带的目的FCID,将封装有VXLAN报文头的FCoE数据报文传输给与所述目的FCID对应的第二FCF。The transmitting unit is configured to transmit, according to the destination FCID carried in the FCID information, the FCoE data packet encapsulated with the VXLAN packet header to the second FCF corresponding to the destination FCID.
  11. 根据权利要求10所述的装置,还包括:The apparatus of claim 10 further comprising:
    解封装单元,用于将封装有VXLAN报文头的FCoE数据报文进行解封装以得到光纤通道FC报文,并获取所述FC报文中的目的FCID,其中,所述FC报文携带有所述FCID信息;a decapsulation unit, configured to decapsulate a FCoE data packet encapsulating a VXLAN packet header to obtain a Fibre Channel FC packet, and obtain a destination FCID in the FC packet, where the FC packet carries The FCID information;
    第二获取单元,用于根据所述目的FCID查询所述第二FCF的转发表,以获取所述转发表中与所述FCID对应的第二FCoE节点;以及a second obtaining unit, configured to query, according to the destination FCID, a forwarding table of the second FCF, to obtain a second FCoE node corresponding to the FCID in the forwarding table;
    发送单元,用于将为所述FC报文封装以太网报文头后生成的FCoE数据报文发送给所述第二FCoE节点。And a sending unit, configured to send, to the second FCoE node, the FCoE data packet generated after the Ethernet packet header is encapsulated in the FC packet.
  12. 根据权利要求11所述的装置,其中,所述解封装单元包括:The apparatus of claim 11, wherein the decapsulation unit comprises:
    第一解封装子单元,用于对封装有VXLAN报文头的FCoE数据报文执行第一解封装,以获取所述FCoE数据报文;a first decapsulating sub-unit, configured to perform a first decapsulation on the FCoE data packet encapsulated with the VXLAN packet header to obtain the FCoE data packet;
    第二解封装子单元,用于对所述FCoE数据报文执行第二解封装, 以获取所述FC报文;以及a second decapsulation subunit, configured to perform a second decapsulation on the FCoE data packet, Obtaining the FC message;
    解析子单元,用于解析并获取所述FC报文中的目的FCID。The parsing subunit is configured to parse and obtain the destination FCID in the FC message.
  13. 根据权利要求12所述的装置,其中,所述第二解封装子单元,还用于将所述FCoE数据报文解封装并去除以太网报文头,以获取所述FC报文。The apparatus according to claim 12, wherein the second decapsulation subunit is further configured to decapsulate the FCoE data packet and remove an Ethernet packet header to obtain the FC message.
  14. 根据权利要求8至13任一项所述的装置,还包括存储模块,当识别出第一FCoE节点发送的以太网光纤通道初始化协议FIP协议报文中携带有FCID信息时,所述存储模块将所述FCID信息存储在所述第一FCF的路由表中。 The device according to any one of claims 8 to 13, further comprising a storage module, when the FC Fibre Channel Initialization Protocol FIP protocol message sent by the first FCoE node is carried, the storage module is The FCID information is stored in a routing table of the first FCF.
PCT/CN2017/118046 2016-12-30 2017-12-22 Message transmission method and device WO2018121443A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611262119.1 2016-12-30
CN201611262119.1A CN108270653A (en) 2016-12-30 2016-12-30 Message transmitting method and device

Publications (1)

Publication Number Publication Date
WO2018121443A1 true WO2018121443A1 (en) 2018-07-05

Family

ID=62706948

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/118046 WO2018121443A1 (en) 2016-12-30 2017-12-22 Message transmission method and device

Country Status (2)

Country Link
CN (1) CN108270653A (en)
WO (1) WO2018121443A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671661A (en) * 2020-12-24 2021-04-16 广州市网优优信息技术开发有限公司 Internet of things data transmission method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333074B (en) * 2020-10-30 2023-04-18 新华三信息技术有限公司 Fiber channel message processing method, device, equipment and machine readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103490968A (en) * 2013-09-16 2014-01-01 杭州华三通信技术有限公司 Method and device for interconnecting across data centers in FCoE network
CN104580024A (en) * 2013-10-28 2015-04-29 博科通讯系统有限公司 Extended ethernet fabric switches
CN106100960A (en) * 2016-07-06 2016-11-09 杭州华三通信技术有限公司 Method, Apparatus and system across the intercommunication of storage area network Fabric

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103490968A (en) * 2013-09-16 2014-01-01 杭州华三通信技术有限公司 Method and device for interconnecting across data centers in FCoE network
CN104580024A (en) * 2013-10-28 2015-04-29 博科通讯系统有限公司 Extended ethernet fabric switches
CN106100960A (en) * 2016-07-06 2016-11-09 杭州华三通信技术有限公司 Method, Apparatus and system across the intercommunication of storage area network Fabric

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671661A (en) * 2020-12-24 2021-04-16 广州市网优优信息技术开发有限公司 Internet of things data transmission method and system

Also Published As

Publication number Publication date
CN108270653A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
CN112165725B (en) Message processing method and device
EP2579544B1 (en) Methods and apparatus for a scalable network with efficient link utilization
RU2661768C2 (en) Arp processing method, switch device and control module
WO2017137008A1 (en) Virtual network apparatus, and related method
EP2901630B1 (en) Method operating in a fixed access network and user equipments
WO2014176740A1 (en) Stream classifier, service routing trigger, and message processing method and system
CN114124618B (en) Message transmission method and electronic equipment
CN102694738B (en) Virtual private network (VPN) gateway and method for forwarding messages at VPN gateway
US20210044456A1 (en) Method for implementing gre tunnel, access point and gateway
CN110650077A (en) Method and system for separating control and forwarding of L2TP protocol
CN103490968A (en) Method and device for interconnecting across data centers in FCoE network
WO2018121443A1 (en) Message transmission method and device
CN113923158B (en) Message forwarding, route sending and receiving method and device
US20230336377A1 (en) Packet forwarding method and apparatus, and network system
JP7298606B2 (en) Communication system and communication method
JP2023510707A (en) Method for sending reply packet, method for sending route advertisement message, network device and computer program
CN113726915A (en) Network system, message transmission method therein and related device
US9847929B2 (en) Cluster and forwarding method
WO2013023465A1 (en) Interconnection and intercommunication method for identity location separated network and traditional network, ilr and asr
US10674565B2 (en) Communication method
WO2015074258A1 (en) Method, apparatus and system for controlling forwarding of service data in virtual network
US10848414B1 (en) Methods and apparatus for a scalable network with efficient link utilization
CN108259292B (en) Method and device for establishing tunnel
WO2014169439A1 (en) Method, device and system for realizing fcoe
WO2013053293A1 (en) Identification network and conventional network interconnection and intercommunication method, asr and isr

Legal Events

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

Ref document number: 17889105

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17889105

Country of ref document: EP

Kind code of ref document: A1