Packet processing method and system, and device
First Claim
1. A packet processing method, comprising:
- receiving, by a device, a packet carrying topology status information, wherein the topology status information indicates a plurality of service nodes being candidate next hops of the device, and wherein the packet is associated with a service;
determining, by the device, a target next hop for the packet, based on the topology status information carried in the received packet, from the plurality of candidate next hops indicated by the topology status information; and
sending, by the device, the packet to the target next hop.
1 Assignment
0 Petitions
Accused Products
Abstract
A status value used to identify a topology status of service nodes at a specified time is preconfigured for a packet in a packet flow, so that when a service node in a next hop is selected for the packet, selection is performed not based on a topology status of current actual service nodes in the next hop, but based on the topology status, which is identified by the status value, of the service nodes at the specified time. As long as status values carried in packets in a same packet flow are the same, even if a topology status of service nodes changes, a same service node can still be selected for the packets in the same packet flow, thereby avoiding a problem of diversion of the packets in the same packet flow.
18 Citations
18 Claims
-
1. A packet processing method, comprising:
-
receiving, by a device, a packet carrying topology status information, wherein the topology status information indicates a plurality of service nodes being candidate next hops of the device, and wherein the packet is associated with a service; determining, by the device, a target next hop for the packet, based on the topology status information carried in the received packet, from the plurality of candidate next hops indicated by the topology status information; and sending, by the device, the packet to the target next hop. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A device, comprising:
-
a memory, configured to store computer-readable instructions; and a processor, configured to execute the instructions to; receive a packet carrying topology status information, wherein the topology status information indicates a plurality of service nodes being candidate next hops of the device, and wherein the packet is associated with a service; determine a target next hop for the packet, based on the topology status information carried in the received packet, from the plurality of candidate next hops indicated by the topology status information; and send the packet to the target next hop. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable medium storing instructions causing, when executed by a processor, a device comprising the processor to:
-
receive a packet carrying topology status information, wherein the topology status information indicates a plurality of service nodes being candidate next hops of the device, and wherein the packet is associated with a service; determine a target next hop for the packet, based on the topology status information carried in the received packet, from the plurality of candidate next hops indicated by the topology status information; and send the packet to the target next hop. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification