Dynamic two-dimensional code generation method and device and storage medium
A dynamic two-dimensional code, two-dimensional code technology, applied in the field of two-dimensional code generation, can solve the problem of low security of static two-dimensional code
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] like figure 1 As shown, it is a schematic flowchart of the method for generating a dynamic two-dimensional code provided in Embodiment 1 of the present invention. This embodiment is applicable to an application scenario where a smart device or device generates a two-dimensional code. The method can be executed by a smart device, and the control device can be a smart bracelet, a smart terminal, a tablet or a smart watch, etc.; in the embodiment of the present invention Taking the smart device as the execution subject for illustration, the method specifically includes the following steps:
[0043] S110. Acquire current time information at a preset refresh frequency to generate a time stamp;
[0044] The two-dimensional code generated by the smart device can carry data information. For example, when the smart device generates a two-dimensional code for unlocking, the two-dimensional code can carry user information (such as user name and password, etc.). In order to gener...
Embodiment 2
[0069] like figure 2 As shown, it is a schematic flowchart of the method for generating a dynamic two-dimensional code provided in Embodiment 2 of the present invention. On the basis of Embodiment 1, this embodiment also provides a dynamic two-dimensional code generation method in which each generated two-dimensional code image contains different user information sub-data, thereby reducing the complexity of the dynamic two-dimensional code and facilitating the reduction of The recognition of dynamic QR codes is time-consuming. The method specifically includes:
[0070] S210. Split the user information into several user information sub-data;
[0071] When the two-dimensional code contains too much data, the complexity of the two-dimensional code will be too high. When the unlocking device or smart door lock recognizes and verifies highly complex dynamic QR codes, especially the data processing performance of the unlocking device or smart door lock, it may lead to the phenom...
Embodiment 3
[0095] like image 3What is shown is the smart device provided by Embodiment 3 of the present invention. On the basis of Embodiments 1 and 2, the embodiment of the present invention also provides a smart device 3, which includes:
[0096] A timestamp generating module 301, configured to obtain current time information and generate a timestamp according to a preset refresh frequency;
[0097] The key determination module 302 is used to determine the key for encrypting user information according to the latest generated time stamp when each time stamp is generated;
[0098] In an implementation example, the key for encrypting user information is determined according to the latest generated timestamp, and the key determination module 302 includes:
[0099] The key selection unit is configured to select the key corresponding to the latest generated timestamp from the key pool according to preset rules.
[0100] A ciphertext generating module 303, configured to encrypt the user i...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com