CN109242509B - Lattice character information coding and decoding method for commodity outer package - Google Patents

Lattice character information coding and decoding method for commodity outer package Download PDF

Info

Publication number
CN109242509B
CN109242509B CN201810949250.8A CN201810949250A CN109242509B CN 109242509 B CN109242509 B CN 109242509B CN 201810949250 A CN201810949250 A CN 201810949250A CN 109242509 B CN109242509 B CN 109242509B
Authority
CN
China
Prior art keywords
information
commodity
character
group
generating
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.)
Active
Application number
CN201810949250.8A
Other languages
Chinese (zh)
Other versions
CN109242509A (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.)
Tongji University
Original Assignee
Tongji University
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 Tongji University filed Critical Tongji University
Priority to CN201810949250.8A priority Critical patent/CN109242509B/en
Publication of CN109242509A publication Critical patent/CN109242509A/en
Application granted granted Critical
Publication of CN109242509B publication Critical patent/CN109242509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Toxicology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Accounting & Taxation (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Document Processing Apparatus (AREA)
  • Labeling Devices (AREA)

Abstract

The invention provides a dot matrix character information coding and decoding method for commodity external packaging, and relates to an anti-counterfeiting tracing technology of circulating commodities. The method adopts the steps of encoding commodity information sequences to generate corresponding digital characters, inserting character marking information into the information sequences to generate character-shaped dot matrixes, and generating redundant dot matrixes to enable information marks on commodities to have anti-interference performance and recoverability. The method improves the restorability of the commodity information under the condition of artificially destroying the commodity packaging information, and improves the traceability in commodity circulation.

Description

Lattice character information coding and decoding method for commodity outer package
Technical Field
The invention relates to the field of information anti-counterfeiting tracing systems for circulating commodities.
Technical Field
With the continuous development and marketing trend of economy, the circulation of trade is faster and more convenient. But commodity manufacturing enterprises face troublesome problems: in the commodity circulation process, part of dealers damage the commodity anti-counterfeiting label, so that production enterprises suffer huge economic loss. Traditional anti-counterfeiting methods such as printing methods such as laser anti-counterfeiting, label anti-counterfeiting, ink anti-counterfeiting and the like are easily damaged by people in commodity circulation, and the effective anti-counterfeiting and anti-channel conflict effects cannot be achieved. Therefore, it is an important problem to improve the restorability of information on the condition that the package of the commercial product is partially damaged.
Disclosure of Invention
The invention aims to provide a dot matrix character information coding and decoding method for commodity outer package, which can improve the commodity information recovery capability after the commodity outer package is damaged.
In order to achieve the above purposes, the invention adopts the technical scheme that:
a dot matrix character information coding and decoding method for commodity outer package is characterized by comprising the following steps:
1) commodity information collection
Collecting commodity information and converting the commodity information into a standard data format;
2) generating original information
Randomly generating an information sequence by a computer, and associating the information sequence with the acquired commodity information to form original information in a one-to-one corresponding relationship;
3) generating characters
Dividing the random information sequence into blocks, generating corresponding characters in each block, and generating a marking information sequence by the characters;
4) generating an information matrix
Shifting the information sequence, partially copying and other operations to generate a plurality of matrixes corresponding to the characters, and inserting each element of the mark information sequence of the corresponding character into the head of each row of the matrixes;
5) generating character-shaped lattices
Generating respective character-shaped dot matrixes according to the matrix information, and spraying and painting the character-shaped dot matrixes on the outer package of the commodity;
6) dot matrix information decoding
When the commodity external package information is damaged, data recovery and commodity information restoration are carried out by a decoding method.
In step 3), the characters are 16 hexadecimal numbers such as 0,1,2 … E, F and the like.
In step 3), the marking information is generated by the graphic features of each character.
In step 5), the character-shaped dot matrix refers to arranging the dot matrix corresponding to the matrix into a character form.
In step 6), the decoding refers to reading each character to restore the original information sequence, or reading a dot matrix included in a single character to restore the original information sequence.
Due to the adoption of the scheme, the invention has the following advantages: the method can effectively restore the damaged information, has good information restoration performance, quick decoding mode and easy identification, and can improve the operation efficiency.
Drawings
The present invention will be better understood and its numerous advantages will be readily apparent by reference to the detailed description taken in conjunction with the accompanying drawings.
FIG. 1 shows the arrangement and order of the lattices
FIG. 2 is a sequence of label information corresponding to characters
FIG. 3 is a 6 by 7 matrix
FIG. 4 is a 6 matrix 7 by 5
FIG. 5 is a character lattice
Detailed description of the invention
The following describes key steps in the technical scheme of the method of the invention by combining with the drawings and examples, which is favorable for better understanding of the technical scheme of the method of the invention.
1. Commodity information collection
And (3) collecting commodity information, and converting the commodity information into a standard data format for processing in the step 2.
2. Generating an original sequence:
randomly generating a 24-bit binary information sequence by a computer, such as: 101011011111110100110101. and associating the information with the acquired commodity information to form a one-to-one corresponding relation.
3. Generating characters:
dividing the random information sequence into blocks, generating corresponding characters in each block, wherein the characters generate a marking information sequence, namely:
dividing four groups of the original sequence into six groups, and generating hexadecimal numbers corresponding to each group
1010---A;1101---C;1111---F;1101---C;0011---3;0101---5
The corresponding marker information sequences are shown in FIG. 2.
4. Generating an information matrix
Shifting the information sequence, partially copying and other operations to generate six matrixes, wherein each matrix corresponds to one character in sequence, and each element of the mark information sequence of the corresponding character is inserted into the head of each row of the matrix, namely:
4.1) the number of six groups into which the original sequence was divided, starting with the first group, followed by the second, third, sixth, and first groups … …, forming a 7 x 4 matrix;
starting with the second group, followed by a third group, a fourth group … …, a sixth group, the first group, the second group, forming a 7 x 4 matrix;
the third, fourth, fifth, sixth, and so on, form a matrix of six 7 x 4, as shown in fig. 3.
4.2) inserting one element of the marking information sequence of the corresponding character of the matrix in sequence before each row of the matrix to generate 6 information matrixes of 7 x 5, as shown in figure 4.
5. Generating character-shaped lattices
The solid represents 1 and the open represents 0, 7 rows of the matrix are arranged in the sequence shown in fig. 1, and each row of numbers is arranged from left to right and from top to bottom, so that 6 lattices are generated as shown in fig. 5.
6. Decoding
When the outer package is intact, each hexadecimal digital character is read out, and the original information sequence can be restored.
When the outer package is broken, only one complete character (any one of 6) is needed to be present, and all the original information sequences can be obtained.
If each character is destroyed, one of the parts 1 or 7 shown in fig. 1 exists in each character, and the character can be restored.

Claims (4)

1. A dot matrix character information coding and decoding method for commodity outer package is characterized by comprising the following steps:
1) commodity information collection
Collecting commodity information and converting the commodity information into a standard data format;
2) generating original information
Randomly generating an information sequence by a computer, and associating the information sequence with the acquired commodity information to form original information in a one-to-one corresponding relationship;
3) generating characters
Dividing the random information sequence into blocks, generating corresponding characters in each block, and generating a marking information sequence by the characters;
4) generating an information matrix
Shifting the information sequence, partially copying to generate several matrixes corresponding to the characters, and inserting each element of the marked information sequence of the corresponding character into the head of each row of the matrixes; the method specifically comprises the following steps: the original sequence is divided into six groups, starting from the first group, and then the second group, the third group … …, the sixth group and the first group form a 7 x 4 matrix; starting with the second group, followed by a third group, a fourth group … …, a sixth group, the first group, the second group, forming a 7 x 4 matrix; the third, fourth, fifth, sixth, and so on, form six 7 x 4 matrices;
5) generating character-shaped lattices
Generating respective 8-shaped dot matrixes according to the matrix information, and spraying and painting the dot matrixes on the outer packages of the commodities;
6) dot matrix information decoding
When the commodity external package information is damaged, data recovery and commodity information restoration are carried out by a decoding method.
2. The method for encoding and decoding lattice character information for the commodity package according to claim 1, wherein in the step 3), the characters are 16 hexadecimal numbers of 0,1,2 … E and F.
3. The method for encoding and decoding dot matrix character information for commodity external packing according to claim 1, wherein in the step 3), the mark information is generated by graphic characteristics of each character.
4. The method for encoding and decoding lattice character information for commodity outer packing according to claim 1, wherein in the step 6), the decoding means reading each character to restore the original information sequence, or reading the lattice contained in a single character to restore the original information sequence.
CN201810949250.8A 2018-08-20 2018-08-20 Lattice character information coding and decoding method for commodity outer package Active CN109242509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810949250.8A CN109242509B (en) 2018-08-20 2018-08-20 Lattice character information coding and decoding method for commodity outer package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810949250.8A CN109242509B (en) 2018-08-20 2018-08-20 Lattice character information coding and decoding method for commodity outer package

Publications (2)

Publication Number Publication Date
CN109242509A CN109242509A (en) 2019-01-18
CN109242509B true CN109242509B (en) 2021-09-14

Family

ID=65070640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810949250.8A Active CN109242509B (en) 2018-08-20 2018-08-20 Lattice character information coding and decoding method for commodity outer package

Country Status (1)

Country Link
CN (1) CN109242509B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109858931B (en) * 2019-01-28 2023-04-18 同济大学 Double-sided composite information matrix coding and decoding method for commodity outer package

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3312097B2 (en) * 1996-05-22 2002-08-05 アビックス株式会社 Scroll display method and device
SE0301729D0 (en) * 2003-06-13 2003-06-13 Anoto Ab Need-controlled printing of coding patterns
CN101615258B (en) * 2008-06-27 2013-03-13 银河联动信息技术(北京)有限公司 Partial covered two-dimensional code anti-counterfeiting label and forming method thereof
CN103793676A (en) * 2014-02-18 2014-05-14 立德高科(北京)数码科技有限责任公司 Method and device for identifying anti-counterfeiting mark composed of two-dimensional code and raster graphic
CN104680217B (en) * 2015-01-28 2017-07-07 付强 A kind of product information dot matrix coding/decoding system application process
CN104766349B (en) * 2015-03-24 2018-04-17 同济大学 Geometry form figure decoding method applied to commodity outer packing
CN104751342B (en) * 2015-04-21 2019-01-11 张川 It is a kind of for tracing the merchandise news decoding method of commodity
JP6948349B2 (en) * 2016-05-31 2021-10-13 コーニング インコーポレイテッド Anti-counterfeiting measures for glass articles

Also Published As

Publication number Publication date
CN109242509A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
CN105095935B (en) A kind of low-density having merged Chaos Encryption Technology, high coding capacity dot matrix Quick Response Code
CN102930192B (en) Security information generates and acquisition methods and relevant apparatus
CN103929187B (en) Anti-interference matrix information encoding and decoding method for merchandise outer packaging
CN101794285A (en) Product anti-fake anti-channel conflict coding method
CN104751342A (en) Commodity information coding and decoding method for tracking commodities
CN109242509B (en) Lattice character information coding and decoding method for commodity outer package
CN104428778A (en) Method of water-marking digital books
CN109344940B (en) Three-dimensional lattice projection graph coding and decoding method for commodity outer package
CN101957929A (en) Method for identifying object on basis of two-dimensional lattice code
CN113935354B (en) Anti-interference graph intersection point encoding and decoding method for commodity outer package
CN103778453B (en) Writable two-dimensional bar code based on fault-tolerant mechanism and generating method thereof
CN105787739A (en) Anti-counterfeiting method and system based on two-dimensional code and jigsaw
CN111062456A (en) Two-dimensional code encryption algorithm
CN103095964B (en) A kind of page dot matrix compression method and device
CN103927572A (en) Encoding graph block and method and device for forming lattice graph through encoding graph block
CN110555492B (en) Preparation method of high-imitation micro-display two-dimensional code
CN101503037B (en) Processing method for embedding information on paper medium file
CN102804203B (en) Physical image is decoded
CN104766349B (en) Geometry form figure decoding method applied to commodity outer packing
CN109359999B (en) Encoding and decoding method for two-dimensional line segment graph of commodity outer package
CN109242510A (en) A kind of graphical information decoding method for commodity outer packing
CN113919384B (en) Encryption gray-scale image coding and decoding method for commodity outer package
CN115564461A (en) Encoding and decoding method for alphabetic information directed line segments for commodity external packaging
JPH10228526A (en) Display method for stereoscopic code
CN109858931B (en) Double-sided composite information matrix coding and decoding method for commodity outer package

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
GR01 Patent grant
GR01 Patent grant