Patent ID: 11929851
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 8:
9. A terminal device, comprising:
a non-transitory memory storage comprising instructions; and
one or more processors in communication with the memory, wherein the one or more processors execute the instructions to:
receive a message from a gateway device, wherein the message comprises identification information of the gateway device, and the identification information of the gateway device indicates information about the gateway device, and the message is a router advertisement (RA) message;
determine whether the identification information of the gateway device is consistent with identification information of a gateway device that is preset on the terminal device or is inconsistent with the identification information of the gateway device that is preset on the terminal device, and determine whether to use the gateway device as a selected gateway device or whether to discard a data packet intended to be sent to the gateway device based on whether the identification information is consistent or inconsistent;
determine that the identification information of the gateway device is consistent with identification information of a gateway device that is preset on the terminal device, and determine not to discard the data packet based on determination of the identification information as consistent; and
upon determination not to discard the data packet, send a data packet to the selected gateway device.