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

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

Active Publication Date: 2020-02-07
深圳深岚视觉科技有限公司
View PDF8 Cites 3 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 and device and storage medium
  • Dynamic two-dimensional code generation method and device and storage medium
  • Dynamic two-dimensional code generation method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

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

The invention belongs to the technical field of two-dimensional code generation and provides a dynamic two-dimensional code generation method and device and a storage medium. The dynamic two-dimensional code generation method comprises a step of obtaining current time information at a preset refresh frequency to generate a timestamp, a step of determining a secret key for encrypting user information according to a newly generated timestamp when each timestamp is generated, a step of encrypting the user information by adopting the determined secret key to generate a ciphertext, a step of generating a new frame of two-dimensional code image according to the timestamp and the ciphertext, and a step of updating displayed image information into the new frame of two-dimensional code image to generate a dynamic two-dimensional code. According to the embodiment of the invention, the problem of low security of a static two-dimensional code is solved by generating the 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
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