Entity identification method and device thereof

The invention discloses an entity identification method and a device thereof. The method comprises the following steps that an entity A sends a first identity identification message to an entity B, the entity B receives the first identity identification message and checks the validity of an entity A certificate, the entity B sends a second identity identification message to the entity A, the entity A receives the second identity identification message and checks the correctness of the field data in the second identity identification message, the entity A calculates secret information and a message identification code and sends a third identity identification message to the entity B by using a self private key and the temporary public key of the entity B, the entity B receives the third identity identification message and then checks the correctness of the field data, the entity B calculates the secret information and the message identification code and sends a fourth identity identification message to the entity A by using a self private key and the temporary public key of the entity A, and the entity A receives the fourth identity identification message and then checks the validity of the entity B. According to the method and the device, an identity identification mechanism is provided for air interface equipment including NFC equipment, and the identity legality and authenticity of two communication parties are ensured.