Unlock instant, AI-driven research and patent intelligence for your innovation.

A packet processing method, flow classifier and service function example

A technology for business functions and message processing, applied in the field of communications, which can solve problems such as inflexibility of message processing

Active Publication Date: 2020-02-14
HUAWEI TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present application provides a message processing method, a flow classifier and a service function example to solve the problem that the forwarding device in the prior art is not flexible enough to process the message

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A packet processing method, flow classifier and service function example
  • A packet processing method, flow classifier and service function example
  • A packet processing method, flow classifier and service function example

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0120] Such as figure 1 As shown, it is a schematic flowchart of a message processing method disclosed in Embodiment 1 of the present application. The packet processing method is executed by a flow classifier (FC). The FC may be a network device capable of communicating with one of the multiple service function instances corresponding to the first service function (SF) in the service function chain (SFC), or the SF may be the SFC The first SF. The message processing method includes the following steps:

[0121] S101. Receive the flow table sent by the network control device;

[0122]In S101, the flow table is used to indicate the message of the FC identification flow. The flow table contains flow rules, information of the SFC to which the flow is bound, and a flow identifier (flow ID) assigned by the network control device.

[0123] For example, the SFC to which the flow is bound means that the flow needs to be processed by the SFC. The flow ID is assigned to the flow by...

Embodiment 2

[0154] Based on the message processing method disclosed in Embodiment 1 of the above-mentioned application, before performing step S101 to receive the flow table issued by the network control device, it also includes:

[0155] The FC first sends a request to the network control device to allocate the ID of the flow to the flow, and the request includes information about the flow;

[0156] Then receive a response of the ID of the flow assigned by the network control device to the flow, where the response includes an identifier of the flow, and the identifier of the flow is different from the information of the flow.

[0157] In the technical solution disclosed in the embodiment of the present application, the network control device can realize the allocation of flow ID based on the request of FC, based on the fact that the network control device can pre-save the mapping table of the flow ID and the flow information;

[0158] When the FC receives the message belonging to the flo...

Embodiment 3

[0185] Regarding the packet processing method performed by the FC disclosed in Embodiment 1 and Embodiment 2 of the above-mentioned application, Figure 4 Another message processing method is shown. The message processing method is executed by the first service function instance corresponding to the first SF of the SFC. The first SF is not the last SF on the SFC. Such as Figure 4 shown, including the following steps:

[0186] S201. Receive a second message forwarded by the FC or the first service function instance corresponding to the first SF preceding the first SF in the SFC;

[0187] In S201, the service header in the second packet includes the SFP ID corresponding to the SFC, the ID of the flow allocated by the network control device, and the first value. The first value is equal to the service index minus 1. The tunnel header in the second packet includes the network address of the first service function instance corresponding to the first SF. The second packet inc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Disclosed in embodiments of the present invention are a packet processing method, traffic classifier, and service function instance. The method comprises: receiving, by a traffic classifier, a flow table sent by a network control device and flow identifiers allocated by the network control device; acquiring a first packet; determining that the first packet matches the flow table; packaging the first packet as a second packet, wherein the second packet comprises a service header and a tunnel header, the service header comprises a service function path identifier, a flow identifier, and a first value, and the tunnel header comprises a network address of a first service function instance; and sending the second packet to the first service function instance. The technical solution disclosed in the embodiments of the present application processes packets according to the flow identifier allocated by a network control device, enabling more flexible processing.

Description

technical field [0001] The invention relates to the technical field of communication. More specifically, it relates to a message processing method, a flow classifier and a service function instance. Background technique [0002] Service Function Chaining (SFC) is a mechanism for deploying value-added services. [0003] In the prior art, one service function in the service function chain may correspond to multiple service function instances. The multiple service function instances can perform load sharing on traffic. For example, for the service function of firewall, it may correspond to three service function instances of firewall 1, firewall 2 and firewall 3. [0004] During the process of traffic load sharing among multiple service function instances, the forwarding device only uses the fields in the message (for example, quintuple) to distinguish different sessions, so as to realize the load sharing of traffic. [0005] In the prior art, the forwarding device only use...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/803H04L12/801
CPCH04L47/10H04L47/125
Inventor 梁乾灯黄世碧徐小虎尤建洁
Owner HUAWEI TECH CO LTD