CN108875874A - A kind of method of simplified cyber anti-fake two-dimension code Redundancy Design - Google Patents

A kind of method of simplified cyber anti-fake two-dimension code Redundancy Design Download PDF

Info

Publication number
CN108875874A
CN108875874A CN201810689124.3A CN201810689124A CN108875874A CN 108875874 A CN108875874 A CN 108875874A CN 201810689124 A CN201810689124 A CN 201810689124A CN 108875874 A CN108875874 A CN 108875874A
Authority
CN
China
Prior art keywords
code
information
dimensional code
dimensional
cuboid framework
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.)
Withdrawn
Application number
CN201810689124.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.)
Hefei Lang Jin Anti-Counterfeit Technology Co Ltd
Original Assignee
Hefei Lang Jin Anti-Counterfeit 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 Hefei Lang Jin Anti-Counterfeit Technology Co Ltd filed Critical Hefei Lang Jin Anti-Counterfeit Technology Co Ltd
Priority to CN201810689124.3A priority Critical patent/CN108875874A/en
Publication of CN108875874A publication Critical patent/CN108875874A/en
Withdrawn 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/06046Constructional details

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The present invention relates to a kind of two-dimensional bar code, especially a kind of method of simplified cyber anti-fake two-dimension code Redundancy Design, it is at least used to indicate " 0 ", " 1 " bit stream by two kinds of biggish geometrical bodies of contrast, it is characterized in that:Two kinds of biggish geometrical bodies of contrast form horizontal and vertical " 0 " and " 1 " coding structure in cuboid framework, " 0 " is identical with the geometrical body shape of " 1 ", it is equal in magnitude, the inchoate aspect space that a basic identification is not used as two dimensional code is made of " 0 " and " 1 " in cuboid framework, the geometrical body side length of " 0 " or " 1 " is between 0.4-1mm.It provide it is a kind of can be conducive to existing mobile phone facilitate extraction two-dimensional bar code, without change mobile phone hardware network-based commodity anti-counterfeit two-dimensional bar code redundancy design method.

Description

A kind of method of simplified cyber anti-fake two-dimension code Redundancy Design
Technical field
The present invention relates to a kind of two-dimensional bar code, especially a kind of side of simplified cyber anti-fake two-dimension code Redundancy Design Method.
Background technique
Two dimensional code(2-dimensional bar code)It is with certain specific geometric figure according to certain rules in plane (On two-dimensional directional)The chequered with black and white graphic recording data symbol information of distribution;Composition is dexterously utilized in code compilation The concept of " 0 " of computer-internal logical foundations, " 1 " bit stream uses several geometrical bodies corresponding with binary system Text numerical information is indicated, by image input device or photoelectric scanning device automatically identifying and reading to realize automatic processing of information:Two Tieing up bar code/two dimensional code can be in horizontal and vertical two orientation while expressing information, therefore can express in the area of very little big The information of amount.
It is existing using it is relatively universal be PDF417 two dimensional code, the difference of it and one-dimension code is multirow composition bar code, is not required to A database is connected, itself can store mass data, be applied to:Hospital, driver's license, handling of goods and materials, cargo transport, work as item When shape code is by certain destroy, error correcting can enable bar code to be correctly decoded PDF417.PDF417 two dimensional code is news Bo Er (Symbol)The product that scientific & technical corporation develops in nineteen ninety.It is a multirow, continuity, variable length, comprising mass data Symbol logo.Its character set includes all 128 characters, and maximum data content is 1850 characters.
Due to including 1850 characters in lesser space, this requires the item of its bar code require it is very thin, it is therein Feature is to contain much information, and problem is that two dimensional code is obtained by imaging in the case where lens quality is not high, it is difficult to obtain accurate two Code is tieed up, influences to read data.
It has been invented in inventor《Telephone set with recognition capability》China Patent No. is:ZL03108082.0 In, a kind of subsidiary camera progress two dimensional code reading using mobile phone is disclosed, realizes anti-fake technology, but due to general The imaging is not clear in 15mm-30mm for 1300000 cameras, it is excellent its 15mm-30mm extract PDF417 two dimensional code when, be even more difficult to know Not, the strong influence application of existing mobile phone in this regard.In order to overcome the problems, such as this, some mobile phones are special in design Short distance focus adjusting mechanism is increased, to increase the imaging capability to close-in target.
Secondly, existing two dimensional code is square structure, application when as commodity counterfeit prevention seems sometimes and a little less closes It is suitable.
Summary of the invention
Extraction two-dimensional bar code can be facilitated the object of the present invention is to provide a kind of conducive to existing mobile phone, the base without changing mobile phone hardware In the commodity anti-counterfeit two-dimensional bar code redundancy design method of network.
The object of the present invention is achieved like this, a kind of network-based commodity anti-counterfeit two-dimensional bar code redundancy design method, it At least it is used to indicate " 0 ", " 1 " bit stream by two kinds of biggish geometrical bodies of contrast, it is characterized in that:Two kinds of biggish geometry of contrast Body forms horizontal and vertical " 0 " and " 1 " coding structure, the geometrical body shape phase of " 0 " and " 1 " in cuboid framework Together, equal in magnitude, the inchoate aspect space that a basic identification is not used as two dimensional code, institute are constituted by " 0 " and " 1 " in cuboid framework The geometrical body side length of " 0 " or " 1 " stated is between 0.4-1mm.
Described " 0 " and " 1 " coding structure forms 16*32 bit in cuboid framework, can indicate 64 bytes.
Described " 0 " and " 1 " coding structure has the two dimensional code of two groups of identical structures in cuboid framework.
The two dimensional code of two groups of identical structures is bilateral symmetry or symmetrical above and below.
The two dimensional code of two groups of identical structures includes at least the byte for defining network address and anti-counterfeit commodities do not repeat The coding of number.
The two dimensional code of two groups of identical structures symmetrically locates the check code including each group of two dimensional code.
The coding that the anti-counterfeit commodities do not repeat number includes at least the date of manufacture of commodity, uses validity period, commodity Classification information, manufacturer's information, grown place information, product name information, goods number information and information of check code.
It is an advantage of the invention that:Since two dimensional code constitutes two groups of two-dimensional bar codes using identical structure up and down, using network number It is anti-fake according to library form progress two-dimensional bar, such as:Date of manufacture:2010-8-16 is with 4 bytes, validity period:4 words of 2012-8-16 Section, merchandise classification:With 2 bytes white wine is indicated with hexadecimal representation, such as 0,1 indicates grape wine, and use 3 indicates in database Champagne, use 10 indicate cigarette, then can include more than 60,000 kinds of commodity.Manufacturer:3 bytes;Grown place:1 word byte, product name: 2 bytes;Goods number:4 bytes, network address:55;Mark:1 byte, verification:4 bytes, then totally 32 byte.That is, with 32 Byte can form almost all of commodity counterfeit prevention.In this way from data processing, can guarantee to bar code reliability.
Detailed description of the invention
Below with reference to embodiment attached drawing, the invention will be further described:
Fig. 1 is 1 structural schematic diagram of the embodiment of the present invention;
Fig. 2 is 2 structural schematic diagram of the embodiment of the present invention.
In figure:1, for indicating " 0 ", " 1 " bit stream geometrical body;2, cuboid framework;3, basic identification;4, upper two dimension Bar code;5, lower two-dimensional bar code;6, left two-dimensional bar code;7, right two-dimensional bar code;8, check code.
Specific embodiment
Embodiment 1
Fig. 1 gives a kind of two-dimensional bar code structure up and down, and cuboid framework 2 respectively has a basic identification 3 in upper and bottom right, on Two-dimensional bar code 4 is identical with lower two-dimensional bar code 5, and basic identification 3 is " mouth " shape, and surrounding " mouth " wordline item is same wide, " mouth " word upper end includes three 0 or three 1, and when black geometrical body represents 0, hem width includes three 0 on " mouth " word, Hem width includes three 0 under " mouth " word, includes two 0 and one 1 among " mouth " word, is used to indicate " 0 ", " 1 " ratio herein Spy's stream geometrical body 1 is positive quadrilateral, its side length is equal, and laterally consecutive 32 bits are longitudinally continuous 16 bits, is formed 512 bits constitute 64 bytes, constitute two groups of two-dimensional bar codes using identical structure up and down, every group accounts for 32 bytes.This 32 byte It is such as anti-fake using network data base form progress two-dimensional bar, such as:Date of manufacture:2010-8-16 is with 4 bytes, validity period: 2012-8-16 4 bytes, merchandise classification:With 2 bytes white wine is indicated with hexadecimal representation, such as 0,1 indicates in database Grape wine, use 3 indicate champagne, and use 10 indicates cigarette, then can include more than 60,000 kinds of commodity.Manufacturer:3 bytes;Grown place:1 word Byte, product name:2 bytes;Goods number:4 bytes, network address:55;Mark:1 byte, verification:4 bytes, then totally 32 word Section.That is, almost all of commodity counterfeit prevention can be formed with 32 bytes.
The positive quadrilateral of the geometrical body of " 0 " or " 1 ", side length is between 0.4-1mm.This exists for 1,300,000 cameras 15mm-30mm imaging, then carries out image recognition by the processing circuit of mobile phone, reads network address and repeated encoding is not send one's regards to topic 's.
Safety using identical its commodity counterfeit prevention of two-dimensional bar code of complete lattice can guarantee, because on commodity Two-dimensional bar code has can be with local damage, using the identical two groups of two-dimensional bar codes of complete lattice, by rationally designing, as long as two-dimensional strip Code damage is not more than half, can completely read all information.
Embodiment 2
Fig. 2 is a kind of left and right two-dimensional bar code structure, other identical as the structure of Fig. 1, either using up-down structure or left and right knot Structure.As long as 16*32 bit is integrally formed in each group of two-dimensional bar code, each group of two-dimensional bar code has 32 bytes.
Fig. 1 illustrates it is the embodiment provided in order to illustrate thought of the invention, actually about the specific quotient of 32 bytes The definition of product anti-counterfeiting information can be changed according to specific form, the fixation store such as network address by one group of coding and mobile phone EMS memory Network address is corresponded to, and considerable network address or IP can be provided.
Basic identification 3 is indicated with " mouth " shape, can establish expression " 0 ", " 1 " bit by reading basic identification 3 The basic size of geometrical body is flowed, then successively reads other " 0 ", " 1 " bit stream geometrical body as benchmark, interpretation is 0 Or 1, finally determine anti-counterfeiting information.
It include check code 8 in one group of two-dimensional bar code, by check code 8 it can be found that whether the network address read is correct, When correct, the network address read is sent by mobile phone, corresponding website is entered by mobile network, sends and does not weigh to corresponding website Multiple anti-fake code, obtains the true or false of commodity counterfeit prevention.
Certainly, when incorrect, handset processes circuit handles the other half two-dimensional barcode image of acquisition, when the other half Two-dimensional barcode image is after the verification of check code 8, correctly, then the network address read by mobile phone transmission, phase is entered by mobile network The website answered sends to corresponding website and does not repeat anti-fake code, obtains the true or false of commodity counterfeit prevention.
It, can be to mobile phone processing circuit to two groups of half and half stitching portions of two-dimensional barcode image of acquisition when both incorrect Then reason sends the network address read by mobile phone, enter corresponding website by mobile network, send and do not weigh to corresponding website Multiple anti-fake code, obtains the true or false of commodity counterfeit prevention.
When can not all obtain complete information by the above method, mobile phone provides prompt information.
Embodiment 3
The structure of Fig. 1 and Fig. 2 can also be longitudinally continuous 20 bits by laterally consecutive 32 bits, to increase overall information content, When laterally consecutive 32 bits, when being longitudinally continuous 20 bits, overall 640 bits have 80 bytes, if pressing two groups of two-dimensional strips Code G- Design, every group has 40 bytes, and when than being longitudinally continuous 16 bits, more 8 bytes, 8 bytes and original 7 bytes are total Isomorphism defines the length of network address at website information, one of byte.Network address is made of number and letter, with 7 bits, one The highest order of byte indicates point or oblique line, in the C letter in www.cctv.com/sx.cn, 16 system of ASCII character of C letter It is 43, then illustrates there is before C letter with C3, after com, before 16 systems plus 1 can indicates/line.

Claims (1)

1. a kind of method of simplified cyber anti-fake two-dimension code Redundancy Design, it is at least by two kinds of biggish geometric forms of contrast Body be used to indicate " 0 ", " 1 " bit stream, it is characterized in that:Two kinds of biggish geometrical bodies of contrast form water in cuboid framework Gentle vertical " 0 " and " 1 " coding structure, " 0 " is identical with the geometrical body shape of " 1 ", equal in magnitude, cuboid framework it is interior by " 0 " and " 1 " constitutes the inchoate aspect space that a basic identification is not used as two dimensional code, the geometrical body side length of " 0 " or " 1 " Between 0.4-1mm;Described " 0 " and " 1 " coding structure forms 16*32 bit in cuboid framework, can indicate 64 bytes;Described " 0 " and " 1 " coding structure has the two dimensional code of two groups of identical structures in cuboid framework;Described The two dimensional code of two groups of identical structures is bilateral symmetry or symmetrical above and below;The two dimensional code of two groups of identical structures is extremely Few includes the coding that the byte of definition network address and anti-counterfeit commodities do not repeat number;The two dimensional code of two groups of identical structures Symmetrical place includes the check code of each group of two dimensional code;The coding that the anti-counterfeit commodities do not repeat number includes at least the life of commodity It produces the date, use validity period, merchandise classification information, manufacturer's information, grown place information, product name information, goods number Information and information of check code.
CN201810689124.3A 2018-06-28 2018-06-28 A kind of method of simplified cyber anti-fake two-dimension code Redundancy Design Withdrawn CN108875874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810689124.3A CN108875874A (en) 2018-06-28 2018-06-28 A kind of method of simplified cyber anti-fake two-dimension code Redundancy Design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810689124.3A CN108875874A (en) 2018-06-28 2018-06-28 A kind of method of simplified cyber anti-fake two-dimension code Redundancy Design

Publications (1)

Publication Number Publication Date
CN108875874A true CN108875874A (en) 2018-11-23

Family

ID=64296592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810689124.3A Withdrawn CN108875874A (en) 2018-06-28 2018-06-28 A kind of method of simplified cyber anti-fake two-dimension code Redundancy Design

Country Status (1)

Country Link
CN (1) CN108875874A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110033065A (en) * 2019-03-18 2019-07-19 阿里巴巴集团控股有限公司 Fillet two dimensional code, the generation of fillet two dimensional code, recognition methods, device and equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110033065A (en) * 2019-03-18 2019-07-19 阿里巴巴集团控股有限公司 Fillet two dimensional code, the generation of fillet two dimensional code, recognition methods, device and equipment
WO2020186900A1 (en) * 2019-03-18 2020-09-24 阿里巴巴集团控股有限公司 Narrow-strip two-dimensional barcode, and method, apparatus and device for generating and recognizing narrow-strip two-dimensional barcode
CN110033065B (en) * 2019-03-18 2021-04-27 创新先进技术有限公司 Narrow strip two-dimensional code, and generating and identifying method, device and equipment of narrow strip two-dimensional code
CN113420859A (en) * 2019-03-18 2021-09-21 创新先进技术有限公司 Two-dimensional code, and method, device and equipment for generating and identifying two-dimensional code
US11250230B2 (en) 2019-03-18 2022-02-15 Advanced New Technologies Co., Ltd. Narrow-strip 2-dimensional bar codes, methods, apparatuses, and devices for generating and identifying narrow-strip 2-dimensional bar codes
TWI756568B (en) * 2019-03-18 2022-03-01 開曼群島商創新先進技術有限公司 Narrow two-dimensional code, narrow two-dimensional code generation, identification method, device and equipment
JP2022524675A (en) * 2019-03-18 2022-05-10 アドバンスド ニュー テクノロジーズ カンパニー リミテッド Elongated 2D barcodes, methods, devices, and devices for generating and identifying elongated 2D barcodes
US11699053B2 (en) 2019-03-18 2023-07-11 Advanced New Technologies Co., Ltd. Narrow-strip 2-dimensional bar codes, methods, apparatuses, and devices for generating and identifying narrow-strip 2-dimensional bar codes

Similar Documents

Publication Publication Date Title
EP2309426B1 (en) Two-dimensional bar code encoding method, decoding method and device, terminal
US9355344B2 (en) Customizing barcode images for particular displays
US9996780B2 (en) Specific bar code and forming method of the same
US5473151A (en) Dynamically variable machine readable binary code and method for reading and producing thereof
CN105447546A (en) Two-dimensional code capable of being embedded with large-ratio graph as well as coding and decoding method and device therefor
US4959868A (en) Image processing system
CN105718979B (en) A method of generating two-dimension code image
US20210303959A1 (en) Methods and arrangements for reconciling data from disparate data carriers
GB2446424A (en) Two dimensional bar code with locating symbols
CN102799850A (en) Bar code recognition method and device
CN103530669A (en) Data information two-dimensional code encoding method
CN103632182A (en) Three-dimensional (3D) image code generating and analyzing methods and device thereof
CN105718980B (en) A method of generating two-dimension code image
US9946965B2 (en) Encoding method and decoding method for two-dimensional barcode and electronic device
Hou et al. QR code image detection using run-length coding
CN106250941A (en) Quick Response Code processing method, Apparatus and system
CN101937517B (en) Network-based commodity anti-counterfeiting two-dimensional code redundancy design method
CN108875874A (en) A kind of method of simplified cyber anti-fake two-dimension code Redundancy Design
CN102013030A (en) Two-dimension code anti-counterfeit method based on network
KR102085561B1 (en) QR code forgery prevention apparatus and method
CN101937518A (en) Network-based commodity anti-counterfeit two-dimensional bar code design method
US11755858B2 (en) System and method for extracting a computer readable code from a captured image of a distribution item
CN101833645A (en) Bar code decoding method based on code word combination
CN107451641A (en) A kind of Quick Response Code and its generation method
CN101908133B (en) Method and device for decoding bar 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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20181123