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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


