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

Encoding and decoding method of a two-dimensional code and printed matter thereof

An encoding method and two-dimensional code technology, which are applied to record carriers used in machines, electromagnetic radiation induction, instruments, etc., can solve the problems of non-adjustable aspect ratio of two-dimensional codes, unable to meet practical application requirements, etc., and achieve high encoding density. Effect

Active Publication Date: 2017-04-05
SHENZHEN YLINK COMPUTING SYST
View PDF5 Cites 0 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
  • Encoding and decoding method of a two-dimensional code and printed matter thereof
  • Encoding and decoding method of a two-dimensional code and printed matter thereof
  • Encoding and decoding method of a two-dimensional code and printed matter thereof

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, refer to 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 the encoding into a data code word stream;

[0053] S3, determine the error correction level, the row number M and the 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 positive integers;

[0054] S4, generate an error...

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, and more particularly, to a two-dimensional code encoding and decoding method and its printed matter. Background technique [0002] One-dimensional code is an inexpensive, simple and accurate digital information transmission method. It expresses information through bars and spaces arranged in the horizontal direction, and 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 error correction algorithms, 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-dimen...

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): 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