Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Dynamic two-dimensional code generation method, 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

Active Publication Date: 2021-08-20
深圳深岚视觉科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, an embodiment of the present invention provides a method, device and storage medium for generating a dynamic two-dimensional code to solve the problem of low security of a static two-dimensional code

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Dynamic two-dimensional code generation method, device and storage medium
  • Dynamic two-dimensional code generation method, device and storage medium
  • Dynamic two-dimensional code generation method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Such as 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 ge...

Embodiment 2

[0069] Such as 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 phe...

Embodiment 3

[0095] Such as 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 use...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

This application belongs to the technical field of two-dimensional code generation, and provides a dynamic two-dimensional code generation method, device, and storage medium. The dynamic two-dimensional code generation method includes: obtaining current time information at a preset refresh frequency to generate a time stamp; When the above timestamp is generated, determine the key for encrypting user information according to the latest generated timestamp; use the determined key to encrypt the user information to generate ciphertext; generate a new two-dimensional frame according to the timestamp and the ciphertext code image; updating the displayed image information to the new frame of two-dimensional code image to generate a dynamic two-dimensional code. The embodiment of the present application solves the problem of low security of a static two-dimensional code by generating a dynamic two-dimensional code.

Description

technical field [0001] The present invention relates to the technical field of two-dimensional code generation, in particular to a dynamic two-dimensional code generation method, device and storage medium. Background technique [0002] In order to improve the security of the residents in the community and the confidentiality of the office building, access control or door locks are usually set at the entrance and exit of the building. And with the development of today's technology, access control or door locks are also upgraded to smart devices. At present, smart access control or door locks on the market mostly use radio frequency card technology, fingerprint technology, facial recognition technology or two-dimensional code recognition technology. Compared with smart door locks or door locks realized by other identification technologies, smart door locks or door locks realized by two-dimensional code recognition technology are cheaper and more convenient to use, and are mor...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G07C9/00
CPCG07C9/00309G07C2009/00412G07C2009/00476
Inventor 张鸿俊黄后健单超群
Owner 深圳深岚视觉科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products