Patent ID: 9112143
Filing Date: 2015-08-18
Classification: H01L,H04L

Abstract:
1. A method for processing messages comprising: a first device sending a neighbor solicitation message to a second device, and creating information of the second device based on a neighbor advertisement message replied by the second device; and the method further comprising: the first device, after creating the information of the second device, sending a detection request message to the second device based on the created information of the second device; and the first device determining whether a detection reply message sent by the second device is received in a period of time; when the detection reply message is not received, the first device deleting the created information of the second device which is determined to be not legal; and when the first device receives the detection reply message sent by the second device in the period of time, the first device determining that the created information of the second device is legal, and reserving the created legal information of the second device; wherein, the information of the second device contains a link layer address of the second device; wherein after the step of the first device reserving the created legal information of the second device, the method further comprises: the first device receiving the neighbor advertisement message sent by the second device; and the first device determining whether a link layer address in the neighbor advertisement message is consistent with the link layer address in the created information of the second device; if yes, updating the created information of the second device based on the neighbor advertisement message; and if not, discarding the neighbor advertisement message.