IP Library › Granted Patent US 10,819,832
Granted Patent B2
US 10,819,832 · App. 15/344,193 · Granted Oct 27, 2020

Packet processing method, apparatus, and device

Inventors: Yibin Xu (Nanjing, CN); Bing Sun (Nanjing, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L69/22H04L47/32H04L63/08H04L63/0876H04L67/303H04L45/00H04L47/50H04L63/162
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,819,832
App. No.
15/344,193
Granted
Oct 27, 2020
Kind
B2
Abstract

A packet processing method, apparatus, and device are disclosed. The method includes: receiving, by a forwarding plane, an item from a control plane of the forwarding plane, where the item includes an identifier of a connected terminal; receiving an access protocol packet; when the access protocol packet is not an authentication start packet, determining, by the forwarding plane according to the identifier of the connected terminal, whether a terminal served by the access protocol packet is the connected terminal; and discarding, by the forwarding plane, the access protocol packet when the access protocol packet is not the authentication start packet and when the terminal served by the access protocol packet is not the connected terminal. The method improves user experience.

Claims (74)

1. A packet processing method comprising:

receiving, by a forwarding plane, an identifier of a connected terminal from a control plane of the forwarding plane, wherein the connected terminal is a terminal for which an authentication process has been started but not yet completed;

receiving, by the forwarding plane, a first authentication packet;

determining, by the forwarding plane, a category of the first authentication packet based on a field within the first authentication packet, wherein the category is one of (a) an authentication start packet for starting an authentication process, (b) an authentication packet other than the authentication start packet, (c) an online packet, and (d) an offline packet;

when the first authentication packet is not categorized as the authentication start packet, determining, by the forwarding plane according to the identifier of the connected terminal, whether a terminal served by the first authentication packet is the connected terminal;

discarding, by the forwarding plane, the first authentication packet when the category of the first authentication packet is not the authentication start packet and the terminal served by the first authentication packet is not the connected terminal;

placing, by the forwarding plane, the first authentication packet in a packet queue of a to-be-newly-connected terminal or a packet queue of the connected terminal, wherein

the first authentication packet is placed in the packet queue of the to-be-newly-connected terminal when the category of the first authentication packet is determined to be the authentication start packet, and

the first authentication packet is placed in the packet queue of the connected terminal when (a) the category of the first authentication packet is not the authentication start packet and (b) the terminal served by the first authentication packet is the connected terminal;

scheduling, by the forwarding plane, the packet queue of the to-be-newly-connected terminal or the connected terminal according to a priority of the packet queue, wherein the priority of the packet queue of the to-be-newly-connected terminal is lower than the priority of the packet queue of the connected terminal;

sending, by the forwarding plane, the first authentication packet to the control plane according to the scheduling when the category of the first authentication packet is determined to be the authentication start packet, wherein the terminal served by the first authentication packet becomes the connected terminal after the control plane processes the first authentication packet;

receiving, by the forwarding plane and from the control plane, an indication that a quantity of connected terminals whose authentication status is incomplete is greater than a preset quantity; and

restricting, by the forwarding plane, a rate of sending to the control plane authentication packets whose category is the authentication start packet in response to receiving the indication.

2. The method according to claim 1 , wherein the identifier further comprises an authentication status of the connected terminal and the authentication status indicates whether the authentication process is incomplete or complete, the packet queue of the connected terminal comprises an under-authentication packet queue and an authentication-completed packet queue, and a priority of the under-authentication packet queue is different from a priority of the authentication-completed packet queue; and

placing, by the forwarding plane, the first authentication packet in a packet queue of the connected terminal comprises:

determining, by the forwarding plane, an authentication status of the terminal served by the first authentication packet; and

placing, by the forwarding plane, the first authentication packet

a) in the under-authentication packet queue when the authentication status of the terminal served by the first authentication packet is authentication uncompleted; or

b) in the authentication-completed packet queue when the authentication status of the terminal served by the first authentication packet is authentication completed.

3. The method according to claim 1 , wherein the identifier further comprises an authentication status of the connected terminal and the authentication status indicates whether the authentication process is incomplete or complete, and the method further comprises:

when the forwarding plane determines that the category of the first authentication packet is not the authentication start packet and the forwarding plane determines that the terminal served by the identifier is the connected terminal, determining, by the forwarding plane, the authentication status of the terminal served by the first authentication packet; and

discarding the first authentication packet when the authentication status of the terminal served by the first authentication packet is

a) authentication uncompleted and when the forwarding plane determines that the first authentication packet is an online packet; or

b) authentication completed and when the forwarding plane determines that the first authentication packet is an authentication packet other than the authentication start packet.

4. A packet processing apparatus comprising a processor and a non-transitory computer-readable medium having processor-executable instructions stored thereon, wherein the processor is configured, based on execution of the processor-executable instructions, to facilitate:

receiving an identifier of a connected terminal from a control plane and receiving an authentication packet, wherein the connected terminal is a terminal for which an authentication process has been started but not yet completed;

receiving a first authentication packet;

determining a category of the first authentication packet based on a field within the first authentication packet, wherein the category is one of (a) an authentication start packet for starting an authentication process, (b) an authentication packet other than the authentication start packet, (c) an online packet, and (d) an offline packet;

when the authentication packet is not categorized as the authentication start packet, determining, according to the identifier of the connected terminal, whether a terminal served by the authentication packet is the connected terminal;

discarding the authentication packet when the category of the authentication packet is not the authentication start packet and the terminal served by the authentication packet is not the connected terminal;

placing the first authentication packet in a packet queue of a to-be-newly-connected terminal or a packet queue of the connected terminal, wherein

the first authentication packet is placed in the packet queue of the to-be-newly-connected terminal when the category of the first authentication packet is determined to be the authentication start packet, and

the first authentication packet is placed in the packet queue of the connected terminal when (a) the category of the first authentication packet is not the authentication start packet and (b) the terminal served by the first authentication packet is the connected terminal;

scheduling the packet queue of the to-be-newly-connected terminal or the connected terminal according to a priority of the packet queue, wherein the priority of the packet queue of the to-be-newly-connected terminal is lower than the priority of the packet queue of the connected terminal;

sending the first authentication packet to the control plane according to the scheduling when the category of the first authentication packet is determined to be the authentication start packet, wherein the terminal served by the first authentication packet becomes the connected terminal after the control plane processes the first authentication packet;

receiving from the control plane an indication that a quantity of connected terminals whose authentication status is incomplete is greater than a preset quantity; and

restricting a rate of sending to the control plane authentication packets whose category is the authentication start packet in response to receiving the indication.

5. The apparatus according to claim 4 , wherein the identifier further comprises an authentication status of the connected terminal, and the authentication status indicates whether the authentication process is incomplete or complete, the packet queue of the connected terminal comprises an under-authentication packet queue and an authentication-completed packet queue, and a priority of the under-authentication packet queue is different from a priority of the authentication-completed packet queue; and the processor is further configured, based on execution of the processor-executable instructions, to facilitate:

placing the first authentication packet in a packet queue of the connected terminal comprises:

determining an authentication status of the terminal served by the first authentication packet; and

placing, by the forwarding plane, the first authentication packet

a) in the under-authentication packet queue when the authentication status of the terminal served by the first authentication packet is authentication uncompleted; or

b) in the authentication-completed packet queue when the authentication status of the terminal served by the first authentication packet is authentication completed.

6. The apparatus according to claim 4 , wherein the identifier further comprises an authentication status of the connected terminal and the authentication status indicates whether the authentication process is incomplete or complete, and the processor is further configured, based on execution of the processor-executable instructions, to facilitate:

determining the authentication status of the terminal served by the first authentication packet when the category of the first authentication packet is not the authentication start packet and the terminal served by the identifier is the connected terminal; and

discarding the first authentication packet when the authentication status of the terminal served by the first authentication packet is

a) authentication uncompleted and when the forwarding plane determines that the first authentication packet is an online packet; or

b) authentication completed and when the forwarding plane determines that the first authentication packet is an authentication packet other than the authentication start packet.

7. A packet processing device comprising a control plane apparatus and a forwarding plane apparatus;

wherein the control plane apparatus is configured to

send an identifier of a connected terminal to the forwarding plane apparatus, wherein the connected terminal is a terminal for which an authentication process has been started but not yet completed; and

wherein the forwarding plane apparatus is configured to:

receive the identifier from the control plane apparatus and receive an authentication packet;

determine a category of the first authentication packet based on a field within the first authentication packet, wherein the category is one of (a) an authentication start packet for starting an authentication process, (b) an authentication packet other than the authentication start packet, (c) an online packet, and (d) an offline packet;

when the authentication packet is not categorized as the authentication start packet, determine, according to the identifier of the connected terminal, whether a terminal served by the authentication packet is the connected terminal;

discard the authentication packet when the category of the authentication packet is not the authentication start packet and the terminal served by the authentication packet is not the connected terminal;

place the authentication packet in a packet queue of a to-be-newly-connected terminal or a packet queue of the connected terminal, wherein

the authentication packet is placed in the packet queue of the to-be-newly-connected terminal when the category of the authentication packet is determined to be the authentication start packet, and

the authentication packet is placed in the packet queue of the connected terminal when (a) the category of the authentication packet is not the authentication start packet and (b) the terminal served by the authentication packet is the connected terminal;

schedule the packet queue of the to-be-newly-connected terminal or the connected terminal according to a priority of the packet queue, wherein the priority of the packet queue of the to-be-newly-connected terminal is lower than the priority of the packet queue of the connected terminal;

send the authentication packet to the control plane according to the scheduling when the category of the authentication packet is determined to be the authentication start packet, wherein the terminal served by the authentication packet becomes the connected terminal after the control plane processes the authentication packet;

receive from the control plane an indication that a quantity of connected terminals whose authentication status is incomplete is greater than a preset quantity; and

restrict a rate of sending to the control plane authentication packets whose category is the authentication start packet in response to receiving the indication.

8. The device according to claim 7 , wherein the identifier further comprises an authentication status of the connected terminal and the authentication status indicates whether the authentication process is incomplete or complete, the packet queue of the connected terminal comprises an under-authentication packet queue and an authentication-completed packet queue, and a priority of the under-authentication packet queue is different from a priority of the authentication-completed packet queue, wherein the forwarding plane is further configured to provide at least the following operations:

placing the first authentication packet in a packet queue of the connected terminal comprises:

determining an authentication status of the terminal served by the first authentication packet; and

placing the first authentication packet

a) in the under-authentication packet queue when the authentication status of the terminal served by the first authentication packet is authentication uncompleted; or

b) in the authentication-completed packet queue when the authentication status of the terminal served by the first authentication packet is authentication completed.

9. The device according to claim 7 , wherein the identifier further comprises an authentication status of the connected terminal and the authentication status indicates whether the authentication process is incomplete or complete, wherein the forwarding plane is further configured to provide at least the following operations:

determining the authentication status of the terminal served by the first authentication packet when the category of the first authentication packet is not the authentication start packet and the terminal served by the identifier is the connected terminal; and

discarding the first authentication packet when the authentication status of the terminal served by the first authentication packet is

a) authentication uncompleted and when the forwarding plane determines that the first authentication packet is an online packet; or

b) authentication completed and when the forwarding plane determines that the first authentication packet is an authentication packet other than the authentication start packet.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 11, 2019
From: XU, YIBIN; SUN, BING
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 048864/0638 →
Priority Claims (1)
CN 2015 1 0752291 · Nov 6, 2015 · national
Continuity (1)
Related Publication 20170134541A1 · May 11, 2017