US 12,170,652 B2
Packet transmission method and apparatus and computer storage medium
Chunning Wang, Nanjing (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed on Feb. 15, 2022, as Appl. No. 17/672,359.
Application 17/672,359 is a continuation of application No. PCT/CN2020/112165, filed on Aug. 28, 2020.
Claims priority of application No. 201910810004.9 (CN), filed on Aug. 29, 2019.
Prior Publication US 2022/0174051 A1, Jun. 2, 2022
Int. Cl. H04L 9/40 (2022.01); H04L 69/22 (2022.01)
CPC H04L 63/0435 (2013.01) [H04L 63/0485 (2013.01); H04L 63/20 (2013.01); H04L 69/22 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A packet transmission method applied to a communications network, wherein the communications network comprises a first device and a second device, a target security association is established between the first device and the second device, the first device is an initiator of the target security association, and the second device is a destination of the target security association, the packet transmission method comprising:
obtaining, by the first device, service type information of an original packet, wherein the service type information comprises precedence of the original packet;
generating, by the first device, an encapsulating security payload (ESP) packet of the original packet based on the target security association, wherein the ESP packet comprises a packet header, an ESP header, a service type field, a first encrypted part, and an ESP authentication data field, the service type field comprises the service type information, the first encrypted part comprises a data part of the original packet, and the service type field is used to enable the second device to determine, based on the service type information, processing of the ESP packet; and
sending, by the first device, the ESP packet to the second device.