CN110738293A - kinds of wide adaptability bar codes and coding method thereof - Google Patents

kinds of wide adaptability bar codes and coding method thereof Download PDF

Info

Publication number
CN110738293A
CN110738293A CN201910936335.7A CN201910936335A CN110738293A CN 110738293 A CN110738293 A CN 110738293A CN 201910936335 A CN201910936335 A CN 201910936335A CN 110738293 A CN110738293 A CN 110738293A
Authority
CN
China
Prior art keywords
barcode
color
wide
adaptability
bit
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.)
Granted
Application number
CN201910936335.7A
Other languages
Chinese (zh)
Other versions
CN110738293B (en
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 Lead Electric Power Technology Co Ltd
Original Assignee
Wuhan Lead Electric Power Technology 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 Lead Electric Power Technology Co Ltd filed Critical Wuhan Lead Electric Power Technology Co Ltd
Priority to CN201910936335.7A priority Critical patent/CN110738293B/en
Publication of CN110738293A publication Critical patent/CN110738293A/en
Application granted granted Critical
Publication of CN110738293B publication Critical patent/CN110738293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/06018Record 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 one-dimensional coding
    • G06K19/06028Record 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 one-dimensional coding using bar codes
    • 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/06046Constructional details
    • G06K19/06075Constructional details the marking containing means for error correction
    • 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/06046Constructional details
    • G06K19/0614Constructional details the marking being selective to wavelength, e.g. color barcode or barcodes only visible under UV or IR

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Character Input (AREA)

Abstract

The embodiment of the invention provides wide-adaptability barcodes and a coding method, wherein the barcodes are reconstructed by three color basic units, the th color basic unit represents 0, the second color basic unit represents 1, and the third color basic unit represents the same number as the number represented by the front color basic unit.

Description

kinds of wide adaptability bar codes and coding method thereof
Technical Field
The invention relates to the technical field of information interaction, in particular to kinds of wide-adaptability barcodes and an encoding method thereof.
Background
A bar Code (barcode) belongs to the field of automatic identification technology which is developed in computer application and is widely applied to the fields of commerce, postal service, book management, storage, industrial production process control, transportation, packaging, distribution and the like, and is characterized in that a plurality of black bars and blanks with different widths are arranged according to a coding rule specified by to express groups of graphical identifiers of information, the common barcode is a parallel line pattern formed by black bars (short for bars) and white bars (short for spaces) with greatly different reflectivity, the two-dimensional Code is also called a two-dimensional bar Code, the common two-dimensional Code is a QR Code which is 387 2 coding modes which are popular on mobile equipment in recent years, the data symbol information is recorded by black and white graphs distributed on a plane (two-dimensional direction) according to a specified geometric graph rule specified by , and each character occupies specified width.
In addition, because the identifier has an angle with the bar code of when identifying, although the software algorithm has definite correction capability, the identification process still needs to be tried for a plurality of times, and when the angle deviation is large, identification errors often occur.
Disclosure of Invention
To address the above-mentioned problems, embodiments of the present invention provide kinds of kinds of wide-adaptability barcodes and encoding methods that overcome or at least partially solve the above-mentioned problems.
aspects embodiments of the present invention provide wide-adaptability barcodes comprising:
a bar code reconstructed from three color elementary cells;
wherein the th color basic cell represents 0, the second color basic cell represents 1, and the third color basic cell represents the same number as that of the front color basic cell.
And , the bar code comprises 26 bar codes, and the bar codes comprise a leading position, a 24-position middle bar code and a finishing position.
And step , fixing the digit of the leading bit to 0 and fixing the digit of the ending bit to 1.
At step , when the color of any barcode is the same as the color of its preceding barcode, the barcode is filled in with a third color.
And , the odd bits of the 24-bit middle bar code are data bits, and the even bits of the bar code are check bits.
And , if the first two bar code data of the check digit bar code are the same, the check digit is marked as 1.
And , the color is black, the second color is white, and the third color is gray.
In a second aspect, an embodiment of the present invention further provides an method for encoding a wide adaptability barcode, including:
reconstructing the bar code based on the three color basic units;
wherein the th color basic cell represents 0, the second color basic cell represents 1, and the third color basic cell represents the same number as that of the front color basic cell.
And , the bar code comprises 26 bar codes, and the bar codes comprise a leading position, a 24-position middle bar code and a finishing position.
Further , the method further includes:
when the color of any barcode is the same as the color of its front barcode, the barcode is filled in with a third color.
According to the wide-adaptability barcode and the coding method thereof provided by the embodiment of the invention, the change of the color of the barcode is used as a coding rule, and when the barcode is attached to the surface of an object and is raised and distorted, the barcode can still be quickly and correctly identified through the barcode identifier.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, is briefly introduced in the drawings required in the description of the embodiments or the prior art, it is obvious that the drawings in the following description are embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of kinds of wide-adaptability bar codes provided by the embodiment of the present invention;
fig. 2 is a flowchart of an encoding method implemented by kinds of wide-adaptability barcodes according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention.
In the existing coding rule, the bar codes are coded according to the black-white space, so that all the existing bar codes are composed of black and white basic units, but the structure mode can ensure that the bar codes need to be kept flat for use. When the existing bar code is used for soft or uneven-surface articles, the black-white space of the bar code can be changed, so that the bar code identifier can identify the articles wrongly.
In view of the foregoing problems in the prior art, an embodiment of the present invention provides kinds of wide adaptive barcodes, and fig. 1 is a schematic structural diagram of kinds of wide adaptive barcodes provided in an embodiment of the present invention, as shown in fig. 1, a wide adaptive barcode includes:
a bar code reconstructed from three color elementary cells;
wherein the th color basic cell 1 represents 0, the second color basic cell 2 represents 1, and the third color basic cell 3 represents the same number as that represented by the front color basic cell.
In the embodiment of the present invention, the code element of the barcode is represented by three color basic units, which are referred to as color basic unit, a second color basic unit and a third color basic unit, and the three color basic units are respectively referred to as 1, 2 and 3 in fig. 1, wherein the th color unit is 1 representing that the code element meaning is binary, the second color unit is 0 representing that the code element meaning is binary, and the third color unit represents that the code element number is the same as the adjacent first -bit code element number.
The wide-adaptability bar code provided by the embodiment of the invention takes the change of the color of the bar code as a coding rule, and when the bar code is attached to the surface of an object and is raised and distorted, the bar code can still be quickly and correctly identified by a bar code identifier. The defects that the traditional bar code can be identified only by keeping flat, and cannot be used for soft, uneven surface or curved surface objects are overcome.
On the basis of the above embodiment, the th color is black, the second color is white, and the third color is gray.
Preferably, as shown in fig. 1, the embodiment of the present invention sets the color of the th color basic cell as black, the color of the second color basic cell as white, and the color of the third color basic cell as gray, thereby realizing a convenient reading function without changing the basic form of the barcode.
On the basis of the above embodiment, the barcode comprises 26 barcodes, wherein the barcodes comprise a leading position, a 24-position middle barcode and a finishing position, wherein barcodes are basic units, and the ratio of the height to the width of the barcode is preferably 8.
, for the bar code designed by the embodiment of the present invention, the bit is set as the leading bit, the bit is set as the ending bit, the middle position is the middle bar code, the length of the whole bar code is set to be 26 bar codes, and the middle bar code takes 24 bits.
In addition to the above embodiments, the number of the leading bit is fixed to 0, and the number of the ending bit is fixed to 1.
Preferably, in the embodiment of the present invention, the leading bit is fixedly set to 0 and indicated in white, and the ending bit is set to 1 and indicated in black.
Based on the above example, when the color of any barcode is the same as the color of its front barcode, the barcode is filled with a third color.
As shown in fig. 1, the wide-adaptability barcode provided by the embodiment of the present invention has different colors between any two symbols, and it can be seen that there are black and white intervals, black and gray intervals, or gray and gray intervals, but there are no cases of black, white, and gray.
In the embodiment, when the color of any barcode is the same as that of the preceding barcode, the original color is filled with the third color, i.e., gray, so that the colors of any two adjacent basic cells are different.
On the basis of the above embodiment, the odd bits of the 24-bit intermediate barcode are data bits, and the even bits of the barcode are check bits.
And if the first two bar code data of the check bit bar code are the same, the check bit is marked as 1.
In the embodiment of the present invention, odd bits of the barcode are set as data bits, even bits are set as check bits, and taking fig. 1 as an example, odd bits (1, 3, 5 … …, 21, 23) in the barcode are data bits, and 1 is the highest bit, and 23 is the lowest bit, thereby representing data 0-4095. The even number of the bar code is a check digit, the check content is that the data of the first 2 bar codes are the same, the check result is 1, and the data different check result is 0.
Fig. 2 is a flowchart of an encoding method implemented by kinds of wide-adaptability barcodes according to an embodiment of the present invention, as shown in fig. 2, including:
201. reconstructing the bar code based on three different color basic units;
wherein the th color basic cell represents 0, the second color basic cell represents 1, and the third color basic cell represents the same number as that of the front color basic cell.
It can be understood that the embodiment of the present invention correspondingly provides an encoding manner for the barcode, that is, the encoding rule of the barcode is correspondingly adjusted by changing the color of the code element of the barcode.
Specifically, in the embodiment, the bar code is reconstructed by three color basic units of black, white and gray, the black color basic unit represents binary 1, the white color basic unit represents binary 0, and the gray color basic unit represents the same position as the adjacent front , so that when the bar code is attached to the surface of an object and is raised and distorted, the bar code can still be rapidly and correctly identified by a bar code identifier.
On the basis of the above embodiment, the barcode comprises 26 barcodes, wherein the barcodes comprise a leading position, a 24-position middle barcode and a finishing position, wherein barcodes are basic units, and the ratio of the height to the width of the barcode is preferably 8.
On the basis of the above embodiment, the method further includes:
when the color of any barcode is the same as the color of its front barcode, the barcode is filled in with a third color.
Referring to fig. 1, the wide-adaptability barcode provided by the embodiment of the present invention has different colors between any two symbols, and it can be seen that there are black and white intervals, black and gray intervals, or gray and white intervals, but there are no cases of black, white, and gray.
In the embodiment, when the color of any barcode is the same as that of the preceding barcode, the original color is filled with the third color, i.e., gray, so that the colors of any two adjacent basic cells are different.
Based on the understanding that the above technical solutions essentially or contributing to the prior art can be embodied in the form of a software product that can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing computer devices (which may be personal computers, servers, or network devices, etc.) to execute the method described in each embodiment or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1, wide-adaptability bar codes, comprising:
a bar code reconstructed from three color elementary cells;
wherein the th color basic cell represents 0, the second color basic cell represents 1, and the third color basic cell represents the same number as that of the front color basic cell.
2. The wide-adaptability barcode according to claim 1, wherein the barcode comprises 26 barcodes, the barcodes comprising a leading bit, a 24-bit middle barcode and a trailing bit.
3. The wide-adaptability barcode according to claim 2, wherein the number of the leading bit is fixed to 0 and the number of the ending bit is fixed to 1.
4. The wide adaptable barcode of claim 2, wherein when a color of any barcode is the same as a color of its front barcode, the barcode is filled with a third color.
5. The wide-adaptability barcode according to claim 2, wherein the odd bits of the 24-bit intermediate barcode are data bits and the even bits of the barcode are check bits.
6. The wide-adaptability barcode according to claim 5, wherein the check bit is marked as 1 if the first two barcode data of the check bit barcode are the same.
7. The wide-adaptability barcode according to claim 1, wherein the color is black, the second color is white, and the third color is gray.
8, method for encoding wide adaptability barcode according to any of claims 1-9 and , comprising:
reconstructing the bar code based on the three color basic units;
wherein the th color basic cell represents 0, the second color basic cell represents 1, and the third color basic cell represents the same number as that of the front color basic cell.
9. The method of encoding a wide-adaptability barcode according to claim 8, wherein the barcode comprises 26 barcodes, the barcodes comprising a leading bit, a 24-bit middle barcode and a trailing bit.
10. The method of encoding a wide-adaptability barcode according to claim 9, further comprising:
when the color of any barcode is the same as the color of its front barcode, the barcode is filled in with a third color.
CN201910936335.7A 2019-09-29 2019-09-29 Wide-adaptability bar code and encoding method thereof Active CN110738293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910936335.7A CN110738293B (en) 2019-09-29 2019-09-29 Wide-adaptability bar code and encoding method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910936335.7A CN110738293B (en) 2019-09-29 2019-09-29 Wide-adaptability bar code and encoding method thereof

Publications (2)

Publication Number Publication Date
CN110738293A true CN110738293A (en) 2020-01-31
CN110738293B CN110738293B (en) 2023-07-14

Family

ID=69268365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910936335.7A Active CN110738293B (en) 2019-09-29 2019-09-29 Wide-adaptability bar code and encoding method thereof

Country Status (1)

Country Link
CN (1) CN110738293B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326907A (en) * 2021-05-29 2021-08-31 海盐前方印刷有限公司 Method for producing color variable bar code

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4443694A (en) * 1981-11-05 1984-04-17 Texas Instruments Incorporated Multilevel bar code reader
JPH07134757A (en) * 1993-11-09 1995-05-23 Toppan Printing Co Ltd Display body provided with two-dimensional code and two-dimensional code reader
US6062481A (en) * 1986-04-18 2000-05-16 Cias, Inc. Optimal error-detecting, error-correcting and other coding and processing, particularly for bar codes, and applications therefor such as counterfeit detection
CN101482934A (en) * 2008-01-08 2009-07-15 纬创资通股份有限公司 Method for representing numerical data in bar code and its correlated electronic device
CN101553828A (en) * 2006-07-19 2009-10-07 毕柯亚股份有限公司 Optical symbol, article to which the optical symbol is attached, method for attaching optical symbol to article, optical symbol decoding method, related device, and related program
US20100012736A1 (en) * 2006-07-05 2010-01-21 Iti Scotland Limited Bar code authentication
US20140027516A1 (en) * 2012-07-24 2014-01-30 Ikko Fushiki Color Extension of Barcodes
CN103577861A (en) * 2012-08-10 2014-02-12 财团法人工业技术研究院 Bar code structure and bar code encoding method
CN105740930A (en) * 2016-02-02 2016-07-06 福建省星微盾电子科技有限公司 Photo-magnetically readable barcode coding method
CN106709545A (en) * 2016-11-29 2017-05-24 无锡市鸿太阳印刷有限公司 Anti-fake bar code
CN106919966A (en) * 2016-12-28 2017-07-04 上海交通大学 Taking care of books method and colored rectangles code label based on colored rectangles code
CN107871151A (en) * 2017-10-23 2018-04-03 广东数相智能科技有限公司 A kind of color bar code and its production method and device
CN108108795A (en) * 2017-12-18 2018-06-01 无锡费舍太格科技有限公司 A kind of binary system color code

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4443694A (en) * 1981-11-05 1984-04-17 Texas Instruments Incorporated Multilevel bar code reader
US6062481A (en) * 1986-04-18 2000-05-16 Cias, Inc. Optimal error-detecting, error-correcting and other coding and processing, particularly for bar codes, and applications therefor such as counterfeit detection
JPH07134757A (en) * 1993-11-09 1995-05-23 Toppan Printing Co Ltd Display body provided with two-dimensional code and two-dimensional code reader
US20100012736A1 (en) * 2006-07-05 2010-01-21 Iti Scotland Limited Bar code authentication
CN101553828A (en) * 2006-07-19 2009-10-07 毕柯亚股份有限公司 Optical symbol, article to which the optical symbol is attached, method for attaching optical symbol to article, optical symbol decoding method, related device, and related program
CN101482934A (en) * 2008-01-08 2009-07-15 纬创资通股份有限公司 Method for representing numerical data in bar code and its correlated electronic device
US20140027516A1 (en) * 2012-07-24 2014-01-30 Ikko Fushiki Color Extension of Barcodes
CN103577861A (en) * 2012-08-10 2014-02-12 财团法人工业技术研究院 Bar code structure and bar code encoding method
CN105740930A (en) * 2016-02-02 2016-07-06 福建省星微盾电子科技有限公司 Photo-magnetically readable barcode coding method
CN106709545A (en) * 2016-11-29 2017-05-24 无锡市鸿太阳印刷有限公司 Anti-fake bar code
CN106919966A (en) * 2016-12-28 2017-07-04 上海交通大学 Taking care of books method and colored rectangles code label based on colored rectangles code
CN107871151A (en) * 2017-10-23 2018-04-03 广东数相智能科技有限公司 A kind of color bar code and its production method and device
CN108108795A (en) * 2017-12-18 2018-06-01 无锡费舍太格科技有限公司 A kind of binary system color code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326907A (en) * 2021-05-29 2021-08-31 海盐前方印刷有限公司 Method for producing color variable bar code

Also Published As

Publication number Publication date
CN110738293B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
CN101334849B (en) Two-dimension code label symbol creation method and apparatus
CN105095935B (en) A kind of low-density having merged Chaos Encryption Technology, high coding capacity dot matrix Quick Response Code
CN108073966B (en) Conversion method of two-dimensional code and hole array code
CN103400174A (en) Encoding method, decoding method and system of two-dimensional code
US9544467B2 (en) Halftone data-bearing encoding system and halftone data-bearing decoding system
JP2014229299A (en) Multidimensional color barcode and method
US7770805B2 (en) Method for coding two dimensional optical identification with the same gray level and printing product thereof
CN107944527A (en) A kind of encryption of anti-fake two-dimension code and coding/decoding method
CN103839148A (en) Express recognizing and sorting system and method
CN105426945A (en) Encoding system and method as well as decoding system and method of intelligent graph recognition two-dimension code
CN104268615A (en) Encoding method and decoding method for color two-dimensional code
CN107247985A (en) Coding, positioning and the recognition methods of New Two Dimensional code
CN104680217B (en) A kind of product information dot matrix coding/decoding system application process
US8702011B2 (en) Barcode structure and barcode encoding method
CN110738293A (en) kinds of wide adaptability bar codes and coding method thereof
CN109454997B (en) Two-dimensional code printing generation system with electronic texture
CN106919882A (en) A kind of method that two-dimentional digital content switchs to pure digi-tal symbolic coding
CN102214312A (en) Two-dimensional code and automatic identification voice playing device using same
CN101503037B (en) Processing method for embedding information on paper medium file
JP2024505116A (en) Dot matrix code construction method, generation and reading method, terminal, and dot matrix code system
CN112016270A (en) Chinese-sensible code logistics information coding method, device and equipment
CN101571916B (en) Method for identifying screen code with uniform dot matrix
Grover et al. Parameters effecting 2D barcode scanning reliability
CN114418050A (en) Anti-counterfeiting dot matrix code generating method and decoding method
CN111144532B (en) Asset code element, asset code and construction method of asset code

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Hu Rongqiang

Inventor after: Wang Songfeng

Inventor after: Zhou Yue

Inventor after: Zhang Bao

Inventor after: Huo Teng

Inventor before: Hu Rongqiang

Inventor before: Wang Songfeng

Inventor before: Zhou Yue

Inventor before: Zhang Cheng

Inventor before: Huo Teng

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 430000 Floor 5-6 of Building A8, Phase I of Rongke Zhigu Industrial Project, 555 Cultural Avenue, Hongshan District, Wuhan City, Hubei Province

Applicant after: WUHAN LEAD ELECTRIC POWER TECHNOLOGY Co.,Ltd.

Address before: 430000 floors 2-6, building A8, Rongke Zhigu industrial project phase I, Liqiao village, Hongshan District, Wuhan City, Hubei Province

Applicant before: WUHAN LEAD ELECTRIC POWER TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant