Two-dimensional code generation method, device and equipment, and two-dimensional code decoding method, device and equipment

A two-dimensional code and a technology for generating two-dimensional codes, applied in the Internet field, can solve problems such as low recognition rate

Pending Publication Date: 2021-06-08
ALIPAY COM
View PDF10 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of this specification provides a two-dimensional code generation, decoding method, device and equipment to solve the problem of low recognition rate existing in the existing two-dimensional code recognition method

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, device and equipment, and two-dimensional code decoding method, device and equipment
  • Two-dimensional code generation method, device and equipment, and two-dimensional code decoding method, device and equipment
  • Two-dimensional code generation method, device and equipment, and two-dimensional code decoding method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] figure 1 It is a schematic flowchart of a method for generating a two-dimensional code provided in the embodiment of this specification. From a program point of view, the subject of execution of the process can be a program or an application client installed on an application server.

[0073] Such as figure 1 As shown, the process may include the following steps:

[0074] Step 110: Obtain the two-dimensional code code of the two-dimensional code image to be generated.

[0075] The two-dimensional code code can represent the code used to generate the two-dimensional code image, for example, it can be a string of preset digits, such as a binary sequence, a ternary sequence, and the like. In this solution, taking the binary sequence as an example, the content data carried in the two-dimensional code can be converted into a series of two-dimensional code sequences after information conversion.

[0076] It should be noted that the two-dimensional code here may refer to a...

Embodiment 2

[0131] image 3 It is a schematic flowchart of a two-dimensional code decoding method provided by the embodiment of this specification. From a program point of view, the subject of execution of the process can be a program or an application client installed on an application server. The decoding process in Embodiment 2 corresponds to the encoding process in Embodiment 1.

[0132] Such as image 3 As shown, the process may include the following steps:

[0133] Step 310: Obtain the image information of the image of the two-dimensional code to be recognized.

[0134] It should be noted that the image information mentioned in this step can represent the information of the two-dimensional code itself that is not limited by the carrier of the two-dimensional code, for example: the information of the two-dimensional code drawn on the computer. For example: the size information of the two-dimensional code, the position information of each positioning point, the position informatio...

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 generating and decoding method, device and equipment. The method comprises the following steps: acquiring a two-dimensional code of a two-dimensional code image to be generated, and performing fault-tolerant coding by adopting a coding algorithm with a preset fault-tolerant rate to obtain a two-dimensional code after fault-tolerant processing; determining a code element shape corresponding to each data information bit of the two-dimensional code code after the fault-tolerant processing in a generation area of the two-dimensional code image; according to a two-dimensional code preset arrangement rule, determining first position information corresponding to each data information bit of the two-dimensional code after fault-tolerant processing in the generation area; determining second position information of each positioning point location in the generation area; and generating a two-dimensional code image based on the first position information, the code element shape corresponding to each data information bit and the second position information of each positioning point position.

Description

technical field [0001] The present application relates to the field of Internet technology, and in particular to a two-dimensional code generation and decoding method, device and equipment. Background technique [0002] In recent years, the application of QR codes has become more and more widespread, especially in the fields of mobile payment and online social networking. Due to its large information capacity and fast identification, it has been rapidly popularized in people's daily life. Although QR codes have been popularized on a large scale, in traditional QR codes, behind each QR code may represent a file, a page, or an application. Due to its openness, it is easy to become a breeding ground for Trojan horse viruses. When users scan codes, they may give up scanning codes because they are worried that their mobile phones may be infected with viruses after scanning codes, and traditional QR codes cannot meet the brand promotion of small programs. need. [0003] Based o...

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): G06K19/06G06K7/14
CPCG06K19/06037G06K19/06103G06K19/06075G06K19/06131G06K7/1417G06K7/1443G06K7/1473
Inventor 屠寅海陶乐
Owner ALIPAY COM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products