CN115860033B - Anti-counterfeiting method and device for color partition micro-point code mark capable of classifying and identifying counterfeiting - Google Patents

Anti-counterfeiting method and device for color partition micro-point code mark capable of classifying and identifying counterfeiting Download PDF

Info

Publication number
CN115860033B
CN115860033B CN202310046378.4A CN202310046378A CN115860033B CN 115860033 B CN115860033 B CN 115860033B CN 202310046378 A CN202310046378 A CN 202310046378A CN 115860033 B CN115860033 B CN 115860033B
Authority
CN
China
Prior art keywords
micro
code
image
point
point code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310046378.4A
Other languages
Chinese (zh)
Other versions
CN115860033A (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.)
Shandong Taibao Information Technology Group Co ltd
Shanghai Zhongshang Label Manufacturing Co ltd
Beijing Microdot Science And Technology Co ltd
Original Assignee
Shandong Taibao Information Technology Group Co ltd
Shanghai Zhongshang Label Manufacturing Co ltd
Beijing Microdot Science And 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 Shandong Taibao Information Technology Group Co ltd, Shanghai Zhongshang Label Manufacturing Co ltd, Beijing Microdot Science And Technology Co ltd filed Critical Shandong Taibao Information Technology Group Co ltd
Priority to CN202310046378.4A priority Critical patent/CN115860033B/en
Publication of CN115860033A publication Critical patent/CN115860033A/en
Application granted granted Critical
Publication of CN115860033B publication Critical patent/CN115860033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Printing Methods (AREA)

Abstract

The invention provides an anti-counterfeiting method and device for a color partition micro-point code mark capable of classifying and identifying counterfeiting, comprising the following steps: randomly generating a two-dimensional code value and a color distribution number corresponding to the two-dimensional code value; generating an image of the color two-dimensional code according to the two-dimensional code value and the color distribution number; obtaining a micro-point code value according to a micro-point code transmitting system; determining the side length and the readable area of the micro-point code points of the universal detection area according to the side length of the two-dimensional code module; generating a first image of a micro-point code based on the micro-point code value according to the side length and the readable area of the micro-point code point of the universal detection area; generating a second image of the micro-point code around the first image of the micro-point code according to the micro-point code value and the side length and the readable area of the micro-point code point of the inspection detection area; and combining the image of the color two-dimensional code, the first image of the micro-point code and the second image of the micro-point code. The method can solve the problem of easy imitation of the color two-dimensional code, and can help consumers to detect rapidly.

Description

Anti-counterfeiting method and device for color partition micro-point code mark capable of classifying and identifying counterfeiting
Technical Field
The invention relates to the technical field of anti-counterfeiting, in particular to an anti-counterfeiting method and device for a color partition micro-point code mark capable of classifying and identifying counterfeiting.
Background
One-object one-code anti-counterfeiting label on the common market is developed by combining multiple groups of dynamic data with a mode of guiding consumers to check comparison pictures, wherein a mainstream and attractive scheme is a color two-dimensional code, and a double digital verification principle is adopted. However, the color two-dimensional code has the defects of easy copying, easy forging, poor anti-counterfeiting performance and the like, and the special code with the copy prevention capability has extremely strong copying property and concealment, so that consumers are difficult to easily perceive where the mobile phone applet should be used. It is difficult to meet the requirement that the consumer is helped to reliably detect whether the purchased commodity label is a counterfeit product or not within 20 seconds by utilizing a mobile phone applet under the current popularization age of the smart phone.
Disclosure of Invention
The embodiment of the invention aims to provide an anti-counterfeiting method and device based on a color partition micro-point code mark capable of being identified in a grading manner, which not only can solve the problem that a color two-dimensional code is easy to imitate, but also can help consumers to detect rapidly.
In order to achieve the above object, an embodiment of the present invention provides an anti-counterfeit method for a color partition micro-point code mark capable of classifying and authenticating, the method comprising: randomly generating a two-dimensional code value and a color distribution number corresponding to the two-dimensional code value; generating a color two-dimensional code image according to the two-dimensional code value and the color distribution number, wherein the color two-dimensional code image comprises at least one color area and consists of a plurality of square two-dimensional code modules with the same side length; obtaining a micro-point code value according to a micro-point code transmitting system; determining the side length and the readable area of the micro-point code points of the universal detection area according to the side length of the two-dimensional code module, so that the micro-point code of the universal detection area does not influence the readability of the image of the two-dimensional code; generating a first image of the micro-point code based on the micro-point code value according to the side length and the readable area of the micro-point code point of the universal detection area; setting the side length and readable area of the micro-point code points of the inspection detection area; generating a second image of the micro-point code around the first image of the micro-point code according to the micro-point code value and the side length and the readable area of the micro-point code point of the inspection detection area; combining the image of the color two-dimensional code, the first image of the micro-point code and the second image of the micro-point code, wherein the first image of the micro-point code is overlapped on the image of the color two-dimensional code to form a universal detection area, and the corresponding relation between the image of the color two-dimensional code and the first image of the micro-point code is stored for correlation verification when a consumer inquires; and forming an inspection detection area around the universal detection area through the second image of the micro-point code, and storing the corresponding relation between the image of the color two-dimensional code and the second image of the micro-point code for inspection and confirmation by inspection personnel during inspection.
Preferably, the determining the side length and the readable area of the micro-point code point of the universal detection area according to the side length of the two-dimensional code module so that the micro-point code of the universal detection area does not affect the readability of the image of the two-dimensional code includes: the side length of the two-dimensional code module, the side length of the micro-point code point of the universal detection area and the readable area meet the following relation:
(W²/R²)*w²<W²/2
wherein W is the side length of the two-dimensional code module, R is the readable area of the micro-point code point of the universal detection area, and W is the side length of the micro-point code point of the universal detection area.
Preferably, the gray value of each color of at least one color region of the image of the color two-dimensional code is greater than or equal to 20 and less than or equal to 200, and the gray value of the image of the micro-point code is less than 20.
Preferably, the image of the color two-dimensional code is colored in a CMYK mode, the color areas are four, and the colors are C100Y100, C100Y30, C100Y60 and C100 respectively.
Preferably, the side length median of the micro-point code points of the universal detection area is 50-200 microns, and the side length median of the micro-point code points of the inspection area is 10-50 microns.
The embodiment of the invention also provides an anti-counterfeiting device of the color partition micro-point code mark capable of classifying and identifying counterfeiting, which comprises: the device comprises a two-dimensional code parameter acquisition unit, a two-dimensional code image generation unit, a micro-point code parameter acquisition unit, a micro-point code image generation unit and a merging unit, wherein the two-dimensional code parameter acquisition unit is used for randomly generating a two-dimensional code value and a color distribution number corresponding to the two-dimensional code value; the two-dimensional code image generating unit is used for generating an image of a color two-dimensional code according to the two-dimensional code value and the color distribution number, wherein the image of the color two-dimensional code comprises at least one color area and consists of a plurality of square two-dimensional code modules with the same side length; the micro-point code parameter acquisition unit is used for acquiring a micro-point code value according to the micro-point code transmitting system; the micro point code image generating unit is used for: determining the side length and the readable area of the micro-point code points of the universal detection area according to the side length of the two-dimensional code module, so that the micro-point code of the universal detection area does not influence the readability of the image of the two-dimensional code; generating a first image of the micro-point code based on the micro-point code value according to the side length and the readable area of the micro-point code point of the universal detection area; setting the side length and readable area of the micro-point code points of the inspection detection area; generating a second image of the micro-point code around the first image of the micro-point code according to the micro-point code value and the side length and the readable area of the micro-point code point of the inspection detection area; the merging unit is used for merging the image of the color two-dimensional code, the first image of the micro-point code and the second image of the micro-point code, wherein the first image of the micro-point code is overlapped on the image of the color two-dimensional code to form a universal detection area, and the corresponding relation between the image of the color two-dimensional code and the first image of the micro-point code is stored for correlation verification when a consumer inquires; and forming an inspection detection area around the universal detection area through the second image of the micro-point code, and storing the corresponding relation between the image of the color two-dimensional code and the second image of the micro-point code for inspection and confirmation by inspection personnel during inspection.
Preferably, the micro point code image generating unit is configured to: the side length of the two-dimensional code module, the side length of the micro-point code point of the universal detection area and the readable area meet the following relation:
(W²/R²)*w²<W²/2
wherein W is the side length of the two-dimensional code module, R is the readable area of the micro-point code point of the universal detection area, and W is the side length of the micro-point code point of the universal detection area.
Preferably, the gray value of each color of at least one color region of the image of the color two-dimensional code is greater than or equal to 20 and less than or equal to 200, and the gray value of the image of the micro-point code is less than 20.
Preferably, the image of the color two-dimensional code is colored in a CMYK mode, the color areas are four, and the colors are C100Y100, C100Y30, C100Y60 and C100 respectively.
Preferably, the side length median of the micro-point code points of the universal detection area is 50-200 microns, and the side length median of the micro-point code points of the inspection area is 10-50 microns.
According to the technical scheme, the anti-counterfeiting method and the anti-counterfeiting device for the color partition micro-point code mark with the grading false discrimination are adopted, the universal detection area and the inspection detection area are arranged, the color two-dimensional code and the micro-point code which are mutually not affected and read exist in the universal detection area, and on the basis of being difficult to copy, a consumer can quickly find out where to scan and can quickly detect; the inspection detection area comprises micro-point codes, so that inspection personnel can use professional equipment to conduct inspection.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain, without limitation, the embodiments of the invention. In the drawings:
FIG. 1 is a flow chart of a method for providing a scalable counterfeit deterrence of color partitioned micro-point code identifiers according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a universal detection zone according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a universal detection zone and a audit detection zone according to an embodiment of the present invention;
fig. 4 is a block diagram of an anti-counterfeit device with color partition micro-point code identification for scalable counterfeit authentication according to an embodiment of the present invention.
Description of the reference numerals
1. Two-dimensional code parameter acquisition unit 2 two-dimensional code image generation unit
3. Micro-point code parameter acquisition unit 4 micro-point code image generation unit
5. Merging unit
Detailed Description
The following describes the detailed implementation of the embodiments of the present invention with reference to the drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the invention, are not intended to limit the invention.
Fig. 1 is a flowchart of an anti-counterfeit method of a color partition micro-point code mark with a scalable counterfeit authentication according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step S101, randomly generating a two-dimensional code value and a color distribution number corresponding to the two-dimensional code value;
and generating a random two-dimension code value which is not repeated with the two-dimension code value already generated in the database according to a random algorithm, and ensuring that each commodity marked by the two-dimension code has a unique digital identity card. In addition, color distribution numbers corresponding to the two-dimensional code values are generated according to a random algorithm, so that the color distribution numbers of each two-dimensional code value are different, the batch copying cannot be realized, and the counterfeiting difficulty is improved.
Step S102, generating a color two-dimensional code image according to the two-dimensional code value and the color distribution number, wherein the color two-dimensional code image comprises at least one color area and consists of a plurality of square two-dimensional code modules with the same side length;
based on the unique non-repeated two-dimensional code value, a black-and-white two-dimensional code image is generated according to an open source standard two-dimensional code coding algorithm and is used as a data source for printing the color two-dimensional code to be input.
The color distribution numbers are used for coloring the areas of the images of the two-dimension codes to generate the images of the color two-dimension codes, the anti-counterfeiting technology is improved by using the anti-counterfeiting labels of the color two-dimension codes, and the common printing factories cannot print the variable-color two-dimension code labels, so that the counterfeiting cost and the counterfeiting difficulty of counterfeiters are effectively increased.
The color of the image of the color two-dimensional code is preferably not less than 20 and not more than 200 in gray scale value. At the same time, the overall average gray level of all the areas with different colors is not less than 20 and not more than 200. The Gray scale of the color can be calculated according to the known formula gray=Rx0.299+Gx0.587+Bx0.114 to verify that the Gray scale of each area of one or more color partitions of the color two-dimensional code and the average Gray scale of the whole two-dimensional code are both obviously contrast compared with the printing base material, and can be distinguished from micro-point codes with the Gray scale of about 0-20, and the binarization in key links which do not affect the reading is realized when the micro-point codes are mutually overlapped. The two-dimensional code module is relatively large and can be read in a color mode by utilizing relatively small code points of the micro-point code, so that the problem that two-dimensional codes which are similar in area scale and depend on the gray level binarization principle cannot be mutually compatible is solved greatly.
The coloring area of the image of the color two-dimensional code may be one or more areas, and preferably four areas of the image of the two-dimensional code are colored according to the color distribution number. In the embodiment of the invention, the coloring is preferably performed in a CMYK mode, so that the color can be better distinguished from micro-point code points. Pure red and yellow are avoided during CMYK color selection, acquisition efficiency and experience sense are prevented from being influenced, and dark color system colors (K100, M100C100 and M100Y 100) are avoided, so that when the micro-point code and the two-dimensional code are overlapped, the recognition of the micro-point code is prevented from being influenced by the dark color.
The color two-dimensional code is colored according to the color distribution number, and preferably, the color range can be C100YN (1 < N < 33): preferably 30, just between 1 and 60; c100YM: (Nmax < M < 100): preferably 60, just between 30 and 100. The gray level can be ensured to be enough to be convenient for reading, and the consumer can conveniently distinguish light green and medium green from chromatic aberration. Preferably, C100Y100, C100Y30, C100Y60 and C100 are used for coloring four areas, so that color replacement of the two-dimensional code is finished, the color is convenient for people to read, and the color is compatible with online acquisition of an industrial vision camera.
Step S103, obtaining a micro-point code value according to a micro-point code transmitting system;
the micro-point code is a sparse dot matrix code with high robustness, and is an encoding algorithm and a decoding algorithm without open source, the code diagram can not be read by other open source code system decoding algorithms, compared with the traditional dense two-dimensional code which converts code values into binary 1 and 0 and respectively arranges the binary 1 and the binary 0 in a deep and shallow code point form, the code value of the micro-point code is converted into binary data, and a clear gap with more than or equal to 1 data position exists between the binary data and the data, and the code value can be a character string of any character codes.
The random additional point figure safety code physical identification manufactured by the micro point code supports the robustness of more than 90% in 20mm x 20mm, supports the decoding still from the pollution to the whole area of any 3mm x 3mm, still has 15% fault tolerance in the minimum readable area of 3mm x 3mm, and supports the reading still under the interference figure beyond the linear, bulk and special-shaped code points. The lattice code system meeting the robustness condition provides powerful guarantee for embedding the anti-counterfeiting characteristics with enough quantity, area and position independence.
According to the embodiment of the invention, the micro-point code value is obtained according to the micro-point code transmitting system, and the micro-point code value is unique and non-repeatable.
Step S104, determining the side length and the readable area of the micro-point code points of the universal detection area according to the side length of the two-dimensional code module, so that the micro-point code of the universal detection area does not influence the readability of the image of the two-dimensional code;
the side length of the two-dimensional code module is calculated according to a two-dimensional code disclosure algorithm (if the side length of a two-dimensional code area is 15000 micrometers and the two-dimensional code area is transversely or longitudinally arranged by 29 two-dimensional code modules, the side length of the two-dimensional code module is 15000/29 approximately 500 micrometers), and the side length and the readable area of the micro-point code points of the universal detection area satisfy the following relations:
(W²/R²)*w²<W²/2
wherein W is the side length of the two-dimensional code module, R is the readable area of the micro-point code point of the universal detection area, and W is the side length of the micro-point code point of the universal detection area.
Through the formula, one or more groups of W and R can be calculated, and the readability of the two-dimensional code can not be affected by the micro-point code even if the micro-point code and the two-dimensional code are overlapped by using the W and the R. The side length of the two-dimensional code module is preferably 4 times of the side length of the micro-point code point.
Step S105, generating a first image of the micro-point code based on the micro-point code value according to the side length and the readable area of the micro-point code point of the universal detection area;
wherein, the readable area of the micro-point code point refers to: for a common mobile phone camera, after focusing can be successfully completed within a focusing distance (1-20 cm according to the known method) and image acquisition is performed (namely under the condition of clear images), the code points at different positions can be distinguished to be 2 code points instead of 1 code point in a pixel area in the image, the printing physical area after the micro-point code points are distinguished, the common code point is lower than 10 microns, and most of images acquired by the mobile phone camera are difficult to distinguish whether the code point exists. Specifically, in order to ensure that the number of code points can be accurately resolved, when generating the micro-point code, firstly, the readable areas (which may be square) of the readable areas are arranged by referring to the readable areas of the code points, and then, in each readable area, the code points are set according to the side lengths of the code points. Other methods for generating the micro-point code according to the micro-point code value and the like can refer to the disclosed prior art, and are not described herein.
In addition, as described above, the gray value of the image of the micro dot code is less than 20, and the image is printed in a dark color, preferably K100, which is easier to read. The average size of the micro-point code points of the universal detection area is preferably 100 micrometers, and the side length median of the micro-point code points is 50-200 micrometers. The size ensures that the micro-point code does not influence the color two-dimensional code in the aspect of industrial vision acquisition. Meanwhile, the size of the relative common micro-point code is increased and adjusted, so that the small program of the mobile phone of a consumer can be conveniently read. The smallest readable region (only so many regions are blocked elsewhere to accomplish decoding and reading of the micro-point code) has a diameter of n millimeters (1 < n < 3, n being a real number), preferably 2mm. The fault tolerance of the micro point code in the area is ensured to be more than 88%. The damage to the label by the blowby only left a complete 12% area (12 mm x 12mm stored 4 x 4mm, 16/144=11.11%) still enabled the dealer to trace back.
Step S106, setting the side length and readable area of the micro-point code points of the inspection detection area;
step S107, generating a second image of the micro-point code around the first image of the micro-point code according to the micro-point code value and the side length and readable area of the micro-point code point of the inspection detection area;
the method comprises the steps of checking the length of the micro-point code points of a detection area, setting the length of the micro-point code points to be 10-50 microns, wherein the length of the micro-point code points is almost invisible to naked eyes, a small program of an intelligent machine is difficult to read, an electrochemical aluminum screen technology is supported to be overlapped on the upper layer of digital printing ink, the aesthetic feeling and the high-grade sense of a label are enhanced, and meanwhile interference on micro-point code reading is introduced, so that the micro-point code reading can be realized as long as an arbitrary 4 mm-4 mm complete area is kept. The minimum readable area is supported to 2mm x 2mm. The inspection detection area consists of non-open source micro-point codes which can be read by a special reader PDA, supports arbitrary aesthetic pattern design, has the fault tolerance of more than 50% of blank area in the minimum readable area, and can support that more than 50% of color blocks on the background can still be read.
Step S108, combining the image of the color two-dimensional code, the first image of the micro-point code and the second image of the micro-point code, wherein the first image of the micro-point code is overlapped on the image of the color two-dimensional code to form a universal detection area, and the corresponding relation between the image of the color two-dimensional code and the first image of the micro-point code is stored for correlation verification when a consumer inquires; and forming an inspection detection area around the universal detection area through the second image of the micro-point code, and storing the corresponding relation between the image of the color two-dimensional code and the second image of the micro-point code for inspection and confirmation by inspection personnel during inspection.
And combining the image of the color two-dimensional code with the image of the micro-point code of the universal detection area, and outputting the image of the micro-point code of the inspection detection area as a printing image. And storing the image of the color two-dimensional code, and establishing a one-to-one correspondence between the color two-dimensional code value and the micro-point code value to a database. FIG. 2 is a schematic diagram of a universal detection area according to an embodiment of the present invention, where, as shown in FIG. 2, the universal detection area is composed of a color two-dimensional code and a micro-point code; fig. 3 is a schematic diagram of a universal detection area and an inspection detection area according to an embodiment of the present invention, where, as shown in fig. 3, the universal detection area is composed of a color two-dimensional code and a micro-point code, and the inspection detection area is composed of the micro-point code. The width of the universal detection area is generally between 9 and 18cm, the width of the whole mark is between 20 and 50cm, all other areas of the universal detection area are removed by the whole mark, and the distance from the boundary of the inspection detection area to the universal detection area is generally equal to the width of one half of the universal detection area.
The consumer can sweep the code to the current mark by using a WeChat sweep and a sweep, and the consumer is guided to enter anti-counterfeiting traceability verification; the intelligent mobile phone checking program obtains a two-dimensional code value through an image and a two-dimensional code open source algorithm, performs two-dimensional code value checking, and ensures the existence and state correctness of the code value; then the smart phone inspection program obtains the image content of the micro-point code through a specific algorithm, and verifies the micro-point code value to ensure the existence of the micro-point code value and the correctness of the association relation; then the intelligent mobile phone checking program inquires the original color two-dimensional code image corresponding to the database according to the micro-point code value; and finally, the consumer can compare the original color two-dimensional code image with the color distribution of the current mark so as to ensure the authenticity of the product marked by the current mark.
The auditing personnel scans the current mark by using a code scanning auditing program to guide the auditing personnel to enter auditing; the specific inspection program obtains the image content of the micro point code and the related data behind the micro point code, decodes the acquired image micro point code decoding algorithm to obtain the color two-dimensional code value, the image, the production and the logistics information which are related to the parallel network inquiry of the micro point code value, and displays the color two-dimensional code value, the image, the production and the logistics information on an interface for comparison and channel conflict inspection confirmation of a user; and finally, the auditing personnel inputs the information of the channel conflict products and the area and stores the channel conflict auditing historical data, so that the condition of the historical auditing can be traced back conveniently.
Fig. 4 is a block diagram of an anti-counterfeit device with color partition micro-point code identification for scalable counterfeit authentication according to an embodiment of the present invention. As shown in fig. 4, the apparatus includes: the device comprises a two-dimension code parameter acquisition unit 1, a two-dimension code image generation unit 2, a micro-point code parameter acquisition unit 3, a micro-point code image generation unit 4 and a merging unit 5, wherein the two-dimension code parameter acquisition unit 1 is used for randomly generating a two-dimension code value and a color distribution number corresponding to the two-dimension code value; the two-dimensional code image generating unit 2 is used for generating an image of a color two-dimensional code according to the two-dimensional code value and the color distribution number, wherein the image of the color two-dimensional code comprises at least one color area and consists of a plurality of square two-dimensional code modules with the same side length; the micro-point code parameter acquisition unit 3 is used for acquiring a micro-point code value according to a micro-point code transmitting system; the micro point code image generating unit 4 is configured to: determining the side length and the readable area of the micro-point code points of the universal detection area according to the side length of the two-dimensional code module, so that the micro-point code of the universal detection area does not influence the readability of the image of the two-dimensional code; generating a first image of the micro-point code based on the micro-point code value according to the side length and the readable area of the micro-point code point of the universal detection area; setting the side length and readable area of the micro-point code points of the inspection detection area; generating a second image of the micro-point code around the first image of the micro-point code according to the micro-point code value and the side length and the readable area of the micro-point code point of the inspection detection area; the merging unit 5 is configured to merge the image of the color two-dimensional code, the first image of the micro-point code, and the second image of the micro-point code, where the first image of the micro-point code is superimposed on the image of the color two-dimensional code to form a universal detection area, and store a correspondence between the image of the color two-dimensional code and the first image of the micro-point code for performing association verification when a consumer queries; and forming an inspection detection area around the universal detection area through the second image of the micro-point code, and storing the corresponding relation between the image of the color two-dimensional code and the second image of the micro-point code for inspection and confirmation by inspection personnel during inspection.
Preferably, the micro point code image generating unit 4 is configured to: the side length of the two-dimensional code module, the side length of the micro-point code point of the universal detection area and the readable area meet the following relation:
(W²/R²)*w²<W²/2
wherein W is the side length of the two-dimensional code module, R is the readable area of the micro-point code point of the universal detection area, and W is the side length of the micro-point code point of the universal detection area.
Preferably, the gray value of each color of at least one color region of the image of the color two-dimensional code is greater than or equal to 20 and less than or equal to 200, and the gray value of the image of the micro-point code is less than 20.
Preferably, the image of the color two-dimensional code is colored in a CMYK mode, the color areas are four, and the colors are C100Y100, C100Y30, C100Y60 and C100 respectively.
Preferably, the side length median of the micro-point code points of the universal detection area is 50-200 microns, and the side length median of the micro-point code points of the inspection area is 10-50 microns.
The above-mentioned anti-counterfeiting device of the color partition micro-point code mark with the grading discrimination is similar to the above-mentioned anti-counterfeiting method of the color partition micro-point code mark with the grading discrimination, and the detailed description is omitted.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (10)

1. An anti-counterfeiting method of a color partition micro-point code mark capable of classifying and identifying counterfeiting is characterized by comprising the following steps of:
randomly generating a two-dimensional code value and a color distribution number corresponding to the two-dimensional code value;
generating a color two-dimensional code image according to the two-dimensional code value and the color distribution number, wherein the color two-dimensional code image comprises at least one color area and consists of a plurality of square two-dimensional code modules with the same side length;
obtaining a micro-point code value according to a micro-point code transmitting system;
determining the side length and the readable area of the micro-point code points of the universal detection area according to the side length of the two-dimensional code module, so that the micro-point code of the universal detection area does not influence the readability of the image of the two-dimensional code;
generating a first image of the micro-point code based on the micro-point code value according to the side length and the readable area of the micro-point code point of the universal detection area;
setting the side length and readable area of the micro-point code points of the inspection detection area;
generating a second image of the micro-point code around the first image of the micro-point code according to the micro-point code value and the side length and the readable area of the micro-point code point of the inspection detection area;
combining the image of the color two-dimensional code, the first image of the micro-point code and the second image of the micro-point code, wherein the first image of the micro-point code is overlapped on the image of the color two-dimensional code to form a universal detection area, and the corresponding relation between the image of the color two-dimensional code and the first image of the micro-point code is stored for correlation verification when a consumer inquires; and forming an inspection detection area around the universal detection area through the second image of the micro-point code, and storing the corresponding relation between the image of the color two-dimensional code and the second image of the micro-point code for inspection and confirmation by inspection personnel during inspection.
2. The method for preventing counterfeiting of a color partition micro-point code mark according to claim 1, wherein determining the side length and the readable area of the micro-point code point of the universal detection area according to the side length of the two-dimensional code module so that the micro-point code of the universal detection area does not affect the readability of the image of the two-dimensional code comprises:
the side length of the two-dimensional code module, the side length of the micro-point code point of the universal detection area and the readable area meet the following relation:
(W²/R²)*w²<W²/2
wherein W is the side length of the two-dimensional code module, R is the readable area of the micro-point code point of the universal detection area, and W is the side length of the micro-point code point of the universal detection area.
3. The anti-counterfeiting method for the color partition micro-point code identification of the scalable counterfeit identification according to claim 1, wherein the gray value of each color of at least one color area of the image of the color two-dimensional code is more than or equal to 20 and less than or equal to 200, and the gray value of the image of the micro-point code is less than 20.
4. The anti-counterfeiting method for the color partition micro-point code mark with the scalable false authentication according to claim 1, wherein the image of the color two-dimensional code is colored in a CMYK mode, the color areas are four, and the colors are C100Y100, C100Y30, C100Y60 and C100 respectively.
5. The method for preventing counterfeit according to claim 1, wherein the micro-point code points of the universal detection area have a median of 50-200 microns on the side, and the micro-point code points of the inspection area have a median of 10-50 microns on the side.
6. A security device for a color-partitioned micro-point code label for scalable authentication, the device comprising:
a two-dimensional code parameter acquisition unit, a two-dimensional code image generation unit, a micro-point code parameter acquisition unit, a micro-point code image generation unit and a merging unit, wherein,
the two-dimension code parameter acquisition unit is used for randomly generating a two-dimension code value and a color distribution number corresponding to the two-dimension code value;
the two-dimensional code image generating unit is used for generating an image of a color two-dimensional code according to the two-dimensional code value and the color distribution number, wherein the image of the color two-dimensional code comprises at least one color area and consists of a plurality of square two-dimensional code modules with the same side length;
the micro-point code parameter acquisition unit is used for acquiring a micro-point code value according to the micro-point code transmitting system;
the micro point code image generating unit is used for:
determining the side length and the readable area of the micro-point code points of the universal detection area according to the side length of the two-dimensional code module, so that the micro-point code of the universal detection area does not influence the readability of the image of the two-dimensional code;
generating a first image of the micro-point code based on the micro-point code value according to the side length and the readable area of the micro-point code point of the universal detection area;
setting the side length and readable area of the micro-point code points of the inspection detection area;
generating a second image of the micro-point code around the first image of the micro-point code according to the micro-point code value and the side length and the readable area of the micro-point code point of the inspection detection area;
the merging unit is used for merging the image of the color two-dimensional code, the first image of the micro-point code and the second image of the micro-point code, wherein the first image of the micro-point code is overlapped on the image of the color two-dimensional code to form a universal detection area, and the corresponding relation between the image of the color two-dimensional code and the first image of the micro-point code is stored for correlation verification when a consumer inquires; and forming an inspection detection area around the universal detection area through the second image of the micro-point code, and storing the corresponding relation between the image of the color two-dimensional code and the second image of the micro-point code for inspection and confirmation by inspection personnel during inspection.
7. The apparatus for providing security of a color partitioned micro-point code mark with scalable authentication according to claim 6, wherein the micro-point code image generating unit is configured to:
the side length of the two-dimensional code module, the side length of the micro-point code point of the universal detection area and the readable area meet the following relation:
(W²/R²)*w²<W²/2
wherein W is the side length of the two-dimensional code module, R is the readable area of the micro-point code point of the universal detection area, and W is the side length of the micro-point code point of the universal detection area.
8. The anti-counterfeiting device according to claim 6, wherein the gray value of each color of at least one color area of the image of the color two-dimensional code is 20 or more and 200 or less, and the gray value of the image of the micro-point code is less than 20.
9. The anti-counterfeiting device according to claim 6, wherein the image of the color two-dimensional code is colored in a CMYK mode, the color areas are four, and the colors are C100Y100, C100Y30, C100Y60 and C100, respectively.
10. The security device of claim 6, wherein the micro-point code points of the universal detection area have a median of 50-200 microns on the side, and the micro-point code points of the inspection area have a median of 10-50 microns on the side.
CN202310046378.4A 2023-01-31 2023-01-31 Anti-counterfeiting method and device for color partition micro-point code mark capable of classifying and identifying counterfeiting Active CN115860033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310046378.4A CN115860033B (en) 2023-01-31 2023-01-31 Anti-counterfeiting method and device for color partition micro-point code mark capable of classifying and identifying counterfeiting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310046378.4A CN115860033B (en) 2023-01-31 2023-01-31 Anti-counterfeiting method and device for color partition micro-point code mark capable of classifying and identifying counterfeiting

Publications (2)

Publication Number Publication Date
CN115860033A CN115860033A (en) 2023-03-28
CN115860033B true CN115860033B (en) 2023-05-16

Family

ID=85657368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310046378.4A Active CN115860033B (en) 2023-01-31 2023-01-31 Anti-counterfeiting method and device for color partition micro-point code mark capable of classifying and identifying counterfeiting

Country Status (1)

Country Link
CN (1) CN115860033B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117745299A (en) * 2023-10-31 2024-03-22 北京国立信科技术有限公司 Two-dimensional code-based anti-counterfeiting method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103208067A (en) * 2013-03-13 2013-07-17 张小北 Anti-counterfeiting system and label forming method, embedding method, reading method, identifying method and ownership changing method thereof
CN103489026A (en) * 2013-09-24 2014-01-01 深圳市中选科技有限公司 Colorful two-dimension code, generating method and generating system thereof and printed article
WO2017133154A1 (en) * 2016-02-02 2017-08-10 程烨 Anti-counterfeit image generation method and device
WO2019179233A1 (en) * 2018-03-23 2019-09-26 阿里巴巴集团控股有限公司 Qr code identifying and reading method and apparatus, and device
CN115293311A (en) * 2022-10-08 2022-11-04 北京微点科学技术有限公司 Color watermark anti-counterfeiting method and device based on micro-point code

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103208067A (en) * 2013-03-13 2013-07-17 张小北 Anti-counterfeiting system and label forming method, embedding method, reading method, identifying method and ownership changing method thereof
CN103489026A (en) * 2013-09-24 2014-01-01 深圳市中选科技有限公司 Colorful two-dimension code, generating method and generating system thereof and printed article
WO2017133154A1 (en) * 2016-02-02 2017-08-10 程烨 Anti-counterfeit image generation method and device
WO2019179233A1 (en) * 2018-03-23 2019-09-26 阿里巴巴集团控股有限公司 Qr code identifying and reading method and apparatus, and device
CN115293311A (en) * 2022-10-08 2022-11-04 北京微点科学技术有限公司 Color watermark anti-counterfeiting method and device based on micro-point code

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
可变彩色二维码印刷与数据的防伪应用探讨;田其莘;;知识文库(第03期);第254页 *
基于随机生成矩阵与二维码的防伪系统;吴廷友;牛坤;闫浩;陈奕华;;贵州科学(第05期);第97-99页 *

Also Published As

Publication number Publication date
CN115860033A (en) 2023-03-28

Similar Documents

Publication Publication Date Title
RU2681696C2 (en) Two dimensional barcode and method of authentication of such barcode
CN103761799B (en) A kind of bill anti-counterfeit method based on texture image feature and device
CN106529633B (en) Generation method, coding/decoding method and the device of two dimensional code
US9153005B2 (en) Method and system for authenticating a secure document
JP6765783B2 (en) How to check the security factors and the authenticity of the seal
US11587339B2 (en) Method for reading a code stored in a halftone image and comparison with a retrievable value
CN115860033B (en) Anti-counterfeiting method and device for color partition micro-point code mark capable of classifying and identifying counterfeiting
CN109190736A (en) Anti-fake two-dimension code and its generation method and generation application system
CN115293311B (en) Color watermark anti-counterfeiting method and device based on micro-point code
CN115329919B (en) Random additional point anti-counterfeiting method and device based on micro point code
EA031834B1 (en) Method for identifying authenticity of an item having security marking on its surface
US9064138B2 (en) Method for detecting reorgination of barcodes
JP7101258B2 (en) 2D barcode generation method, authentication method, server, and 2D barcode
US8893974B2 (en) Decoder for barcodes with anti-copy feature
CN103793677A (en) Method for information extraction and identity authentication by identifying raster graphics
CN111428532A (en) Encryptable three-dimensional code and encoding and decoding method
CN114997350A (en) Method and system for identifying authenticity of article
CN219039770U (en) Color partition micro-point code anti-counterfeit label capable of classifying and identifying false
EP3982289A1 (en) Method for validation of authenticity of an image present in an object, object with increased security level and method for preparation thereof, computer equipment, computer program and appropriate reading means
KR101642710B1 (en) A Testing Method Of Forging/Manipulating Of Securities
CN1244068C (en) Method and apparatus for reading and checking hologram
CN116569228A (en) Method for printing and identifying a raster-printed authentication mark with amplitude modulation
CN112465518A (en) Product authenticity identification method, product anti-counterfeiting method and storage medium

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