IP Library › Granted Patent US 11,870,690
Granted Patent B2
US 11,870,690 · App. 17/903,325 · Granted Jan 9, 2024

Packet processing method and apparatus, device, and storage medium

Inventors: Lei Bao (Nanjing, CN); Juhua Xu (Nanjing, CN); Zhibo Hu (Beijing, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L45/566H04L43/067H04L45/20
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 11,870,690
App. No.
17/903,325
Granted
Jan 9, 2024
Kind
B2
Abstract

This application provides a packet processing method and a device. In this application, a control identifier field is added to a packet, and the control identifier field indicates whether forwarding of the packet is allowed when a resource corresponding to a slice identifier fails to be matched. The control identifier field and a slice identifier of a network slice are carried in the packet, so that the slice identifier and the control identifier field are transmitted on a network together. When a receive end fails to match the resource corresponding to the slice identifier, the receive end can discard the packet based on the control identifier field, instead of forwarding the packet by using routing information.

Claims (79)

1. A method comprising:

receiving, by a first network device, a packet, wherein the packet comprises a slice identifier of a network slice and a control identifier field, wherein the control identifier field indicates whether forwarding of the packet is allowed when a resource corresponding to the slice identifier fails to be matched, and wherein

the first network device fails to match the resource corresponding to the slice identifier; and

discarding, by the first network device, the packet based on a value of the control identifier field indicating that the forwarding of the packet is not allowed when the resource corresponding to the slice identifier fails to be matched.

2. The method according to claim 1 , wherein the resource is a forwarding resource reserved for the network slice.

3. The method according to claim 1 ,

wherein the packet comprises a flag field, and the flag field comprises the control identifier field, or

wherein the packet comprises a segment routing over internet protocol version 6 (SRv6) segment identifier (SID), and the SRv6 SID comprises the control identifier field.

4. The method according to claim 1 ,

wherein the packet comprises a hop-by-hop options header, and the hop-by-hop options header comprises the control identifier field,

wherein the packet comprises a segment routing header (SRH), and the SRH comprises the control identifier field,

wherein the packet comprises a slice identifier information head, and the slice identifier information head comprises the control identifier field,

wherein the packet comprises an internet protocol version 4 (IPv4) packet header, and the IPv4 packet header comprises the control identifier field,

wherein the packet comprises an internet protocol version 6 (IPv6) packet header, and the IPv6 packet header comprises the control identifier field, or

wherein the packet comprises a payload, and a structure in the payload comprises the control identifier field.

5. The method according to claim 1 ,

wherein the control identifier field occupies one bit of the packet, and

wherein the one bit being set indicates that the forwarding of the packet is not allowed when the resource corresponding to the slice identifier fails to be matched, or

wherein the one bit not being set indicates that the forwarding of the packet is allowed when the resource corresponding to the slice identifier fails to be matched.

6. The method according to claim 1 ,

wherein the packet comprises a detection packet, or

wherein the packet comprises a data packet.

7. The method according to claim 6 ,

wherein the packet comprises the detection packet, and

wherein the detection packet is a bidirectional forwarding detection (BFD) packet,

wherein the detection packet is an operations, administration, and maintenance (OAM) detection packet,

wherein the detection packet is a two-way active measurement protocol (TWAMP) detection packet, or

wherein the detection packet is a channel-associated OAM performance measurement in-situ Flow information Telemetry (iFit) packet based on an internetworking protocol data flow.

8. A method comprising:

generating, by a second network device, a packet, wherein the packet comprises a slice identifier of a network slice and a control identifier field, and wherein the control identifier field indicates whether forwarding of the packet is allowed when a resource corresponding to the slice identifier fails to be matched; and

sending, by the second network device, the packet.

9. The method according to claim 8 , wherein the resource is a forwarding resource reserved for the network slice.

10. The method according to claim 8 , wherein after the sending, by the second network device, the packet, the method further comprises at least one of:

switching, by the second network device, a path corresponding to the network slice in response to the packet being discarded; or

sending, by the second network device, an alarm message in response to the packet being discarded.

11. The method according to claim 8 ,

wherein the packet comprises a flag field, and the flag field comprises the control identifier field, or

wherein the packet comprises a segment routing over internet protocol version 6 (SRv6) segment identifier (SID), and the SRv6 SID comprises the control identifier field.

12. The method according to claim 8 ,

wherein the packet comprises a hop-by-hop options header, and the hop-by-hop options header comprises the control identifier field,

wherein the packet comprises a segment routing header (SRH), and the SRH comprises the control identifier field,

wherein the packet comprises a slice identifier information head, and the slice identifier information head comprises the control identifier field,

wherein the packet comprises an internet protocol version 4 (IPv4) packet header, and the IPv4 packet header comprises the control identifier field,

wherein the packet comprises an internet protocol version 6 (IPv6) packet header, and the IPv6 packet header comprises the control identifier field, or

wherein the packet comprises a payload, and a structure in the payload comprises the control identifier field.

13. The method according to claim 8 ,

wherein the control identifier field occupies one bit of the packet, and

wherein the one bit being set indicates that the forwarding of the packet is not allowed when the resource corresponding to the slice identifier fails to be matched, or

wherein the one bit not being set indicates that the forwarding of the packet is allowed when the resource corresponding to the slice identifier fails to be matched.

14. The method according to claim 8 ,

wherein the packet comprises a detection packet, or

wherein the packet comprises a data packet.

15. The method according to claim 14 ,

wherein the packet comprises the detection packet, and

wherein the detection packet is a bidirectional forwarding detection (BFD) packet,

wherein the detection packet is an operations, administration, and maintenance (OAM) detection packet,

wherein the detection packet is a two-way active measurement protocol (TWAMP) detection packet, or

wherein the detection packet is a channel-associated OAM performance measurement in-situ Flow information Telemetry (iFit) packet based on an internetworking protocol data flow.

16. A first network device, comprising:

a memory storing instructions;

a processor coupled to the memory, wherein when the instructions are executed by the processor, cause the first network device to:

receive a packet, wherein the packet comprises a slice identifier of a network slice and a control identifier field, wherein the control identifier field indicates whether forwarding of the packet is allowed when a resource corresponding to the slice identifier fails to be matched, and wherein

the first network device fails to match the resource corresponding to the slice identifier; and

discard the packet based on a value of the control identifier field indicating that the forwarding of the packet is not allowed when the resource corresponding to the slice identifier fails to be matched.

17. The first network device according to claim 16 , wherein the resource is a forwarding resource reserved for the network slice.

18. The first network device according to claim 16 ,

wherein the packet comprises a flag field, and the flag field comprises the control identifier field, or

wherein the packet comprises a segment routing over internet protocol version 6 (SRv6) segment identifier (SID), and the SRv6 SID comprises the control identifier field.

19. The first network device according to claim 16 ,

wherein the packet comprises a hop-by-hop options header, and the hop-by-hop options header comprises the control identifier field,

wherein the packet comprises a segment routing header (SRH), and the SRH comprises the control identifier field,

wherein the packet comprises a slice identifier information head, and the slice identifier information head comprises the control identifier field,

wherein the packet comprises an internet protocol version 4 (IPv4) packet header, and the IPv4 packet header comprises the control identifier field,

wherein the packet comprises an internet protocol version 6 (IPv6) packet header, and the IPv6 packet header comprises the control identifier field, or

wherein the packet comprises a payload, and a structure in the payload comprises the control identifier field.

20. The first network device according to claim 16 ,

wherein the control identifier field occupies one bit of the packet, and

wherein the one bit being set indicates that the forwarding of the packet is not allowed when the resource corresponding to the slice identifier fails to be matched, or

wherein the one bit not being set indicates that the forwarding of the packet is allowed when the resource corresponding to the slice identifier fails to be matched.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 24, 2023
From: BAO, LEI; XU, JUHUA; HU, ZHIBO
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 064689/0019 →
Priority Claims (1)
CN 202010188162.8 · Mar 17, 2020 · national
Continuity (2)
Continuation PCTCN2021080820 · Mar 15, 2021
Related Publication 20220417144A1 · Dec 29, 2022