Patent attributes
Disclosed are a security authentication method and an apparatus thereof, and an electronic device. The method includes: sending a verification request to a verification end; receiving a first data packet and acquiring third preset data, fourth preset data, second time data, a control instruction, and fifth preset data, the first data packet being determined by the verification end in response to the verification request; generating a key based on the third preset data, the fourth preset data, the second time data, and the first data packet; encrypting the control instruction and the fifth preset data based on the key to generate first encrypted data; and sending the first encrypted data to the verification end, so that the verification end sends the control instruction and the fifth preset data to an execution end, and the execution end executes the control instruction based on the following method: determining whether the fifth preset data is the same as internal preset data; and if so, executing the control instruction. The present invention can reduce interaction process, improve the time delay experience, and reduce a risk of malicious power consumption due to NFC-Key encryption and decryption behaviors triggered by fake messages of a card reader.