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

Two-dimensional code generation method and device, computer equipment and storage medium

A two-dimensional code and a technology for generating two-dimensional codes, applied in the field of computer information, can solve the problems of high development code, low development efficiency, redundancy, etc., and achieve the effect of improving versatility, reducing development code redundancy, and improving development efficiency.

Active Publication Date: 2020-03-24
SUZHOU DAJIAYING INFORMATION TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of implementing the present invention, the inventor found that the existing technology has the following defects: re-developing the QR code scanning login function according to user needs will lead to high development code redundancy and low development efficiency

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
  • Two-dimensional code generation method and device, computer equipment and storage medium
  • Two-dimensional code generation method and device, computer equipment and storage medium
  • Two-dimensional code generation method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 1 It is a flow chart of a two-dimensional code generation method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation where a two-dimensional code generation component is provided to develop functions related to scanning and logging in by two-dimensional codes. The method can be composed of two Two-dimensional code generation device, which can be implemented by software and / or hardware, and can generally be integrated in a computer device, which can be a client device for developing two-dimensional code generation components. Correspondingly, such as figure 1 As shown, the method includes the following operations:

[0032] S110. Build a two-dimensional code generation structure through a preset development environment.

[0033] Wherein, the preset development environment may be a development environment for developing a two-dimensional code generation component, such as a React+webpack development environment, etc. T...

Embodiment 2

[0044] Figure 2a It is a flow chart of a two-dimensional code generation method provided by Embodiment 2 of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiments. In this embodiment, it is given to generate The specific implementation of the QR code generation page. Correspondingly, such as Figure 2a As shown, the method of this embodiment may include:

[0045] S210. Build a two-dimensional code generation structure through a preset development environment.

[0046] S220. Generate a two-dimensional code generation page according to the two-dimensional code generation structure.

[0047] In an optional embodiment of the present invention, before generating the two-dimensional code generation page according to the two-dimensional code generation structure, it may further include: drawing an outer container of the two-dimensional code generation page; The layer container is used to provide the initial layout of the two-dimensiona...

Embodiment 3

[0096] image 3 is a schematic diagram of a two-dimensional code generating device provided in Embodiment 3 of the present invention, as shown in image 3 As shown, the device includes: a two-dimensional code generation structure building module 310, a two-dimensional code generation page generation module 320 and a component generation module 330, wherein:

[0097] A two-dimensional code generating structure building module 310, configured to set up a two-dimensional code generating structure through a preset development environment;

[0098] A two-dimensional code generation page generation module 320, configured to generate a two-dimensional code generation page according to the two-dimensional code generation structure;

[0099] Wherein, the two-dimensional code generation page includes a set number of page components, and is associated with the data receiving component; the data receiving component is used to establish a server push event SSE link between the client and ...

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 embodiment of the invention discloses a two-dimensional code generation method and device, computer equipment and a storage medium, and the method comprises the steps: building a two-dimensional code generation structure through a preset development environment; generating a two-dimensional code generation page according to the two-dimensional code generation structure; wherein the two-dimensional code generation page comprises a set number of page components, and is associated with a data receiving component; the data receiving component is used for establishing a server push event SSE link between the client and the server; wherein the SSE link is used for acquiring two-dimensional code state information pushed by the server in real time; wherein the two-dimensional code state information is used for the client to switch the state of the two-dimensional code; and generating each page component of the two-dimensional code generation page and the data receiving component. Accordingto the technical scheme of the embodiment of the invention, the universality of the two-dimensional code generation component can be improved, so that the development code redundancy is reduced, andthe development efficiency is improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer information technology, and in particular, to a two-dimensional code generation method, device, computer equipment, and storage medium. Background technique [0002] The popularity and development of the Internet has brought a large number of network service providers. Many network service providers provide a login function, and login by scanning a two-dimensional code is a main login method. [0003] In the prior art, every time a developer develops a QR code scanning login function for a client, he needs to redevelop it according to user needs. For example, set different forms of two-dimensional code graphics according to user needs. [0004] In the process of implementing the present invention, the inventor found that the existing technology has the following defects: re-developing the QR code scanning login function according to user needs will lead to high development code ...

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 Applications(China)
IPC IPC(8): G06F8/38G06F16/955G06K19/06
CPCG06F8/38G06F16/9554G06K19/06037
Inventor 孙志峰韩双林
Owner SUZHOU DAJIAYING INFORMATION TECH CO LTD
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