WO2013113171A1 - 流识别的方法、设备和系统 - Google Patents
流识别的方法、设备和系统 Download PDFInfo
- Publication number
- WO2013113171A1 WO2013113171A1 PCT/CN2012/070878 CN2012070878W WO2013113171A1 WO 2013113171 A1 WO2013113171 A1 WO 2013113171A1 CN 2012070878 W CN2012070878 W CN 2012070878W WO 2013113171 A1 WO2013113171 A1 WO 2013113171A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- tunnel encapsulation
- flow entry
- switching device
- data packet
- enhanced flow
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/30—Peripheral units, e.g. input or output ports
- H04L49/3009—Header conversion, routing tables or routing tags
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/20—Traffic policing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2483—Traffic characterised by specific attributes, e.g. priority or QoS involving identification of individual flows
Definitions
- the present invention relates to the field of communications, and more particularly to techniques for stream identification. Background technique
- the OpenFlow (English OpenFlow) protocol converts the packet forwarding process that was originally controlled by the switch/router into a switching device that supports the OpenFlow protocol (hereinafter collectively referred to as a switching device) and a controller that uses the OpenFlow protocol (hereinafter collectively referred to as a controller). Together, the separation of data forwarding and routing control is achieved.
- the controller controls the flow table in the switching device through the OpenFlow protocol to control the data forwarding.
- the switching device and the controller cannot identify the encapsulated content information in the data packet, so that the The data packet processed by the tunnel encapsulation performs forwarding or other operations.
- Embodiments of the present invention provide methods, devices, and systems for flow identification.
- a method of flow identification includes:
- the switching device obtains an enhanced flow entry that matches the tunnel encapsulation, and the enhanced flow entry that matches the tunnel encapsulation includes an identifier of the tunnel encapsulation and a flow table domain that matches the tunnel encapsulation;
- the switching device identifies the data packet processed by the tunnel encapsulation according to the enhanced flow entry matching the tunnel encapsulation.
- the switching device can identify the packet encapsulated in the data packet after the data packet is encapsulated and processed.
- a method of stream identification includes:
- the controller receives the data packet processed by the tunnel encapsulation
- the controller matches the tunnel encapsulation according to the data packet allocation processed by the tunnel encapsulation process.
- the enhanced flow entry, the enhanced flow entry matching the tunnel encapsulation includes an identifier of the tunnel encapsulation and a flow table domain matching the tunnel encapsulation;
- the controller sends an enhanced flow entry that matches the tunnel encapsulation to the switching device.
- the switching device can identify the packet encapsulated in the data packet after the data packet is encapsulated and processed.
- a switching device in another aspect, includes:
- An obtaining unit configured to acquire an enhanced flow entry that matches the tunnel encapsulation, where the enhanced flow entry matching the tunnel encapsulation includes an identifier of the tunnel encapsulation and a flow table domain that matches the tunnel encapsulation;
- An identification unit configured to identify, according to the enhanced flow entry that matches the tunnel encapsulation, the data packet processed by the tunnel encapsulation.
- the switching device can identify the packet encapsulated in the data packet after the data packet is encapsulated and processed.
- a controller in another aspect, includes:
- a receiver configured to receive the tunneled data packet sent by the switching device
- the processor is configured to allocate, according to the data packet processed by the tunnel encapsulation, an enhanced flow entry that matches the tunnel encapsulation, where the enhanced flow entry matching the tunnel encapsulation includes the identifier of the tunnel encapsulation and the tunnel encapsulation Flow table domain;
- a transmitter the transmitter is configured to send the enhanced flow entry that matches the tunnel encapsulation to the switching device.
- the switching device can identify the packet encapsulated in the data packet after the data packet is encapsulated and processed.
- a system for implementing flow identification includes: the above switching device and the above controller.
- the system performs the method of stream identification provided by the embodiment of the present invention, and can realize the identification of the data packet processed by the tunnel encapsulation.
- a computer program product is provided.
- the computer program product includes a storage medium in which the code of the stream identification method described above is stored. By using the computer program product, a method for stream identification can be implemented, thereby realizing identification of data packets processed by tunnel encapsulation.
- FIG. 1 is a schematic flowchart of a flow identification method according to a first embodiment of the present invention.
- FIG. 1 is a schematic diagram of an implementation manner of an enhanced flow entry according to Embodiment 1 of the present invention. ;
- FIG. 2 is a schematic flowchart of a method for stream identification according to Embodiment 2 of the present invention
- 3(1) to 3(2) are schematic diagrams showing a flow of a method for stream identification according to Embodiment 3 of the present invention.
- FIG. 4 is a schematic flowchart of a method for stream identification according to Embodiment 4 of the present invention.
- FIG. 5(1) to 5(2) are schematic structural diagrams of a switching device according to Embodiment 4 of the present invention.
- FIG. 6 is a schematic structural diagram of a controller according to Embodiment 5 of the present invention. detailed description
- the switching device supporting the OpenFlow protocol includes at least three parts: (1) a flow table and an operation defined by each flow entry included in the flow table, which is used to indicate how the switching device processes the received data message, for example, forwarding the datagram. Text to port, forwarding data packets to the controller or discarding data packets, etc.; (2) Secure channel, used to connect remote control processes (or controllers) and switching devices, and allow command and data messages Transmission in controllers and switching devices; (3) OpenFlow protocol, providing an open and standard means of communication for controllers and switching devices.
- the switching device compares the received data packet with the flow table. If the switching device obtains a flow entry matching the data packet, the operation defined in the flow entry is performed (for example, forwarding the data packet to a specific port). If the switching device does not obtain a matching flow entry, the switching device forwards the data packet to the controller, and the controller determines how to process the data packet without matching the flow entry. After the data message passes through the tunnel After the channel encapsulation technology is processed, in the existing OpenFlow protocol and flow table definition, neither the switching device nor the controller can identify the tunnel encapsulation content in the data packet processed by the tunnel encapsulation.
- Embodiment 1 of the present invention provides a method for stream identification. This method includes the following.
- the switching device acquires an enhanced flow entry that matches the tunnel encapsulation.
- the enhanced flow entry matching the tunnel encapsulation includes an identifier of the tunnel encapsulation and a flow table domain matching the tunnel encapsulation.
- the switching device identifies the data packet processed by the tunnel encapsulation according to the enhanced flow entry that matches the tunnel encapsulation.
- Tunnel encapsulation refers to repackaging packets of other protocols into packets of another protocol.
- the tunnel encapsulation may include: Internet Protocol (IP for Internet Protocol), tunnel encapsulation, Medium Access Control (MAC) tunnel encapsulation, Virtual Local Area Network (VLAN) tunnel encapsulation Multi-Protocol Label Switching (MPLS) Tunnel encapsulation and transmission control protocol (Transmission Control Protocol, TCP for short) Tunnel encapsulation, User Datagram Protocol (English for User Datagram Protocol, UDP for short) Tunnel encapsulation and flow control transmission protocol (Stream Control Transmission Protocol, SCTP for short) Tunnel encapsulation or Internet Control Message Protocol (ICMP) tunnel encapsulation.
- IP Internet Protocol
- MAC Medium Access Control
- VLAN Virtual Local Area Network
- MPLS Multi-Protocol Label Switching
- TCP Transmission Control Protocol
- TCP Transmission Control Protocol
- UDP User Datagram Protocol
- SCTP Internet Control Transmission Protocol
- ICMP Internet Control Message Protocol
- the matching with the tunnel encapsulation in the embodiment of the present invention means that the switching device can perform the field according to the enhanced flow entry (specifically, the flow table field in the enhanced flow entry) and the data packet processed by the tunnel encapsulation.
- the comparison can not only identify the data packets in the data packet that are not processed by the tunnel encapsulation process, but also identify the data packets that are processed by the tunnel encapsulation technology.
- the contents of the message, and perform the operations defined in the enhanced flow entry for example, forward the data message to a specified port).
- the identifier of the tunnel encapsulation in the embodiment of the present invention is used to indicate whether the switching device identifies the packet content processed by the tunnel encapsulation in the data packet.
- the identifier of the tunnel encapsulation which may be a symbol, a number or a field, or the like. For example, when the identifier of the tunnel encapsulation is "1", the switching device needs to identify the content of the packet encapsulated in the data packet. When the identifier of the tunnel encapsulation is "0", the switching device does not need to be configured. Identify the contents of the tunneled packet in the data packet.
- the identifier of the tunnel encapsulation is " ⁇ ", indicating that the switching device identifies the packet content encapsulated in the data packet by the IP tunnel, and correspondingly, the flow table domain matching the tunnel encapsulation is corresponding to the IP tunnel encapsulation.
- the tunnel encapsulation identifier is "2”, indicating that the switching device identifies the packet content encapsulated in the data packet through the MAC tunnel, and correspondingly, the flow table domain matching the tunnel encapsulation corresponds to the MAC tunnel encapsulation;
- the identifier is "3", indicating that the switching device identifies the packet content encapsulated in the data packet through the TCP tunnel.
- the flow table domain matching the tunnel encapsulation corresponds to the TCP tunnel encapsulation; the tunnel encapsulation identifier is "0". ", indicating that the switching device does not need to identify the contents of the packet encapsulated in the tunnel in the data packet or to identify the content of the packet that is not encapsulated by the tunnel.
- the designated identifier herein is "1", "2" or "3”.
- the enhanced flow entry of the tunnel encapsulation is set, and the identifier of the tunnel encapsulation is "0".
- the identifier of the tunnel encapsulation is not set.
- the bit and the flag are not set and can be set as needed, and the present invention is not limited.
- the switching device needs to pass a flow entry that matches the IP tunnel encapsulation, that is, the embodiment of the present invention.
- the enhanced flow entry includes an identifier of the IP tunnel encapsulation and a flow table domain matching the IP tunnel encapsulation.
- the switching device compares the content of the packet processed by the IP tunnel encapsulation in the flow table domain and the data packet matched with the IP tunnel encapsulation, and performs matching with the IP tunnel encapsulation.
- the operation defined in the enhanced flow entry thereby completing the data packet encapsulated by the IP tunnel. Identification.
- a flow table consists of multiple flow entries, and each flow entry is a forwarding rule.
- the flow entry is composed of multiple flow table domains, and each flow table domain corresponds to the content of different data packets by field.
- the data packet flowing through the switching device matches the corresponding flow entry in the flow table (or the flow table field in the flow entry corresponds to the field respectively), and the switching device can obtain the forwarded destination port or perform other defined functions. Operation.
- the enhanced flow entry described in the embodiment of the present invention is in the flow table entry (hereinafter referred to as the flow matching the non-tunnel encapsulation), because the data packet received by the switching device includes the content of the packet encapsulated by the tunnel encapsulation process.
- the entry of the tunnel encapsulation and the flow table domain matching the tunnel encapsulation are also included in the entry.
- the identifier of the tunnel encapsulation indicates whether the tunnel encapsulation content in the data packet processed by the tunnel encapsulation needs to be identified by a specific data, symbol or field. Take the IP tunnel encapsulation as an example.
- the enhanced flow entry can be, but is not limited to, the following two implementations:
- the enhanced flow entry adds an IP tunnel encapsulation identifier and a flow table domain matching the IP tunnel encapsulation to the flow entry matching the non-tunnel encapsulation.
- the identifier of the IP tunnel encapsulation may be recorded as "Tunnel inspected"; the flow table domain matching the IP tunnel encapsulation may include a tunnel encapsulation IP source address ( Tunnel IP source), a tunnel encapsulation IP destination address (Tunnel IP dst), and a tunnel.
- Encapsulate IP protocol (Tunnel IP Proto) and tunnel encapsulation IP service type (Tunnel IP Tos).
- the identifier of the IP tunnel encapsulation When the identifier of the IP tunnel encapsulation is set, that is, the "Tunnel inspected" in Figure 1 (2) is the specified identifier, it indicates that the switching device needs to use the flow table domain matching the IP tunnel encapsulation to pass the IP packet in the data packet. The content of the IP packet processed by the tunnel encapsulation is identified. When the identifier of the IP tunnel encapsulation is not set, it indicates that the switching device does not need to use the flow table domain that matches the IP tunnel encapsulation. The switching device can use the original flow table entry in the enhanced flow entry that matches the non-tunnel encapsulation.
- the IP flow table field identifies the content of the above data message.
- the enhanced flow entry adds an identifier of the IP tunnel encapsulation to the flow entry matching the non-tunnel encapsulation and multiplexes the flow table matching the non-tunnel encapsulation.
- the identifier of the IP tunnel encapsulation is set, the original IP flow table field in the flow entry matching the non-tunnel encapsulation is the flow table domain matching the IP tunnel encapsulation.
- the IP packet content of the data packet processed by the IP tunnel encapsulation is identified.
- the switching device uses the original IP flow table field in the flow entry matching the non-tunnel encapsulation to identify the IP packet content of the data packet.
- the data packet received by the switching device includes the packet content processed by the tunnel encapsulation, and the flow entry matching the non-tunnel encapsulation does not include the field that can identify the content of the packet processed by the tunnel encapsulation.
- a flow table field that can be used to identify the content of the packet processed by the tunnel and that matches the tunnel encapsulation is added to the flow entry that matches the non-tunnel encapsulation, and the corresponding field in the flow table domain may be Identify the packet content processed by the tunnel encapsulation.
- the embodiment of the present invention provides a flow identification method, which enables the switching device supporting the OpenFlow protocol to identify the service flow datagram.
- the tunnel encapsulates the content in the text, thereby enhancing the scope of application of the OpenFlow control protocol and performing more precise control methods.
- the embodiment of the present invention is characterized in that the OpenFlow control protocol and the flow table domain are enhanced, and the switching device that supports the OpenFlow can match the information of the tunnel encapsulation content when the packet is matched, and completes the data packet processed by the tunnel encapsulation. Identification of the contents of the tunnel package.
- Embodiment 2 of the present invention provides a method for stream identification. This method is a specific refinement of the method provided in the first embodiment of the present invention. This method gives a specific example of the enhanced flow entry obtained by the switching device to match the tunnel encapsulation. This example includes the following.
- the controller allocates an enhanced flow entry that matches the tunnel encapsulation according to the pre-configuration policy.
- the pre-configuration policy may be: In a system consisting of a controller and a switching device, most data packets received by the switching device include IP tunnel encapsulation processing. In the case of the content of the packet, the controller can pre-allocate the enhanced flow entry matching the IP tunnel encapsulation to the switching device, so that the switching device does not need to re-send the controller every time after receiving the data packet. Obtain an enhanced flow entry that matches the above tunnel encapsulation, thereby saving system resources.
- the controller sends an OFPC-CREATE (flow entry entry) message to the switching device, where the OFPC-CREATE message carries an enhanced flow entry that is matched by the controller and matched with the tunnel encapsulation.
- OFPC-CREATE flow entry entry
- the switching device After receiving the enhanced flow entry that is matched by the controller and matched by the tunnel encapsulation, the switching device saves the enhanced flow entry.
- the switching device identifies the received data packet according to the enhanced flow entry that is pre-allocated by the controller and matches the tunnel encapsulation, the switching device saves the tunneled device before the switching device receives the data packet.
- the second embodiment of the present invention is applicable to a case where a specific switching device receives a specific data packet.
- the technical solution provided by the second embodiment of the present invention when a specific switching device receives a specific data packet, can simplify the process of the enhanced device to obtain the enhanced flow entry matching the tunnel encapsulation, thereby identifying the tunnel encapsulation The tunneled content in the processed data packet.
- Embodiment 3 of the present invention provides a method for stream identification. This method is a specific refinement of the methods provided in the first and second embodiments of the present invention. This method gives a specific example of the enhanced device entry that the switching device acquires matching with the tunnel encapsulation. This example includes the following.
- the enhanced flow entry is saved on the switching device, and the saving process may be S21, S22, and S23 in the second embodiment of the present invention.
- the switching device compares the enhanced flow entry that is installed on the switching device with the data packet processed by the tunnel encapsulation according to the field to determine whether the matching is matched.
- the process proceeds to step S33.
- the enhanced flow entry saved on the switching device may be allocated by the controller according to the pre-configured policy.
- the controller can carry the enhanced flow entry in the OFPC-CREATE (flow entry creation) message and send it to the switching device.
- the switching device obtains the enhanced flow entry that matches the data packet processed by the tunnel encapsulation.
- the enhanced flow entry matching the data packet processed by the tunnel encapsulation is an enhanced flow entry matching the tunnel encapsulation.
- the switching device acquires an enhanced flow entry that matches the tunnel encapsulation through the controller.
- step S33 the switching device obtains an enhanced flow entry that matches the tunnel encapsulation through the controller, and specifically includes:
- the switching device sends a data packet processed by the tunnel encapsulation to the controller, and the data packet processed by the tunnel encapsulation is carried in the OFPT-PACKET-IN (flow entry entry) message.
- OFPT-PACKET-IN flow entry entry
- S33-2 The controller allocates an enhanced flow entry that matches the tunnel encapsulation according to the received data packet processed by the tunnel encapsulation.
- the controller carries the enhanced flow entry that is allocated to the tunnel encapsulation in the OFPC CREATE message or the OFPC_MODIFY message, and sends the message to the switching device.
- the switching device receives the enhanced flow entry sent by the controller and matched with the tunnel encapsulation.
- the technical solution provided by the third embodiment of the present invention is not limited to a specific switching device, and the switching device can obtain an enhanced flow entry that matches the tunnel encapsulation, and according to the identifier and the tunnel encapsulation in the enhanced flow entry.
- the flow table field matched by the tunnel encapsulation is matched with the packet encapsulated in the data packet to identify the content encapsulated in the data packet.
- Ben The solution provided by the third embodiment of the invention enhances the application scope of the OpenFlow control protocol and performs a more precise control manner.
- the embodiment of the present invention is characterized in that the OpenFlow control protocol and the flow table domain are enhanced, and the switching device that supports the OpenFlow can match the information of the tunnel encapsulated content when the matching packet is matched, and completes the data packet processed by the tunnel encapsulation.
- Embodiment 4 of the present invention provides a method for stream identification. The method is to identify an enhanced flow entry that matches the tunnel encapsulation after the enhanced flow entry matching the tunnel encapsulation is obtained in the method according to any one of the first to third embodiments of the present invention.
- the specific refinement of the data packet processed by the tunnel encapsulation As a specific embodiment, the following is included.
- the switching device determines, according to the identifier of the tunnel encapsulation, whether the enhanced flow entry matching the tunnel encapsulation is set.
- the identifier of the tunnel encapsulation indicates whether the tunnel encapsulation content in the data packet processed by the tunnel encapsulation needs to be identified by a specific data, symbol or field.
- step S42 If it is set, it indicates that the switching device needs to identify the tunnel encapsulation content in the data packet processed by the tunnel encapsulation, and step S42 is performed. If not, the switching device does not need to process the data packet processed by the tunnel encapsulation.
- the tunnel encapsulation content is identified, and the switching device can identify the data packet by using a flow entry portion that matches the non-tunnel encapsulation.
- the switching device determines the type of the tunnel encapsulation according to the identifier of the tunnel encapsulation or the flow table domain that matches the tunnel encapsulation, and compares the data packet processed by the tunnel encapsulation with the enhanced flow entry matching the tunnel encapsulation. And the content of the data packet is identified as an example. It is assumed that the type of the tunnel encapsulation is a MAC tunnel encapsulation, and the switching device matches the packet table domain that matches the MAC tunnel encapsulation with the packet encapsulated by the MAC tunnel in the data packet. The field is compared. The content of the packet in the data packet that is not encapsulated by the MAC tunnel is compared with the non-tunnel encapsulated flow entry in the enhanced flow entry.
- the switching device performs an operation defined in the enhanced flow entry. For example, forward data packets to a specified port, or discard data files.
- the switching device determines whether the switching device needs to identify the tunnel encapsulated packet content in the packet content according to the identifier of the tunnel encapsulation.
- the switching device can obtain an enhanced flow entry that matches the tunnel encapsulation, and according to the identifier of the tunnel encapsulation in the enhanced flow entry and the flow table domain that matches the tunnel encapsulation, Matches the content of the packet encapsulated in the tunnel in the data packet, so as to identify the content encapsulated in the data packet and perform the operations specified in the flow entry.
- Embodiment 4 of the present invention enhances the application scope of the OpenFlow control protocol and performs a more precise control manner.
- the fourth embodiment of the present invention is characterized in that the OpenFlow control protocol and the flow table domain are enhanced, and the switching device that supports the OpenFlow can match the information of the tunnel encapsulation content when the matching packet is matched, and complete the data packet processed by the tunnel encapsulation. Identification of the contents of the tunnel encapsulation.
- Embodiment 5 of the present invention as shown in FIG. 5 (1), provides a switching device that implements flow identification, and the switching device 50 includes:
- the obtaining unit 501 is configured to obtain an enhanced flow entry that matches the tunnel encapsulation, and the enhanced flow entry that matches the tunnel encapsulation includes an identifier of the tunnel encapsulation and a flow table domain that matches the tunnel encapsulation.
- the identifying unit 502 is configured to identify, according to the enhanced flow entry that matches the tunnel encapsulation, the data packet processed by the tunnel encapsulation. As an implementation manner, the identifying unit 502 is further configured to determine, according to the identifier of the tunnel encapsulation, whether an enhanced flow entry matching the tunnel encapsulation is set. If it is set, it is determined that the identification unit 502 needs to identify the tunnel encapsulation content in the data packet processed by the tunnel encapsulation, and the identification unit 502 is further configured to determine, according to the identifier of the tunnel encapsulation or the flow table domain that matches the tunnel encapsulation.
- the tunnel encapsulation type compares the data packet processed by the tunnel encapsulation with the enhanced flow entry matching the tunnel encapsulation.
- the content of the packet in the data packet without tunnel encapsulation is the enhanced type.
- the flow table entry is compared with the non-tunnel encapsulated flow entry, thereby completing the process of identifying the data packet. And perform the operations defined by the enhanced flow entry. If not set, the identification unit 502 does not need to identify the tunnel encapsulation content in the data packet processed by the tunnel encapsulation, and the identification unit 502 can compare the flow entry corresponding to the non-tunnel encapsulation to the data packet. Yes, the content of the data packet is identified, and the operation defined by the enhanced flow entry is performed.
- the obtaining unit 501 further includes: a first processing unit 501-1, configured to determine whether the switching device 50 has an enhanced flow entry; The first processing unit 501-1 is further configured to obtain, by the controller, an enhanced flow entry that matches the tunnel encapsulation; if the save is present, the first processing unit 501-1 is further configured to determine that the switch is installed on the switch device. Whether the enhanced flow entry is matched with the data packet processed by the tunnel encapsulation, and if matched, the first processing unit 501-1 is further configured to acquire an enhanced flow that matches the data packet processed by the tunnel encapsulation process. The first processing unit 501-1 is further configured to acquire, by the controller, an enhanced flow entry that matches the tunnel encapsulation.
- the first transmitting unit 501-2 is configured to: when the first processing unit 501-1 determines that the enhanced flow entry installed on the switching device and the data packet processed by the tunnel encapsulation are not When matching, the data packet processed by the tunnel encapsulation is sent to the controller.
- the data packet processed by the tunnel encapsulation is carried in the OFPT-PACKET-IN (flow entry entry) message.
- the first receiving unit 501-3 is configured to receive an enhanced flow entry that is sent by the controller and that matches the tunnel encapsulation, and the enhanced flow entry that matches the tunnel encapsulation is determined by the controller according to a pre-configuration policy or The received data packet is processed by the tunnel encapsulation process.
- the enhanced flow entry matching the tunnel encapsulation is carried in the OFPC-CREATE (flow table entry establishment) message or the OFPC_MODIFY (flow table entry modification) message.
- the obtaining unit 501 includes: a second processing unit, configured to determine whether the switching device has an enhanced flow entry.
- the second transmitting unit is configured to: when the second processing unit determines that there is no enhanced flow entry on the switching device, send the data packet processed by the tunnel encapsulation to the controller.
- a second receiving unit configured to receive an enhanced flow entry that is sent by the controller and matched with the tunnel encapsulation, where the enhanced flow entry that matches the tunnel encapsulation is a tunneled packet received by the controller.
- the enhanced flow entry matching the tunnel encapsulation is carried in the OFPC_CREATE (flow table entry establishment) message or the OFPC_MODIFY (flow table entry modification) message.
- the first processing unit and the second processing unit, the first transmitting unit and the second transmitting unit, the first receiving unit and the second receiving unit may also be separately integrated.
- the first processing unit and the second processing unit constitute a processing unit, and the processing unit can perform the functions of the first processing unit or the second processing unit.
- the switching device provided in Embodiment 5 of the present invention may perform the method steps described in any one of Embodiments 1 to 4 of the present invention.
- Embodiment 5 of the present invention does not For details, reference may be made to the method embodiments.
- the switching device provided in Embodiment 5 of the present invention may include some structures in addition to the obtaining unit 501 and the identifying unit 502, in order to implement the actions performed by the switching device in the method embodiment.
- Non-limiting examples of such structures may include memory, a microprocessor, circuitry to transmit electronic signals, and the like.
- the switching device may obtain an enhanced flow entry matching the tunnel encapsulation, and according to the enhanced type
- the tunnel encapsulation identifier in the flow entry and the flow table domain matching the tunnel encapsulation match the packet encapsulation in the data packet, thereby identifying the content encapsulated in the data packet and executing the flow.
- the operation specified in the entry for example, forwarding a data packet to a specified port or discarding the data packet.
- Embodiment 5 of the present invention enhances the application range of the OpenFlow control protocol and performs a more precise control manner.
- the fifth embodiment of the present invention is characterized in that the OpenFlow control protocol and the flow table domain are enhanced, and the switching device that supports the OpenFlow can match the information of the tunnel encapsulated content when the matching packet is matched, and completes the tunneling.
- the sixth embodiment of the present invention provides a controller 60, including: a receiver 601, configured to receive a tunneled data packet sent by a switching device.
- the data packet processed by the tunnel encapsulation is carried in an OFPT PACKET IN message.
- the processor 602 is configured to allocate, according to the data packet or the pre-configured policy processed by the tunnel encapsulation, an enhanced flow entry that matches the tunnel encapsulation, and the enhanced flow entry that matches the tunnel encapsulation includes the The identifier of the tunnel encapsulation and the flow table domain that matches the tunnel encapsulation.
- a transmitter 603 configured to send, to the switching device, an enhanced flow entry that matches the tunnel encapsulation, and the enhanced flow entry that matches the tunnel encapsulation is carried in an OFPC CREATE message or The flow entry modification message (OFPC MODIFY ).
- the controller provided in Embodiment 6 of the present invention may perform the method steps described in any one of Embodiments 1 to 4 of the present invention.
- Embodiment 6 of the present invention is no longer Narration.
- the controller provided in Embodiment 6 of the present invention may be provided with some structures in addition to the receiver 501 and the transmitter 502, in order to implement the actions performed by the controller in the method embodiment.
- Non-limiting examples of such structures may include memory, a microprocessor, circuitry to transmit electronic signals, and the like.
- Embodiment 6 of the present invention Using the controller provided in Embodiment 6 of the present invention, in conjunction with the switching device in Embodiment 5, the steps of the method in any one of Embodiments 1 to 4 may be performed, according to the identifier of the tunnel encapsulation and matching with the tunnel encapsulation.
- the flow table field identifies the data packet processed by the tunnel encapsulation and performs the operations defined in the enhanced flow entry (for example, discarding the data packet or forwarding the data to the specified port).
- Embodiment 6 of the present invention enhances the application range of the OpenFlow control protocol and performs a more precise control manner.
- the sixth embodiment of the present invention is characterized in that the OpenFlow control protocol and the flow table domain are enhanced, and the switching device supporting the OpenFlow can match the information of the tunnel encapsulated content when the matching device is matched, and complete the tunnel encapsulation.
- a seventh embodiment of the present invention provides a system for implementing flow identification, where the system includes: the switching device provided in Embodiment 5 and the controller provided in Embodiment 6.
- the system performs the method described in any one of the first embodiment to the fourth embodiment of the present invention. Reference may be made to the first embodiment to the fourth embodiment, and the description of the data packet processed by the tunnel encapsulation may be implemented.
- a computer program product comprising a storage medium, wherein the code of the method of any one of Embodiments 1 to 4 is stored in the storage medium.
- the method described in any one of the first embodiment to the fourth embodiment can be implemented by using the computer program product, so as to realize the identification of the data packet processed by the tunnel encapsulation.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种流识别的方法、设备和系统。在实现流识别方法的系统中,交换设备获取与隧道封装匹配的增强型流表项,与该隧道封装匹配的增强型流表项包括该隧道封装的标识和与该隧道封装匹配的流表域;根据该隧道封装匹配的增强型流表项,交换设备识别通过该隧道封装处理的数据报文。应用本发明公开的技术方案,可以识别数据报文中经过隧道封装处理的报文内容。
Description
流识别的方法、 设备和系统 技术领域
本发明涉及通信领域, 尤其涉及流识别的技术。 背景技术
开放流(英文为 OpenFlow )协议将原来完全由交换机 /路由器控制的报 文转发过程转化为由支持 OpenFlow协议的交换设备 (下文统称交换设备) 和使用 OpenFlow协议的控制器(下文统称控制器) 来共同完成, 从而实现 了数据转发和路由控制的分离。 控制器通过 OpenFlow协议来控制交换设备 中的流表, 达到控制数据转发的目的。
在数据报文经过隧道封装技术处理后, 在现有 OpenFlow协议和流表定 义中, 交换设备和控制器都无法对数据报文中的隧道封装后的内容信息进 行识别, 从而无法对这种经过隧道封装处理的数据报文执行转发或者其它 操作。 发明内容
本发明的实施例提供了流识别的方法、 设备和系统。
一方面, 提供了一种流识别的方法。 该方法包括:
交换设备获取与隧道封装匹配的增强型流表项, 该与隧道封装匹配的 增强型流表项包括隧道封装的标识和与隧道封装匹配的流表域;
根据该与隧道封装匹配的增强型流表项, 交换设备识别经过隧道封装 处理的数据报文。
应用上述技术方案, 可以使得交换设备在数据报文经过隧道封装处理 后, 识别出数据报文中隧道封装的报文内容。
另一方面, 提供了一种流识别的方法。 该方法包括:
控制器接收经过隧道封装处理的数据报文;
该控制器根据该经过隧道封装处理的数据报文分配与该隧道封装匹配
的增强型流表项, 该与隧道封装匹配的增强型流表项包括隧道封装的标识 和与隧道封装匹配的流表域;
该控制器向交换设备发送与隧道封装匹配的增强型流表项。
应用上述技术方案, 可以使得交换设备在数据报文经过隧道封装处理 后, 识别出数据报文中隧道封装的报文内容。
另一方面, 提供一种交换设备。 该交换设备包括:
获取单元, 该获取单元用于获取与隧道封装匹配的增强型流表项, 该 与隧道封装匹配的增强型流表项包括隧道封装的标识和与隧道封装匹配的 流表域;
识别单元, 该识别单元用于根据该与隧道封装匹配的增强型流表项, 识别经过该隧道封装处理的数据报文。
应用上述技术方案, 可以使得交换设备在数据报文经过隧道封装处理 后, 识别出数据报文中隧道封装的报文内容。
另一方面, 提供一种控制器。 该控制器包括:
接收器, 该接收器用于接收由交换设备发送的经过隧道封装处理的数 据报文;
处理器, 该处理器用于根据该经过隧道封装处理的数据报文分配与隧 道封装匹配的增强型流表项, 该与隧道封装匹配的增强型流表项包括隧道 封装的标识和与隧道封装匹配的流表域;
发射器, 该发射器用于向该交换设备发送该与隧道封装匹配的增强型 流表项。
应用上述控制器, 可以使得交换设备在数据报文经过隧道封装处理后, 识别出数据报文中隧道封装的报文内容。
另一方面, 提供一种实现流识别的系统。 该系统包括: 上述交换设备 和上述控制器。 该系统执行本发明实施例提供的流识别的方法, 可以实现 经过隧道封装处理的数据报文的识别。
另一方面, 提供一种计算机程序产品。 该计算机程序产品包括存储介 质, 该存储介质中存储上述流识别方法的代码。 应用该计算机程序产品, 可以实现流识别的方法, 从而实现对经过隧道封装处理的数据报文的识别。 附图说明
图 1 ( 1 ) 为本发明实施例一提供的一种流识别的方法流程示意图; 图 1 ( 2 ) 至图 1 ( 3 ) 为本发明实施例一提供的增强型流表项的实现方 式示意图;
图 2为本发明实施例二提供的一种流识别的方法流程示意图;
图 3 ( 1 ) 至图 3 ( 2 ) 为本发明实施例三提供的一种流识别的方法流程 示意图;
图 4为为本发明实施例四提供的一种流识别的方法流程示意图
图 5 ( 1 )至图 5 ( 2 )为本发明实施例四提供的交换设备的结构示意图; 图 6为本发明实施例五提供的控制器的结构示意图。 具体实施方式
支持 OpenFlow协议的交换设备至少包括三个部分: ( 1 )流表以及包括 在流表中每一个流表项定义的操作, 用来指示交换设备如何处理接收到的 数据报文, 例如转发数据报文到端口、 转发数据报文到控制器或丟弃数据 报文等; (2 )安全通道, 用来连接远端控制进程(或称为控制器)和交换 设备, 并允许命令和数据报文在控制器和交换设备中传输; (3 ) OpenFlow 协议, 为控制器和交换设备提供一个开放和标准的通信方式。
当交换设备接收到数据报文时, 交换设备会对接收到的数据报文与流 表进行比较。 如果该交换设备获取了与数据报文匹配的流表项, 执行流表 项中定义的操作(例如将数据报文转发到一个特定的端口)。 如果该交换设 备没有获取到匹配的流表项, 该交换设备会将数据报文转发到控制器, 由 控制器决定如何处理这些没有匹配流表项的数据报文。 在数据报文经过隧
道封装技术处理后, 在现有 OpenFlow协议和流表定义中, 交换设备和控制 器都无法对经过隧道封装处理的数据报文中的隧道封装内容进行识别。
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述。 显然, 如下描述的具体实施例仅是本发明的一部分 实施例, 对于本领域的技术人员而言, 本发明实施例还可以不拘泥于这些 特定的细节的其它实施例来实施。
本发明的实施例一, 如图 1 ( 1 )所示, 提供一种流识别的方法。 该方 法包括以下内容。
511 , 交换设备获取与隧道封装匹配的增强型流表项。 该与隧道封装匹 配的增强型流表项包括隧道封装的标识和与隧道封装匹配的流表域。
512, 根据该与隧道封装匹配的增强型流表项, 上述交换设备识别该经 过隧道封装处理的数据报文。
隧道封装是指将其它协议的数据包重新封装在另一种协议的数据包 中。 隧道封装可以包括: 因特网协议(英文为 Internet Protocol, 简称 IP ) 隧道封装、 介质访问控制(英文为 Medium Access Control, 简称 MAC )隧 道封装、虚拟局域网(英文为 Virtual Local Area Network, 简称 VLAN)隧道 封装、多协议标签交换(英文为 Multi-Protocol Label Switching,简称 MPLS ) 隧道封装、传输控制协议(英文为 Transmission Control Protocol, 简称 TCP ) 隧道封装、 用户数据包协议(英文为 User Datagram Protocol , 简称 UDP ) 隧道封装、 流控制传输协议(英文为 Stream Control Transmission Protocol , 简称 SCTP ) 隧道封装或因特网控制报文协议 (英文为 Internet Control Message Protocol , 简称 ICMP ) 隧道封装等。
本发明实施例中的与隧道封装匹配是指, 交换设备能够根据上述增强 型流表项 (具体是增强型流表项中的流表域) 与通过隧道封装处理的数据 报文的按字段进行比对, 不仅可以识别出上述数据报文中未釆用隧道封装 处理的数据报文, 也可以识别出上述数据报文中釆用隧道封装技术处理后
的报文内容, 并执行增强型流表项中定义的操作 (例如, 将数据报文转发 到一个指定的端口)。
本发明实施例中隧道封装的标识, 用于指示交换设备是否识别数据报 文中通过隧道封装处理的报文内容。 该隧道封装的标识, 其可以是符号、 数字或字段等。 例如, 可以定义指定标识: 当隧道封装的标识为 "1" 时, 交换设备需要识别数据报文中经过隧道封装处理的报文内容; 当隧道封装 的标识为 "0" 时, 交换设备不需要识别数据报文中经过隧道封装的报文内 容。 还例如, 可以定义: 隧道封装的标识为 "Γ , 指示交换设备识别数据 报文中经过 IP隧道封装的报文内容, 相应地, 与该隧道封装匹配的流表域 是与 IP隧道封装对应的; 隧道封装的标识为 "2" , 指示交换设备识别数据 报文中通过 MAC隧道封装的报文内容,相应地, 与该隧道封装匹配的流表 域是与 MAC隧道封装对应的; 隧道封装的标识为 "3" , 指示交换设备识别 数据报文中通过 TCP隧道封装的报文内容, 相应地, 与该隧道封装匹配的 流表域是与 TCP隧道封装对应的; 隧道封装的标识为 "0" , 指示交换设备 不需要识别数据报文中经过隧道封装的报文内容或者识别没有通过隧道封 装的报文内容。 这里的指定标识为 "1"、 "2" 或 "3" 都可叫做与该隧道封 装匹配的增强型流表项置位了, 隧道封装的标识为 "0" , 可叫做隧道封装 的标识未置位。 隧道封装的标识置位和标识未置位可以根据需要进行设置, 本发明不做限制。
作为一个示例, 假设交换设备接收到的数据报文中含有经过 IP隧道封 装处理的报文内容, 交换设备就需要通过一个与这个 IP隧道封装匹配的流 表项, 也就是本发明实施例所述的增强型流表项, 这个增强型流表项中包 含 IP隧道封装的标识和与该 IP隧道封装匹配的流表域。 这个 IP隧道封装 的标识置位时, 交换设备通过与该 IP隧道封装匹配的流表域和数据报文中 通过 IP隧道封装处理的报文内容进行比对,并执行与上述 IP隧道封装匹配 的增强型流表项中定义的操作, 从而完成对通过该 IP隧道封装的数据报文
的识别。
流表由多个流表项组成, 每个流表项是一个转发规则。 流表项又由多 个流表域构成, 每个流表域分别按字段对应不同的数据报文的内容。 流经 交换设备的数据报文通过与流表中对应的流表项匹配(或者说与流表项中 的流表域分别按字段对应 ), 交换设备可获得转发的目的端口或者执行其它 已经定义的操作。 由于交换设备接收到的数据报文中包括了经过隧道封装 处理的报文内容, 本发明实施例中所述的增强型流表项在上述流表项 (下 文统称为与非隧道封装匹配的流表项) 中还包括了隧道封装的标识和与该 隧道封装匹配的流表域。 该隧道封装的标识通过特定的数据、 符号或字段 来表示是否需要对经过该隧道封装处理的数据报文中的隧道封装内容进行 识别。以 IP隧道封装为例,增强型流表项可以但不限于以下两种实现方式:
( 1 )作为一个示例, 如图 1 ( 2 )所示, 增强型流表项是在与非隧道封 装匹配的流表项增加 IP隧道封装的标识和与 IP隧道封装匹配的流表域。例 如, IP隧道封装的标识, 可以记为 "Tunnel inspected"; 与 IP隧道封装匹配 的流表域可以包括隧道封装 IP源地址( Tunnel IP source )、 隧道封装 IP目 的地址( Tunnel IP dst )、 隧道封装 IP协议( Tunnel IP proto )和隧道封装 IP 服务类型 (Tunnel IP Tos )等。 当 IP隧道封装的标识置位, 也就是图 1 ( 2 ) 中的 "Tunnel inspected" 为指定标识时, 表示交换设备需要使用与该 IP隧 道封装匹配的流表域对数据报文中经过该 IP隧道封装处理的 IP报文内容进 行识别。 当 IP隧道封装的标识未置位时, 表示该交换设备不需要使用与该 IP 隧道封装匹配的流表域, 交换设备可以使用增强型流表项中与非隧道封 装匹配的流表项中原有的 IP流表域识别上述数据报文的内容。
( 2 )作为另外一个示例, 如图 1 ( 3 )所示, 增强型流表项在与非隧道 封装匹配的流表项中增加 IP隧道封装的标识并复用与非隧道封装匹配的流 表项中原有的 IP流表域。 当 IP隧道封装的标识置位时,表示与非隧道封装 匹配的流表项中原有的 IP流表域就是与 IP隧道封装匹配的流表域,交换设
备根据这个 IP流表域对通过 IP隧道封装处理的数据报文的 IP报文内容进 行识别。 当 IP隧道封装的标识未置位时, 交换设备使用与非隧道封装匹配 的流表项中原有的 IP流表域对数据报文的 IP报文内容进行识别。
隧道封装的标识是什么, 以及是否置位和置位的标识设置, 可以由控 制器根据处理策略来决定。
本发明实施例一中所述的概念和过程适用于下文, 除特别说明外, 将 不再赘述。
由于本发明实施例中交换设备接收到的数据报文中包括经过隧道封装 处理的报文内容, 与非隧道封装匹配的流表项中不包括能够识别经过该隧 道封装处理的报文内容的字段, 而本发明实施例在与非隧道封装匹配的流 表项的基础上增加了可以用于识别该隧道处理的报文内容的与隧道封装匹 配的流表域, 流表域中有对应字段可以识别隧道封装处理的报文内容。 针 对 OpenFlow协议和流表项域无法支持业务流数据报文中包含隧道封装内 容识别的问题, 本发明实施例提出了一种流识别方法, 可以使得支持 OpenFlow协议的交换设备能够识别业务流数据报文中的隧道封装内容, 从 而增强 OpenFlow控制协议的适用范围, 执行更精确的控制方式。 本发明实 施例的特点是对 OpenFlow控制协议和流表域进行了增强, 支持 OpenFlow 的交换设备在匹配报文的时候可以匹配到隧道封装内容的信息, 完成对经 过隧道封装处理的数据报文中隧道封装内容的识别。 本发明的实施例二, 如图 2所示, 提供一种流识别的方法。 该方法是 在本发明的实施例一提供的方法的具体细化。 该方法给出了交换设备获取 与隧道封装匹配的增强型流表项的具体一个示例。 该示例包括以下内容。
S21, 控制器根据预配置策略分配与隧道封装匹配的增强型流表项。 作为一个示例, 该预配置策略可以是: 控制器和交换设备组成的系统 中, 对于交换设备接收到的大多数的数据报文包括经过 IP隧道封装处理的
报文内容的情况, 控制器可以将与 IP隧道封装匹配的增强型流表项预先分 配给交换设备进行保存, 这样可以使得交换设备不用每次在接收到数据报 文后, 都通过控制器重新获取与上述隧道封装匹配的增强型流表项, 从而 节省了系统资源。
S22, 控制器向交换设备发送 OFPC— CREATE (流表项建立)消息, 该 OFPC— CREATE 消息中携带控制器分配的与隧道封装匹配的增强型流表 项。
S23, 交换设备接收到控制器分配的与隧道封装匹配的增强型流表项 后, 保存该增强型流表项。
S24, 在交换设备接收到数据报文时, 使用安装后的增强型流表项对数 据>¾文的内容进行识别。
由于交换设备根据控制器预先分配的与隧道封装匹配的增强型流表项 对接收到的数据报文进行识别, 在交换设备接收到数据报文之前, 该交换 设备就保存了能够与经过隧道封装处理的数据报文匹配的增强型流表项, 可见, 本发明实施例二适用于特定的交换设备接收特定的数据报文的情况。 应用本发明实施例二提供的技术方案, 在特定的交换设备接收特定的数据 报文的情况下, 可以简化交换设备获取与隧道封装匹配的增强型流表项的 流程, 从而识别出经过隧道封装处理的数据报文中隧道封装内容。 本发明的实施例三, 如图 3 ( 1 )所示, 提供一种流识别的方法。 该方 法是在本发明的实施例一和实施例二提供的方法的具体细化。 该方法给出 了交换设备获取与隧道封装匹配的增强型流表项的具体一个示例。 该示例 包括以下内容。
S31 ,交换设备上保存有增强型流表项,其保存过程可以是本发明实施例 二中的 S21 , S22和 S23。 该交换设备将安装于交换设备上的增强型流表项 与经过隧道封装处理的数据报文按字段进行比对, 判断是否匹配。 可选地,
如果上述交换设备没有安装上述增强型流表项, 则转入步骤 S33。
如果交换设备上保存有增强型流表项, 则保存于交换设备上的该增强 型流表项可以是通过控制器根据预配置策略而分配的。 控制器可以将该增 强型流表项携带在 OFPC— CREATE (流表项建立) 消息中, 发送给交换设 备。
532, 若匹配, 交换设备获取与经过隧道封装处理的数据报文匹配的增 强型流表项。 在匹配的情况下, 与经过该隧道封装处理的数据报文匹配的 增强型流表项就是与隧道封装匹配的增强型流表项。
533 , 若不匹配, 交换设备通过控制器获取与隧道封装匹配的增强型流 表项。
作为一种实施方式, 如图 3 ( 2 )所示, 步骤 S33中交换设备通过控制 器获取与隧道封装匹配的增强型流表项, 具体包括:
S33-1 , 交换设备向控制器发送经过隧道封装处理的数据报文, 经过该 隧道封装处理的数据报文携带在 OFPT— PACKET— IN (流表项报文输入)消 息中。
S33-2 , 控制器根据接收到的经过该隧道封装处理的数据报文, 分配与 该隧道封装匹配的增强型流表项。
S33-3, 控制器将其分配的与该隧道封装匹配的增强型流表项携带在 OFPC CREATE (流表项建立) 消息或 OFPC_MODIFY (流表项爹改) 消 息中, 向上述交换设备发送。
S33-4 , 交换设备接收由控制器发送的与该隧道封装匹配的增强型流表 项。
应用本发明实施例三提供的技术方案, 不限制于特定的交换设备, 交 换设备可以获取与隧道封装匹配的增强型流表项, 并根据该增强型流表项 中的隧道封装的标识和与隧道封装匹配的流表域, 匹配到数据报文中隧道 封装的报文内容中, 从而识别出数据报文中经过隧道封装处理的内容。 本
发明实施例三提供的方案增强了 OpenFlow控制协议的适用范围,执行更精 确的控制方式。本发明实施例的特点是对 OpenFlow控制协议和流表域进行 了增强,支持 OpenFlow的交换设备在匹配报文的时候可以匹配到隧道封装 内容的信息, 完成对经过隧道封装处理的数据报文中隧道封装内容的识别。 本发明的实施例四, 如图 4所示, 提供一种流识别的方法。 该方法是 对本发明实施例一至实施例三任一个所述的方法中在获取了与隧道封装匹 配的增强型流表项后, 如何根据与该隧道封装匹配的增强型流表项, 交换 设备识别经过该隧道封装处理的数据报文的具体细化。 作为一种具体实施 方式, 包括以下内容。
S41, 交换设备根据隧道封装的标识判断与该隧道封装匹配的增强型流 表项是否置位。 该隧道封装的标识通过特定的数据、 符号或字段来表示是 否需要对经过该隧道封装处理的数据报文中的该隧道封装内容进行识别。
如果置位, 表示交换设备需要对经过隧道封装处理的数据报文中的该 隧道封装内容进行识别, 执行步骤 S42; 若未置位, 表示交换设备不需要对 经过隧道封装处理的数据报文中的该隧道封装内容进行识别, 交换设备可 以使用与非隧道封装匹配的流表项部分对数据报文进行识别。
542, 交换设备根据隧道封装的标识或与隧道封装匹配的流表域判断上 述隧道封装的类型, 并将经过该隧道封装处理的数据报文和与隧道封装匹 配的增强型流表项进行比对, 并识别出数据报文的内容作为一个示例, 假 设上述隧道封装的类型为 MAC隧道封装, 交换设备将与 MAC隧道封装匹 配的流表域与数据报文中经过 MAC隧道封装的报文内容按字段进行比对, 数据报文中没有经过 MAC 隧道封装的报文内容部分则与上述增强型流表 项中的非隧道封装的流表项部分进行比对。
543 , 交换设备执行增强型流表项中定义的操作。 例如, 将数据报文转 发到一个指定的端口, 或者将数据 文丟弃等。
本发明的实施例四中, 上述交换设备如何根据上述隧道封装的标识判 断上述交换设备是否需要对上述报文内容中的经过隧道封装的报文内容进 行识别, 可参见本发明的实施例一。
应用本发明实施例四提供的技术方案, 交换设备可以获取与隧道封装 匹配的增强型流表项, 并根据该增强型流表项中的隧道封装的标识和与隧 道封装匹配的流表域, 匹配到数据报文中隧道封装的报文内容中, 从而识 别出数据报文中经过隧道封装处理的内容, 并执行流表项中规定的操作。 本发明实施例四增强了 OpenFlow控制协议的适用范围,执行更精确的控制 方式。 本发明实施例四的特点是对 OpenFlow控制协议和流表域进行了增 强,支持 OpenFlow的交换设备在匹配报文的时候可以匹配到隧道封装内容 的信息, 完成对经过隧道封装处理的数据报文中隧道封装内容的识别。 本发明的实施例五, 如图 5 ( 1 )所示, 提供一种实现流识别的交换设 备, 该交换设备 50包括:
获取单元 501 ,该获取单元 501用于获取与隧道封装匹配的增强型流表 项, 与该隧道封装匹配的增强型流表项包括该隧道封装的标识和与该隧道 封装匹配的流表域。
识别单元 502 ,该识别单元 502用于根据与该隧道封装匹配的增强型流 表项, 识别经过该隧道封装处理的数据报文。 作为一种实施方式, 识别单 元 502进一步用于才艮据隧道封装的标识判断与该隧道封装匹配的增强型流 表项是否置位。 如果置位, 表示该识别单元 502 需要对经过隧道封装处理 的数据报文中的隧道封装内容进行识别, 并识别单元 502还用于根据隧道 封装的标识或与隧道封装匹配的流表域判断出隧道封装的类型, 将经过该 隧道封装处理的数据报文和与该隧道封装匹配的增强型流表项进行比对, 数据报文中没有经过隧道封装处理的报文内容部分则与该增强型流表项中 的与非隧道封装的流表项部分进行比对, 从而完成对数据报文的识别过程,
并执行该增强型流表项定义的操作。 若未置位, 表示识别单元 502 不需要 对经过隧道封装处理的数据报文中的该隧道封装内容进行识别, 识别单元 502可以将与非隧道封装匹配的流表项部分对数据报文进行比对,识别出该 数据报文的内容, 并执行该增强型流表项定义的操作。
作为一种实施方式, 如图 5 ( 2 )所示, 获取单元 501进一步包括: 第一处理单元 501-1 , 该第一处理单元用于判断交换设备 50是否有了 增强型流表项; 如果没有,该第一处理单元 501-1还用于通过控制器获取与 该隧道封装匹配的增强型流表项; 如果保存有,该第一处理单元 501-1还用 于判断安装于该交换设备上的增强型流表项与经过该隧道封装处理的数据 报文是否匹配,若匹配,该第一处理单元 501-1还用于获取与经过该隧道封 装处理的数据报文匹配的增强型流表项, 若不匹配, 该第一处理单元 501-1 还用于通过控制器获取与该隧道封装匹配的增强型流表项。
第一发射单元 501-2 , 第一发射单元 501-2用于当第一处理单元 501-1 判断安装于该交换设备上的增强型流表项与经过所述隧道封装处理的数据 报文不匹配时, 向所述控制器发送经过所述隧道封装处理的数据报文。 可 选地, 经过该隧道封装处理的数据报文携带在 OFPT— PACKET— IN (流表项 报文输入) 消息中。
第一接收单元 501-3 , 用于接收由该控制器发送的与该隧道封装匹配的 增强型流表项, 与该隧道封装匹配的增强型流表项是由该控制器根据预配 置策略或者接收到的经过所述隧道封装处理的数据报文而分配的。 可选地, 与隧道封装匹配的增强型流表项携带在 OFPC— CREATE (流表项建立) 消 息或 OFPC_MODIFY (流表项修改 ) 消息中。
作为另外一种实施方式, 与图 5 ( 2 )类似, 获取单元 501包括: 第二处理单元, 用于判断交换设备是否有增强型流表项。
第二发射单元, 用于当该第二处理单元判断交换设备上没有增强型流 表项, 向控制器发送经过隧道封装处理的数据报文。
第二接收单元, 用于接收由控制器发送的与隧道封装匹配的增强型流 表项, 该与隧道封装匹配的增强型流表项是由控制器接收到的经过隧道封 装处理的数据报文而分配的。 可选地, 与隧道封装匹配的增强型流表项携 带在 OFPC_CREATE (流表项建立 )消息或 OFPC_MODIFY (流表项修改 ) 消息中。
本发明实施例五中获取单元 501 的两种实施方式中, 第一处理单元和 第二处理单元、 第一发射单元和第二发射单元、 第一接收单元与第二接收 单元, 也可分别集成在一起, 从而构成完成上述功能的实体, 例如, 第一 处理单元和第二处理单元组成处理单元, 该处理单元既可以完成第一处理 单元的功能, 也可以完成第二处理单元的功能。
本发明实施例五提供的交换设备, 可以执行本发明实施例一至实施例 四任一个实施例的所述的方法步骤, 对于方法实施例中已经阐述的过程和 概念, 本发明实施例五没有再赘述, 可以详细参见方法实施例。 本发明实 施例五提供的交换设备, 除了可以包括获取单元 501、 识别单元 502之外, 为了实现方法实施例中交换设备所执行的动作, 也可以设置一些结构。 这 类结构的非限制性示例可以包括存储器, 微处理器, 发送电子信号的电路 等等。
使用本发明实施例五提供的交换设备, 执行方法实施例一至实施例三 任一个实施例所述方法的方法步骤, 交换设备可以获取与隧道封装匹配的 增强型流表项, 并根据该增强型流表项中的隧道封装的标识和与隧道封装 匹配的流表域, 匹配到数据报文中隧道封装的报文内容中, 从而识别出数 据报文中经过隧道封装处理的内容, 并执行流表项中规定的操作 (例如, 将数据报文转发到指定端口, 或丟弃该数据报文)。 本发明实施例五增强 OpenFlow控制协议的适用范围, 执行更精确的控制方式。 本发明实施例五 的特点是对 OpenFlow控制协议和流表域进行了增强, 支持 OpenFlow的交 换设备在匹配报文的时候可以匹配到隧道封装内容的信息, 完成对经过隧
道封装处理的数据报文中隧道封装内容的识别。 本发明的实施例六, 如图 6所示, 提供一种控制器 60, 包括: 接收器 601 ,该接收器 601用于接收由交换设备发送的经过隧道封装处 理的数据报文。 可选地, 经过该隧道封装处理的数据报文携带在 OFPT PACKET IN (流表项数据输入) 消息中。
处理器 602,该处理器 602用于根据经过该隧道封装处理的数据报文或 预配置策略分配与该隧道封装匹配的增强型流表项, 与该隧道封装匹配的 增强型流表项包括该隧道封装的标识和与该隧道封装匹配的流表域。
发射器 603 ,该发射器 603用于向该交换设备发送与该隧道封装匹配的 增强型流表项, 与该隧道封装匹配的增强型流表项携带在流表项建立 ( OFPC CREATE ) 消息或流表项修改消息 ( OFPC MODIFY ) 中。
本发明实施例六提供的控制器, 可以执行本发明实施例一至实施例四 任一个实施例的所述的方法步骤, 对于方法实施例中已经阐述的过程和概 念, 本发明实施例六不再赘述。 本发明实施例六提供的控制器, 除了可以 包括接收器 501、发射器 502之外, 为了实现方法实施例中控制器所执行的 动作, 也可以设置一些结构。 这类结构的非限制性示例可以包括存储器, 微处理器, 发送电子信号的电路等等。
使用本发明实施例六提供的控制器, 配合实施例五中的交换设备, 可 以执行方法实施例一至实施例四任一个实施例所述方法的步骤, 根据隧道 封装的标识和与该隧道封装匹配的流表域, 完成经过隧道封装处理的数据 报文进行识别, 并执行增强型流表项中定义的操作 (例如, 将数据报文丟 弃,或者将数据 文转发到指定的端口等)。本发明实施例六增强 OpenFlow 控制协议的适用范围, 执行更精确的控制方式。 本发明实施例六的特点是 对 OpenFlow控制协议和流表域进行了增强, 支持 OpenFlow的交换设备在 匹配 ^艮文的时候可以匹配到隧道封装内容的信息, 完成对经过隧道封装处
理的数据报文中隧道封装内容的识别。 本发明实施例七, 提供一种实现流识别的系统, 该系统包括: 实施例 五提供的交换设备和实施例六提供的控制器。 该系统执行本发明实施例一 至实施例四任意一个实施例所述的方法, 可参照实施例一至实施例四, 在 此不再赘述, 可以实现通过隧道封装处理的数据报文的识别。 本发明的实施例七, 提供一种计算机程序产品, 该计算机程序产品包 括存储介质, 该存储介质中存储如实施例一至实施例四任意一个实施例所 述方法的代码。 应用该计算机程序产品, 可以实现实施例一至实施例四任 意一个实施例所述的方法, 从而实现对通过隧道封装处理的数据报文的识 别。
在某些实施例中, 对于熟知的方法、 接口、 设备信令技术未进行具体 描述, 以免因不必要的细节使得本发明模糊。 本领域普通技术人员可以理 解实现上述实施例方法中的全部或者部分步骤是可以通过程序来指示相关 的硬件来完成, 所述的程序可以存储与一计算机可读存储介质中, 所述的 存储介质, 如: 只读存储记忆体(Read-only Memory, ROM )或随机存储 记忆体 ( Random Access Memory, RAM ), 磁碟、 光盘等。
以上所述的具体实施方式, 对本发明的目的、 技术方案和有益效果进 行了进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施方 式而已, 并不用于限定本发明的保护范围, 本领域技术人员在不付出创造 性劳动的基础上, 所做的任何修改、 等同替换、 改进等, 均应包含在本发 明的保护范围之内。
Claims
1、 一种流识别的方法, 其特征在于,
交换设备获取与隧道封装匹配的增强型流表项, 所述与隧道封装匹配 的增强型流表项包括隧道封装的标识和与隧道封装匹配的流表域;
根据所述与隧道封装匹配的增强型流表项, 所述交换设备识别经过隧 道封装处理的数据报文。
2、 如权利要求 1所述的方法, 其特征在于, 所述交换设备获取所述与 隧道封装匹配的增强型流表项, 包括:
如果所述交换设备上没有增强型流表项, 所述交换设备通过控制器获 取所述与隧道封装匹配的增强型流表项; 或者
如果所述交换设备上有增强型流表项, 所述交换设备判断所述交换设 备上的增强型流表项与所述经过隧道封装处理的数据报文是否匹配,
如果匹配, 所述交换设备获取与所述经过隧道封装处理的数据报文匹 配的增强型流表项,
如果不匹配, 所述交换设备通过控制器获取所述与隧道封装匹配的增 强型流表项。
3、 如权利要求 2所述的方法, 其特征在于, 所述方法还包括: 所述交换设备接收所述控制器根据预配置策略而分配的增强型流表 项。
4、 如权利要求 2或 3所述的方法, 其特征在于, 所述交换设备通过所 述控制器获取所述与隧道封装匹配的增强型流表项, 包括:
所述交换设备向所述控制器发送所述经过隧道封装处理的数据报文; 所述交换设备接收所述与隧道封装匹配的增强型流表项, 所述与隧道 封装匹配的增强型流表项由所述控制器根据接收到的所述经过隧道封装处 理的数据报文而分配的。
5、 如权利要求 4所述的方法, 其特征在于, 所述经过隧道封装处理的 数据报文携带在 OFPT— PACKET— IN (流表项报文输入 ) 消息中。
6、 如权利要求 4或 5所述的方法, 其特征在于, 所述与隧道封装匹配 的增强型流表项携带在 OFPC— CREATE ( 流表项建立 ) 消息或 OFPC MODIFY (流表项修改) 消息中。
7、 如权利要求 1-6任意一项所述的方法, 其特征在于, 所述根据所述 与隧道封装匹配的增强型流表项, 所述交换设备识别所述经过隧道封装处 理的数据报文, 包括:
当所述交换设备根据所述隧道封装的标识判断出所述与隧道封装匹配 的增强型流表项置位时, 所述交换设备将所述与隧道封装匹配的流表域与 所述经过隧道封装处理的数据报文中的隧道封装内容按字段进行比较, 识 别出字段的内容。
8、 如权利要求 7所述的方法, 其特征在于, 还包括:
所述交换设备判断所述隧道封装的标识为指定标识时, 所述与隧道封 装匹配的增强型流表项置位。
9、 如权利要求 1-8任意一项所述的方法, 其特征在于, 所述隧道封装 的标识包括以下任意一项或组合: 数字、 符号和字段。
10、 一种流识别的方法, 其特征在于,
控制器接收经过隧道封装处理的数据报文;
所述控制器根据所述经过隧道封装处理的数据报文分配与隧道封装匹 配的增强型流表项, 所述与隧道封装匹配的增强型流表项包括隧道封装的 标识和与隧道封装匹配的流表域;
所述控制器向所述交换设备发送所述与隧道封装匹配的增强型流表 项。
11、 如权利要求 10所述的方法, 其特征在于, 所述经过隧道封装处理 的数据报文携带在 OFPT— PACKET— IN (流表项报文输入 ) 消息中。
12、 如权利要求 10或 11所述的方法, 其特征在于, 所述与隧道封装 匹配的增强型流表项携带在 OFPC— CREATE (流表项建立) 消息或 OFPC MODIFY (流表项修改) 消息中。
13、 如权利要求 10-12任意一项所述的方法, 其特征在于, 所述隧道封 装的标识包括以下任意一项或组合: 数字、 符号和字段。
14、 一种实现流识别的交换设备, 其特征在于, 包括:
获取单元, 所述获取单元用于获取与隧道封装匹配的增强型流表项, 所述与隧道封装匹配的增强型流表项包括隧道封装的标识和与隧道封装匹 配的流表 i或;
识别单元, 所述识别单元用于根据所述与隧道封装匹配的增强型流表 项, 识别经过隧道封装处理的数据报文。
15、如权利要求 14所述的交换设备,其特征在于, 所述获取单元包括: 第一处理单元, 所述第一处理单元用于判断出所述交换设备上有增强 型流表项, 所述第一处理单元用于判断所述交换设备上的增强型流表项与 所述经过隧道封装处理的数据报文是否匹配, 若匹配, 所述第一处理单元 还用于获取与所述经过隧道封装处理的数据报文匹配的增强型流表项, 若 不匹配, 所述第一处理单元还用于通过控制器获取所述与隧道封装匹配的 增强型流表项;
第一发射单元, 所述第一发射单元用于当所述第一处理单元判断所述 交换设备上的增强型流表项与所述经过隧道封装处理的数据报文不匹配 时, 向所述控制器发送所述经过隧道封装处理的数据报文; 和
第一接收单元, 用于接收由所述控制器发送的所述与隧道封装匹配的 增强型流表项, 所述与隧道封装匹配的增强型流表项是由所述控制器接收 到的所述经过隧道封装处理的数据报文而分配的。
16、如权利要求 14所述的交换设备,其特征在于, 所述获取单元包括: 第二处理单元, 用于判断所述交换设备上是否有增强型流表项; 第二发射单元, 所述第二发射单元用于当所述第二处理单元判断所述 交换设备上没有增强型流表项, 向所述控制器发送所述经过隧道封装处理 的数据报文。 可选地, 经过隧道封装处理的数据报文携带在
OFPT PACKET IN (流表项报文输入) 消息中。
第二接收单元, 所述第二接收单元用于接收由所述控制器发送的所述 与隧道封装匹配的增强型流表项, 所述与隧道封装匹配的增强型流表项是 由所述控制器接收到的所述经过隧道封装处理的数据报文而分配的。
17、 如权利要求 14-16任意一项所述的交换设备, 其特征在于, 所述识 别单元还用于当所述识别单元根据所述隧道封装的标识判断出所述与隧道 封装匹配的增强型流表项置位时, 所述识别单元将所述与隧道封装匹配的 流表域与所述经过隧道封装处理的数据报文中的隧道封装内容按字段进行 比较, 识别出字段的内容。
18、 如权利要求 17所述的交换设备, 其特征在于,
所述识别单元还用于判断所述隧道封装的标识为指定标识时, 所述与 隧道封装匹配的增强型流表项置位。
19、 如权利要求 14-18任意一项所述的交换设备, 其特征在于, 所述隧 道封装的标识包括以下任意一项或组合: 数字、 符号和字段。
20、 一种控制器, 其特征在于, 所述控制器包括:
接收器, 所述接收器用于接收由交换设备发送的经过隧道封装处理的 数据报文;
处理器, 所述处理器用于根据所述经过隧道封装处理的数据报文分配 与隧道封装匹配的增强型流表项, 所述与隧道封装匹配的增强型流表项包 括隧道封装的标识和与隧道封装匹配的流表域;
发射器, 所述发射器用于向所述交换设备发送所述与隧道封装匹配的 增强型流表项。
21、 一种实现流识别的系统, 其特征在于, 所述系统包括如权利要求 14-19任意一项所述的交换设备和如权利要求 20任意一项所述的控制器。
22、 一种计算机程序产品, 其特征在于, 所述计算机程序产品包括存 储介质, 所述存储介质中存储如权利要求 1-13任意一项所述方法的代码。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/070878 WO2013113171A1 (zh) | 2012-02-03 | 2012-02-03 | 流识别的方法、设备和系统 |
CN201280000091.8A CN103548323B (zh) | 2012-02-03 | 2012-02-03 | 流识别的方法、设备和系统 |
EP12867162.5A EP2753030A4 (en) | 2012-02-03 | 2012-02-03 | FLUID IDENTIFICATION METHOD, DEVICE AND SYSTEM |
US14/308,765 US20140301397A1 (en) | 2012-02-03 | 2014-06-19 | Flow identification method, device, and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/070878 WO2013113171A1 (zh) | 2012-02-03 | 2012-02-03 | 流识别的方法、设备和系统 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/308,765 Continuation US20140301397A1 (en) | 2012-02-03 | 2014-06-19 | Flow identification method, device, and system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013113171A1 true WO2013113171A1 (zh) | 2013-08-08 |
Family
ID=48904380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/070878 WO2013113171A1 (zh) | 2012-02-03 | 2012-02-03 | 流识别的方法、设备和系统 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20140301397A1 (zh) |
EP (1) | EP2753030A4 (zh) |
CN (1) | CN103548323B (zh) |
WO (1) | WO2013113171A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104639470A (zh) * | 2013-11-14 | 2015-05-20 | 中兴通讯股份有限公司 | 流标识封装方法及系统 |
CN105009544A (zh) * | 2014-01-23 | 2015-10-28 | 华为技术有限公司 | 报文的隧道处理方法、交换设备及控制设备 |
CN105072057A (zh) * | 2015-07-09 | 2015-11-18 | 中国科学院计算技术研究所 | 一种用于网络数据传输的中间交换设备及网络通信系统 |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9787586B2 (en) * | 2013-10-24 | 2017-10-10 | University Of Houston System | Location-based network routing |
US9629018B2 (en) | 2014-02-05 | 2017-04-18 | Ibasis, Inc. | Method and apparatus for triggering management of communication flow in an inter-network system |
US10263903B2 (en) * | 2014-02-05 | 2019-04-16 | Ibasis, Inc. | Method and apparatus for managing communication flow in an inter-network system |
US10979890B2 (en) | 2016-09-09 | 2021-04-13 | Ibasis, Inc. | Policy control framework |
WO2018183332A1 (en) | 2017-03-30 | 2018-10-04 | Ibasis, Inc. | Esim profile switching without sms |
US10524116B2 (en) | 2017-06-27 | 2019-12-31 | Ibasis, Inc. | Internet of things services architecture |
US11381557B2 (en) * | 2019-09-24 | 2022-07-05 | Pribit Technology, Inc. | Secure data transmission using a controlled node flow |
US11652801B2 (en) | 2019-09-24 | 2023-05-16 | Pribit Technology, Inc. | Network access control system and method therefor |
US11271777B2 (en) | 2019-09-24 | 2022-03-08 | Pribit Technology, Inc. | System for controlling network access of terminal based on tunnel and method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101321088A (zh) * | 2008-07-18 | 2008-12-10 | 北京星网锐捷网络技术有限公司 | 一种统计ip数据流信息的方法及装置 |
CN101645836A (zh) * | 2009-08-25 | 2010-02-10 | 杭州华三通信技术有限公司 | 多协议标签交换网络中的分组传输方法和装置 |
US20110261825A1 (en) * | 2009-03-09 | 2011-10-27 | Nec Corporation | OpenFlow COMMUNICATION SYSTEM AND OpenFlow COMMUNICATION METHOD |
CN102301663A (zh) * | 2011-07-06 | 2011-12-28 | 华为技术有限公司 | 一种报文处理方法及相关设备 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100448227C (zh) * | 2005-08-30 | 2008-12-31 | 杭州华三通信技术有限公司 | 业务流的识别方法 |
CN101202652B (zh) * | 2006-12-15 | 2011-05-04 | 北京大学 | 网络应用流量分类识别装置及其方法 |
US20090300207A1 (en) * | 2008-06-02 | 2009-12-03 | Qualcomm Incorporated | Pcc enhancements for ciphering support |
WO2011083682A1 (ja) * | 2010-01-05 | 2011-07-14 | 日本電気株式会社 | スイッチネットワークシステム、コントローラ、及び制御方法 |
-
2012
- 2012-02-03 CN CN201280000091.8A patent/CN103548323B/zh active Active
- 2012-02-03 EP EP12867162.5A patent/EP2753030A4/en not_active Withdrawn
- 2012-02-03 WO PCT/CN2012/070878 patent/WO2013113171A1/zh active Application Filing
-
2014
- 2014-06-19 US US14/308,765 patent/US20140301397A1/en not_active Abandoned
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101321088A (zh) * | 2008-07-18 | 2008-12-10 | 北京星网锐捷网络技术有限公司 | 一种统计ip数据流信息的方法及装置 |
US20110261825A1 (en) * | 2009-03-09 | 2011-10-27 | Nec Corporation | OpenFlow COMMUNICATION SYSTEM AND OpenFlow COMMUNICATION METHOD |
CN101645836A (zh) * | 2009-08-25 | 2010-02-10 | 杭州华三通信技术有限公司 | 多协议标签交换网络中的分组传输方法和装置 |
CN102301663A (zh) * | 2011-07-06 | 2011-12-28 | 华为技术有限公司 | 一种报文处理方法及相关设备 |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104639470A (zh) * | 2013-11-14 | 2015-05-20 | 中兴通讯股份有限公司 | 流标识封装方法及系统 |
EP3070895A4 (en) * | 2013-11-14 | 2016-11-16 | Zte Corp | CAPACITY METHOD AND SYSTEM FOR FLOW IDENTIFIER |
US10069723B2 (en) | 2013-11-14 | 2018-09-04 | Zte Corporation | Method and system for encapsulating flow identifier |
CN104639470B (zh) * | 2013-11-14 | 2019-05-31 | 中兴通讯股份有限公司 | 流标识封装方法及系统 |
CN105009544A (zh) * | 2014-01-23 | 2015-10-28 | 华为技术有限公司 | 报文的隧道处理方法、交换设备及控制设备 |
EP3091705A4 (en) * | 2014-01-23 | 2016-11-09 | Huawei Tech Co Ltd | TUNNEL PROCESSING METHOD FOR PACKAGE, SWITCHING DEVICE AND CONTROL DEVICE |
US10237089B2 (en) | 2014-01-23 | 2019-03-19 | Huawei Technologies Co., Ltd. | Packet tunneling method, switching device, and control device |
CN105072057A (zh) * | 2015-07-09 | 2015-11-18 | 中国科学院计算技术研究所 | 一种用于网络数据传输的中间交换设备及网络通信系统 |
CN105072057B (zh) * | 2015-07-09 | 2019-02-01 | 中国科学院计算技术研究所 | 一种用于网络数据传输的中间交换设备及其方法和系统 |
Also Published As
Publication number | Publication date |
---|---|
US20140301397A1 (en) | 2014-10-09 |
EP2753030A4 (en) | 2015-01-21 |
EP2753030A1 (en) | 2014-07-09 |
CN103548323B (zh) | 2017-02-01 |
CN103548323A (zh) | 2014-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2013113171A1 (zh) | 流识别的方法、设备和系统 | |
EP3378205B1 (en) | Service based intelligent packet-in buffering mechanism for openflow switches by having variable buffer timeouts | |
US9992310B2 (en) | Multi-hop Wan MACsec over IP | |
WO2017037615A1 (en) | A method and apparatus for modifying forwarding states in a network device of a software defined network | |
US9774504B2 (en) | Route refresh mechanism for border gateway protocol link state | |
CN103391296B (zh) | 一种控制器、转发器及通道建立方法和系统 | |
WO2013059991A1 (zh) | 数据报文处理方法和系统、报文转发设备 | |
WO2021017930A1 (zh) | 报文转发 | |
CN106921572B (zh) | 一种传播QoS策略的方法、装置及系统 | |
US20140286342A1 (en) | Method for generating entry, method for receiving packet, and corresponding apparatus and system | |
WO2011103781A2 (zh) | 身份标识与位置分离的实现方法、设备及数据封装方法 | |
WO2014071605A1 (zh) | 处理报文的方法、转发面装置及网络设备 | |
WO2017133647A1 (zh) | 一种报文处理方法、流分类器和业务功能实例 | |
KR102066978B1 (ko) | 차별화된 서비스 코드 포인트(dscp) 및 명시적 혼잡 통지(ecn)를 모니터링하기 위한 데이터 플레인을 위한 방법 및 장치 | |
WO2015143802A1 (zh) | 业务功能链处理方法及装置 | |
WO2010006528A1 (zh) | 一种伪线建立方法、装置和系统 | |
WO2014194711A1 (zh) | 报文处理方法、设备标签处理方法及设备 | |
WO2021009554A1 (en) | Method and system for secured information exchange between intermediate and endpoint nodes in a communications network | |
CN110858822B (zh) | 媒体接入控制安全协议报文传输方法和相关装置 | |
WO2017113772A1 (zh) | 一种标签管理方法,数据流处理方法及设备 | |
CN112637237B (zh) | 基于SRoU的业务加密方法、系统、设备及存储介质 | |
WO2018042230A1 (en) | Configurable selective packet-in mechanism for openflow switches | |
EP3032782B1 (en) | Packet transmission method and apparatus | |
KR101140453B1 (ko) | Ip 인터워킹 vll을 통한 회로 에뮬레이션 방법 및 시스템 | |
CN102932229B (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: 12867162 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2012867162 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |