Service packet distribution method and apparatus
First Claim
1. A method for service packet distribution, wherein the method comprises:
- receiving, by a first service packet processing node device in a cloud gateway, a session request signal sent by a peer device of the cloud gateway, wherein the cloud gateway includes a packet distribution node device and a plurality of service packet processing node devices, including the first service packet processing node device;
establishing, by the first service packet processing node device, a user bearer according to the session request signal,allocating a user bearer index used to identify the user bearer, wherein the user bearer index comprises an allocated location index value, the allocated location index value is associated with the first service packet processing node device in a location table of the packet distribution node device, and the location table comprises corresponding relationships between location index values and identifiers of the service packet processing node devices in the cloud gateway; and
sending, by the first service packet processing node device, a session response signal to the peer device, wherein the session response signal comprises the user bearer index, so that the peer device adds the user bearer index into a service packet when sending the service packet to the packet distribution node device, the packet distribution node device updates the location table to establish a relationship between the allocated location index and a second service packet processing node device among the plurality of service packet processing node devices when the first service packet processing node device is to be migrated out of the cloud gateway, and the packet distribution node device determines, according to the location index value and the location table after receiving the service packet, one of the plurality of service packet processing devices for processing the service packet.
3 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present application relate to a service packet distribution method and an apparatus. The method includes: receiving, by a service packet processing node located in a cloud gateway, a session request signal sent by a peer device of the cloud gateway; establishing a user bearer according to the session request signal and allocating a user bearer index used to identify the user bearer, where the user bearer index includes a location index value, the location index value is used to indicate a location of the service packet processing node in a location table of a packet distribution node located in the cloud gateway, and the location table includes a correspondence between a location index value and an identifier of a service packet processing node; and sending a session response signal to the peer device, where the session response signal includes the user bearer index.
7 Citations
18 Claims
-
1. A method for service packet distribution, wherein the method comprises:
-
receiving, by a first service packet processing node device in a cloud gateway, a session request signal sent by a peer device of the cloud gateway, wherein the cloud gateway includes a packet distribution node device and a plurality of service packet processing node devices, including the first service packet processing node device; establishing, by the first service packet processing node device, a user bearer according to the session request signal, allocating a user bearer index used to identify the user bearer, wherein the user bearer index comprises an allocated location index value, the allocated location index value is associated with the first service packet processing node device in a location table of the packet distribution node device, and the location table comprises corresponding relationships between location index values and identifiers of the service packet processing node devices in the cloud gateway; and sending, by the first service packet processing node device, a session response signal to the peer device, wherein the session response signal comprises the user bearer index, so that the peer device adds the user bearer index into a service packet when sending the service packet to the packet distribution node device, the packet distribution node device updates the location table to establish a relationship between the allocated location index and a second service packet processing node device among the plurality of service packet processing node devices when the first service packet processing node device is to be migrated out of the cloud gateway, and the packet distribution node device determines, according to the location index value and the location table after receiving the service packet, one of the plurality of service packet processing devices for processing the service packet. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A service packet processing node device that is in a cloud gateway, the could gateway including a packet distribution node device and a plurality of service packet processing node devices, which includes the service packet processing node device as a first service packet processing node, the service packet processing node device comprising:
-
a memory configured to store software instructions; and a processor coupled to the memory and configured to execute the software instructions to; receive a session request signal sent by a peer device of the cloud gateway; establish a user bearer according to the session request signal; allocate a user bearer index to identify the user bearer, wherein the user bearer index comprises an allocated location index value, the allocated location index value is associated with the first service packet processing node device in a location table of the packet distribution node device, and the location table comprises corresponding relationships between location index values and identifiers of the service packet processing node devices; and send a session response signal to the peer device, wherein the session response signal comprises the user bearer index, so that the peer device adds the user bearer index into a service packet when sending the service packet to the packet distribution node, and the packet distribution node updates the location table to establish a relationship between the allocated location index and a second service packet processing node device among the plurality of service packet processing node devices when the first service packet processing node device is to be migrated out of the cloud gateway, and the packet distribution node device determines, according to the location index value and the location table after receiving the service packet, one of the plurality of service packet processing devices for processing the service packet. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A packet distribution node device that is
in a cloud gateway, the could gateway including the packet distribution node device and a plurality of service packet processing node devices, and the packet distribution node device comprising: -
a memory configured to store software instructions; and a processor coupled to the memory and configured to execute the software instructions to; receive a service packet sent by a peer device of the cloud gateway, wherein the service packet comprises a user bearer index, the user bearer index is sent to the peer device by a first service packet processing node device among the plurality of service packet processing node devices, the user bearer index comprises an allocated location index value, the allocated location index value associated with the first service packet processing node device in a location table of the packet distribution node device, and the location table comprises corresponding relationships between location index values and identifiers of the service packet processing node devices; update the location table to establish a relationship between the allocated location index and a second service packet processing node device among the plurality of service packet processing node devices when the first service packet processing node device is to be migrated out of the cloud gateway; determine, according to the location index value and the location table, one of the plurality of service packet processing devices for processing the service packet; and send the service packet to the determined one of the plurality of service packet processing node devices, so that the determined one of the plurality of service packet processing node devices performs processing on the service packet. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification