KR20120029040A - Apparatus and method for 2d barcode anti-counterfeiting based on watermark - Google Patents
Apparatus and method for 2d barcode anti-counterfeiting based on watermark Download PDFInfo
- Publication number
- KR20120029040A KR20120029040A KR1020100090836A KR20100090836A KR20120029040A KR 20120029040 A KR20120029040 A KR 20120029040A KR 1020100090836 A KR1020100090836 A KR 1020100090836A KR 20100090836 A KR20100090836 A KR 20100090836A KR 20120029040 A KR20120029040 A KR 20120029040A
- Authority
- KR
- South Korea
- Prior art keywords
- pattern
- watermark
- dimensional barcode
- data
- code
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
Abstract
Description
The present invention relates to an apparatus and method for preventing forgery of two-dimensional barcodes.
In recent years, the number of forgery and alteration of official documents is increasing rapidly. The forms of forgery and tampering are so precise that they falsify almost the same, even fluorescent ink or official seals on photographs printed on passports. Two-dimensional barcodes and digital watermarks are used to prevent such forgery and tampering.
Watermarking technology has been applied to the digital content field since 1990. As digital contents are easily copied, modified, and distributed due to the development of the Internet and technology, problems such as copyright infringement, illegal copying and counterfeiting have occurred. To address this problem, digital watermarking has been developed that protects copyrights by hiding information about suppliers, users or buyers in the content itself. To prevent forgery, digital watermarking technology creates invisible patterns at specific locations, such as whole paper or next to a bar code, and copies them in color or black and white so that the letters that were not in the original appear on the copy. In addition to digital watermarks, special inks may be used. However, watermarked paper or printers require space for output, and do not prevent direct forgery and tampering of barcodes.
The present invention provides an anti-counterfeiting apparatus and method using a watermark-based two-dimensional barcode with a watermark inserted so that a forgery pattern appears on the barcode when the barcode is arbitrarily copied or scanned.
In addition, the present invention provides an anti-counterfeiting apparatus and method using a watermark-based two-dimensional bar code that can quickly respond to security events by changing the pattern code of the bar code.
The present invention also provides an apparatus and method for preventing forgery using a watermark-based two-dimensional barcode that encrypts data using a start position of a pattern stored in a pattern code of a barcode, area division of data, and a pattern extraction order.
In one aspect, an anti-counterfeiting apparatus using a watermark-based two-dimensional bar code includes a codeword conversion unit for converting the received data into a codeword, an error verification code generation unit for generating an error verification code for error verification of the codeword, A storage pattern determination unit which determines a pattern in which the codeword and the error verification code are stored in a pattern code table, a data matrix generation unit which generates a data matrix by rearranging the error verification code and the codeword according to the determined pattern; And a two-dimensional barcode generator for generating a two-dimensional barcode by inserting a watermark pattern using a minimum noticeable difference (JND) into the data matrix.
The storage pattern determination unit may include a pattern code selection unit that randomly selects a pattern code from the pattern code table, and may determine a pattern in which the codeword and the error verification code are stored based on the pattern code.
The data matrix may include a pattern code position part including a storage order of a pattern in which the codeword is stored and a pattern code for a codeword assigned to a data area, and a pattern error part including information on the error verification code. have.
The pattern error part may be located in the data area of the data matrix.
The data matrix may include restriction information for restricting whether the data area is forged or not.
The two-dimensional barcode generation unit may insert the watermark formed of a loss pattern by adjusting a gap and a color of a pattern in a predetermined region of the data matrix.
The two-dimensional barcode generation unit may insert the watermark in the data area of the data matrix such that the net loss pattern has a predetermined ratio or a predetermined number.
In another aspect, the anti-counterfeiting apparatus using a watermark based two-dimensional barcode may further include a pattern code storage unit for storing the pattern code table.
In another aspect, the anti-counterfeiting apparatus using a watermark based two-dimensional bar code may further include a watermark pattern storage unit for storing the watermark pattern inserted into the two-dimensional bar code.
In another aspect, the anti-counterfeiting apparatus using a watermark-based two-dimensional bar code is a reader for reading a watermark synthesized watermark using a minimum noticeable difference (JND), after the reading of the watermark A primary identification unit for identifying whether the barcode is forged by recognition or not, a data decoding unit for decoding the data of the data area according to a storage pattern based on the pattern code of the data matrix, and when the watermark is recognized, Comparing the original data and includes a secondary identification unit for identifying whether the forged bar code.
In another aspect, the anti-counterfeiting apparatus using a watermark based two-dimensional bar code may further include a loading unit for reading pattern information corresponding to the pattern code of the data matrix from a pattern code table.
In one aspect, a method for preventing forgery using a watermark-based two-dimensional bar code converts the received data into a codeword, generating an error verification code for error verification of the codeword, the codeword in a pattern code table Determining a pattern in which the error verification code is stored, relocating the error verification code and the codeword according to the determined pattern to generate a data matrix, and a minimum noticeable difference in the data matrix. Inserting a watermark pattern using the) to generate a two-dimensional barcode.
The generating of the two-dimensional barcode may include inserting the watermark formed of a loss pattern by adjusting a gap and a color of a pattern in a predetermined region of the data matrix.
The generating of the two-dimensional barcode may include inserting the watermark in the data area of the data matrix such that the net loss pattern has a predetermined ratio or a predetermined number.
In another aspect, the anti-counterfeiting method using a watermark-based two-dimensional barcode is scanning (reading) the two-dimensional barcode synthesized by the watermark using the minimum noticeable difference (JND), after the scanning (reading) First identifying whether the watermark is a forged bar code based on whether the watermark is recognized, or when the watermark is recognized, decoding data of a data area according to a storage pattern based on a pattern code of a data matrix and decoding the decoded data Comparing the data with the original data to second identify whether the barcode is a forged barcode.
The present invention can provide an anti-counterfeiting apparatus and method using a watermark-based two-dimensional barcode with a watermark inserted so that the forgery pattern appears on the barcode when the barcode is randomly copied or scanned.
In addition, the present invention can provide an anti-counterfeiting apparatus and method using a watermark-based two-dimensional bar code that can quickly respond to security events by changing the pattern code of the bar code.
In addition, the present invention can provide an anti-counterfeiting apparatus and method using a watermark based two-dimensional bar code for encrypting data using the start position of the pattern stored in the pattern code of the bar code, the area division of the data, and the pattern extraction order.
1 is a block diagram of an apparatus for preventing watermark based two-dimensional barcode forgery according to an embodiment of the present invention.
2 illustrates a data matrix according to an embodiment of the present invention.
3 is a view showing a pattern according to an embodiment of the present invention.
4 is a diagram for explaining a minimum identification difference.
5 is a diagram illustrating a loss pattern of a watermark according to an embodiment of the present invention.
6 is a diagram illustrating a two-dimensional barcode using a net loss pattern according to an embodiment of the present invention.
Figure 7 is a block diagram of a watermark based two-dimensional barcode forgery prevention device according to another embodiment of the present invention.
8 is a view showing a result of scanning a two-dimensional bar code according to an embodiment of the present invention.
9 is a flowchart illustrating a watermark based two-dimensional bar code forgery prevention method according to an embodiment of the present invention.
10 is a flowchart illustrating a watermark based two-dimensional barcode forgery prevention method according to another embodiment of the present invention.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
1 is a block diagram of an apparatus for preventing watermark based two-dimensional barcode forgery according to an embodiment of the present invention.
Referring to FIG. 1, a watermark-based two-dimensional barcode forgery prevention apparatus according to an embodiment of the present invention includes a
The
The error verification
The storage
The storage pattern determiner 130 may include a pattern code selector (not shown). The pattern code selecting unit (not shown) may randomly select the pattern code from the pattern code table. The pattern code table stores information about the pattern. The pattern code table may mean a database of patterns classified by a pattern code. The pattern code means an identification code for distinguishing a pattern from the pattern code table. If there are eight patterns in the pattern code table, the pattern code may be represented by three bits. In the pattern code selection unit (not shown), the pattern code may be arbitrarily selected by the user, or may be randomly selected. The storage
The pattern
The
The data matrix may include a pattern
In addition, the data matrix may include restriction information for restricting whether the data region is forged. The restriction information may include information about whether the pattern code table is a one-time use, the number of times the encrypted data can be decrypted, the period in which the data can be decrypted, and the access authority.
The two-
The two-dimensional
The two-dimensional
The watermark
2 illustrates a data matrix according to an embodiment of the present invention.
Referring to FIG. 2, the structure of the data matrix may include a pattern
3 is a view showing a pattern according to an embodiment of the present invention.
3 illustrates an example 310 of a pattern that may be stored in a pattern code table. The pattern can be represented in two dimensions to place the codeword and error verification code at corresponding locations in the data matrix. Depending on the number of
4 is a diagram for explaining a minimum identification difference.
Copiers and scanners are difficult to adjust the same pattern as the original data. Copiers and scanners use two-dimensional scanning using a line CCD (line CCD) sensor, making it difficult to match an object with an array. The pattern of the original data is blurred in the course of passing through the line CCD sensor and scanned in discrete patterns. As a result, the sharpness is lower than the pattern of the original data.
The human visual system can only recognize the difference between two objects. At this time, any difference is called a minimum notice difference (JND). The minimum discrimination difference is measured with a change in luminescence value and expressed as a percentage. Expressed as an expression: Minimum Discrimination Difference = ΔI / I * 100, where I is the intensity of the luminescent component that is the intensity of the image, and ΔI represents the change in intensity.
Referring to FIG. 4, the inner circle in the rectangle is divided into two parts, and the minimum discrepancy difference is changed from 1% to 4%. The
5 is a diagram illustrating a loss pattern of a watermark according to an embodiment of the present invention.
Referring to FIG. 5, various loss patterns may be made by adjusting the
6 is a diagram illustrating a two-dimensional barcode using a net loss pattern according to an embodiment of the present invention.
The watermark may be inserted by arranging various mesh patterns at specific positions and randomly placing the mesh patterns at the remaining positions. Referring to FIG. 6,
In addition, a watermark may be inserted by arranging a predetermined ratio or a predetermined number of net loss patterns in the entire area of the data matrix. The watermark pattern may be recognized through a pattern recognition algorithm. When a certain ratio or a certain number of loss patterns are recognized, this may indicate that the data is authenticated. Therefore, if the expected ratio or the expected number of loss patterns are not recognized, this may indicate that the data is forged.
Figure 7 is a block diagram of a watermark based two-dimensional barcode forgery prevention device according to another embodiment of the present invention.
Referring to FIG. 7, the apparatus for preventing watermark-based two-dimensional barcode forgery according to another embodiment of the present invention may include a
The
After reading, the
When the watermark is recognized, the
The
The
Watermark-based two-dimensional barcode anti-counterfeiting apparatus according to another embodiment of the present invention is a device for determining whether the watermark inserted two-dimensional barcode forgery. First, it is determined whether a watermark pattern using a minimum discrimination difference has been inserted. If a watermark pattern is inserted, it is determined whether or not the data is encrypted by decrypting the data encrypted by a specific pattern to match the original data. To identify.
8 is a view showing a result of scanning a two-dimensional bar code according to an embodiment of the present invention.
Referring to FIG. 8, (a) (b) (c) shows an original, a primary scan copy, and a secondary scan copy of a watermark-based two-dimensional barcode according to an embodiment of the present invention. (d) (e) (f) shows the original, primary scan, and secondary scan of the existing barcode. As the scan proceeds, the watermark-based two-dimensional barcode and the conventional barcode according to an embodiment of the present invention are inferior in sharpness while passing through the line CCD sensor. However, existing barcodes are only generated when the barcode symbol is blurred, so it is difficult to check whether they are copied, and since they are rectangular solid colors, they can be easily restored using an image editing tool.
As the watermark based two-dimensional barcode according to an embodiment is scanned, the pattern in the symbol disappears or is deformed and can be easily identified with the naked eye. In addition, this phenomenon can be used to accurately check forgery with a device such as a scanner. When forging a result of scanning a watermark-based two-dimensional barcode according to an embodiment with an image tool, it is not easy to consider the exact symbol position, interval within a symbol, color, and the like. In addition, as the amount of data to be stored increases, the number of symbols in the barcode increases as well, making it difficult to forge.
9 is a flowchart illustrating a watermark based two-dimensional bar code forgery prevention method according to an embodiment of the present invention.
In
In
In
In
In
10 is a flowchart illustrating a watermark based two-dimensional barcode forgery prevention method according to another embodiment of the present invention.
In
In
In
In
In
In
Methods according to an embodiment of the present invention can be implemented in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts.
As described above, the present invention has been described by way of limited embodiments and drawings, but the present invention is not limited to the above embodiments, and those skilled in the art to which the present invention pertains various modifications and variations from such descriptions. This is possible.
Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the claims below but also by the equivalents of the claims.
Claims (15)
An error verification code generation unit for generating an error verification code for error verification of the codeword;
A storage pattern determination unit determining a pattern in which the codeword and the error verification code are stored in a pattern code table;
A data matrix generator for rearranging the error verification code and the codeword according to the determined pattern to generate a data matrix; And
Two-dimensional barcode generation unit for generating a two-dimensional barcode by inserting a watermark pattern using the minimum noticeable difference (JND) in the data matrix
Watermark-based two-dimensional barcode forgery prevention device comprising a.
The storage pattern determination unit
A pattern code selection unit for randomly selecting a pattern code from the pattern code table;
Determining a pattern in which the codeword and the error verification code are stored based on the pattern code
Watermark based two-dimensional barcode anti-counterfeiting device.
The data matrix is
A pattern code positioner including a storage order of a pattern in which the codeword is stored and a pattern code for a codeword assigned to a data area; And
Pattern error unit including information on the error verification code
Watermark-based two-dimensional barcode forgery prevention device comprising a.
The pattern error part
The watermark based two-dimensional bar code anti-counterfeiting apparatus, characterized in that located in the data area of the data matrix.
The data matrix is
Restriction information that allows you to make limited checks of forgery in the data layer
Watermark-based two-dimensional barcode forgery prevention device comprising a.
The two-dimensional barcode generation unit
Inserting the watermark consisting of a mesh pattern by adjusting the spacing and color of the pattern in a predetermined region of the data matrix
Watermark based two-dimensional barcode anti-counterfeiting device.
The two-dimensional barcode generation unit
Inserting the watermark in the data area of the data matrix such that the loss pattern has a predetermined ratio or a predetermined number;
Watermark based two-dimensional barcode anti-counterfeiting device.
Pattern code storage unit for storing the pattern code table
Watermark-based two-dimensional barcode forgery prevention device further comprising.
Watermark pattern storage unit for storing the watermark pattern inserted in the two-dimensional barcode
Watermark-based two-dimensional barcode forgery prevention device further comprising.
A primary identification unit for identifying whether the barcode is forged according to whether the watermark is recognized after the reading;
A data decoding unit decoding the data of the data area according to a storage pattern based on a pattern code of a data matrix when the watermark is recognized; And
Secondary identification unit for identifying whether the forged bar code by comparing the decoded data and the original data
Watermark-based two-dimensional barcode forgery prevention device comprising a.
A loading unit for loading pattern information corresponding to the pattern code of the data matrix from a pattern code table
Watermark-based two-dimensional barcode forgery prevention device further comprising.
Generating an error verification code for error verification of the codeword;
Determining a pattern in which the codeword and the error verification code are stored in a pattern code table;
Rearranging the error verification code and the codeword according to the determined pattern to generate a data matrix; And
Generating a two-dimensional barcode by inserting a watermark pattern using a minimum noticeable difference (JND) into the data matrix;
Watermark-based two-dimensional barcode forgery prevention method comprising a.
The step of generating the two-dimensional barcode
Inserting the watermark consisting of a mesh pattern by adjusting the spacing and color of the pattern in a predetermined region of the data matrix
Watermark based two-dimensional barcode forgery prevention method.
The step of generating the two-dimensional barcode
Inserting the watermark in the data area of the data matrix such that the loss pattern has a predetermined ratio or a predetermined number;
Watermark based two-dimensional barcode forgery prevention method.
After the scanning (reading), first identifying whether the barcode is forged by whether the watermark is recognized or not;
If the watermark is recognized, decoding data of a data area according to a storage pattern based on a pattern code of a data matrix; And
Comparing the decoded data with the original data to identify whether the barcode is a forged barcode;
Watermark-based two-dimensional barcode forgery prevention method comprising a.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20100090836A KR101148278B1 (en) | 2010-09-16 | 2010-09-16 | Apparatus and method for 2d barcode anti-counterfeiting based on watermark |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20100090836A KR101148278B1 (en) | 2010-09-16 | 2010-09-16 | Apparatus and method for 2d barcode anti-counterfeiting based on watermark |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20120029040A true KR20120029040A (en) | 2012-03-26 |
KR101148278B1 KR101148278B1 (en) | 2012-05-25 |
Family
ID=46133601
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR20100090836A KR101148278B1 (en) | 2010-09-16 | 2010-09-16 | Apparatus and method for 2d barcode anti-counterfeiting based on watermark |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101148278B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190127795A (en) * | 2017-03-24 | 2019-11-13 | 필립모리스 프로덕츠 에스.에이. | Method and apparatus for cartridge authentication in electronic vaporizing device or electronic cigarette |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100405828B1 (en) * | 2002-02-01 | 2003-11-14 | 주식회사 마크애니 | Apparatus and method for producing a document which is capable of preventing a forgery or an alteration of itself, and apparatus and method for authenticating the document |
KR100491649B1 (en) * | 2003-04-07 | 2005-05-27 | 주식회사 에스엠티 | Insertion and detecting system of multi-dimension barcode and the control method |
-
2010
- 2010-09-16 KR KR20100090836A patent/KR101148278B1/en active IP Right Grant
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190127795A (en) * | 2017-03-24 | 2019-11-13 | 필립모리스 프로덕츠 에스.에이. | Method and apparatus for cartridge authentication in electronic vaporizing device or electronic cigarette |
US11758940B2 (en) | 2017-03-24 | 2023-09-19 | Altria Client Services Llc | Methods and devices for cartridge authentication |
Also Published As
Publication number | Publication date |
---|---|
KR101148278B1 (en) | 2012-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10373033B2 (en) | Two dimensional barcode and method of authentication of such barcode | |
JP7093352B2 (en) | Composite 2D barcodes, digital certificate media, generators, readers and methods | |
CA2504299C (en) | System and method for decoding digital encoded images | |
RU2477522C2 (en) | Method and apparatus for protecting documents | |
JP4745252B2 (en) | An improved technique for detecting, analyzing and using visible authentication patterns | |
US8320607B2 (en) | Image processing method and image processing device for embedding invisible sub information into main images | |
US8385592B2 (en) | Digital watermarking system and method | |
US8705736B2 (en) | Image encryption for print-and-scan channels using pixel position permutation | |
WO2002065383A1 (en) | Document printed with graphical symbols which encode information | |
US8175323B2 (en) | Image processing method and image processing apparatus | |
CN1691087B (en) | System and method for decoding digital coding image | |
JP2009130911A (en) | Paper, and method of producing paper | |
KR101148278B1 (en) | Apparatus and method for 2d barcode anti-counterfeiting based on watermark | |
US20160355043A1 (en) | System and method for production and verification of counterfeit-protected banknotes | |
KR101339306B1 (en) | Security document | |
JP2007006134A (en) | Image forming method, information embedding method, information embedding device, information decoding method, and information decoding device | |
Tuncer et al. | A watermarking application for authentication of Holy Quran | |
Geetha et al. | Recent Watermarking Patents of Digimarc Corporation: The Period between March’12-June ‘12 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20150417 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20160325 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20170327 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20180406 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20190807 Year of fee payment: 8 |