CN105718982A - Coding and decoding methods of colorful 2D bar code - Google Patents

Coding and decoding methods of colorful 2D bar code Download PDF

Info

Publication number
CN105718982A
CN105718982A CN201610054499.3A CN201610054499A CN105718982A CN 105718982 A CN105718982 A CN 105718982A CN 201610054499 A CN201610054499 A CN 201610054499A CN 105718982 A CN105718982 A CN 105718982A
Authority
CN
China
Prior art keywords
code
layer
code word
data
bar code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610054499.3A
Other languages
Chinese (zh)
Inventor
张伟
樊旭川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Xigan Sci & Tech Co Ltd
Original Assignee
Wuhan Xigan Sci & Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Xigan Sci & Tech Co Ltd filed Critical Wuhan Xigan Sci & Tech Co Ltd
Priority to CN201610054499.3A priority Critical patent/CN105718982A/en
Publication of CN105718982A publication Critical patent/CN105718982A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Error Detection And Correction (AREA)

Abstract

The invention provides coding and decoding methods of a colorful 2D bar code. More than two colorful layers are included. The coding method comprises that input data is coded to obtain a data code word; an error correction algorithm is applied to the data code word to obtain an error correction code word; a fixed figure mode and format information are only arranged in one layer of a code symbol; and the data code word and the error correction code word are arranged in all the layers of the code symbol. According to the coding and decoding methods, more than two colorful layers are used, and the fixed figure mode and format information for detecting and positioning a bar code are only arranged in one layer of the code symbol, the fixed pattern mode of the layer is applied to other layers during decoding, and the information capacity of the code symbol is effectively increased.

Description

The encoding and decoding method of color two dimension bar code
Technical field
The present invention relates to planar bar code technology field, particularly relate to a kind of encoding and decoding method of color two dimension bar code.
Background technology
The labelling that bar code is made up of bar one group regularly arranged, empty and corresponding character, these information certain with the data representation of empty composition, and can distinguish with specific equipment, convert the binary system compatible with computer and decimal scale information to.Bar code is widely used in the fields such as business, postal service, taking care of books, storage, industrial processes control, traffic, has the advantages such as high input speed, accuracy is high, cost is low, highly reliable.But bar code in a direction, can only be generally horizontal direction and represent information, and its capacity is extremely limited, generally only more than 10 numerals or character.
For solving the problem of bar code off-capacity, two-dimensional bar code is suggested.Two-dimensional bar code can represent information with vertical direction simultaneously in the horizontal direction, and the information capacity of its storage considerably increases than bar code.Two-dimensional bar code generally detects and positions the fixing graphic model region of bar code, format information region and data-encoding area three part and form by being used for, the starting character at the such as two ends, PDF417 code left and right shown in Fig. 1 and full stop, back-shaped district on three angles of QR code shown in Fig. 2, " L " limit structure of DM code shown in Fig. 3 and toothed edge structure, the fenestral fabric etc. of the grid matrix code shown in Fig. 4.
In order to improve data capacity further, occur in that color two dimension bar code in recent years, also referred to as Three-Dimensional Bar Code.The unit module of ordinary two dimensional bar code only " black ", " in vain " two states, and the unit module of color two dimension bar code can have a various states, common such as 4 colors, 8 colors, 16 colors etc., such that it is able to store more information.Chinese invention patent application number is 200610080444.6, name is called color information superposition of QR code patent, disclose a kind of color two dimension bar code scheme, but, owing to each of which figure layer is all an independent two-dimensional bar code, namely each figure layer all comprises the fixing graphic model for detecting and position bar code being completely superposed so that code figure information capacity is reduced.
Summary of the invention
For this, the technical problem to be solved is: provide a kind of encoding and decoding method of color two dimension bar code, it is possible to effectively expand the information capacity of code figure.
Then, the invention provides the coded method of a kind of color two dimension bar code, comprise the above cromogram layer of at least two, including:
Input data are encoded, obtain code word data;
To code word data application error correction algorithm, obtain error correction code word;
The only fixing graphic model of arrangement and format information in a figure layer of code figure;
Arrangement code word data and error correction code word in the All Layers of code figure.
Present invention also offers the coding/decoding method of a kind of color two dimension bar code, comprise the above cromogram layer of at least two, including:
The figure layer comprising fixing graphic model is decoded, sets up sampling grid;
Described sampling grid is applied to other figure layers, and reads the module data in other figure layers;
By the described module data read, it is assembled into code word and carries out error correction decoding, obtaining code word data;
Described code word data is decoded, obtains original input data.
Wherein, described assembling includes lining up each module data according to the figure layer order set when encoding.
The encoding and decoding method of color two dimension bar code of the present invention, by using at least two above cromogram layer fixing graphic model and the format information only arranged in a figure layer of code figure for detecting and position bar code, during decoding, the fixing graphic model of this figure layer is applied to the mode in other figure layers, effectively expands the information capacity of yard figure.
Accompanying drawing explanation
Fig. 1 is starting character and the full stop schematic diagram at two ends, PDF417 code left and right;
Fig. 2 is the back-shaped district schematic diagram on three angles of QR code;
Fig. 3 is " L " limit structure and the toothed edge structural representation of DM code;
Fig. 4 is the fenestral fabric of grid matrix code;
Fig. 5 is the fixing graphic model structural representation in color screen lattice matrix code the 1st figure layer;
Fig. 6 is the 1st figure layer schematic diagram of color screen lattice matrix code;
Fig. 7 is the 2nd figure layer schematic diagram of color screen lattice matrix code;
Fig. 8 is the 3rd figure layer schematic diagram of color screen lattice matrix code;
Fig. 9 is complete color screen lattice matrix code division solution structure schematic diagram.
Detailed description of the invention
Below, describe the present invention in conjunction with accompanying drawing.
Present embodiments provide the coded method of a kind of color two dimension bar code, comprise the above cromogram layer of at least two, it is characterised in that including:
Input data are encoded, obtain code word data;
To code word data application error correction algorithm, obtain error correction code word;
Only in a figure layer of code figure, arrangement is used for detecting and positioning fixing graphic model and the format information of bar code;
Arrangement code word data and error correction code word in the All Layers of code figure.
Wherein, described input data refer to the data that user inputs, for instance user needs to be edited in two-dimensional bar code by Word message A, need input A information when Quick Response Code encodes.
As shown in figures 5-9, color two dimension bar code described in the present embodiment can be decomposed into multiple figure layer, usually three figure layers of RGB, such as the 1st figure layer is red figure layer, 2nd figure layer is green figure layer, 3rd figure layer is blue figure layer, as long as the figure layer model wherein of color two dimension bar code described in the present embodiment having put fixing figure can be carried out located, and the color two dimension bar code each cromogram layer described in background technology has put fixing graphic model, be equivalent to just diminish for the region storing data so that the capacity of two-dimensional bar code diminishes.Putting fixing graphic model on color two dimension bar code described in a present embodiment figure layer wherein, other figure layers are all used for depositing data, for instance place fixing graphic model at the 1st figure layer, be only used for depositing data at the 2nd figure layer, the 3rd figure layer.The process of data encoding and Error Correction of Coding is prior art, is not described in detail in the present embodiment.In the 1st figure layer of code figure after the fixing graphic model of arrangement, result is shown in Fig. 5;After code word of arranging in the 1st figure layer, result is shown in Fig. 6;Result after code word of arranging in the 2nd figure layer and the 3rd figure layer is shown in Fig. 7 and Fig. 8 respectively.Three figure layers are combined into one the most at last, obtain the color 2 D code that the grid matrix code of colour is shown in Fig. 9.This example only illustrates for three figure layers, can comprise more multi-layer image in actually used, for instance the figure layer that the specific light sources such as infrared or ultraviolet is sensitive.
The coded method of color two dimension bar code described in the present embodiment and coding/decoding method can apply to the two-dimensional bar code of arbitrary format, but due to the ratio that the fixing figure of grid matrix code accounts for yard area of pictural surface is significantly high, so the program is applied to effect meeting highly significant during grid matrix code.Such as, the macroblock of grid matrix code is made up of 6 × 6=36 unit module, wherein outermost one circle is frame, only internal 4 × 4=16 unit module is used for representing data, and there are 2 unit modules in the upper left corner for representing level number, namely 6 × 6 unit modules only have 14 unit modules for encoded digital information.Assuming that color screen lattice matrix code is made up of 3 figure layers, by the patent formula of color information superposition of QR code described in background technology, then scheme two-dimensional barcode information capacity boost described in the present embodiment is 3 times of simple layer two-dimensional bar code;And press this programme, capacity boost is (36+36+14)/14=6.14 times of simple layer two-dimensional bar code, it is seen then that capacity is therefore greatly increased.
The elementary cell of above-mentioned Quick Response Code becomes a unit module, for instance representing binary one by a black unit module, white cells module represents Binary Zero.
The coded method of corresponding above-mentioned color two dimension bar code, the present embodiment additionally provides a kind of corresponding coding/decoding method, the coding/decoding method of this color two dimension bar code, comprises the above cromogram layer of at least two, including:
The figure layer comprising fixing graphic model is decoded, sets up sampling grid;
Described sampling grid is applied to other figure layers, and reads the module data in other figure layers;
By the described module data read, it is assembled into code word and carries out error correction decoding, obtaining code word data;
Described code word data is decoded, obtains original input data.
Wherein, described assembling includes lining up each module data according to the figure layer order set when encoding.
In sum, the encoding and decoding method of color two dimension bar code described in the present embodiment, by using at least two above cromogram layer fixing graphic model and the format information only arranged in a figure layer of code figure for detecting and position bar code, during decoding, the fixing graphic model of this figure layer is applied to the mode in other figure layers, effectively expands the information capacity of yard figure.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.

Claims (3)

1. a coded method for color two dimension bar code, comprises the above cromogram layer of at least two, it is characterised in that including:
Input data are encoded, obtain code word data;
To code word data application error correction algorithm, obtain error correction code word;
The only fixing graphic model of arrangement and format information in a figure layer of code figure;
Arrangement code word data and error correction code word in the All Layers of code figure.
2. a coding/decoding method for color two dimension bar code, comprises the above cromogram layer of at least two, it is characterised in that including:
The figure layer comprising fixing graphic model is decoded, sets up sampling grid;
Described sampling grid is applied to other figure layers, and reads the module data in other figure layers;
By the described module data read, it is assembled into code word and carries out error correction decoding, obtaining code word data;
Described code word data is decoded, obtains original input data.
3. coding/decoding method according to claim 2, it is characterised in that described assembling includes lining up each module data according to the figure layer order set when encoding.
CN201610054499.3A 2016-01-27 2016-01-27 Coding and decoding methods of colorful 2D bar code Pending CN105718982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610054499.3A CN105718982A (en) 2016-01-27 2016-01-27 Coding and decoding methods of colorful 2D bar code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610054499.3A CN105718982A (en) 2016-01-27 2016-01-27 Coding and decoding methods of colorful 2D bar code

Publications (1)

Publication Number Publication Date
CN105718982A true CN105718982A (en) 2016-06-29

Family

ID=56154300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610054499.3A Pending CN105718982A (en) 2016-01-27 2016-01-27 Coding and decoding methods of colorful 2D bar code

Country Status (1)

Country Link
CN (1) CN105718982A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599600A (en) * 2016-12-28 2017-04-26 上海联影医疗科技有限公司 Electronic display method and electronic equipment for radiation therapy planning report and medical image examination report
CN106778997A (en) * 2016-11-28 2017-05-31 北京慧眼智行科技有限公司 The generation method and device of a kind of two-dimensional strip code character
CN109389199A (en) * 2018-09-27 2019-02-26 张伟 A kind of multidimensional code system and decoding method
CN111209988A (en) * 2019-12-27 2020-05-29 宁波深寻信息科技有限公司 Management method of big data sharing system based on recognizable color graphics

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1670763A (en) * 2004-03-15 2005-09-21 深圳矽感科技有限公司 A two dimensional bar codes and coding-decoding method thereof
CN104680218A (en) * 2015-02-12 2015-06-03 航天信息股份有限公司 Multi-space two-dimensional code, and generation method and decoding method of multi-space two-dimensional code
US20150317955A1 (en) * 2012-12-19 2015-11-05 Denso Wave Incorporated Information code, information code producing method, information code reader, and system which uses information code

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1670763A (en) * 2004-03-15 2005-09-21 深圳矽感科技有限公司 A two dimensional bar codes and coding-decoding method thereof
US20150317955A1 (en) * 2012-12-19 2015-11-05 Denso Wave Incorporated Information code, information code producing method, information code reader, and system which uses information code
CN104680218A (en) * 2015-02-12 2015-06-03 航天信息股份有限公司 Multi-space two-dimensional code, and generation method and decoding method of multi-space two-dimensional code

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778997A (en) * 2016-11-28 2017-05-31 北京慧眼智行科技有限公司 The generation method and device of a kind of two-dimensional strip code character
CN106599600A (en) * 2016-12-28 2017-04-26 上海联影医疗科技有限公司 Electronic display method and electronic equipment for radiation therapy planning report and medical image examination report
CN109389199A (en) * 2018-09-27 2019-02-26 张伟 A kind of multidimensional code system and decoding method
CN109389199B (en) * 2018-09-27 2022-02-01 张伟 Multi-dimensional code system and coding and decoding method
CN111209988A (en) * 2019-12-27 2020-05-29 宁波深寻信息科技有限公司 Management method of big data sharing system based on recognizable color graphics
CN111209988B (en) * 2019-12-27 2023-05-09 宁波深寻信息科技有限公司 Management method of big data sharing system based on identifiable color graphics

Similar Documents

Publication Publication Date Title
CN104281830B (en) Two-dimension code identification method and device
CN105718982A (en) Coding and decoding methods of colorful 2D bar code
US8511562B2 (en) Layered two-dimensional code, creation method thereof, and read method
CN102169500B (en) Dynamic service flow display method and device
CN101149813B (en) Matrix type colorful two-dimensional bar code encoding and decoding method
CN102939750B (en) Across planar prediction
CN104657698B (en) A kind of color 2 D code decoding method for carrying several black and white Quick Response Codes
CN102592160B (en) Character two-dimension code encoding and decoding method for short message
CN105426945B (en) Intelligent graphic identifies the coded system and method, decoding system and method for two dimensional code
CN112926715B (en) Two-dimensional code generation and decoding method, device and equipment
CN102147873A (en) Method and system for generating color code as well as method and system for analyzing color code
JP2010510561A (en) Two-dimensional code, decoding method thereof, and printed publication to which the two-dimensional code is applied
CN104657768A (en) Colorful three-dimensional code structure and colorful three-dimensional code reading method
CN202929325U (en) Liquid crystal display panel manufacturing device and liquid crystal display panel
CN102999773B (en) Colorful lattice point code picture and three-dimensional bar code coding method thereof
CN101515335A (en) Color two dimension bar code with high compression ratio Chinese character coding capability and its coding and decoding method
CN103632182A (en) Three-dimensional (3D) image code generating and analyzing methods and device thereof
CN1953362A (en) A method and installation to embed pattern in two-dimensional bar code
CN110276428A (en) A kind of four-dimension code encoding and decoding method
CN104268615A (en) Encoding method and decoding method for color two-dimensional code
CN103093267A (en) Coding method based on graph
CN106022426A (en) Method and system for generating two-dimensional code with color pattern
WO2018210077A1 (en) Method and apparatus for generating identification code
CN105607881B (en) Electronic equipment and two-dimensional code display method
CN101159028B (en) Multiple graphics matrix type two-dimension bar code implementing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160629

RJ01 Rejection of invention patent application after publication