WO2019033964A1 - 一种传输报文的方法、转发设备、控制器及系统 - Google Patents

一种传输报文的方法、转发设备、控制器及系统 Download PDF

Info

Publication number
WO2019033964A1
WO2019033964A1 PCT/CN2018/099281 CN2018099281W WO2019033964A1 WO 2019033964 A1 WO2019033964 A1 WO 2019033964A1 CN 2018099281 W CN2018099281 W CN 2018099281W WO 2019033964 A1 WO2019033964 A1 WO 2019033964A1
Authority
WO
WIPO (PCT)
Prior art keywords
vxlan
packet
protocol
forwarding device
tunnel
Prior art date
Application number
PCT/CN2018/099281
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to EP18846339.2A priority Critical patent/EP3644559A4/en
Publication of WO2019033964A1 publication Critical patent/WO2019033964A1/zh
Priority to US16/791,704 priority patent/US20200186389A1/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
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • 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/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS
    • 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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/38Flow based routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/42Centralised routing
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a method, a forwarding device, a controller, and a system for transmitting a message.
  • Software Defined Networking (SDN) based on control forwarding separation includes a controller and a forwarding device.
  • the controller and the forwarding device communicate through a control channel protocol to complete message interaction and information transmission.
  • the OpenFlow protocol is a control channel protocol between the mainstream forwarding device and the controller.
  • the OpenFlow control channel protocol needs to transmit a large amount of information, for example, the service resources and attributes, events, and the like (such as interface information, device information, QoS information, and VPN information) reported by the forwarding device to the controller, and the controller sends the information to the forwarding device.
  • the flow entry to be sent, and the protocol packet reported and sent between the forwarding device and the controller for example, Address Resolution Protocol (ARP)/Internet Control Message Protocol (English: Internet Control Message Protocol) , ICMP)/Internet Group Management Protocol (IGMP)/Dynamic Host Configuration Protocol (DHCP).
  • ARP Address Resolution Protocol
  • ICMP Internet Control Message Protocol
  • IGMP Internet Group Management Protocol
  • DHCP Dynamic Host Configuration Protocol
  • the technical problem to be solved by the embodiments of the present application is to provide a method for transmitting a message, a forwarding device, a controller, and a system, so as to improve the speed of transmission and processing of protocol packets, and improve overall system performance.
  • an embodiment of the present application provides a method for transmitting a message, which may include:
  • the forwarding device receives the protocol packet from the other forwarding device or the user device from the port;
  • the forwarding device performs a virtual scalable local area network (VXLAN) encapsulation on the protocol packet, and generates a first VXLAN packet, where the first VXLAN packet includes the protocol packet and port information of the port;
  • VXLAN virtual scalable local area network
  • the forwarding device sends the first VXLAN message to the controller.
  • the VXLAN tunnel is used to transmit protocol packets.
  • the forwarding plane can be implemented by hardware. High-performance hardware improves packet processing speed; improves user access speed and user experience.
  • the forwarding device performs VXLAN encapsulation on the protocol packet to generate a first VXLAN packet, including:
  • the forwarding device generates a VXLAN header and an extension header, where the VXLAN header includes flag bits and length information, the flag bit indicates that the extension header is added after the VXLAN header, and the length information indicates the extension header
  • the extension header is configured to carry the port information, and the protocol packet is encapsulated according to the VXLAN header and the extension header to generate a first VXLAN packet, and a payload field of the first VXLAN packet Carrying the protocol message; or
  • the forwarding device encapsulates the protocol packet to generate a first VXLAN packet, where the payload field of the first VXLAN packet carries the port information and the protocol packet.
  • the above configuration and extension can enable the forwarding device and the controller to use the VXLAN tunnel. Transmission of protocol messages.
  • the method further includes:
  • the forwarding device receives a second VXLAN message from the controller, where the second VXLAN message includes a protocol response message and the port information;
  • the forwarding device performs VXLAN decapsulation on the second VXLAN packet, and obtains the protocol response packet and the port information included in the second VXLAN packet.
  • the forwarding device forwards the protocol response message through the port according to the port information.
  • VLXAN tunneling protocol response packets to improve response speed and system performance.
  • the method further includes:
  • the forwarding device establishes a VXLAN tunnel with the controller, and the VXLAN tunnel serves as a transmission channel of the protocol packet and the protocol response packet.
  • the forwarding device establishes a VXLAN tunnel with the controller, including:
  • the forwarding device negotiates the tunnel information of the VXALN tunnel with the controller through an OpenFlow protocol, and establishes the VXLAN tunnel according to the negotiated tunnel information, where the tunnel information includes address information of the source VXLAN tunnel endpoint, and a destination VXLAN tunnel endpoint. Address information and VXLAN network identifier; or
  • the forwarding device is configured to establish the VXLAN tunnel.
  • the port is a port on the forwarding device that is configured to transmit a protocol packet by using a VXLAN tunnel.
  • a specific way of establishing a VXLAN tunnel is provided, which facilitates the implementation of VXLAN tunneling protocol packets between the forwarding device and the controller.
  • an embodiment of the present application provides a method for transmitting a message, which may include:
  • the controller receives the first virtual scalable local area network (VXLAN) message sent by the forwarding device, where the first VXLAN message includes a protocol packet and port information, and the port information indicates that the forwarding device receives the protocol packet Port
  • VXLAN virtual scalable local area network
  • the controller performs VXLAN decapsulation on the first VXLAN packet, and obtains a protocol packet and the port information included in the first VXLAN packet.
  • the method further includes:
  • the controller generates a protocol response packet according to the protocol packet, and performs VXLAN encapsulation on the protocol response packet to generate a second VXLAN packet, where the second VXLAN packet carries the port information and the Protocol response message;
  • the controller sends the second VXLAN message to the forwarding device.
  • the controller generates a protocol response packet according to the protocol packet, and performs VXLAN encapsulation on the protocol response packet to generate a second VXLAN packet, including:
  • the controller generates a protocol response message, a VXLAN header, and an extension header according to the protocol packet, where the VXLAN header includes flag bit and length information, and the flag bit indicates that the extension header is added after the VXLAN header
  • the length information indicates the length of the extension header; the extension header is configured to carry the port information; and the protocol response message is encapsulated according to the VXLAN header and the extension header to generate a second VXLAN report.
  • the payload field of the second VXLAN packet carries the protocol response packet; or
  • the controller generates a protocol response packet according to the protocol packet, and encapsulates the protocol response packet to generate a second VXLAN packet, where the payload field of the second VXLAN packet carries the port information and The protocol message.
  • the method further includes:
  • the controller establishes a VXLAN tunnel with the forwarding device, and the VXLAN tunnel serves as a transmission channel of the protocol packet and the protocol response packet.
  • the controller establishes a VXLAN tunnel with the forwarding device, including:
  • the controller negotiates the tunnel information of the VXALN tunnel with the forwarding device by using an open flow protocol, and establishes the VXLAN tunnel according to the negotiated tunnel information, where the tunnel information includes address information of a source VXLAN tunnel endpoint, and a destination VXLAN tunnel endpoint. Address information and VXLAN network identifier; or
  • the controller is configured to establish the VXLAN tunnel.
  • an embodiment of the present application provides a forwarding device, which may include:
  • transceiver unit configured to receive protocol packets from other forwarding devices or user equipments from the port
  • a processing unit configured to perform a virtual scalable local area network (VXLAN) encapsulation on the protocol packet, and generate a first VXLAN message, where the first VXLAN message includes the protocol packet and port information of the port;
  • VXLAN virtual scalable local area network
  • the transceiver unit is further configured to send the first VXLAN message to the controller.
  • the processing unit is configured to:
  • VXLAN header including flag bits and length information, the flag bit indicating adding the extension header after the VXLAN header, the length information indicating a length of the extension header;
  • the extension header is configured to carry the port information, and the protocol packet is encapsulated according to the VXLAN header and the extension header to generate a first VXLAN packet, where the payload field of the first VXLAN packet carries the Protocol message; or
  • the receiving unit is further configured to receive a second VXLAN message from the controller, where the second VXLAN message includes a protocol response message and the port information;
  • the processing unit is further configured to perform VXLAN decapsulation on the second VXLAN packet, and obtain the protocol response packet and the port information included in the second VXLAN packet.
  • the receiving unit is further configured to forward the protocol response message through the port according to the port information.
  • the processing unit is further configured to:
  • VXLAN tunnel serves as a transmission channel of the protocol packet and the protocol response packet.
  • the processing unit is configured to:
  • the tunnel information includes address information of a source VXLAN tunnel endpoint, address information of a destination VXLAN tunnel endpoint, and VXLAN network identifier;
  • the port is a port on the forwarding device that is configured to transmit a protocol packet by using a VXLAN tunnel.
  • an embodiment of the present application provides a controller, which may include:
  • transceiver unit configured to receive a first virtual scalable local area network VXLAN message sent by the forwarding device, where the first VXLAN message includes a protocol packet and port information, where the port information indicates that the forwarding device receives the protocol report Port of the text;
  • the processing unit is configured to perform VXLAN decapsulation on the VXLAN packet, and obtain the protocol packet and the port information included in the VXLAN packet.
  • the processing unit is further configured to generate a protocol response packet according to the protocol packet, perform VXLAN encapsulation on the protocol response packet, and generate a second VXLAN packet, where the second The VXLAN packet carries the port information and the protocol response packet;
  • the transceiver unit is further configured to send the second VXLAN message to the forwarding device.
  • the processing unit is configured to:
  • the VXLAN header includes flag bit and length information, the flag bit indicating adding the extension header after the VXLAN header, the length The information indicates the length of the extension header; the extension header is configured to carry the port information; and the protocol response message is encapsulated according to the VXLAN header and the extension header to generate a second VXLAN message, where Carrying the protocol response message in a payload field of the second VXLAN packet; or
  • the processing unit is further configured to:
  • VXLAN tunnel Establishing a VXLAN tunnel with the forwarding device, where the VXLAN tunnel serves as a transmission channel of the protocol packet and the protocol response packet.
  • the processing unit is configured to:
  • the tunnel information includes address information of a source VXLAN tunnel endpoint, address information of a destination VXLAN tunnel endpoint, and VXLAN network identifier;
  • an embodiment of the present application provides a system, which is applied to a network that controls forwarding separation, and the system includes:
  • a controller according to any of the fourth or fourth aspects of the embodiments of the present application.
  • an embodiment of the present application provides a forwarding device, including:
  • processors a processor, a memory and a bus, the processor and the memory being connected by a bus, wherein the memory is for storing a set of program code, the processor is for calling program code stored in the memory, and performing the implementation as in the present application.
  • an embodiment of the present application provides a controller, which may include:
  • processor a memory
  • memory configured to store a set of program codes
  • processor is configured to invoke program code stored in the memory, and execute the embodiment of the present application.
  • an embodiment of the present application provides a computer readable storage medium having instructions stored therein that, when run on a computer, implement any of the above first aspect or the first aspect The method in the possible implementation.
  • an embodiment of the present application provides a computer readable storage medium having instructions stored therein that, when run on a computer, implement any of the second aspect or the second aspect described above The method in the possible implementation.
  • FIG. 1 is a schematic structural diagram of a virtualized broadband remote access server according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for transmitting a message according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart diagram of another method for transmitting a message according to an embodiment of the present application
  • FIG. 4 is a schematic flowchart of still another method for transmitting a message according to an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of still another method for transmitting a message according to an embodiment of the present application
  • FIG. 6 is a schematic flowchart of still another method for transmitting a message according to an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of still another method for transmitting a message according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a forwarding device according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another forwarding device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a controller according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram of the composition of another controller provided by an embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of a virtual broadband remote access server (vBRAS) according to an embodiment of the present invention.
  • the vBRAS architecture can be divided into three from top to bottom. Parts: business systems, controllers, and forwarding devices.
  • Service system It mainly performs various processing and policy delivery on the received services, and can also include the network element management system to manage each network element.
  • the control network element of the Broadband Remote Access Server also known as BRAS-CP.
  • the BRAS-CP is positioned as a user control management component and is deployed at the core of the Telecom Infrastructure Cloud (TIC). It is responsible for user access management, authentication and accounting, user session and policy management.
  • TIC Telecom Infrastructure Cloud
  • the forwarding network element of the BRAS also known as the forwarder or BRAS-UP, is positioned as the L3 network edge and user policy enforcement component. It is deployed on the edge of the TIC and is responsible for traffic forwarding and user traffic control.
  • Protocol packets which are network control protocol packets, are usually used to carry various network control related information. Protocol packets are distinguished from user data packets. User data packets are used to carry traffic from users using various applications. For routing devices, the protocol packets transmitted may include various network or routing control protocols. For example, existing common protocol packets include ARP, ICMP, IGMP, DHCP, and Interior Gateway Protocol (English: Interior Gateway Protocol, IGP). Protocol packets such as the Border Gateway Protocol (BGP) and the Label Distribution Protocol (LDP). The IGMP protocol is used as an example. IGMP protocol packets are used to transfer control information between network protocols (English) (Internet Protocol, IP) hosts and routers. The control information may indicate information such as the network itself, whether the host is reachable, whether the route is available, and the like. Although these control information does not transmit user data, it plays an important role in controlling the transmission of user data.
  • the protocol packet is sent/distributed to the interface.
  • the VXLAN tunnel can be used to send and send protocol packets.
  • the interface is delivered to the interface.
  • the OpenFlow protocol can be used to implement the controller's requirements for the forwarding of the user entry of the forwarding device.
  • the northbound interface of the controller is used as the unified external interface of the entire control forwarding and separation system. It is mainly used to complete the connection with the service system and the network element management system, and realize the unified call of the service system to the vBRAS capability.
  • the user can connect to the forwarding device at the edge of the TIC through the access layer and access the device from the forwarding device.
  • the protocol packets sent by the user can be transmitted to the controller through the VXLAN tunnel.
  • the protocol packet can be transmitted by using other network protocol (IP) tunnels, such as the Generic Routing Encapsulation (GRE), which is not limited in this embodiment. .
  • IP network protocol
  • GRE Generic Routing Encapsulation
  • VXLAN tunnel is taken as an example to describe the method for transmitting a message according to the present application in conjunction with FIG. 2 to FIG. 6.
  • FIG. 2 is a schematic flowchart of a method for transmitting a message according to an embodiment of the present disclosure, which is applied to a network based on control forwarding separation (CU separation), including but not limited to the following steps:
  • the forwarding device receives protocol packets from other forwarding devices or user devices from the port.
  • the port is a port on the forwarding device that is configured to transmit a protocol packet by using a VXLAN tunnel. It may be a port of the plurality of ports on the forwarding device configured to use the VXLAN tunneling protocol packet to the controller.
  • the forwarding device may check that the information is a protocol packet; or The normal working mode and the forwarding control separation working mode can be configured for the port on the forwarding device.
  • the protocol packet is still transmitted through the Openflow channel.
  • the forwarding control is in the split mode, the protocol packet can be transmitted through the VXLAN tunnel. And the identifier of the protocol message is attached to the received information; the embodiment of the present application does not limit the present.
  • the forwarding device performs a virtual scalable LAN VXLAN encapsulation on the protocol packet to generate a first VXLAN packet.
  • the first VXLAN message includes the protocol packet and port information of the port.
  • the port information may be used to indicate that the forwarding device receives the port of the protocol packet.
  • the forwarding device may obtain encapsulation information of the VXLAN tunnel between the UE and the controller, and the encapsulation information may include address information of the source VXLAN tunnel endpoint and address information of the destination VXLAN tunnel endpoint.
  • the controller cannot obtain the port from which the protocol packet received by the forwarding device comes from, and cannot exchange information with other forwarding devices or user devices that send protocol packets. Subsequent other information is issued. Therefore, protocol packets and port information can be carried simultaneously when performing VXLAN encapsulation.
  • the step of establishing a VXLAN tunnel with the controller by the forwarding device may also be included.
  • a VXLAN tunnel can be established as a transmission channel for protocol packets and protocol response packets.
  • the forwarding device establishes a VXLAN tunnel with the controller, and may adopt any one of the following methods:
  • the Openflow protocol can be extended. When the capability of the forwarding device is obtained through the Openflow protocol, the forwarding device is supported and the controller sends and sends protocol packets through the VXLAN tunnel.
  • the forwarding device may negotiate the tunnel information of the VXALN tunnel with the controller through the OpenFlow protocol, and establish a VXLAN tunnel according to the negotiated tunnel information.
  • the tunnel information includes address information of a source VXLAN tunnel endpoint (VTEP), address information of a destination VXLAN tunnel endpoint, and a VXLAN network identifier;
  • VXLAN tunnel for establishing an Openflow data plane: establishing a VXLAN tunnel by static configuration on the forwarding device and the controller, and associating the VXLAN tunnel with a function for transmitting protocol packets in the development stream protocol Therefore, the VXLAN tunnel can serve as a transmission channel for protocol packets.
  • the forwarding device sends the first VXLAN message to the controller port.
  • the first VXLAN packet includes the protocol packet and the port information port.
  • the controller performs decapsulation, the protocol packet and the port information are obtained, and the VNI can be determined according to the mapping relationship with the forwarding device.
  • the VNI sends the service VNI to the protocol packet, and then enters the corresponding business process for processing.
  • the port information can be used to confirm the response message, such as the port delivered by the protocol response message, or can be stored in the entry for subsequent port interaction with the port information.
  • the protocol message can be sent to the control plane for processing.
  • the VXLAN tunneling protocol packet is used to separate the forwarding and control, which breaks the tight coupling between the forwarding plane and the control plane, which facilitates flexible expansion and non-constraint, simplifying operation and maintenance;
  • Hardware implementation can improve packet processing speed through high-performance hardware; improve user access speed and user experience; and implement VXLAN transmission by configuring and extending VXLAN headers, which is compatible with existing VXLAN headers and easy to implement.
  • FIG. 3 is a schematic flowchart of another method for transmitting a packet according to an embodiment of the present disclosure.
  • Step S301 is the same as step S201
  • S304 is the same as step S203, and details are not described herein again.
  • the forwarding device performs VXLAN encapsulation on the protocol packet, and the first VXLAN packet may be generated by using the following steps:
  • the forwarding device generates a VXLAN header and an extension header, where the VXLAN header includes flag bit and length information, where the flag bit indicates that the extension header is added after the VXLAN header, and the length information indicates the extension. a length of the header; the extension header is configured to carry the port information;
  • S303 Encapsulate the protocol packet according to the VXLAN header and the extension header, and generate a first VXLAN packet, where the payload field of the first VXLAN packet carries the protocol packet.
  • the VXLAN header can also be called a VXLAN header.
  • VXLAN header When the VXLAN header is generated, the conventional VXLAN header format can be modified.
  • a conventional VXLAN header has a total of 8 bytes, one of which is VXLAN Flags, ie, a VALAN identifier, followed by a 3-byte reserved bit, and the network identifier (VNI) occupies 3 bytes. The last 1 byte is a reserved bit.
  • VNI network identifier
  • the format of a regular VXLAN header is as follows:
  • VXLAN Flags VXLAN Flags
  • R represents reserved bits. The binary value is 0, and I indicates that the used bit has a secondary value of 1.
  • VXLAN Flags VXLAN Flags
  • the conventional VXLAN header can be used. Modifying, carrying the length information of the extended header in its reserved bit, and the modified VXLAN flag can be used to indicate that the modified VXLAN header carries the extended header information. For example, you can modify a regular VXLAN header to the following format:
  • the 8th bit of the VXLAN flag is set to 1, and R is changed to I, indicating that the VXLAN header carries the information of the extended header, which can be used to distinguish the VXLAN flag from the conventional VXLAN header, and the reserved bit in the 8th bit is the last one.
  • the bit corresponding to the byte carries the information of Opt Len, that is, the length information of the extended header. In this way, according to the position and length information of the byte, the data contained in the extension header, such as the port information, can be directly located.
  • OptionClass is a namespace field of Type
  • Type is the type identifier of the extension header.
  • Length indicates the length of the data carried by the extension header.
  • Variable Option Data Identifies the data carried by the extended header.
  • FIG. 4 it is a schematic diagram of a head structure provided by an embodiment of the present application. It includes a VXLAN Header (VXLAN Herder), an extended header (ExtHeader), and a DHCP/Ethernet-based Point to Point Protocol over Ethernet (PPPOE) protocol packet (DHCP/PPPOE Protocol Packet).
  • VXLAN Herder VXLAN Herder
  • ExtHeader extended header
  • DHCP/Ethernet-based Point to Point Protocol over Ethernet (PPPOE) protocol packet DHCP/PPPOE Protocol Packet
  • the extension header can be used as a private interworking header of the forwarding device and the controller, which may sequentially include a Type namespace field (Optclass) of 16 bits, an extension header type identifier (Type) of 8 bits, and a reserved bit (Rsv). 3 bits, the extended header carries data length (Len) 5 bits, slot number (Slot Id) 8 bits, card number (Card Id) 8 bits, port number (Port Id) 8 bits, reserved bits (Rsv) 8 bits. That is, the above Variable Option Data: the data carried by the identifier extension header includes the slot number, the card number, and the port number. They are used to identify the slot on the forwarding device, the card inserted in the slot, and the port on the card.
  • the extension header can also carry the type information of the protocol packet, so that the controller can directly obtain the type of the protocol packet when decapsulating, and does not need to parse the protocol packet, thereby improving system performance.
  • the protocol packet is encapsulated by the forwarding device to generate the first VXLAN packet, except that the extended header carries the port information, and the VXLAN header is used to generate the extended header information.
  • the port information and the protocol packet are carried in a payload field of the first VXLAN packet.
  • VXLAN tunneling protocol packets can also be implemented.
  • VXLAN header configuration and a specific manner of adding an extension header are described.
  • a VXLAN tunnel can be used to transmit protocol packets between the forwarding device and the controller.
  • FIG. 5 is a schematic flowchart of still another method for transmitting a message according to an embodiment of the present application. Steps S501-S503 are the same as steps S201-S203, and details are not described herein again. In this embodiment, the method may further include, but is not limited to, the following steps:
  • the forwarding device receives a second VXLAN message from the controller.
  • the second VXLAN message includes a protocol response message and the port information.
  • the forwarding device performs VXLAN decapsulation on the second VXLAN packet, and obtains the protocol response packet and the port information included in the second VXLAN packet.
  • the forwarding device forwards the protocol response packet through the port according to the port information.
  • the protocol response packet corresponds to the protocol packet, and is a response of the controller to the protocol packet after receiving the protocol packet sent by the forwarding device.
  • the forwarding device may obtain the VXLAN network identifier in the second VXLAN packet, determine the VXLAN network identifier as a VXLAN network identifier of the protocol packet delivery service, and then use the protocol according to the port information. The message is forwarded to the port.
  • the port may also be referred to as an ingress port when receiving a protocol packet sent by another forwarding device or user equipment when the packet is transmitted. For the controller, the forwarding device is forwarded to the device. When a protocol response message is sent, the port may also be referred to as an egress port.
  • FIG. 6 is a schematic flowchart of still another method for transmitting a message according to an embodiment of the present disclosure, where the method may include, but is not limited to, the following steps:
  • the controller receives the first virtual scalable local area network (VXLAN) packet sent by the forwarding device.
  • VXLAN virtual scalable local area network
  • the first VXLAN packet includes a protocol packet and port information of the forwarding device receiving the protocol packet from a port.
  • the controller performs VXLAN decapsulation on the first VXLAN packet, and obtains a protocol packet and the port information included in the first VXLAN packet.
  • the port information indicates that the forwarding device receives the port of the protocol packet.
  • the VXLAN packet transmission includes the forwarding device sending a VXLAN message to the controller, and the controller delivering the VXLAN message to the forwarding device, both of which can be completed through the port indicated by the port information.
  • the controller may further obtain a VXLAN network identifier included in the first VXLAN packet, and determine that the VXLAN network identifier is a protocol packet.
  • the protocol message is then sent to the control plane for processing according to the VXLAN network identifier.
  • the step of establishing a VXLAN tunnel with the forwarding device by the controller may also be included.
  • the established VXLAN tunnel can serve as a transmission channel for the protocol packet and the protocol response packet.
  • the controller establishes a VXLAN tunnel with the forwarding device, including:
  • the controller negotiates the tunnel information of the VXALN tunnel with the forwarding device by using an open flow protocol, and establishes a VXLAN tunnel according to the negotiated tunnel information, where the tunnel information includes address information of the source VXLAN tunnel endpoint, and an address of the destination VXLAN tunnel endpoint.
  • Information and VXLAN network identifier or
  • the controller is configured to establish a VXLAN tunnel as a transmission channel of protocol packets.
  • step S202 The manner in which the controller establishes the VXLAN tunnel is the same as that of the forwarding device. For details, refer to the description in step S202 in the embodiment shown in FIG. 2, and details are not described herein again.
  • FIG. 7 is a schematic flowchart of another method for transmitting a message according to an embodiment of the present application.
  • S701-S702 is the same as S601-S602, and is not described here.
  • the method may also include, but is not limited to, the following steps:
  • the controller generates a protocol response message according to the protocol packet, and performs VXLAN encapsulation on the protocol response message to generate a second VXLAN message, where the second VXLAN message carries the port information and The protocol responds to the message.
  • the controller generates a protocol response packet, and performs VXLAN encapsulation on the protocol response packet to generate a second VXLAN packet, which may include:
  • the controller generates a protocol response message, a VXLAN header, and an extension header according to the protocol packet, where the VXLAN header includes flag bit and length information, and the flag bit indicates that the extension header is added after the VXLAN header
  • the length information indicates the length of the extension header; the extension header is configured to carry the port information; and the protocol response message is encapsulated according to the VXLAN header and the extension header to generate a second VXLAN report.
  • the payload field of the second VXLAN packet carries the protocol response packet; or
  • the controller generates a protocol response packet according to the protocol packet, and encapsulates the protocol response packet to generate a second VXLAN packet, where the payload field of the second VXLAN packet carries the port information and The protocol message.
  • the manner in which the controller generates the VXLAN header in the new format and the method of adding the extended header is the same as that of the forwarding device. For details, refer to the description in the embodiment shown in FIG. 3, and details are not described herein again.
  • the controller sends the second VXLAN packet to the forwarding device.
  • the controller may further include the board information in the sent packet header to determine the physical board to be sent.
  • the method in the foregoing steps S703-S704 may be applicable to the received protocol report.
  • the present invention is applicable to the scenario in which the controller actively sends the protocol packet to the forwarding device, which is not limited in this embodiment.
  • FIG. 8 is a schematic diagram of a composition of a forwarding device according to an embodiment of the present disclosure, where the forwarding device includes:
  • the transceiver unit 100 is configured to receive protocol packets from other forwarding devices or user equipments from the port;
  • the processing unit 200 is configured to perform a virtual scalable local area network (VXLAN) encapsulation on the protocol packet, and generate a first VXLAN message, where the first VXLAN message includes the protocol packet and port information of the port;
  • VXLAN virtual scalable local area network
  • the transceiver unit 100 is further configured to send the first VXLAN message to the controller.
  • the port is a port on the forwarding device that is configured to transmit a protocol packet by using a VXLAN tunnel.
  • processing unit 200 is configured to:
  • VXLAN header including flag bits and length information, the flag bit indicating adding the extension header after the VXLAN header, the length information indicating a length of the extension header;
  • the extension header is configured to carry the port information, and the protocol packet is encapsulated according to the VXLAN header and the extension header to generate a first VXLAN packet, where the payload field of the first VXLAN packet carries the Protocol message; or
  • the receiving unit 100 is further configured to receive a second VXLAN message from the controller, where the second VXLAN message includes a protocol response message and the port information;
  • the processing unit 200 is further configured to perform VXLAN decapsulation on the second VXLAN packet, and obtain the protocol response packet and the port information included in the second VXLAN packet.
  • the receiving unit 100 is further configured to forward the protocol response message through the port according to the port information.
  • processing unit 200 is further configured to:
  • VXLAN tunnel serves as a transmission channel of the protocol packet and the protocol response packet.
  • processing unit 200 is configured to:
  • the tunnel information includes address information of a source VXLAN tunnel endpoint, address information of a destination VXLAN tunnel endpoint, and VXLAN network identifier;
  • FIG. 9 is a schematic diagram of another composition of a forwarding device according to an embodiment of the present application.
  • the forwarding device may include a processor 110, a memory 120, and a bus 130.
  • the processor 110 and the memory 120 are connected by a bus 130 for storing instructions for executing the instructions stored by the memory 120 to implement the steps in the method corresponding to Figures 2 to 5 above.
  • the forwarding device may further include an input port 140 and an output port 150.
  • the processor 110, the memory 120, the input port 140 and the output port 150 can be connected by a bus 130.
  • the processor 110 is configured to execute the instructions stored in the memory 120 to control the input port 140 to receive signals, and control the output port 150 to send signals to complete the steps performed by the forwarding device in the above method.
  • the input port 140 and the output port 150 may be the same or different physical entities. When they are the same physical entity, they can be collectively referred to as input and output ports.
  • the memory 120 may be integrated in the processor 110 or may be provided separately from the processor 110.
  • the functions of the input port 140 and the output port 150 can be implemented by a dedicated chip through a transceiver circuit or a transceiver.
  • the processor 110 can be implemented by a dedicated processing chip, a processing circuit, a processor, or a general purpose chip.
  • a forwarding device provided by an embodiment of the present application may be implemented by using a general-purpose computer.
  • the program code for the functions of the processor 110, the input port 140 and the output port 150 is stored in a memory, and the general purpose processor implements the functions of the processor 110, the input port 140 and the output port 150 by executing code in the memory.
  • the virtual forwarding device implemented by the network function virtualization (NFV) technology may be used in the present embodiment.
  • the virtual forwarding device may be configured to run the task migration function.
  • the virtual machine of the program (English: Virtual Machine, VM), which is deployed on a hardware device (for example, a physical server).
  • a virtual machine is a complete computer system that runs through a software and has full hardware system functionality running in a fully isolated environment.
  • FIG. 9 shows only one memory and processor for ease of illustration. In an actual controller, there may be multiple processors and memories.
  • the memory may also be referred to as a storage medium or a storage device, and the like.
  • FIG. 10 is a schematic structural diagram of a controller according to an embodiment of the present disclosure, where the controller includes:
  • the transceiver unit 300 is configured to receive a first virtual scalable local area network (VXLAN) message sent by the forwarding device, where the first VXLAN message includes a protocol packet and port information, where the port information indicates that the forwarding device receives the Port of the protocol packet;
  • VXLAN virtual scalable local area network
  • the processing unit 400 is configured to perform VXLAN decapsulation on the VXLAN packet, and obtain the protocol packet and the port information included in the VXLAN packet.
  • processing unit 400 is further configured to:
  • the transceiver unit 300 is further configured to send the second VXLAN message to the forwarding device.
  • processing unit 400 is configured to:
  • the VXLAN header includes flag bit and length information, the flag bit indicating adding the extension header after the VXLAN header, the length The information indicates the length of the extension header; the extension header is configured to carry the port information; and the protocol response message is encapsulated according to the VXLAN header and the extension header to generate a second VXLAN message, where Carrying the protocol response message in a payload field of the second VXLAN packet; or
  • processing unit 400 is further configured to:
  • VXLAN tunnel Establishing a VXLAN tunnel with the forwarding device, where the VXLAN tunnel serves as a transmission channel of the protocol packet and the protocol response packet.
  • processing unit 400 is configured to:
  • the tunnel information includes address information of a source VXLAN tunnel endpoint, address information of a destination VXLAN tunnel endpoint, and VXLAN network identifier;
  • FIG. 11 is a schematic diagram of a composition of a controller according to an embodiment of the present disclosure.
  • the controller may include a processor 210, a memory 220, and a bus 230.
  • the processor 210 and the memory 220 are connected by a bus 230 for storing instructions for executing the instructions stored by the memory 220 to implement the steps in the method corresponding to Figures 6-7 above.
  • controller may further include an input port 240 and an output port 250.
  • the processor 210, the memory 220, the input port 240, and the output port 250 can be connected through a bus 230.
  • the processor 210 is configured to execute instructions stored in the memory 220 to control the input port 240 to receive signals, and control the output port 250 to transmit signals to complete the steps performed by the controller in the above method.
  • the input port 240 and the output port 250 may be the same or different physical entities. When they are the same physical entity, they can be collectively referred to as input and output ports.
  • the memory 220 may be integrated in the processor 210 or may be separate from the processor 210.
  • the functions of the input port 240 and the output port 250 can be implemented by a dedicated chip through a transceiver circuit or a transceiver.
  • the processor 210 can be implemented by a dedicated processing chip, a processing circuit, a processor, or a general purpose chip.
  • a controller provided by an embodiment of the present application may be implemented by using a general-purpose computer.
  • the program code that implements the functions of the processor 210, the input port 240 and the output port 250 is stored in a memory, and the general purpose processor implements the functions of the processor 210, the input port 240, and the output port 250 by executing code in the memory.
  • the embodiment may also be based on a general physical server combined with a virtual function implemented by Network Function Virtualization (NFV) technology, and the virtual controller may be run with a function for task migration.
  • the virtual machine of the program (English: Virtual Machine, VM), which is deployed on a hardware device (for example, a physical server).
  • a virtual machine is a complete computer system that runs through a software and has full hardware system functionality running in a fully isolated environment.
  • FIG. 11 shows only one memory and processor for ease of illustration. In an actual controller, there may be multiple processors and memories.
  • the memory may also be referred to as a storage medium or a storage device, and the like.
  • the processor may be a central processing unit (“CPU"), and the processor may also be other general-purpose processors, digital signal processors (DSPs), and dedicated integration.
  • DSPs digital signal processors
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory can include read only memory and random access memory and provides instructions and data to the processor.
  • a portion of the memory may also include a non-volatile random access memory.
  • the bus may also include a power bus, a control bus, and a status signal bus.
  • the various buses are labeled as buses in the figure.
  • each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the embodiment of the present application further provides a system, which is applied to a network for controlling forwarding separation, and includes the foregoing controller and forwarding device.
  • the size of the serial numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请实施例公开了一种传输报文的方法、转发设备、控制器及系统,方法包括:转发设备从端口接收来自其它转发设备或用户设备的协议报文;所述转发设备对所述协议报文进行虚拟可扩展局域网VXLAN封装,生成第一VXLAN报文,所述第一VXLAN报文包含所述协议报文和所述端口信息;所述转发设备将所述第一VXLAN报文发送给所述控制器。采用本申请实施例,可提高协议报文传输和处理的速度,提升系统整体性能。

Description

一种传输报文的方法、转发设备、控制器及系统
本申请要求于2017年8月15日提交中国专利局、申请号为201710701414.0、申请名称为“一种传输报文的方法、转发设备、控制器及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种传输报文的方法、转发设备、控制器及系统。
背景技术
基于控制转发分离的软件定义网络(英文:Software Defined Networking,SDN)包括控制器和转发设备,控制器和转发设备之间通过控制通道协议进行通信,完成消息的交互和信息的传递。开放流(英语:Openflow)协议是一种主流的转发设备和控制器之间的控制通道协议。该Openflow控制通道协议需要传递大量的信息,例如,转发设备向控制器上报的业务资源及属性、事件等信息(如,接口信息、设备信息、QoS信息、VPN信息),控制器向转发设备下发的流表项,以及转发设备和控制器之间上报和下发的协议报文(例如,地址解析协议(英文:Address Resolution Protocol,ARP)/因特网控制报文协议(英文:Internet Control Message Protocol,ICMP)/因特网组管理协议(英文:Internet Group Management Protocol,IGMP)/动态主机配置协议(英文:Dynamic Host Configuration Protocol,DHCP)等)。
通过实践测试得到,当大量信息通过转发设备和控制器之间的Openflow协议传递时,存在性能问题,传输和处理的速度较慢。
发明内容
本申请实施例所要解决的技术问题在于,提供一种传输报文的方法、转发设备、控制器及系统,以期提高协议报文传输和处理的速度,提升系统整体性能。
第一方面,本申请的实施例提供了一种传输报文的方法,可包括:
转发设备从端口接收来自其它转发设备或用户设备的协议报文;
所述转发设备对所述协议报文进行虚拟可扩展局域网(VXLAN)封装,生成第一VXLAN报文,所述第一VXLAN报文包含所述协议报文和所述端口的端口信息;
所述转发设备将所述第一VXLAN报文发送给所述控制器。
使用VXLAN隧道传输协议报文,通过将转发和控制分离,破除了转发面和控制面的紧耦合,有利于分别灵活扩容,互相不为约束,简化运维;转发面可采用硬件实现,可以通过高性能硬件提升报文处理速度;提高用户接入速度和用户体验。
在一种可能的实现方式中,所述转发设备对所述协议报文进行VXLAN封装,生成第一VXLAN报文,包括:
所述转发设备生成VXLAN头和扩展头,所述VXLAN头中包含标志位和长度信息,所述标志位指示在所述VXLAN头后增加所述扩展头,所述长度信息指示所述扩展头的长度;所述扩展头用于携带所述端口信息;根据所述VXLAN头和所述扩展头对所述协议报文进行封装,生成第一VXLAN报文,所述第一VXLAN报文的载荷字段中携带所述协议报文;或者
所述转发设备对所述协议报文进行封装,生成第一VXLAN报文,所述第一VXLAN报文的载荷字段中携带所述端口信息和所述协议报文。
给出携带协议报文和端口信息的两种方式,在生成新格式的VXLAN头和增加扩展头的方式中,通过上述配置和扩展,便可以使得转发设备和控制器之间能够使用VXLAN隧道进行协议报文的传输。
在一种可能的实现方式中,还包括:
所述转发设备接收来自所述控制器的第二VXLAN报文,所述第二VXLAN报文包含协议应答报文和所述端口信息;
所述转发设备对所述第二VXLAN报文进行VXLAN解封装,获取所述第二VXLAN报文中包含的所述协议应答报文和所述端口信息;
所述转发设备根据所述端口信息将所述协议应答报文通过所述端口转发出去。
使用VLXAN隧道传输协议应答报文,提升了响应速度和系统性能。
在一种可能的实现方式中,还包括:
所述转发设备与所述控制器建立VXLAN隧道,所述VXLAN隧道作为所述协议报文和所述协议应答报文的传输通道。
在一种可能的实现方式中,所述转发设备与所述控制器建立VXLAN隧道,包括:
所述转发设备通过开放流协议与所述控制器协商所述VXALN隧道的隧道信息,根据协商的隧道信息建立所述VXLAN隧道,所述隧道信息包括源VXLAN隧道端点的地址信息、目的VXLAN隧道端点的地址信息和VXLAN网络标识符;或者
所述转发设备配置建立所述VXLAN隧道。
在一种可能的实现方式中,所述端口为所述转发设备上被设置为用VXLAN隧道传输协议报文的端口。
给出具体的建立VXLAN隧道的方式,利于转发设备与控制器之间实现VXLAN隧道传输协议报文。
第二方面,本申请的实施例提供了一种传输报文的方法,可包括:
控制器接收转发设备发送的第一虚拟可扩展局域网(VXLAN)报文,所述第一VXLAN报文中包含协议报文和端口信息,所述端口信息指示所述转发设备接收所述协议报文的端口;
所述控制器对所述第一VXLAN报文进行VXLAN解封装,获取所述第一VXLAN报文中包含的协议报文和所述端口信息。
在一种可能的实现方式中,还包括:
所述控制器根据所述协议报文生成协议应答报文,对所述协议应答报文进行VXLAN封装,生成第二VXLAN报文,所述第二VXLAN报文中携带所述端口信息和所述协议应答报文;
所述控制器将所述第二VXLAN报文发送给所述转发设备。
在一种可能的实现方式中,所述控制器根据所述协议报文生成协议应答报文,对所述协议应答报文进行VXLAN封装,生成第二VXLAN报文,包括:
所述控制器根据所述协议报文生成协议应答报文、VXLAN头和扩展头,所述VXLAN头中包含标志位和长度信息,所述标志位指示在所述VXLAN头后增加所述扩展头,所述长度信息指示所述扩展头的长度;所述扩展头用于携带所述端口信息;根据所述VXLAN头和所述扩展头对所述协议应答报文进行封装,生成第二VXLAN报文,所述第二VXLAN报文的载荷字段中携带所述协议应答报文;或者
所述控制器根据所述协议报文生成协议应答报文,对所述协议应答报文进行封装,生成第二VXLAN报文,所述第二VXLAN报文的载荷字段中携带所述端口信息和所述协议报文。
在一种可能的实现方式中,还包括:
所述控制器与所述转发设备建立VXLAN隧道,所述VXLAN隧道作为所述协议报文和所述协议应答报文的传输通道。
在一种可能的实现方式中,所述控制器与所述转发设备建立VXLAN隧道,包括:
所述控制器通过开放流协议与所述转发设备协商所述VXALN隧道的隧道信息,根据协商的隧道信息建立所述VXLAN隧道,所述隧道信息包括源VXLAN隧道端点的地址信息、目的VXLAN隧道端点的地址信息和VXLAN网络标识符;或者
所述控制器配置建立所述VXLAN隧道。
第三方面,本申请的实施例提供了一种转发设备,可包括:
收发单元,用于从端口接收来自其它转发设备或用户设备的协议报文;
处理单元,用于对所述协议报文进行虚拟可扩展局域网(VXLAN)封装,生成第一VXLAN报文,所述第一VXLAN报文包含所述协议报文和所述端口的端口信息;
所述收发单元还用于将所述第一VXLAN报文发送给所述控制器。
在一种可能的实现方式中,所述处理单元用于:
生成VXLAN头和扩展头,所述VXLAN头中包含标志位和长度信息,所述标志位指示在所述VXLAN头后增加所述扩展头,所述长度信息指示所述扩展头的长度;所述扩展头用于携带所述端口信息;根据所述VXLAN头和所述扩展头对所述协议报文进行封装,生成第一VXLAN报文,所述第一VXLAN报文的载荷字段中携带所述协议报文;或者
对所述协议报文进行封装,生成第一VXLAN报文,所述第一VXLAN报文的载荷字段中携带所述端口信息和所述协议报文。
在一种可能的实现方式中,所述接收单元还用于接收来自所述控制器的第二VXLAN报文,所述第二VXLAN报文包含协议应答报文和所述端口信息;
所述处理单元还用于对所述第二VXLAN报文进行VXLAN解封装,获取所述第二VXLAN报文中包含的所述协议应答报文和所述端口信息;
所述接收单元还用于根据所述端口信息将所述协议应答报文通过所述端口转发出去。
在一种可能的实现方式中,所述处理单元还用于:
与所述控制器建立VXLAN隧道,所述VXLAN隧道作为所述协议报文和所述协议应答报文的传输通道。
在一种可能的实现方式中,所述处理单元用于:
通过开放流协议与所述控制器协商所述VXALN隧道的隧道信息,根据协商的隧道信息建立所述VXLAN隧道,所述隧道信息包括源VXLAN隧道端点的地址信息、目的VXLAN隧道端点的地址信息和VXLAN网络标识符;或者
配置建立所述VXLAN隧道。
在一种可能的实现方式中,所述端口为所述转发设备上被设置为用VXLAN隧道传输协议报文的端口。
第四方面,本申请的实施例提供了一种控制器,可包括:
收发单元,用于接收转发设备发送的第一虚拟可扩展局域网VXLAN报文,所述第一VXLAN报文中包含协议报文和端口信息,所述端口信息指示所述转发设备接收所述协议报文的端口;
处理单元,用于对所述VXLAN报文进行VXLAN解封装,获取所述VXLAN报文中包含的协议报文和所述端口信息。
在一种可能的实现方式中,所述处理单元还用于根据所述协议报文生成协议应答报文,对所述协议应答报文进行VXLAN封装,生成第二VXLAN报文,所述第二VXLAN报文中携带所述端口信息和所述协议应答报文;
所述收发单元还用于将所述第二VXLAN报文发送给所述转发设备。
在一种可能的实现方式中,所述处理单元用于:
根据所述协议报文生成协议应答报文、VXLAN头和扩展头,所述VXLAN头中包含标志位和长度信息,所述标志位指示在所述VXLAN头后增加所述扩展头,所述长度信息指示所述扩展头的长度;所述扩展头用于携带所述端口信息;根据所述VXLAN头和所述扩展头对所述协议应答报文进行封装,生成第二VXLAN报文,所述第二VXLAN报文的载荷字段中携带所述协议应答报文;或者
根据所述协议报文生成协议应答报文,对所述协议应答报文进行封装,生成第二VXLAN报文,所述第二VXLAN报文的载荷字段中携带所述端口信息和所述协议报文。
在一种可能的实现方式中,所述处理单元还用于:
与所述转发设备建立VXLAN隧道,所述VXLAN隧道作为所述协议报文和所述协议应答报文的传输通道。
在一种可能的实现方式中,所述处理单元用于:
通过开放流协议与所述转发设备协商所述VXALN隧道的隧道信息,根据协商的隧道信息建立所述VXLAN隧道,所述隧道信息包括源VXLAN隧道端点的地址信息、目的VXLAN隧道端点的地址信息和VXLAN网络标识符;或者
配置建立所述VXLAN隧道。
第五方面,本申请的实施例提供了一种系统,应用于控制转发分离的网络,所述系统包括:
如本申请实施例第二方面或第二方面任一实现方式所述的转发设备;以及
如本申请实施例第四方面或第四方面任一实现方式所述的控制器。
第六方面,本申请的实施例提供了一种转发设备,其特征在于,包括:
处理器、存储器和总线,所述处理器和存储器通过总线连接,其中,所述存储器用于存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行如本申请实施例第一方面或第一方面任一实现方式中的步骤。
第七方面,本申请的实施例提供了一种控制器,可包括:
处理器、存储器和总线,所述处理器和存储器通过总线连接,其中,所述存储器用于存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行本申请实施例第二方面或第二方面任一实现方式中的步骤。
第八方面,本申请的实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,实现上述第一方面或第一方面的任意可能的实现方式中的方法。
第九方面,本申请的实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,实现上述第二方面或第二方面的任意可能的实现方式中的方法。
附图说明
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。
图1本申请实施例提供的一种虚拟化宽带远程接入服务器的架构示意图;
图2是本申请实施例提供的一种传输报文的方法的流程示意图;
图3是本申请实施例提供的另一种传输报文的方法的流程示意图;
图4是本申请实施例提供的又一种传输报文的方法的流程示意图;
图5是本申请实施例提供的又一种传输报文的方法的流程示意图;
图6是本申请实施例提供的又一种传输报文的方法的流程示意图;
图7是本申请实施例提供的又一种传输报文的方法的流程示意图;
图8是本申请实施例提供的一种转发设备的组成示意图;
图9是本申请实施例提供的另一种转发设备的组成示意图;
图10是本申请实施例提供的一种控制器的组成示意图;
图11是本申请实施例提供的另一种控制器的组成示意图。
具体实施方式
下面结合本申请实施例中的附图对本申请的实施例进行描述。本申请的说明书和权利要求书及上述附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
请参见图1,图1是本发明实施例提供的一种虚拟化宽带远程接入服务器(英文:virtual Broadband Remote Access Server,vBRAS)的架构示意图,该vBRAS架构中自上而下可以分为三个部分:业务系统、控制器、转发设备。
业务系统:主要对接收到的业务进行各种处理及策略下发,还可以包含网元管理系统,对各个网元进行管理。
控制器:为宽带远程接入服务器(英文:Broadband Remote Access Server,BRAS)的控制网元,也可称为BRAS-CP。BRAS-CP定位为用户控制管理部件,部署于电信基础设施云(英文:Telecom infrastructure Cloud,TIC)的核心,负责用户接入管理、认证计费、用户会话及策略管理等。
转发设备:为BRAS的转发网元,也可称为转发器或BRAS-UP,定位为L3网络边缘及用户策略执行部件,部署于TIC边缘,负责流量转发及用户流量控制等。
协议报文,也就是网络控制协议报文,通常用于携带各种网络控制相关的信息,协议报文区别于用户数据报文。用户数据报文用于携带用户使用各种应用的流量。如对于路由设备,其传输的协议报文可以包括各种网络或路由控制协议,例如,现有常见的协议报文包括ARP、ICMP、IGMP、DHCP、内部网关协议(英文:Interior Gateway Protocol,IGP)、边界网关协议(Border Gateway Protocol,BGP)、标签交换协议(Label Distribution Protocol,LDP)等等协议报文。以IGMP协议为例,IGMP的协议报文用于在网络协议(英文:Internet Protocol,IP)主机、路由器之间传递控制信息。控制信息可以指示网络通不通、主机是否可达、路由是否可用等网络本身的信息。这些控制信息虽然并不传输用户数据,但是对于用户数据的传递起着重要的控制作用。
控制器和转发设备之间的南向接口共有3种类型:
协议报文上送/下发接口:可以采用VXLAN隧道进行协议报文的上送和下发;
配置下发接口:可以采用Netconf协议,实现集中化控制器对众多转发设备的统一自动化配置;
表项下发接口:可以采用OpenFlow协议,实现控制器对转发设备的用户表项下发的需求,实现控制器对转发设备行为的统一管控。
控制器向上的北向接口,作为整个控制转发分离系统的统一对外接口,主要用于完成与业务系统以及网元管理等系统的对接,实现业务系统对vBRAS能力的统一调用。
用户可以通过接入层与位于TIC边缘的转发设备相连,从转发设备接入,用户上线的协议报文可以经过VXLAN隧道传输到控制器。
需要说明的时,在上述架构中,控制器的数量可以有多个,每个控制器也可以与多个转发设备进行信息传输。由于现有的协议报文传输方式无法应对协议报文数量较多的场景,因此本申请采用VXLAN隧道来传输协议报文,从而提升处理效率,提高用户接入速度。除了使用VXLAN隧道传输协议报文之外,也可以采用通用路由封装(英文:Generic Routing Encapsulation,GRE)等其他网络协议(Internet Protocol,IP)隧道来传输协议报文,本申请实施例不作任何限定。
下面以VXLAN隧道为例,结合图2-图6对本申请的传输报文的方法进行详细说明。
图2是本申请实施例提供的一种传输报文的方法的流程示意图,应用于基于控制转发分离(CU分离)的网络中,包括但不限于如下步骤:
S201,转发设备从端口接收来自其它转发设备或用户设备的协议报文。
其中,所述端口为所述转发设备上被设置为用VXLAN隧道传输协议报文的端口。 其可以是转发设备上多个端口中被配置为专用于用VXLAN隧道传输协议报文到控制器的端口,当转发设备从该端口接收到信息时,可以检查确定信息为协议报文;或者也可以为转发设备上的端口配置正常工作模式和转发控制分离工作模式,当处于正常工作模式时,仍然通过Openflow通道传输协议报文,当处于转发控制分离模式时,可以通过VXLAN隧道传输协议报文,并可以对接收到的信息附上指示协议报文的标识;本申请实施例不作任何限定。
S202,所述转发设备对所述协议报文进行虚拟可扩展局域网VXLAN封装,生成第一VXLAN报文。
所述第一VXLAN报文包含所述协议报文和所述端口的端口信息。所述端口信息可用于指示所述转发设备接收所述协议报文的端口。
在进行VXLAN封装时,转发设备可以获取其与控制器之间的VXLAN隧道的封装信息,所述封装信息可以包括源VXLAN隧道端点的地址信息和目的VXLAN隧道端点的地址信息。
若采用VXLAN封装时未携带所述端口信息,则控制器无法获得转发设备接收的协议报文的来自哪个端口,也就无法与发出协议报文的其他转发设备或用户设备进行信息交互如应答或后续其他的信息下发等。因此,可以在进行VXLAN封装时,同时携带协议报文和端口信息。
可选地,在步骤S201-S202之前,还可以包括所述转发设备与所述控制器建立VXLAN隧道的步骤。建立好的VXLAN隧道可以作为协议报文和协议应答报文的传输通道。
可选地,所述转发设备与所述控制器建立VXLAN隧道,可以采用以下任一方式:
(1)、通过Openflow协商数据面的VXLAN隧道:可以扩展Openflow协议,通过Openflow协议获取转发设备能力时,获取转发设备是否支持和控制器通过VXLAN隧道上送、下发协议报文。
如果转发设备和控制器都支持通过VXLAN隧道传输协议报文,则所述转发设备可以通过开放流协议与所述控制器协商所述VXALN隧道的隧道信息,根据协商的隧道信息建立VXLAN隧道,所述隧道信息包括源VXLAN隧道端点(VTEP)的地址信息、目的VXLAN隧道端点的地址信息和VXLAN网络标识符;
(2)、通过配置建立Openflow数据面的VXLAN隧道:通过在转发设备和控制器上的静态配置建立VXLAN隧道,并将所述VXLAN隧道与开发流协议中用于传输协议报文的功能相关联,使得VXLAN隧道可以作为协议报文的传输通道。
S203,所述转发设备将所述第一VXLAN报文发送给所述控制器端口。
由于第一VXLAN报文中包含了协议报文和所述端口信息端口,当控制器进行解封装后,便可以获取到协议报文和端口信息,并可以根据与转发设备具备映射关系的VNI确定该VNI为协议报文上送业务VNI,从而进入相应的业务流程进行处理。端口信息可以用于确认应答消息如协议应答报文下发的端口,或者也可以存储到表项中用于后续与端口信息对应的端口进行信息交互。而协议报文则可以再进行封装上送控制面进行处理。
在本实施例中,使用VXLAN隧道传输协议报文,通过将转发和控制分离,破除了 转发面和控制面的紧耦合,有利于分别灵活扩容,互相不为约束,简化运维;转发面可采用硬件实现,可以通过高性能硬件提升报文处理速度;提高用户接入速度和用户体验;且通过配置和扩展VXLAN头的方式实现VXLAN传输,可以与现有VXLAN头兼容,易于实现。
图3是本申请实施例提供的另一种传输报文的方法的流程示意图,步骤S301和步骤S201相同,S304与步骤S203相同,此处不再赘述。本实施例中,所述转发设备对所述协议报文进行VXLAN封装,生成第一VXLAN报文具体可以采用以下步骤的方式进行:
S302,所述转发设备生成VXLAN头和扩展头,所述VXLAN头中包含标志位和长度信息,所述标志位指示在所述VXLAN头后增加所述扩展头,所述长度信息指示所述扩展头的长度;所述扩展头用于携带所述端口信息;
S303,根据所述VXLAN头和所述扩展头对所述协议报文进行封装,生成第一VXLAN报文,所述第一VXLAN报文的载荷字段中携带所述协议报文。
其中,VXLAN头也可以称为VXLAN报文头,在生成VXLAN头时,可以对常规的VXLAN头格式进行修改。常规的VXLAN头共8个字节(byte),其中一个字节为VXLAN Flags即VALAN标识,后面为3个字节的保留位(Reserved),网络标识符(VNI)占用3个字节,其后1个字节为保留位。常规的VXLAN头的格式如下:
Figure PCTCN2018099281-appb-000001
其中,|R|R|R|R|I|R|R|R|占用的1个字节共8比特为VXLAN标志(VXLAN Flags),在二级制中,R表示预留的比特位,其二进制值为0,,I表示已使用的比特位,其二级制值为1,通过对VXLAN标志进行修改,可以与其他VXLAN头进行区分,例如本申请实施例中可以对常规VXLAN头进行修改,在其保留位中携带扩展头的长度信息,其修改后的VXLAN标志可用于指示修改后的VXLAN头携带扩展头信息。例如,可以将常规VXLAN头修改为如下格式:
Figure PCTCN2018099281-appb-000002
即将VXLAN标志的第8比特置为1,由R修改为I,指示该VXLAN头携带了扩展头的信息,可用于区别于常规VXLAN头的VXLAN标志,并且在第8位的保留位即最后一个字节对应的比特位携带Opt Len的信息,即扩展头的长度信息。这样,根据字节的位置和长度信息便可以直接对扩展头包含的数据如端口信息进行定位。
以上给出了使用VXLAN标志中的第8比特以及常规VXLAN头的第8位保留位进行配置的例子,当然,也可以采用VXLAN标志中其他预留比特位和VXLAN头的其他保留位进行配置,配置方式类似,此处不再赘述。
对于扩展头,其格式可以如下所示:
Figure PCTCN2018099281-appb-000003
其中,OptionClass:为Type的命名空间字段;
Type:为扩展头的类型标识。
Length:表示扩展头携带数据的长度。
Variable Option Data:标识扩展头携带的数据。
可选地,如图4所示,为本申请实施例提供的一种头结构的示意图。其包括VXLAN头(VXLAN Herder)、扩展头(ExtHeader)和DHCP/基于以太网的点对点通讯协议(英文:Point to Point Protocol over Ethernet,PPPOE)协议数据包(DHCP/PPPOE Protocol Packet)。
其中,扩展头(ExtHeader)可以作为转发设备和控制器私有的互通头,其依次可以包括Type的命名空间字段(Optclass)16比特,扩展头的类型标识(Type)8比特,保留位(Rsv)3比特,扩展头携带数据的长度(Len)5比特,插槽号(Slot Id)8比特,卡号(Card Id)8比特,端口号(Port Id)8比特,保留位(Rsv)8比特。即上述的Variable Option Data:标识扩展头携带的数据包括插槽号、卡号和端口号。分别用于标识转发设备上的插槽、插槽内插入的卡以及卡上的端口。
可选地,在扩展头中还可以携带协议报文的类型信息,使得控制器在解封装时可以直接获取协议报文的类型,而无需再对协议报文进行解析,从而提升了系统性能。
可选地,除了增加扩展头携带端口信息,并通过生成新格式的VXLAN头指示扩展头信息之外,也可以由所述转发设备对所述协议报文进行封装,生成第一VXLAN报文,在所述第一VXLAN报文的载荷字段中携带所述端口信息和所述协议报文。同样可以实现VXLAN隧道传输协议报文。
在本实施例中,描述了VXLAN头配置和增加扩展头的具体方式,通过上述配置和扩展,便可以使得转发设备和控制器之间能够使用VXLAN隧道进行协议报文的传输。
图5是本申请实施例提供的又一种传输报文的方法的流程示意图,步骤S501-S503和步骤S201-S203相同,此处不再赘述。本实施例中,所述方法还可以包括但不限于如下步骤:
S504,所述转发设备接收来自所述控制器的第二VXLAN报文。
所述第二VXLAN报文包含协议应答报文和所述端口信息。
S505,所述转发设备对所述第二VXLAN报文进行VXLAN解封装,获取所述第二VXLAN报文中包含的所述协议应答报文和所述端口信息。
S506,所述转发设备根据所述端口信息将所述协议应答报文通过所述端口转发出去。
其中,协议应答报文与协议报文对应,是控制器在接收到转发设备发送的协议报文之后对该协议报文的应答。
可选地,转发设备可以获取第二VXLAN报文中的VXLAN网络标识符,确定所述VXLAN网络标识符为协议报文下发业务的VXLAN网络标识符,然后根据所述端口信息将所述协议报文转发至所述端口。
其中,在进行报文传输时,对于转发设备而言,其接收其它转发设备或用户设备发送的协议报文时,所述端口也可以称为入端口;对于控制器而言,其向转发设备发送协议应答报文时,所述端口也可以称为出端口。
图6是本申请实施例提供的又一种传输报文的方法的流程示意图,所述方法可以包括但不限于如下步骤:
S601,控制器接收转发设备发送的第一虚拟可扩展局域网VXLAN报文。
所述第一VXLAN报文中包含协议报文和所述转发设备从端口接收所述协议报文的端口信息。
S602,所述控制器对所述第一VXLAN报文进行VXLAN解封装,获取所述第一VXLAN报文中包含的协议报文和所述端口信息。
所述端口信息指示所述转发设备接收所述协议报文的端口。VXLAN报文传输包括转发设备向控制器上送VXLAN报文以及控制器向转发设备下发VXLAN报文,二者都可以通过所述端口信息指示的端口完成。
可选地,在对所述第一VXLAN报文进行VXLAN解封装时,控制器还可以获取所述第一VXLAN报文中包含的VXLAN网络标识符,确定所述VXLAN网络标识符为协议报文上送业务的VXLAN网络标识符;
然后根据所述VXLAN网络标识符将所述协议报文上送控制面进行处理。
可选地,在步骤S601之前,还可以包括所述控制器与所述转发设备建立VXLAN隧道的步骤。建立好的VXLAN隧道可以作为所述协议报文和所述协议应答报文的传输通道。
可选地,所述控制器与所述转发设备建立VXLAN隧道,包括:
所述控制器通过开放流协议与所述转发设备协商所述VXALN隧道的隧道信息,根据协商的隧道信息建立VXLAN隧道,所述隧道信息包括源VXLAN隧道端点的地址信息、目的VXLAN隧道端点的地址信息和VXLAN网络标识符;或者
所述控制器配置建立VXLAN隧道,作为协议报文的传输通道。
控制器建立VXLAN隧道的方式与转发设备侧使用的方式基本一致,具体可参见图2所示实施例中步骤S202中的描述,此处不再赘述。
图7是本申请实施例提供的又一种传输报文的方法的流程示意图,S701-S702与S601-S602相同,此处不再赘述,所述方法还可以包括但不限于如下步骤:
S703,所述控制器根据所述协议报文生成协议应答报文,对所述协议应答报文进 行VXLAN封装,生成第二VXLAN报文,所述第二VXLAN报文中携带所述端口信息和所述协议应答报文。
可选地,所述控制器生成协议应答报文,对所述协议应答报文进行VXLAN封装,生成第二VXLAN报文,可以包括:
所述控制器根据所述协议报文生成协议应答报文、VXLAN头和扩展头,所述VXLAN头中包含标志位和长度信息,所述标志位指示在所述VXLAN头后增加所述扩展头,所述长度信息指示所述扩展头的长度;所述扩展头用于携带所述端口信息;根据所述VXLAN头和所述扩展头对所述协议应答报文进行封装,生成第二VXLAN报文,所述第二VXLAN报文的载荷字段中携带所述协议应答报文;或者
所述控制器根据所述协议报文生成协议应答报文,对所述协议应答报文进行封装,生成第二VXLAN报文,所述第二VXLAN报文的载荷字段中携带所述端口信息和所述协议报文。
其中,控制器对生成新格式的VXLAN头及增加扩展头的方式与转发设备侧使用的方式基本一致,具体可参见图3所示实施例中的描述,此处不再赘述。
S704,所述控制器将所述第二VXLAN报文发送给所述转发设备;
可选地,控制器还可以在上送的报文头中携带选板信息,以确定上送的物理单板需要说明的是,以上步骤S703-S704中方法可以适用于针对接收到的协议报文进行应答之外,也可以适用于控制器主动向转发设备下发协议报文的场景,本申请实施例不作任何限定。
根据前述方法,图8为本申请实施例提供的一种转发设备的组成示意图,所述转发设备包括:
收发单元100,用于从端口接收来自其它转发设备或用户设备的协议报文;
处理单元200,用于对所述协议报文进行虚拟可扩展局域网(VXLAN)封装,生成第一VXLAN报文,所述第一VXLAN报文包含所述协议报文和所述端口的端口信息;
所述收发单元100还用于将所述第一VXLAN报文发送给所述控制器。
其中,所述端口为所述转发设备上被设置为用VXLAN隧道传输协议报文的端口。
可选地,所述处理单元200用于:
生成VXLAN头和扩展头,所述VXLAN头中包含标志位和长度信息,所述标志位指示在所述VXLAN头后增加所述扩展头,所述长度信息指示所述扩展头的长度;所述扩展头用于携带所述端口信息;根据所述VXLAN头和所述扩展头对所述协议报文进行封装,生成第一VXLAN报文,所述第一VXLAN报文的载荷字段中携带所述协议报文;或者
对所述协议报文进行封装,生成第一VXLAN报文,所述第一VXLAN报文的载荷字段中携带所述端口信息和所述协议报文。
可选地,所述接收单元100还用于接收来自所述控制器的第二VXLAN报文,所述第二VXLAN报文包含协议应答报文和所述端口信息;
所述处理单元200还用于对所述第二VXLAN报文进行VXLAN解封装,获取所述第二VXLAN报文中包含的所述协议应答报文和所述端口信息;
所述接收单元100还用于根据所述端口信息将所述协议应答报文通过所述端口转发出去。
可选地,所述处理单元200还用于:
与所述控制器建立VXLAN隧道,所述VXLAN隧道作为所述协议报文和所述协议应答报文的传输通道。
可选地,所述处理单元200用于:
通过开放流协议与所述控制器协商所述VXALN隧道的隧道信息,根据协商的隧道信息建立所述VXLAN隧道,所述隧道信息包括源VXLAN隧道端点的地址信息、目的VXLAN隧道端点的地址信息和VXLAN网络标识符;或者
配置建立所述VXLAN隧道。
根据前述方法,图9为本申请实施例提供的又一种转发设备的组成示意图,该转发设备可以包括处理器110、存储器120和总线130。处理器110和存储器120通过总线130连接,该存储器120用于存储指令,该处理器110用于执行该存储器120存储的指令,以实现如上图2-图5对应的方法中的步骤。
进一步的,该转发设备还可以包括、输入口140和输出口150。其中,处理器110、存储器120、输入口140和输出口150可以通过总线130相连。
处理器110用于执行该存储器120存储的指令,以控制输入口140接收信号,并控制输出口150发送信号,完成上述方法中转发设备执行的步骤。其中,输入口140和输出口150可以为相同或者不同的物理实体。为相同的物理实体时,可以统称为输入输出口。所述存储器120可以集成在所述处理器110中,也可以与所述处理器110分开设置。
作为一种实现方式,输入口140和输出口150的功能可以考虑通过收发电路或者收发的专用芯片实现。处理器110可以考虑通过专用处理芯片、处理电路、处理器或者通用芯片实现。
作为另一种实现方式,可以考虑使用通用计算机的方式来实现本申请实施例提供的转发设备。即将实现处理器110,输入口140和输出口150功能的程序代码存储在存储器中,通用处理器通过执行存储器中的代码来实现处理器110,输入口140和输出口150的功能。
需要说明的是,本实施例也可以基于通用的物理服务器结合网络功能虚拟化(英文:Network Function Virtualization,NFV)技术实现的虚拟转发设备,所述虚拟转发设备可以是运行有用于任务迁移功能的程序的虚拟机(英文:Virtual Machine,VM),所述虚拟机部署在硬件设备上(例如,物理服务器)。虚拟机指通过软件模拟的具有完整硬件系统功能的、运行在一个完全隔离环境中的完整计算机系统。
该转发设备所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其它步骤请参见前述方法或其它实施例中关于这些内容的描述,此处不做赘述。
本领域技术人员可以理解,为了便于说明,图9仅示出了一个存储器和处理器。在实际的控制器中,可以存在多个处理器和存储器。存储器也可以称为存储介质或者存储设备等,本发明实施例对此不做限制。
根据前述方法,图10为本申请实施例提供的一种控制器的组成示意图,所述控制器包括:
收发单元300,用于接收转发设备发送的第一虚拟可扩展局域网(VXLAN)报文,所述第一VXLAN报文中包含协议报文和端口信息,所述端口信息指示所述转发设备接收所述协议报文的端口;
处理单元400,用于对所述VXLAN报文进行VXLAN解封装,获取所述VXLAN报文中包含的协议报文和所述端口信息。
可选地,所述处理单元400还用于:
生成协议应答报文,对所述协议应答报文进行VXLAN封装,生成第二VXLAN报文,所述第二VXLAN报文中携带所述端口信息和所述协议应答报文;
所述收发单元300还用于将所述第二VXLAN报文发送给所述转发设备。
可选地,所述处理单元400用于:
根据所述协议报文生成协议应答报文、VXLAN头和扩展头,所述VXLAN头中包含标志位和长度信息,所述标志位指示在所述VXLAN头后增加所述扩展头,所述长度信息指示所述扩展头的长度;所述扩展头用于携带所述端口信息;根据所述VXLAN头和所述扩展头对所述协议应答报文进行封装,生成第二VXLAN报文,所述第二VXLAN报文的载荷字段中携带所述协议应答报文;或者
根据所述协议报文生成协议应答报文,对所述协议应答报文进行封装,生成第二VXLAN报文,所述第二VXLAN报文的载荷字段中携带所述端口信息和所述协议报文。
可选地,所述处理单元400还用于:
与所述转发设备建立VXLAN隧道,所述VXLAN隧道作为所述协议报文和所述协议应答报文的传输通道。
可选地,所述处理单元400用于:
通过开放流协议与所述转发设备协商所述VXALN隧道的隧道信息,根据协商的隧道信息建立所述VXLAN隧道,所述隧道信息包括源VXLAN隧道端点的地址信息、目的VXLAN隧道端点的地址信息和VXLAN网络标识符;或者
配置建立所述VXLAN隧道。
根据前述方法,图11为本申请实施例提供的又一种控制器的组成示意图,该控制器可以包括处理器210、存储器220和总线230。处理器210和存储器220通过总线230连接,该存储器220用于存储指令,该处理器210用于执行该存储器220存储的指令,以实现如上图6-图7对应的方法中的步骤。
进一步的,该控制器还可以包括、输入口240和输出口250。其中,处理器210、存储器220、输入口240和输出口250可以通过总线230相连。
处理器210用于执行该存储器220存储的指令,以控制输入口240接收信号,并控制输出口250发送信号,完成上述方法中控制器执行的步骤。其中,输入口240和输出口250可以为相同或者不同的物理实体。为相同的物理实体时,可以统称为输入输出口。所述存储器220可以集成在所述处理器210中,也可以与所述处理器210分 开设置。
作为一种实现方式,输入口240和输出口250的功能可以考虑通过收发电路或者收发的专用芯片实现。处理器210可以考虑通过专用处理芯片、处理电路、处理器或者通用芯片实现。
作为另一种实现方式,可以考虑使用通用计算机的方式来实现本申请实施例提供的控制器。即将实现处理器210,输入口240和输出口250功能的程序代码存储在存储器中,通用处理器通过执行存储器中的代码来实现处理器210,输入口240和输出口250的功能。
需要说明的是,本实施例也可以基于通用的物理服务器结合网络功能虚拟化(英文:Network Function Virtualization,NFV)技术实现的虚拟控制器,所述虚拟控制器可以是运行有用于任务迁移功能的程序的虚拟机(英文:Virtual Machine,VM),所述虚拟机部署在硬件设备上(例如,物理服务器)。虚拟机指通过软件模拟的具有完整硬件系统功能的、运行在一个完全隔离环境中的完整计算机系统。
该控制器所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其它步骤请参见前述方法或其它实施例中关于这些内容的描述,此处不做赘述。
本领域技术人员可以理解,为了便于说明,图11仅示出了一个存储器和处理器。在实际的控制器中,可以存在多个处理器和存储器。存储器也可以称为存储介质或者存储设备等,本发明实施例对此不做限制。
应理解,在本申请实施例中,处理器可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器还可以是其它通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。
该总线除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线。
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
根据本申请实施例提供的方法,本申请实施例还提供一种系统,应用于控制转发分离的网络,其包括前述的控制器和转发设备。
还应理解,本文中涉及的第一、第二、第三、第四以及各种数字编号仅为描述方便进行的区分,并不用来限制本发明实施例的范围。
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在 B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各种说明性逻辑块(illustrative logical block)和步骤(step),能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其它可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (25)

  1. 一种传输报文的方法,其特征在于,包括:
    转发设备从端口接收来自其它转发设备或用户设备的协议报文;
    所述转发设备对所述协议报文进行虚拟可扩展局域网VXLAN封装,生成第一VXLAN报文,所述第一VXLAN报文包含所述协议报文和所述端口的端口信息;
    所述转发设备将所述第一VXLAN报文发送给所述控制器。
  2. 根据权利要求1所述的方法,其特征在于,所述转发设备对所述协议报文进行VXLAN封装,生成第一VXLAN报文,包括:
    所述转发设备生成VXLAN头和扩展头,所述VXLAN头中包含标志位和长度信息,所述标志位指示在所述VXLAN头后增加所述扩展头,所述长度信息指示所述扩展头的长度;所述扩展头用于携带所述端口信息;根据所述VXLAN头和所述扩展头对所述协议报文进行封装,生成第一VXLAN报文,所述第一VXLAN报文的载荷字段中携带所述协议报文;或者
    所述转发设备对所述协议报文进行封装,生成第一VXLAN报文,所述第一VXLAN报文的载荷字段中携带所述端口信息和所述协议报文。
  3. 根据权利要求2所述的方法,其特征在于,还包括:
    所述转发设备接收来自所述控制器的第二VXLAN报文,所述第二VXLAN报文包含协议应答报文和所述端口信息;
    所述转发设备对所述第二VXLAN报文进行VXLAN解封装,获取所述第二VXLAN报文中包含的所述协议应答报文和所述端口信息;
    所述转发设备根据所述端口信息将所述协议应答报文通过所述端口转发出去。
  4. 根据权利要求3所述的方法,其特征在于,还包括:
    所述转发设备与所述控制器建立VXLAN隧道,所述VXLAN隧道作为所述协议报文和所述协议应答报文的传输通道。
  5. 根据权利要求4所述的方法,其特征在于,所述转发设备与所述控制器建立VXLAN隧道,包括:
    所述转发设备通过开放流协议与所述控制器协商所述VXALN隧道的隧道信息,根据协商的隧道信息建立所述VXLAN隧道,所述隧道信息包括源VXLAN隧道端点的地址信息、目的VXLAN隧道端点的地址信息和VXLAN网络标识符;或者
    所述转发设备配置建立所述VXLAN隧道。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述端口为所述转发设备上被设置为用VXLAN隧道传输协议报文的端口。
  7. 一种传输报文的方法,其特征在于,包括:
    控制器接收转发设备发送的第一虚拟可扩展局域网VXLAN报文,所述第一VXLAN报文中包含协议报文和端口信息,所述端口信息指示所述转发设备接收所述协议报文的端口;
    所述控制器对所述第一VXLAN报文进行VXLAN解封装,获取所述第一VXLAN报文中包含的协议报文和所述端口信息。
  8. 根据权利要求7所述的方法,其特征在于,还包括:
    所述控制器根据所述协议报文生成协议应答报文,对所述协议应答报文进行VXLAN封装,生成第二VXLAN报文,所述第二VXLAN报文中携带所述端口信息和所述协议应答报文;
    所述控制器将所述第二VXLAN报文发送给所述转发设备。
  9. 根据权利要求8所述的方法,其特征在于,所述控制器根据所述协议报文生成协议应答报文,对所述协议应答报文进行VXLAN封装,生成第二VXLAN报文,包括:
    所述控制器根据所述协议报文生成协议应答报文、VXLAN头和扩展头,所述VXLAN头中包含标志位和长度信息,所述标志位指示在所述VXLAN头后增加所述扩展头,所述长度信息指示所述扩展头的长度;所述扩展头用于携带所述端口信息;根据所述VXLAN头和所述扩展头对所述协议应答报文进行封装,生成第二VXLAN报文,所述第二VXLAN报文的载荷字段中携带所述协议应答报文;或者
    所述控制器根据所述协议报文生成协议应答报文,对所述协议应答报文进行封装,生成第二VXLAN报文,所述第二VXLAN报文的载荷字段中携带所述端口信息和所述协议报文。
  10. 根据权利要求9所述的方法,其特征在于,还包括:
    所述控制器与所述转发设备建立VXLAN隧道,所述VXLAN隧道作为所述协议报文和所述协议应答报文的传输通道。
  11. 根据权利要求10所述的方法,其特征在于,所述控制器与所述转发设备建立VXLAN隧道,包括:
    所述控制器通过开放流协议与所述转发设备协商所述VXALN隧道的隧道信息,根据协商的隧道信息建立所述VXLAN隧道,所述隧道信息包括源VXLAN隧道端点的地址信息、目的VXLAN隧道端点的地址信息和VXLAN网络标识符;或者
    所述控制器配置建立所述VXLAN隧道。
  12. 一种转发设备,其特征在于,包括:
    收发单元,用于从端口接收来自其它转发设备或用户设备的协议报文;
    处理单元,用于对所述协议报文进行虚拟可扩展局域网VXLAN封装,生成第一VXLAN报文,所述第一VXLAN报文包含所述协议报文和所述端口的端口信息;
    所述收发单元还用于将所述第一VXLAN报文发送给所述控制器。
  13. 根据权利要求12所述的转发设备,其特征在于,所述处理单元用于:
    生成VXLAN头和扩展头,所述VXLAN头中包含标志位和长度信息,所述标志位指示在所述VXLAN头后增加所述扩展头,所述长度信息指示所述扩展头的长度;所述扩展头用于携带所述端口信息;根据所述VXLAN头和所述扩展头对所述协议报文进行封装,生成第一VXLAN报文,所述第一VXLAN报文的载荷字段中携带所述协议报文;或者
    对所述协议报文进行封装,生成第一VXLAN报文,所述第一VXLAN报文的载荷字段中携带所述端口信息和所述协议报文。
  14. 根据权利要求13所述的转发设备,其特征在于,所述接收单元还用于接收来自所述控制器的第二VXLAN报文,所述第二VXLAN报文包含协议应答报文和所述端口信息;
    所述处理单元还用于对所述第二VXLAN报文进行VXLAN解封装,获取所述第二VXLAN报文中包含的所述协议应答报文和所述端口信息;
    所述接收单元还用于根据所述端口信息将所述协议应答报文通过所述端口转发出去。
  15. 根据权利要求14所述的转发设备,其特征在于,所述处理单元还用于:
    与所述控制器建立VXLAN隧道,所述VXLAN隧道作为所述协议报文和所述协议应答报文的传输通道。
  16. 根据权利要求15所述的转发设备,其特征在于,所述处理单元用于:
    通过开放流协议与所述控制器协商所述VXALN隧道的隧道信息,根据协商的隧道信息建立所述VXLAN隧道,所述隧道信息包括源VXLAN隧道端点的地址信息、目的VXLAN隧道端点的地址信息和VXLAN网络标识符;或者
    配置建立所述VXLAN隧道。
  17. 根据权利要求12-16任一项所述的转发设备,其特征在于,所述端口为所述转发设备上被设置为用VXLAN隧道传输协议报文的端口。
  18. 一种控制器,其特征在于,包括:
    收发单元,用于接收转发设备发送的第一虚拟可扩展局域网VXLAN报文,所述第一VXLAN报文中包含协议报文和端口信息,所述端口信息指示所述转发设备接收所述协议报文的端口;
    处理单元,用于对所述VXLAN报文进行VXLAN解封装,获取所述VXLAN报文中包含的协议报文和所述端口信息。
  19. 根据权利要求18所述的控制器,其特征在于,所述处理单元还用于根据所述 协议报文生成协议应答报文,对所述协议应答报文进行VXLAN封装,生成第二VXLAN报文,所述第二VXLAN报文中携带所述端口信息和所述协议应答报文;
    所述收发单元还用于将所述第二VXLAN报文发送给所述转发设备。
  20. 根据权利要求19所述的控制器,其特征在于,所述处理单元用于:
    根据所述协议报文生成协议应答报文、VXLAN头和扩展头,所述VXLAN头中包含标志位和长度信息,所述标志位指示在所述VXLAN头后增加所述扩展头,所述长度信息指示所述扩展头的长度;所述扩展头用于携带所述端口信息;根据所述VXLAN头和所述扩展头对所述协议应答报文进行封装,生成第二VXLAN报文,所述第二VXLAN报文的载荷字段中携带所述协议应答报文;或者
    根据所述协议报文生成协议应答报文,对所述协议应答报文进行封装,生成第二VXLAN报文,所述第二VXLAN报文的载荷字段中携带所述端口信息和所述协议报文。
  21. 根据权利要求20所述的控制器,其特征在于,所述处理单元还用于:
    与所述转发设备建立VXLAN隧道,所述VXLAN隧道作为所述协议报文和所述协议应答报文的传输通道。
  22. 根据权利要求21所述的控制器,其特征在于,所述处理单元用于:
    通过开放流协议与所述转发设备协商所述VXALN隧道的隧道信息,根据协商的隧道信息建立所述VXLAN隧道,所述隧道信息包括源VXLAN隧道端点的地址信息、目的VXLAN隧道端点的地址信息和VXLAN网络标识符;或者
    配置建立所述VXLAN隧道。
  23. 一种系统,应用于控制转发分离的网络,其特征在于,所述系统包括:
    如权利要求12-17任一项所述的转发设备;以及
    如权利要求18-22任一项所述的控制器。
  24. 一种转发设备,其特征在于,包括:
    处理器、存储器和总线,所述处理器和存储器通过总线连接,其中,所述存储器用于存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行如权利要求1-6任一项所述的步骤。
  25. 一种控制器,其特征在于,包括:
    处理器、存储器和总线,所述处理器和存储器通过总线连接,其中,所述存储器用于存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行如权利要求7-11任一项所述的步骤。
PCT/CN2018/099281 2017-08-15 2018-08-08 一种传输报文的方法、转发设备、控制器及系统 WO2019033964A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP18846339.2A EP3644559A4 (en) 2017-08-15 2018-08-08 PACKET TRANSMISSION METHOD, ROUTING DEVICE, CONTROLLER AND SYSTEM
US16/791,704 US20200186389A1 (en) 2017-08-15 2020-02-14 Virtual Extensible Local Area Network (VXLAN) Packet Encapsulation

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710701414.0A CN109412922B (zh) 2017-08-15 2017-08-15 一种传输报文的方法、转发设备、控制器及系统
CN201710701414.0 2017-08-15

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/791,704 Continuation US20200186389A1 (en) 2017-08-15 2020-02-14 Virtual Extensible Local Area Network (VXLAN) Packet Encapsulation

Publications (1)

Publication Number Publication Date
WO2019033964A1 true WO2019033964A1 (zh) 2019-02-21

Family

ID=65361927

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/099281 WO2019033964A1 (zh) 2017-08-15 2018-08-08 一种传输报文的方法、转发设备、控制器及系统

Country Status (4)

Country Link
US (1) US20200186389A1 (zh)
EP (1) EP3644559A4 (zh)
CN (1) CN109412922B (zh)
WO (1) WO2019033964A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3731497A1 (en) * 2019-04-19 2020-10-28 Huawei Technologies Co. Ltd. Service processing method and network device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290078A (zh) * 2019-06-13 2019-09-27 杭州迪普科技股份有限公司 报文转发方法、装置、电子设备及机器可读存储介质
CN116346717A (zh) * 2020-06-02 2023-06-27 华为技术有限公司 一种确定处理能力的方法、节点和系统
CN112367197B (zh) * 2020-10-30 2022-08-30 新华三技术有限公司 网络设备的迁移方法及装置
CN113746709B (zh) * 2021-08-25 2023-01-31 烽火通信科技股份有限公司 转控分离动态容量管理方法、装置、设备及存储介质
CN115174449B (zh) * 2022-05-30 2024-03-26 杭州初灵信息技术股份有限公司 一种传递随流检测信息的方法、系统、装置和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104747A (zh) * 2014-07-28 2014-10-15 杭州华三通信技术有限公司 报文传输方法及装置
CN105634942A (zh) * 2014-10-31 2016-06-01 华为技术有限公司 转发报文的方法和交换机
CN106603322A (zh) * 2015-10-20 2017-04-26 华为技术有限公司 一种报文发送、接收方法及网络设备
CN106803804A (zh) * 2016-12-22 2017-06-06 杭州华为数字技术有限公司 传输报文的方法和装置
US20170180323A1 (en) * 2012-10-30 2017-06-22 Fortinet, Inc. System and method for securing virtualized networks

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161225B (zh) * 2015-03-23 2019-05-28 华为技术有限公司 用于处理vxlan报文的方法、装置及系统
CN113225238B (zh) * 2015-07-17 2022-08-26 华为技术有限公司 消息传输方法、接入节点、接入控制器及接入系统
CN105915427B (zh) * 2016-03-31 2019-12-17 华为技术有限公司 一种报文发送、接收方法及设备
CN107645431B (zh) * 2016-07-20 2020-08-04 新华三技术有限公司 报文转发方法及装置
CN109150673B (zh) * 2017-06-16 2020-04-03 华为技术有限公司 基于bras系统的报文封装方法、装置及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170180323A1 (en) * 2012-10-30 2017-06-22 Fortinet, Inc. System and method for securing virtualized networks
CN104104747A (zh) * 2014-07-28 2014-10-15 杭州华三通信技术有限公司 报文传输方法及装置
CN105634942A (zh) * 2014-10-31 2016-06-01 华为技术有限公司 转发报文的方法和交换机
CN106603322A (zh) * 2015-10-20 2017-04-26 华为技术有限公司 一种报文发送、接收方法及网络设备
CN106803804A (zh) * 2016-12-22 2017-06-06 杭州华为数字技术有限公司 传输报文的方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3644559A4

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3731497A1 (en) * 2019-04-19 2020-10-28 Huawei Technologies Co. Ltd. Service processing method and network device
US11502953B2 (en) 2019-04-19 2022-11-15 Huawei Technologies Co., Ltd. Service processing method and network device
AU2020202599B2 (en) * 2019-04-19 2023-07-06 Huawei Technologies Co., Ltd. Service processing method and network device

Also Published As

Publication number Publication date
EP3644559A4 (en) 2020-07-08
EP3644559A1 (en) 2020-04-29
CN109412922B (zh) 2021-07-20
US20200186389A1 (en) 2020-06-11
CN109412922A (zh) 2019-03-01

Similar Documents

Publication Publication Date Title
WO2019033964A1 (zh) 一种传输报文的方法、转发设备、控制器及系统
US10320664B2 (en) Cloud overlay for operations administration and management
US9960966B2 (en) Methods and systems for managing VPN tunnels
TWI504193B (zh) 用於在雲計算中卸載隧道資料包的方法和系統
CN106713103B (zh) 用于虚拟和物理网络集成的方法和系统
US8908704B2 (en) Switch with dual-function management port
WO2020219235A1 (en) Enabling access to dedicated resources in a virtual network using top of rack switches
JP2019518393A (ja) パケット処理方法、及びデバイス
US20150146718A1 (en) Method, apparatus and system for processing data packet
WO2022001835A1 (zh) 发送报文的方法、装置、网络设备、系统及存储介质
WO2021238746A1 (zh) 网络系统及其中的报文传输方法和相关装置
WO2020019958A1 (zh) Vxlan报文封装及策略执行方法、设备、系统
WO2021254001A1 (zh) 会话建立方法、装置、系统及计算机存储介质
CN109936492A (zh) 一种通过隧道传输报文的方法、装置和系统
CN113542111B (zh) 一种报文转发方法及网络设备
KR101140453B1 (ko) Ip 인터워킹 vll을 통한 회로 에뮬레이션 방법 및 시스템
WO2022117018A1 (zh) 报文传输的方法和装置
WO2015081534A1 (zh) 一种数据报文的传输系统、传输方法和设备
WO2019179161A1 (zh) 一种数据流量处理方法、设备及系统
CN109728926A (zh) 通信方法以及网络设备
WO2019134637A1 (zh) 多类型的层叠虚拟网络互连的方法、装置及系统
US20220247598A1 (en) Packet Detection Method, Connectivity Negotiation Relationship Establishment Method, and Related Device
CN109218258B (zh) 数据包传输方法及网关设备
WO2023010730A1 (zh) 数据包解析的方法和服务器
WO2022007749A1 (zh) 一种数据传输方法和装置

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: 18846339

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018846339

Country of ref document: EP

Effective date: 20200124

NENP Non-entry into the national phase

Ref country code: DE