US 11,706,618 B2
Data packet verification method and device
Li Hu, Shanghai (CN); Jing Chen, Shanghai (CN); and Huan Li, Shanghai (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Nov. 8, 2019, as Appl. No. 16/678,314.
Application 16/678,314 is a continuation of application No. PCT/CN2017/083623, filed on May 9, 2017.
Prior Publication US 2020/0092722 A1, Mar. 19, 2020
Int. Cl. H04W 12/06 (2021.01); H04W 12/12 (2021.01)
CPC H04W 12/06 (2013.01) [H04W 12/12 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A data packet verification method, comprising:
receiving a data packet of a terminal device of a type that performs data interaction with a user plane function entity, wherein the data packet carries a first token and a service identifier, and the service identifier includes a service type indicator used to indicate a type of a service to which the data packet belongs, the service identifier further including an identifier of a server that provides the indicated type of service;
obtaining first input information based on the data packet, and generating a second token based on the first input information, wherein the first input information comprises an identifier of the terminal device, the service identifier, and a third token generated by the terminal device and obtained by the user plane function entity; and
using the first token to update the third token at the terminal device,
wherein generating the second token based on the first input information includes using the third token as an input parameter to generate the second token; and
sending the data packet in response to the first token being the same as the second token.