PACKET PROCESSING METHOD AND SYSTEM, AND DEVICE
First Claim
1. A packet processing method, comprising:
- when determining that there are multiple service nodes in a next hop of a packet, determining, according to a status value carried in the packet and used to identify a topology status of service nodes at a specified time, service nodes that are identified by the status value in the next hop; and
selecting one service node from the service nodes that are identified by the status value in the next hop, and sending the packet to the selected service node, wherein status values carried in all packets in a same packet flow are the same.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention discloses a packet processing method and system, and a device. 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.
19 Citations
20 Claims
-
1. A packet processing method, comprising:
-
when determining that there are multiple service nodes in a next hop of a packet, determining, according to a status value carried in the packet and used to identify a topology status of service nodes at a specified time, service nodes that are identified by the status value in the next hop; and selecting one service node from the service nodes that are identified by the status value in the next hop, and sending the packet to the selected service node, wherein status values carried in all packets in a same packet flow are the same. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A load balancing device, comprising:
-
a processor, configured to;
when determining that there are multiple service nodes in a next hop of a packet, determine, according to a status value carried in the packet and used to identify a topology status of service nodes at a specified time, service nodes that are identified by the status value in the next hop, wherein status values carried in all packets in a same packet flow are the same, and select one service node from the service nodes that are identified by the status value in the next hop; andan interface, configured to send the packet to the selected service node. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification