CN112348998B - Method and device for generating one-time password, intelligent door lock and storage medium - Google Patents

Method and device for generating one-time password, intelligent door lock and storage medium Download PDF

Info

Publication number
CN112348998B
CN112348998B CN202010735424.8A CN202010735424A CN112348998B CN 112348998 B CN112348998 B CN 112348998B CN 202010735424 A CN202010735424 A CN 202010735424A CN 112348998 B CN112348998 B CN 112348998B
Authority
CN
China
Prior art keywords
time
password
registration
service platform
cloud service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010735424.8A
Other languages
Chinese (zh)
Other versions
CN112348998A (en
Inventor
林舜大
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202010735424.8A priority Critical patent/CN112348998B/en
Publication of CN112348998A publication Critical patent/CN112348998A/en
Application granted granted Critical
Publication of CN112348998B publication Critical patent/CN112348998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a method and a device for generating a one-time password, an intelligent door lock and a storage medium, wherein the method comprises the following steps: sending a registration request data packet to a cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in the registration process; and after receiving the one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range. Therefore, verification registration is performed based on the authentication code, and a one-time password with higher security level is generated based on the one-time password generation parameter, so that the security of the one-time password is greatly improved.

Description

Method and device for generating one-time password, intelligent door lock and storage medium
Technical Field
The present invention relates to the field of security technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating a one-time password.
Background
Along with the development of society, the intelligent door lock is widely applied and has more and more perfect functions. Currently, many intelligent door locks are unlocked based on one-time passwords.
Generally, the one-time password uses the device ID of the intelligent door lock and the registration time of the intelligent door lock in the cloud service platform as seeds, and then the one-time password is calculated through a one-time password algorithm. The one-time password generated in this way can be easily broken as long as the device ID and registration time are known, and the device ID is easily known. Therefore, the one-time password generated by the existing method is easy to crack, and the security is not high.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for generating a one-time password, aiming at improving the security of the one-time password.
In order to achieve the above object, the present invention provides a method for generating a one-time password, which is applied to an intelligent door lock, and the method includes:
sending a registration request data packet to a cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in the registration process;
and after receiving the one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range.
Preferably, the step of sending a registration request data packet to a cloud service platform, and performing verification registration by the cloud service platform based on an authentication code in the registration request data packet and storing the one-time password generation parameter obtained in the registration process includes:
Receiving a true random number and a user ID sent by a mobile terminal, encrypting the true random number and an encryption chip ID of the encryption chip to obtain the authentication code, and storing the encryption chip ID, the authentication code and the user ID as registration request data packets;
the step of sending a registration request data packet to a cloud service platform, and verifying and registering by the cloud service platform based on an authentication code in the registration request data packet and storing a one-time password generation parameter obtained in the registration process comprises the following steps:
transmitting a registration request data packet containing the authentication code to the cloud service platform, decrypting the authentication code by the cloud service platform to obtain a verification true random number, comparing the verification true random number with a true random number transmitted to the intelligent door lock, and judging that the verification is successful if the verification is consistent with the true random number;
and after verification is successful, registering, and storing the authentication code, the encryption chip ID, the user ID, the registration time and the encryption registration key generated by the cloud service platform based on the registration request data packet as one-time password generation parameters.
Preferably, after the verification is successful, the step of registering and storing the authentication code, the encrypted chip ID, the user ID, and the registration key generated by the cloud service platform based on the registration request packet as the one-time password generation parameter further includes:
Calculating a first hash value of an encrypted registration key corresponding to the registration key, and comparing the first hash value with a second hash value of the encrypted registration key returned by the cloud service platform;
if the first hash value is consistent with the second hash value, judging that the encryption registration key is legal, and executing the steps: after verification is successful, registration is performed, and the authentication code, the encryption chip ID, the user ID and a registration key generated by the cloud service platform based on the registration request data packet are stored as one-time password generation parameters.
Preferably, the intelligent door lock supports encryption;
after receiving the one-time password application, the step of calculating the one-time first password based on the one-time password generation parameter, the current time and the time range comprises the following steps:
encrypting the encryption chip ID, registration time and authentication code in the one-time password generation parameter to obtain an unlocking key;
and marking the unlocking key, the current time and the time range as first target parameters, calculating a one-time first password based on the first target parameters, and calculating a one-time second password based on the first target parameters through the cloud service platform.
Preferably, the smart door lock does not support encryption;
after receiving the one-time password application, the step of calculating the one-time first password based on the one-time password generation parameter, the current time and the time range comprises the following steps:
acquiring an encryption registration key in the one-time password generation parameter, and decrypting the encryption registration key to obtain a registration key;
and marking the registration key, the current time and the time range as second target parameters, calculating a one-time first password based on the second target parameters, and calculating a one-time second password based on the second target parameters through the cloud service platform.
Preferably, the step of calculating the one-time first password based on the one-time password generation parameter, the current time and the time range, and calculating the one-time second password through the cloud service platform further comprises:
receiving the one-time second password input by the user, wherein the one-time second password is sent to a mobile terminal by the cloud service platform and is displayed to the user through the mobile terminal;
and comparing the disposable first password with the disposable second password, and if the disposable first password is consistent with the disposable second password, executing unlocking operation.
Preferably, the smart door lock includes an encryption chip, and the step of determining that the encrypted registration key is legal further includes, if the first hash value is consistent with the second hash value:
the encryption registration key is sent to the encryption chip, the encryption chip decrypts the encryption registration key and returns a decrypted verification registration key;
decrypting the encrypted registration key based on the public key returned by the cloud server to obtain a decrypted registration key;
and comparing the verification registration key with the registration key, and if the verification registration key and the registration key are consistent, verifying the user ID based on the registration key.
In addition, the invention also provides a device for generating the one-time password, which comprises the following steps:
the registration module is used for sending a registration request data packet to the cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing one-time password generation parameters obtained in the registration process;
and the generation module is used for calculating the one-time first password based on the one-time password generation parameters, the current time and the time range after receiving the one-time password application.
In addition, the invention also provides an intelligent door lock, which comprises an encryption chip, a processor, a memory and a one-time password generating program stored in the memory, wherein the one-time password generating program realizes the steps of the one-time password generating method when being run by the processor.
The present invention also provides a computer storage medium having stored thereon a one-time-password generating program which, when executed by a processor, implements the steps of the one-time-password generating method described above.
Compared with the prior art, the invention provides a method, a device, an intelligent door lock and a storage medium for generating a one-time password, which are used for sending a registration request data packet to a cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing one-time password generation parameters obtained in the registration process; and after receiving the one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range. Therefore, verification registration is performed based on the authentication code, and a one-time password with higher security level is generated based on the one-time password generation parameter, so that the security of the one-time password is greatly improved.
Drawings
FIG. 1 is a schematic diagram of the hardware architecture of an intelligent door lock according to various embodiments of the present invention;
FIG. 2 is a flowchart of a first embodiment of a method for generating a one-time password according to the present invention;
FIG. 3 is a schematic view of a first embodiment of a method for generating a one-time password according to the present invention;
FIG. 4 is a flowchart of a second embodiment of the method for generating a one-time password according to the present invention;
FIG. 5 is a schematic view of a second embodiment of a method for generating a one-time password according to the present invention;
FIG. 6 is a flowchart of a third embodiment of a method for generating a one-time password according to the present invention;
FIG. 7 is a schematic view of a third embodiment of a method for generating a one-time password according to the present invention;
fig. 8 is a schematic functional block diagram of a first embodiment of the one-time password generating device of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The intelligent door lock mainly related to the embodiment of the invention can realize network connection. In addition, the mobile terminal related to the embodiment of the invention can be mobile network equipment such as a mobile phone, a tablet personal computer and the like.
Referring to fig. 1, fig. 1 is a schematic hardware configuration diagram of an intelligent door lock according to various embodiments of the present invention. In an embodiment of the present invention, the smart door lock may include an encryption chip, a processor 1001 (e.g., a central processing unit Central Processing Unit, a CPU), a communication bus 1002, an input port 1003, an output port 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communications between these components; the input port 1003 is used for data input; the output port 1004 is used for data output, and the memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory, and the memory 1005 may be an optional storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 is not limiting of the invention and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005 in fig. 1, which is a readable storage medium, may include an operating system, a network communication module, an application program module, and a one-time password generation program. In fig. 1, the network communication module is mainly used for connecting with a server and performing data communication with the server; and the processor 1001 may call a one-time-password generation program stored in the memory 1005 and execute the one-time-password generation method provided by the embodiment of the present invention.
The embodiment of the invention provides a method for generating a one-time password.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a method for generating a one-time password according to the present invention.
In this embodiment, the method for generating the one-time password is applied to an intelligent door lock, and the method includes:
step S101, a registration request data packet is sent to a cloud service platform, verification registration is carried out by the cloud service platform based on an authentication code in the registration request data packet, and one-time password generation parameters obtained in the registration process are stored;
the cloud service platform provides background support for the intelligent door lock. And communicating with the intelligent door lock and the cloud service platform through a designated application installed on the mobile terminal. Generally, a complete intelligent door lock system is formed by an intelligent door lock, a mobile terminal and a cloud service platform.
In this embodiment, before the step S101, the method further includes:
receiving a true random number and a user ID sent by a mobile terminal, encrypting the true random number and an encryption chip ID of the encryption chip to obtain the authentication code, and storing the encryption chip ID, the authentication code and the user ID as registration request data packets;
Specifically, a user triggers a registration instruction through the mobile terminal, the mobile terminal sends a registration request including a user ID to the cloud service platform after receiving the registration instruction, and the cloud service platform returns a true random number to the mobile terminal after receiving the registration request. And then the mobile terminal sends the true random number to the intelligent door lock, and the intelligent door lock also receives the encryption chip ID returned by the cloud server. And the intelligent door lock encrypts the true random number and the encryption chip ID to generate an authentication code, and stores the encryption chip ID, the authentication code and the user ID as registration request data packets.
Further, the cloud service platform comprises an intelligent door lock cloud service platform and an encryption chip cloud service platform. The mobile terminal sends a registration request comprising a user ID to the intelligent door lock cloud service platform after receiving the registration instruction, the intelligent door lock cloud service platform applies for a random true number to the encryption chip cloud service platform after receiving the registration request, and the encryption chip cloud service platform generates a random true number and returns the random true number to the intelligent door lock cloud service platform; after the intelligent door lock cloud service platform obtains the random true number, the random true number and the user ID are stored in an associated mode, and the true random number is sent to the mobile terminal so that the mobile terminal can forward the random true number to the intelligent door lock.
In this embodiment, the step S101 specifically includes:
transmitting a registration request data packet containing the authentication code to the cloud service platform, decrypting the authentication code by the cloud service platform to obtain a verification true random number, comparing the verification true random number with a true random number transmitted to the intelligent door lock, and judging that the verification is successful if the verification is consistent with the true random number;
and after verification is successful, registering, and storing the authentication code, the encryption chip ID, the user ID, the registration time and the encryption registration key generated by the cloud service platform based on the registration request data packet as one-time password generation parameters.
And the intelligent door lock sends a registration request data packet containing the authentication code to an intelligent door lock cloud service platform in the cloud service platform. After receiving the registration request data packet, the intelligent door lock cloud service platform analyzes the registration request data packet to obtain the encryption chip ID, the authentication code and the user ID, encrypts the encryption chip ID, the authentication code and the user ID based on a self encryption mechanism, and generates a registration key. And the intelligent door lock cloud service platform sends the registration key to the encryption chip cloud service platform, and the encryption chip cloud service platform encrypts the registration key to generate an encrypted registration key. And the encryption chip cloud service platform decrypts the registration key to obtain the corresponding verification random true number, the encryption chip ID and the user ID. Because the random true number in the registration key is generated by the encryption chip cloud service platform, if the verification random true number is consistent with the random true number, the verification code and the encryption chip ID in the registration key are legal, and therefore the verification can be judged to be successful. And if the verification random true number is inconsistent with the random true number, the verification is failed, the current registration flow is ended, and the registration is stopped.
Further, after generating the registration key, the intelligent door lock cloud service platform also generates a device ID of the intelligent door lock, where the device ID may be a progressively increasing ID number.
Further, after the verification is successful, the step of registering and storing the authentication code, the encryption chip ID, the user ID and the registration key generated by the cloud service platform based on the registration request data packet as the one-time password generation parameter further includes:
calculating a first hash value of an encrypted registration key corresponding to the registration key, and comparing the first hash value with a second hash value of the encrypted registration key returned by the cloud service platform;
and if the first hash value is consistent with the second hash value, judging that the encryption registration key is legal.
Specifically, the smart door lock calculates a first hash value of an encrypted registration key corresponding to the registration key, where the first hash value may be calculated based on SHA 256. And signing the encrypted registration key through the intelligent door lock cloud service platform, calculating a second hash value of the encrypted registration key by using a private key, and attaching a public key, wherein the second hash value can be calculated based on SHA 256. Comparing the first hash value with the second hash value, and if the first hash value is consistent with the second hash value, the encrypted registration key is legal, and storing the encrypted registration key; and if the first hash value is inconsistent with the second hash value, the encrypted registration key is illegal, and registration is stopped.
Further, the smart door lock includes an encryption chip, and if the first hash value is consistent with the second hash value, the step of determining that the encrypted registration key is legal further includes:
the encryption registration key is sent to the encryption chip, the encryption chip decrypts the encryption registration key and returns a decrypted verification registration key;
decrypting the encrypted registration key based on the public key returned by the cloud server to obtain a decrypted registration key;
and comparing the verification registration key with the registration key, and if the verification registration key and the registration key are consistent, verifying the user ID based on the registration key.
In this embodiment, the encryption chip may be an independent chip externally disposed on the intelligent door lock, or may be internally disposed on the encryption chip as an integral part of the intelligent door lock. The intelligent door lock sends the encrypted registration key which is judged to be legal to the encryption chip, the encryption chip decrypts the encrypted registration key after receiving the encrypted registration key to obtain a verification registration key, and the verification registration key is returned to the intelligent door lock.
And the intelligent door lock can decrypt the encrypted registration key based on a public key returned by the intelligent door lock cloud service platform to obtain a registration key, wherein the public key is generated by the intelligent door lock cloud service platform when signing the encrypted registration key.
After the verification registration key and the registration key are obtained, the verification registration key is compared with the registration key, and if the verification registration key and the registration key are consistent, the registration key is legal, so that the user ID can be verified based on the registration key. If the user ID in the registration key is consistent with the user ID bound with the random true number, the user ID is verified and stored. Then, the intelligent door lock sends notification information of successful binding to the mobile terminal; the mobile terminal pulls complete intelligent door lock information from the intelligent door lock cloud service platform; the intelligent door lock cloud service platform returns complete intelligent door lock information to the mobile terminal; and authenticating the intelligent door lock based on the complete intelligent door lock information, and indicating that the registration is completed after the authentication is successful.
Specifically, referring to fig. 3, fig. 3 is a schematic diagram of a scenario in which a third embodiment of the present invention provides a method for generating a one-time password. As shown in fig. 7, the complete system comprises a user, a mobile terminal, an intelligent door lock and a cloud service platform, wherein the intelligent door lock comprises: the intelligent door lock and built-in or external and encryption chip of intelligent door lock, cloud service platform includes: an intelligent door lock cloud service platform and an encryption chip cloud service platform. The process of registering the intelligent door lock on the cloud service platform comprises the following steps:
1. Triggering a registration instruction by the mobile terminal through user triggering;
2. after receiving the registration instruction, the mobile terminal sends a registration request comprising a user ID to the cloud service platform;
3. after receiving the registration request, the intelligent door lock cloud service platform forwards the registration request to the encryption chip cloud service platform, and the encryption chip cloud service platform generates a true random number;
4. the encryption chip cloud service platform returns the true random number to the intelligent door lock cloud service platform;
5. the intelligent door lock cloud service platform binds a user ID based on the true random number;
6. the intelligent door lock cloud service platform sends the true random number to the mobile terminal;
7. the mobile terminal sends the true random number to the intelligent door lock;
8. the intelligent door lock sends the true random number to the encryption chip;
9. the encryption chip encrypts the true random number and the encryption chip ID to generate an authentication code, and returns the authentication code and the encryption chip ID to the intelligent door lock;
10. the intelligent door lock sends a registration request to an intelligent door lock cloud service platform based on the authentication code and the encryption chip ID;
11. The intelligent door lock cloud service platform generates a registration key based on the authentication code, the encryption chip ID and the user ID in the registration request;
12. the intelligent door lock cloud service platform sends the encryption chip ID, the authentication code and the registration key to the encryption chip cloud service platform;
13. the encryption chip cloud service platform decrypts the authentication code to obtain a verification true random number, encrypts the registration key to generate an encrypted registration key, and executes step 14; if the verification true random number is inconsistent with the random number, stopping registration;
14. the intelligent door lock cloud service platform binds the encryption chip ID and the user ID;
15. the intelligent door lock cloud service platform returns the information such as the encryption registration key, the signature, the user ID and the like to the intelligent door lock;
16. the intelligent door lock provides a public key in the signature to decrypt the encrypted registration key to obtain a registration key, the first hash value of the registration key is compared with the second hash value of the encrypted registration key returned by the cloud service platform, if the comparison is successful, the encrypted registration key is stored, and step 17 is executed; if the comparison fails, stopping registration;
17. The intelligent door lock returns the encryption registration key to the encryption chip;
18. the encryption chip decrypts the encrypted registration key to obtain an authentication registration key, and returns the authentication registration key to the intelligent door lock;
19. after obtaining the verification registration key and the registration key, the intelligent door lock compares the verification registration key and the registration key, if the verification registration key and the registration key are consistent, the intelligent door lock passes the verification, the user ID is stored, the step 20 is executed, and if the verification is not passed, the registration is stopped;
20. the intelligent door lock sends notification information of successful binding to the mobile terminal;
21. the mobile terminal pulls complete intelligent door lock information from the intelligent door lock cloud service platform;
22. the intelligent door lock cloud service platform returns complete intelligent door lock information to the mobile terminal;
23. authenticating the intelligent door lock based on the complete intelligent door lock information;
24. the intelligent door lock registration is completed.
Step S102, after receiving the one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range.
When a user needs to unlock, a one-time password application instruction is triggered based on the mobile terminal, wherein the one-time password application instruction comprises a user ID. And the mobile terminal sends a corresponding one-time password application to the intelligent door lock cloud service platform. The intelligent door lock cloud service platform receives the one-time password application, acquires the user ID, determines corresponding one-time password generation parameters based on the user ID, transmits an encryption chip ID, registration time and an authentication code in the one-time password generation parameters to the cloud service platform according to a certain format, and calculates a one-time second password by the cloud service platform.
The intelligent door lock cloud service platform informs the intelligent door lock of the one-time password application and issues the corresponding one-time encryption parameters to the intelligent door lock. In addition, the intelligent door lock also needs to acquire the current time and a preset time range, and the intelligent door lock adopts a TOYP algorithm to calculate the disposable first password based on the disposable password generation parameter, the current time and the time range.
In this embodiment, the smart door lock and/or the smart door lock cloud service platform calculates the One-Time password based on TOTP (Time-based One-Time Password algorithm).
The step of calculating the one-time first password based on the one-time password generation parameter, the current time and the time range and calculating the one-time second password through the cloud service platform further comprises the following steps:
receiving the one-time second password input by the user, wherein the one-time second password is sent to a mobile terminal by the cloud service platform and is displayed to the user through the mobile terminal;
and comparing the disposable first password with the disposable second password, and if the disposable first password is consistent with the disposable second password, executing unlocking operation.
Further, the step S102 further includes:
receiving the one-time second password input by the user, wherein the one-time second password is sent to a mobile terminal by the cloud service platform and is displayed to the user through the mobile terminal;
and comparing the disposable first password with the disposable second password, and if the disposable first password is consistent with the disposable second password, executing unlocking operation.
Specifically, the intelligent door lock cloud service platform sends the disposable second password to the mobile terminal so that the mobile terminal can display the disposable second password to a user, and after the user sees the disposable second password, the disposable second password is input through a panel of the intelligent door lock within a preset time so that the intelligent door lock can acquire the disposable second password. Comparing the disposable second password with the calculated disposable first password, and if the disposable first password is consistent with the disposable second password, executing unlocking operation; otherwise, if the disposable first password is inconsistent with the disposable second password, unlocking operation is not executed, and prompt information of incorrect password is output.
According to the scheme, a registration request data packet is sent to a cloud service platform, verification registration is carried out by the cloud service platform based on an authentication code in the registration request data packet, and one-time password generation parameters obtained in the registration process are stored; and after receiving the one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range. Therefore, verification registration is performed based on the authentication code, and a one-time password with higher security level is generated based on the one-time password generation parameter, so that the security of the one-time password is greatly improved.
As shown in fig. 4, a second embodiment of the present invention provides a method for generating a one-time password, based on the first embodiment shown in fig. 2, wherein after receiving a one-time password application, the step of calculating a one-time first password based on the one-time password generation parameter, the current time and the time range, and calculating a one-time second password through the cloud service platform includes:
step S201: encrypting the encryption chip ID, registration time and authentication code in the one-time password generation parameter to obtain an unlocking key;
Step S202: and marking the unlocking key, the current time and the time range as first target parameters, calculating a one-time first password based on the first target parameters, and calculating a one-time second password based on the first target parameters through the cloud service platform.
In this embodiment, the intelligent door lock has a decryption function and supports encryption. The decryption and encryption functions are realized by an encryption chip of the intelligent door lock.
When a user needs to apply for a one-time password, sending a one-time password application to an intelligent door lock cloud service platform in the cloud service platform through a designated application program in a mobile terminal, wherein the one-time password application comprises a user ID; the intelligent door lock cloud service platform obtains a corresponding user ID after receiving the one-time password application, determines a corresponding one-time password generation parameter from pre-stored one-time password generation parameters based on the user ID, and obtains an encryption chip ID, registration time and an authentication code in the one-time password generation parameter. The intelligent door lock cloud service platform sends the encryption chip ID, the registration time and the authentication code to an encryption chip cloud service platform in the cloud service platform according to a certain format, and the encryption chip cloud service platform encrypts the information to obtain a corresponding cloud unlocking key. The encryption chip cloud service platform returns the cloud unlocking key to the intelligent door lock cloud service platform; after the cloud unlocking key is obtained by the intelligent door lock cloud service platform, a disposable second password is calculated based on a TOTP algorithm by utilizing the cloud unlocking key, the current time and the time range, the disposable second password is sent to a mobile terminal which sends a disposable password application, and then the disposable second password is displayed to a user by the mobile terminal so that the user can input the disposable second password through a panel of the intelligent door lock within a preset time range.
Further, after the one-time password generation parameter is determined, the intelligent door lock encrypts an encryption chip ID, registration time and an authentication code in the one-time password generation parameter to obtain an unlocking key. In this embodiment, the encryption process is completed in the encryption chip, the intelligent door lock transmits an encryption chip ID, a registration time and an authentication code to the encryption chip, and the encryption chip encrypts the encryption chip ID, the registration time and the authentication code to the intelligent door lock through an algorithm consistent with that used in the intelligent door lock cloud service platform. Because the encryption algorithm and parameters of the unlocking key are the same as those of the cloud unlocking key, the unlocking key is the same as the cloud unlocking key. After the encryption chip calculates the unlocking key, the unlocking key is transmitted to the intelligent door lock, the intelligent door lock marks the unlocking key, the current time and the time range as first target parameters, and a one-time first password is calculated based on the first target parameters. And the intelligent door lock compares the disposable first password with the disposable second password, and if the disposable first password is consistent with the disposable second password, the unlocking operation is executed.
Specifically, referring to fig. 5, fig. 5 is a schematic diagram of a scenario in which a method for generating a one-time password is provided in a second embodiment of the present invention. As shown in fig. 5, the complete system comprises a user, a mobile terminal, an intelligent door lock and a cloud service platform, wherein the intelligent door lock comprises: the intelligent door lock and built-in or external and encryption chip of intelligent door lock, cloud service platform includes: an intelligent door lock cloud service platform and an encryption chip cloud service platform. The one-time password generation process of the intelligent door lock supporting encryption comprises the following steps:
1. triggering a one-time password application by a user through the mobile terminal;
2. the mobile terminal sends the one-time password application to an intelligent door lock cloud service platform;
3. the intelligent door lock cloud service platform determines corresponding one-time password generation parameters based on the user ID in the one-time password application, and obtains an encryption chip ID, registration time and an authentication code from the one-time password generation parameters;
4. the intelligent door lock cloud service platform sends the encryption chip ID and the registration time to the encryption chip cloud service platform, and the encryption chip cloud service platform encrypts the parameters to obtain a cloud unlocking key;
5. The encryption chip cloud service platform returns the cloud unlocking key to the intelligent door lock cloud service platform;
6. the intelligent door lock cloud service platform calculates a one-time second password based on the cloud encryption key, the current time and the time range;
7. the intelligent door lock cloud service platform sends the disposable second password to the mobile terminal;
8. the mobile terminal displays the one-time second password to a user;
9. the user inputs the disposable second password through a panel of the intelligent door lock within a preset time range;
10. the intelligent door lock transmits the encryption chip ID and the registration time to the encryption chip;
11. the encryption chip encrypts the encryption chip ID, the registration time and the authentication code to obtain an unlocking key, and returns the unlocking key to the intelligent door lock;
12. the intelligent door lock marks the unlocking key, the current time and the time range as first target parameters, and a one-time first password is calculated based on the first target parameters;
13. the intelligent door lock compares the disposable first password with the disposable second password, and if the two passwords are consistent, unlocking operation is executed;
14. And feeding back the unlocking success to the user.
According to the scheme, the encryption chip ID, the registration time and the authentication code in the one-time password generation parameter are encrypted to obtain an unlocking key; and marking the unlocking key, the current time and the time range as first target parameters, calculating a one-time first password based on the first target parameters, and calculating a one-time second password based on the first target parameters through the cloud service platform. Therefore, the one-time password is calculated based on the unlocking key, and the safety of the one-time password is greatly improved.
As shown in fig. 4, a third embodiment of the present invention provides a method for generating a one-time password, based on the first embodiment shown in fig. 2, wherein after receiving a one-time password application, the step of calculating a one-time first password based on the one-time password generation parameter, the current time and the time range includes:
step S301: acquiring an encryption registration key in the one-time password generation parameter, and decrypting the encryption registration key to obtain a registration key;
step S302: and marking the registration key, the current time and the time range as second target parameters, calculating a one-time first password based on the second target parameters, and calculating a one-time second password based on the second target parameters through the cloud service platform.
In this embodiment, the intelligent door lock has a decryption function, but does not support encryption. The decryption function is realized by an encryption chip of the intelligent door lock.
When a user needs to apply for a one-time password, sending a one-time password application to an intelligent door lock cloud service platform in the cloud service platform through a designated application program installed on a mobile terminal, wherein the one-time password application comprises a user ID; the intelligent door lock cloud service platform obtains a corresponding user ID after receiving the one-time password application, determines a corresponding one-time password generation parameter from pre-stored one-time password generation parameters based on the user ID, and obtains an encryption registration key in the one-time password generation parameter. The intelligent door lock cloud service platform marks the registration key, the current time and the time range as second target parameters, calculates a disposable second password based on the second target parameters, returns the disposable second password to the mobile terminal, and displays the disposable second password to a user by the mobile terminal so that the user can input the disposable second password through a panel of the intelligent door lock within a preset time range.
And the intelligent terminal transmits the acquired registration encryption key to the encryption chip for decryption to acquire a corresponding registration key, and returns the registration key to the intelligent door lock. And after the intelligent door lock receives the registration key, marking the registration key, the current time and the time range as second target parameters, and calculating a one-time first password based on the second target parameters. And the intelligent door lock compares the disposable first password with the disposable second password, and if the disposable first password is consistent with the disposable second password, the unlocking operation is executed.
Specifically, referring to fig. 7, fig. 7 is a schematic diagram of a scenario in which a third embodiment of the present invention provides a method for generating a one-time password. As shown in fig. 7, the complete system comprises a user, a mobile terminal, an intelligent door lock and a cloud service platform, wherein the intelligent door lock comprises: the intelligent door lock and built-in or external and encryption chip of intelligent door lock, cloud service platform includes: an intelligent door lock cloud service platform and an encryption chip cloud service platform. The one-time password generation process of the intelligent door lock which does not support encryption comprises the following steps:
1. Triggering a one-time password application by a user through the mobile terminal;
2. the mobile terminal sends the one-time password application to an intelligent door lock cloud service platform;
3. the intelligent door lock cloud service platform determines a corresponding one-time password generation parameter based on a user ID in the one-time password application, and obtains an encryption registration key from the one-time password generation parameter;
4. the intelligent door lock cloud service platform calculates a one-time second password based on the encrypted registration key, the current time and the time range;
5. the intelligent door lock cloud service platform sends the disposable second password to the mobile terminal;
6. the mobile terminal displays the one-time second password to a user;
7. the user inputs the disposable second password through a panel of the intelligent door lock within a preset time range;
8. the intelligent terminal transmits the acquired registration encryption key to the encryption chip;
9. the encryption chip decrypts the registration encryption key to obtain a corresponding registration key, and returns the registration key to the intelligent door lock;
10. the intelligent door lock calculates a one-time first password based on the received registration key, the current time and the time range;
11. The intelligent door lock compares the disposable first password with the disposable second password, and if the disposable first password is consistent with the disposable second password, unlocking operation is executed;
12. and feeding back the unlocking success to the user.
According to the embodiment, through the scheme, an encryption registration key in the one-time password generation parameter is obtained, and the encryption registration key is decrypted to obtain the registration key; and marking the registration key, the current time and the time range as second target parameters, calculating a one-time first password based on the second target parameters, and calculating a one-time second password based on the second target parameters through the cloud service platform. Therefore, the one-time password is calculated based on the registration key, and the security of the one-time password is greatly improved.
In addition, the embodiment also provides a device for generating the one-time password. Referring to fig. 8, fig. 8 is a schematic functional block diagram of a first embodiment of a one-time password generating device according to the present invention.
In this embodiment, the device for generating the one-time password is a virtual device, and is stored in the memory 1005 of the intelligent door lock device shown in fig. 1, so as to implement all functions of the one-time password generating program: the method comprises the steps of sending a registration request data packet to a cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing one-time password generation parameters obtained in a registration process; and the method is used for calculating the one-time first password based on the one-time password generation parameters, the current time and the time range after receiving the one-time password application.
Specifically, the one-time password generation device comprises:
the registration module is used for sending a registration request data packet to the cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing one-time password generation parameters obtained in the registration process;
and the generation module is used for calculating the one-time first password based on the one-time password generation parameters, the current time and the time range after receiving the one-time password application.
Further, the registration module further includes:
the first receiving unit is used for receiving a true random number sent by the mobile terminal, encrypting the true random number and the encryption chip ID to obtain the authentication code, and storing the encryption chip ID, the authentication code and the user ID as registration request data packets;
further, the registration module includes:
the sending unit is used for sending a registration request data packet containing the authentication code to the cloud service platform, decrypting the authentication code by the cloud service platform to obtain a verification true random number, comparing the verification true random number with a true random number sent to the intelligent door lock, and judging that the verification is successful if the verification true random number is consistent with the true random number sent to the intelligent door lock;
And the registration unit is used for registering after the verification is successful, and storing the authentication code, the encryption chip ID, the user ID, the registration time and the encryption registration key generated by the cloud service platform based on the registration request data packet as one-time password generation parameters.
Further, the registration unit further includes:
a calculating subunit, configured to compare a first hash value of an encrypted registration key corresponding to the registration key with a second hash value of the encrypted registration key returned by the cloud service platform;
and the judging subunit is used for judging that the encryption registration key is legal if the first hash value is consistent with the second hash value.
Further, the generating module further includes:
the encryption unit is used for encrypting the encryption chip ID, the registration time and the authentication code in the one-time password generation parameter to obtain an unlocking key;
the cloud service platform is used for generating an unlocking key, a current time and a time range according to the unlocking key, the current time and the time range, and the cloud service platform is used for generating a first target parameter, calculating a one-time first password based on the first target parameter and calculating a one-time second password based on the first target parameter.
Further, the generating module further includes:
the decryption unit is used for obtaining the encrypted registration key in the one-time password generation parameter and decrypting the encrypted registration key to obtain a registration key;
the second generation unit is used for marking the registration key, the current time and the time range as second target parameters, calculating a one-time first password based on the second target parameters, and calculating a one-time second password based on the second target parameters through the cloud service platform.
Further, the generating module further includes:
the second receiving unit is used for receiving the disposable second password input by the user, the disposable second password is sent to the mobile terminal by the cloud service platform, and the disposable second password is displayed to the user through the mobile terminal;
and the comparison unit is used for comparing the disposable first password with the disposable second password, and if the disposable first password is consistent with the disposable second password, the unlocking operation is executed.
Further, the determination subunit further includes:
the first decryption subunit is used for sending the encrypted registration key to the encryption chip, decrypting the encrypted registration key by the encryption chip and returning the decrypted verification registration key;
The second decryption subunit is used for decrypting the encrypted registration key based on the public key returned by the cloud server to obtain a decrypted registration key;
and the comparison unit is used for comparing the verification registration key with the registration key, and if the verification registration key and the registration key are consistent, verifying the user ID based on the registration key.
In addition, the embodiment of the present invention further provides a computer storage medium, where a one-time password generating program is stored, and when the one-time password generating program is executed by a processor, the steps of the one-time password generating method described above are implemented, which is not described herein again.
Compared with the prior art, the method and the device for generating the one-time password, the intelligent door lock and the storage medium provided by the invention comprise the following steps: sending a registration request data packet to a cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in the registration process; and after receiving the one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range. Therefore, verification registration is performed based on the authentication code, and a one-time password with higher security level is generated based on the one-time password generation parameter, so that the security of the one-time password is greatly improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising several instructions for causing a terminal device to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the invention, and all equivalent structures or modifications in the structures or processes described in the specification and drawings, or the direct or indirect application of the present invention to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. The method for generating the one-time password is characterized by being applied to an intelligent door lock and comprising the following steps of:
sending a registration request data packet to a cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in the registration process;
after receiving a one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range;
the intelligent door lock comprises an encryption chip, a registration request data packet is sent to a cloud service platform, the cloud service platform performs verification registration based on an authentication code in the registration request data packet, and the step of storing the one-time password generation parameters obtained in the registration process comprises the following steps:
receiving a true random number and a user ID sent by a mobile terminal, encrypting the true random number and an encryption chip ID of the encryption chip to obtain the authentication code, and storing the encryption chip ID, the authentication code and the user ID as registration request data packets;
The step of sending a registration request data packet to a cloud service platform, and verifying and registering by the cloud service platform based on an authentication code in the registration request data packet and storing a one-time password generation parameter obtained in the registration process comprises the following steps:
transmitting a registration request data packet containing the authentication code to the cloud service platform, decrypting the authentication code by the cloud service platform to obtain a verification true random number, comparing the verification true random number with a true random number transmitted to the intelligent door lock, and judging that the verification is successful if the verification is consistent with the true random number;
and after verification is successful, registering, and storing the authentication code, the encryption chip ID, the user ID, the registration time and the encryption registration key generated by the cloud service platform based on the registration request data packet as one-time password generation parameters.
2. The method of claim 1, wherein after the verification is successful, the steps of registering and storing the authentication code, the encrypted chip ID, the user ID, and the registration key generated by the cloud service platform based on the registration request packet as one-time password generation parameters further comprise:
Calculating a first hash value of an encrypted registration key corresponding to the registration key, and comparing the first hash value with a second hash value of the encrypted registration key returned by the cloud service platform;
if the first hash value is consistent with the second hash value, judging that the encryption registration key is legal, and executing the steps: after verification is successful, registration is performed, and the authentication code, the encryption chip ID, the user ID and a registration key generated by the cloud service platform based on the registration request data packet are stored as one-time password generation parameters.
3. The method of claim 1, wherein the smart door lock supports encryption;
after receiving the one-time password application, the step of calculating the one-time first password based on the one-time password generation parameter, the current time and the time range comprises the following steps:
encrypting the encryption chip ID, registration time and authentication code in the one-time password generation parameter to obtain an unlocking key;
and marking the unlocking key, the current time and the time range as first target parameters, calculating a one-time first password based on the first target parameters, and calculating a one-time second password based on the first target parameters through the cloud service platform.
4. The method of claim 1, wherein the smart door lock does not support encryption;
after receiving the one-time password application, the step of calculating the one-time first password based on the one-time password generation parameter, the current time and the time range comprises the following steps:
acquiring an encryption registration key in the one-time password generation parameter, and decrypting the encryption registration key to obtain a registration key;
and marking the registration key, the current time and the time range as second target parameters, calculating a one-time first password based on the second target parameters, and calculating a one-time second password based on the second target parameters through the cloud service platform.
5. The method according to claim 3 or 4, wherein the step of calculating a one-time first password based on the one-time password generation parameter, the current time, the time range, and calculating a one-time second password by the cloud service platform further comprises:
receiving the one-time second password input by the user, wherein the one-time second password is sent to a mobile terminal by the cloud service platform and is displayed to the user through the mobile terminal;
and comparing the disposable first password with the disposable second password, and if the disposable first password is consistent with the disposable second password, executing unlocking operation.
6. The method of claim 2, wherein the step of determining that the encrypted registration key is valid further comprises, if the first hash value matches the second hash value:
the encryption registration key is sent to the encryption chip, the encryption chip decrypts the encryption registration key and returns a decrypted verification registration key;
decrypting the encrypted registration key based on the public key returned by the cloud server to obtain a decrypted registration key;
and comparing the verification registration key with the registration key, and if the verification registration key and the registration key are consistent, verifying the user ID based on the registration key.
7. A one-time password generation device, wherein the generation device is applied to an intelligent door lock, the one-time password generation device comprises:
the registration module is used for sending a registration request data packet to the cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing one-time password generation parameters obtained in the registration process;
the generation module is used for calculating a one-time first password based on the one-time password generation parameters, the current time and the time range after receiving the one-time password application;
The intelligent door lock comprises an encryption chip, and the registration module comprises:
the first receiving unit is used for receiving a true random number sent by the mobile terminal, encrypting the true random number and the encryption chip ID to obtain the authentication code, and storing the encryption chip ID, the authentication code and the user ID as registration request data packets;
the sending unit is used for sending a registration request data packet containing the authentication code to the cloud service platform, decrypting the authentication code by the cloud service platform to obtain a verification true random number, comparing the verification true random number with a true random number sent to the intelligent door lock, and judging that the verification is successful if the verification true random number is consistent with the true random number sent to the intelligent door lock;
and the registration unit is used for registering after the verification is successful, and storing the authentication code, the encryption chip ID, the user ID, the registration time and the encryption registration key generated by the cloud service platform based on the registration request data packet as one-time password generation parameters.
8. An intelligent door lock, characterized in that it comprises an encryption chip, a processor, a memory and a one-time-password generating program stored in the memory, which, when being executed by the processor, implements the steps of the one-time-password generating method according to any one of claims 1-6.
9. A computer storage medium, wherein a one-time-password generating program is stored on the computer storage medium, and the one-time-password generating program is executed by a processor to implement the steps of the one-time-password generating method according to any one of claims 1 to 6.
CN202010735424.8A 2020-07-24 2020-07-24 Method and device for generating one-time password, intelligent door lock and storage medium Active CN112348998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010735424.8A CN112348998B (en) 2020-07-24 2020-07-24 Method and device for generating one-time password, intelligent door lock and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010735424.8A CN112348998B (en) 2020-07-24 2020-07-24 Method and device for generating one-time password, intelligent door lock and storage medium

Publications (2)

Publication Number Publication Date
CN112348998A CN112348998A (en) 2021-02-09
CN112348998B true CN112348998B (en) 2024-03-12

Family

ID=74358263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010735424.8A Active CN112348998B (en) 2020-07-24 2020-07-24 Method and device for generating one-time password, intelligent door lock and storage medium

Country Status (1)

Country Link
CN (1) CN112348998B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113609463B (en) * 2021-10-08 2022-01-04 湖南宸瀚信息科技有限责任公司 Internet of things system based on block chain identity management
CN115171245B (en) * 2022-06-09 2024-03-12 郑州信大捷安信息技术股份有限公司 Door lock security authentication method and system based on HCE

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101029546A (en) * 2006-03-02 2007-09-05 黄涛 Electronic coding lock system and its controllable starting method
CN101848086A (en) * 2009-03-27 2010-09-29 资通电脑股份有限公司 One-time password setting and authenticating method of electronic chip
JP2012027530A (en) * 2010-07-20 2012-02-09 Dainippon Printing Co Ltd One-time password generator, server apparatus, authentication system, method, program, and recording medium
GB201302805D0 (en) * 2013-02-18 2013-04-03 Fleysher Mikhail A method and system for generation of dynamic password
CN105069920A (en) * 2015-07-30 2015-11-18 魏初舜 Password-dynamic-synchronization-based collection system
KR20160131744A (en) * 2015-05-08 2016-11-16 임용훈 Apparatus and method for user authentication
CN108055235A (en) * 2017-11-01 2018-05-18 华中科技大学 A kind of control method of smart lock, relevant device and system
CN110211268A (en) * 2019-06-04 2019-09-06 北京一砂信息技术有限公司 A kind of client, server, system, method and the storage medium of timeliness random cipher unlock smart lock

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8189544B2 (en) * 2006-06-26 2012-05-29 Alcatel Lucent Method of creating security associations in mobile IP networks
CN100452074C (en) * 2007-01-17 2009-01-14 北京大学 Copyright protection method and system for digital contents controlled by time
DE102010033232A1 (en) * 2010-08-03 2012-02-09 Siemens Aktiengesellschaft Method and device for providing a one-time password
US20150244694A1 (en) * 2014-02-24 2015-08-27 Inter Market Trade/Fze Authorizing server, authorizing method and computer program product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101029546A (en) * 2006-03-02 2007-09-05 黄涛 Electronic coding lock system and its controllable starting method
CN101848086A (en) * 2009-03-27 2010-09-29 资通电脑股份有限公司 One-time password setting and authenticating method of electronic chip
JP2012027530A (en) * 2010-07-20 2012-02-09 Dainippon Printing Co Ltd One-time password generator, server apparatus, authentication system, method, program, and recording medium
GB201302805D0 (en) * 2013-02-18 2013-04-03 Fleysher Mikhail A method and system for generation of dynamic password
KR20160131744A (en) * 2015-05-08 2016-11-16 임용훈 Apparatus and method for user authentication
CN105069920A (en) * 2015-07-30 2015-11-18 魏初舜 Password-dynamic-synchronization-based collection system
CN108055235A (en) * 2017-11-01 2018-05-18 华中科技大学 A kind of control method of smart lock, relevant device and system
CN110211268A (en) * 2019-06-04 2019-09-06 北京一砂信息技术有限公司 A kind of client, server, system, method and the storage medium of timeliness random cipher unlock smart lock

Also Published As

Publication number Publication date
CN112348998A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
US8904180B2 (en) Method and apparatus for cryptographic key storage wherein key servers are authenticated by possession and secure distribution of stored keys
US8775794B2 (en) System and method for end to end encryption
US20190147441A1 (en) Method and device for providing and obtaining graphic code information, and terminal
CN109981562B (en) Software development kit authorization method and device
US20200302043A1 (en) Authentication system
KR20180117715A (en) Method and system for user authentication with improved security
CN107733636B (en) Authentication method and authentication system
CN110830471B (en) OTP (one time password) verification method, server, client and computer-readable storage medium
US20180357638A1 (en) Identity information authentication method, user terminal, service terminal, authentication server, and service system
CN107733652B (en) Unlocking method and system for shared vehicle and vehicle lock
CN108616352B (en) Dynamic password generation method and system based on secure element
CN110677382A (en) Data security processing method, device, computer system and storage medium
CN112348998B (en) Method and device for generating one-time password, intelligent door lock and storage medium
KR102012262B1 (en) Key management method and fido authenticator software authenticator
US20070079142A1 (en) Method and system for the cipher key controlled exploitation of data resources, related network and computer program products
Theuermann et al. Mobile-only solution for server-based qualified electronic signatures
CN108768655B (en) Dynamic password generation method and system
CN113099457A (en) Method and system for binding vehicle and mobile terminal
CN112733200A (en) Information processing method, encryption machine and information processing system of service key
CN116528230A (en) Verification code processing method, mobile terminal and trusted service system
CN116599719A (en) User login authentication method, device, equipment and storage medium
TW200803392A (en) Method, device, server arrangement, system and computer program products for securely storing data in a portable device
CN106603486B (en) Method and system for security authorization of mobile terminal
CN107343276B (en) Method and system for protecting SIM card locking data of terminal
JP6723422B1 (en) Authentication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant