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

Two-dimensional code coding method, two-dimensional code decoding method and two-dimensional code print

A coding method and a decoding method technology, which is applied in the direction of recording carriers used in machines, electromagnetic radiation induction, instruments, etc., can solve the problems that the aspect ratio of two-dimensional codes cannot be adjusted and cannot meet the needs of practical applications, and achieve high coding density. Effect

Active Publication Date: 2014-11-12
SHENZHEN YLINK COMPUTING SYST
View PDF5 Cites 46 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention aims at the defect that the existing two-dimensional code cannot meet the actual application requirements due to its non-adjustable aspect ratio, and provides a coding and decoding method of the two-dimensional code and its printed matter. The generated two-dimensional code has high coding density, And you can adjust the aspect ratio of the QR 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
  • Two-dimensional code coding method, two-dimensional code decoding method and two-dimensional code print
  • Two-dimensional code coding method, two-dimensional code decoding method and two-dimensional code print
  • Two-dimensional code coding method, two-dimensional code decoding method and two-dimensional code print

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The present invention will be further explained below in conjunction with the accompanying drawings and embodiments.

[0050] figure 1 It is a flow chart of the first embodiment of the encoding method of the two-dimensional code of the present invention, see figure 1 and figure 2 , in this embodiment, the encoding method of the two-dimensional code comprises the following steps:

[0051] S1. Analyze the type of input data, and determine the encoding mode of the input data;

[0052] S2. Convert the input data into a bit stream according to the encoding rule corresponding to the determined encoding mode, and convert the bit stream generated by encoding into a data code word stream;

[0053] S3. Determine the error correction level, row number M, and column number N of the two-dimensional code, the error correction level is the ratio of the error correction codeword to the total codeword, and M and N are both positive integers;

[0054] S4. Generate an error correctio...

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 discloses a two-dimensional code coding method, a two-dimensional code decoding method and a two-dimensional code print. The two-dimensional code coding method includes the steps that a coding mode of input data is determined; the input data are converted to data code word streams; the error correction level, the line number M and the column number N are determined; error correction code words are generated and added to the position behind the data code word streams; a horizontal cutting line and a vertical cutting line of a two-dimensional code are generated, and the area defined by an outer frame of the two-dimensional code is cut into coding area blocks through the horizontal cutting line and the vertical cutting line; data code words to which the error correction code words are added are added to the coding area blocks, The two-dimensional code decoding method includes the steps that the two-dimensional code is scanned and a binary image is generated; a boundary image is generated; a frame image is generated; the coordinates of the vertexes of the coding area blocks are distinguished; the data code word streams are obtained; error correction is conducted on decoding data code word streams; the data are restored. The two-dimensional code is printed on the print. According to the two-dimensional code coding method, the two-dimensional code decoding method and the two-dimensional code print, high coding density is achieved, the length-width ratio of the two-dimensional code can be adjusted by adjusting the line number and the column number of the two-dimensional code, and therefore the different requirements of practical application can be met.

Description

technical field [0001] The present invention relates to two-dimensional code technology, more specifically, to a method for encoding and decoding two-dimensional codes and printed matter thereof. Background technique [0002] One-dimensional code is a cheap, simple and accurate digital information transmission method. It expresses information through bars and spaces arranged in the horizontal direction, but does not express information in the vertical direction, and its capacity is very limited. In contrast, the two-dimensional code can also express information in the vertical direction, the capacity is greatly increased, and by applying the error correction algorithm, the reliability of the two-dimensional code is also greatly enhanced. [0003] Conventional two-dimensional codes mainly include PDF417, QR, DataStrip and Data matrix, etc. They can be divided into two categories: layered two-dimensional codes and matrix two-dimensional codes. Among them, the layered two-dime...

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/10
Inventor 赵明刚
Owner SHENZHEN YLINK COMPUTING SYST
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