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

Matrix type two-dimensional code and encoding method and decoding method thereof

A matrix-type two-dimensional code and matrix technology, which is applied to recording carriers used in machines, instruments, computer components, etc., can solve the problems of large module size and achieve small quantities, strong error correction capabilities, and simple data encoding methods Effect

Active Publication Date: 2015-05-20
SHENZHEN MINDE ELECTRONICS TECH
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In small-size QR codes, although its printing area is small, its module size is large, and clear QR codes can be obtained

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
  • Matrix type two-dimensional code and encoding method and decoding method thereof
  • Matrix type two-dimensional code and encoding method and decoding method thereof
  • Matrix type two-dimensional code and encoding method and decoding method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] figure 1 The matrix two-dimensional code in this embodiment is shown. The matrix-type two-dimensional code includes a matrix composed of N×N modules, the matrix includes a data area 1 for storing data information and an image finding pattern 2 arranged around the data area 1, it can be understood that the data area 1 consists of ( N-2)×(N-2) modules, where N is an integer greater than 6. Preferably, the value of N is 9, 10 or 11.

[0046] Such as figure 2 As shown, in the data area 1, the data is represented by a binary data bit stream, and each module (ie figure 2 Each square in ) represents a binary data bit stream, which is used to store two binary data of 1 or 0. In this embodiment, the value of N is 10, and the corresponding data area 1 includes:

[0047] The default module 11 is set on a vertex of the data area 1, such as figure 2 As shown, the default module 11 is a default module among the 8×8 modules in the figure.

[0048] An information storage unit, in...

Embodiment 2

[0067] Figure 4 The encoding method of the matrix two-dimensional code in this embodiment is shown. The encoding method of the two-dimensional code comprises the following steps:

[0068] S11: Receive user information, and convert the user information into a binary data bit stream according to a preset encoding method. Understandably, the preset encoding method may use the encoding methods in Table 1 and Table 2 in Embodiment 1.

[0069] S12: Store the binary data bit stream in the information bit 15 in a preset sequence. It can be understood that the preset order is a serpentine order in which rows are connected end to end, and the binary data bit stream is filled sequentially from the first row of information bits 15 in a serpentine order, and the remaining information bits 15 are filled with 0s.

[0070] S13: Generate a CRC check code and store it in the corresponding CRC check bit 14. It can be understood that in this embodiment, the 8-bit CRC check code is filled in t...

Embodiment 3

[0082] Image 6 The decoding method of the matrix two-dimensional code in this embodiment is shown. The decoding method of the two-dimensional code comprises the following steps:

[0083] S21: Scan the two-dimensional code and receive the two-dimensional code information.

[0084] S22: Compare and judge whether the two-dimensional code information includes the aforementioned image finding pattern 2, if yes, execute the steps after step S23, if not, end the decoding.

[0085] S23: Extract the data in the information bit 15 of the two-dimensional code information.

[0086] S24: Calculate the column parity codes of each column and the column parity codes of each row according to the extracted data, and compare them with the column parity codes placed in the column parity bits 12 and the row parity codes respectively The row parity code in the position 13 is compared, judges whether consistent, if consistent then execute the step of step S25, if inconsistent then execute the er...

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 matrix type two-dimensional code and an encoding method and a decoding method thereof. The matrix type two-dimensional code comprises a matrix, wherein the matrix consists of N*N modules and comprises a data area and a finder pattern, the data area is used for storing data information, the finder pattern is arranged around the data area, the data area comprises a default module, a line odd-even check unit, a row odd-even check unit and a CRC (cyclic redundancy check) unit, the default module is arranged at a vertex of the data area, the line odd-even check unit comprises N-3 line odd-even check bits for storing line odd-even check codes, the row odd-even check unit comprises N-3 row odd-even check bits for storing row odd-even check codes, the CRC unit comprises eight CRC bits for storing CRC codes, and an information storage unit comprises a plurality of information bits for storing the data information. The matrix type two-dimensional code has the advantages that the error checking capability is high, some types of errors can be corrected, a correction pattern is not needed, the number of bar code modules is fewer, the data encoding mode is simple, the encoding efficiency is high, and the number of redundancy information is fewer.

Description

technical field [0001] The invention relates to the field of automatic identification technology, in particular to the field of symbol barcodes, and in particular to a matrix two-dimensional code and its encoding method and decoding method. Background technique [0002] Existing matrix two-dimensional codes have multiple formats and symbol sizes, and complex error correction algorithms are used in encoding. The barcode symbols need more area for storing version information, format information, and error correction. information, as well as finder graphics and correction graphics. Such a matrix-type two-dimensional code reduces the area for storing valid data, especially in a small-sized two-dimensional code, which generally can only store 2 to 3 characters at most, and the effective data that can be stored is very small. In practical applications, even if a small-sized barcode is printed in a smaller area, each module can still get a larger area, and the probability of disto...

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): G06K19/06
Inventor 谭睿陈李健许文焕
Owner SHENZHEN MINDE ELECTRONICS TECH
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