CN115230359A - Intelligent digital printing anti-counterfeiting mark generation and use method - Google Patents
Intelligent digital printing anti-counterfeiting mark generation and use method Download PDFInfo
- Publication number
- CN115230359A CN115230359A CN202211155737.1A CN202211155737A CN115230359A CN 115230359 A CN115230359 A CN 115230359A CN 202211155737 A CN202211155737 A CN 202211155737A CN 115230359 A CN115230359 A CN 115230359A
- Authority
- CN
- China
- Prior art keywords
- rgb
- counterfeiting
- printed matter
- pixel matrix
- matrix
- 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.)
- Pending
Links
- 238000007639 printing Methods 0.000 title claims abstract description 81
- 238000000034 method Methods 0.000 title claims abstract description 34
- 239000011159 matrix material Substances 0.000 claims abstract description 210
- 238000005516 engineering process Methods 0.000 claims description 33
- 150000001875 compounds Chemical class 0.000 claims description 15
- 210000000746 body region Anatomy 0.000 claims description 12
- 238000012795 verification Methods 0.000 claims description 7
- 230000002457 bidirectional effect Effects 0.000 claims description 5
- 238000010606 normalization Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 4
- 238000004064 recycling Methods 0.000 abstract 1
- 239000000284 extract Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41M—PRINTING, DUPLICATING, MARKING, OR COPYING PROCESSES; COLOUR PRINTING
- B41M3/00—Printing processes to produce particular kinds of printed work, e.g. patterns
- B41M3/14—Security printing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
- G06Q30/0185—Product, service or business identity fraud
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/62—Analysis of geometric attributes of area, perimeter, diameter or volume
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Medical Informatics (AREA)
- Geometry (AREA)
- Computing Systems (AREA)
- Databases & Information Systems (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Artificial Intelligence (AREA)
- Entrepreneurship & Innovation (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Printing Methods (AREA)
Abstract
The invention discloses a method for generating and using an intelligent digital printing anti-counterfeiting mark, which comprises the following steps: s1, randomly generating a pre-selection frame with a number under the area limit of a target printed matter, and randomly selecting an anti-counterfeiting area with the same area as that of the pre-selection frame on the target printed matter by using the pre-selection frame; s2, extracting an RGB (red, green and blue) ternary pixel matrix of the printing image of the anti-counterfeiting area, carrying out random matrix splitting on the RGB ternary pixel matrix to obtain any RGB binary pixel matrix and any RGB unitary pixel matrix, storing the any RGB unitary pixel matrix into an anti-counterfeiting authentication system, and replacing the RGB ternary pixel matrix of the anti-counterfeiting area with the any RGB binary pixel matrix. According to the invention, the printing image and any RGB unitary pixel matrix of the target printed matter are stored in the anti-counterfeiting identification code as the authentication key when the printing of the target printed matter is finished, so that illegal copying and counterfeiting can not be realized, meanwhile, the recycling of the authentication key is avoided, and the anti-counterfeiting effect is ensured.
Description
Technical Field
The invention relates to the technical field of printing anti-counterfeiting, in particular to a method for generating and using an intelligent digital printing anti-counterfeiting mark.
Background
At present, the common anti-counterfeiting methods comprise the following steps: the first one is laser anti-fake mark, which is one kind of anti-fake label printed with laser invisible ink and fluorescent ink. The second is a cipher anti-fake label, the method is that each product is coded with a group of digital codes, the codes of each product are different, the digital codes are printed on the label and covered, and the digital codes are stored in a computer database which can be inquired by consumers, when consumers buy the products, the digital codes on the labels are input into the computer database by telephone or network computer to compare and identify, the same is true, the different is false, the method is simple, the identification is easy, and the label is not easy to forge.
Disclosure of Invention
The invention aims to provide a method for generating and using an intelligent digital printing anti-counterfeiting mark, which aims to solve the technical problems that in the prior art, because coded data are printed with labels after being uniformly generated by a computer, the coded data representing the products are possible to be illegally copied and counterfeited, and the codes can be recovered and marked on the products which are not inquired and are attached to the counterfeit products, the anti-counterfeiting effect is difficult to ensure.
In order to solve the technical problems, the invention specifically provides the following technical scheme:
an intelligent digital printing anti-counterfeiting mark generation and use method comprises the following steps:
s1, randomly generating a pre-selection frame with a number under the area limit of a target printed matter, randomly selecting an anti-counterfeiting area with the same area as the pre-selection frame on the target printed matter by using the pre-selection frame, and reserving the anti-counterfeiting frame at the edge of the target printed matter;
s2, extracting an RGB (red, green and blue) ternary pixel matrix of a printing image in an anti-counterfeiting area, carrying out random matrix splitting on the RGB ternary pixel matrix to obtain an arbitrary RGB binary pixel matrix and an arbitrary RGB unitary pixel matrix, storing the arbitrary RGB unitary pixel matrix into an anti-counterfeiting authentication system, and replacing the RGB ternary pixel matrix of the anti-counterfeiting area with the arbitrary RGB binary pixel matrix to update a target printed matter into the anti-counterfeiting printed matter so as to keep the appearance readability of the target printed matter;
s3, sequentially cutting the anti-counterfeiting frame from the upper frame to the lower frame into an upper frame area, a middle frame area and a lower frame area, obtaining the serial number through a two-dimensional code coding technology, obtaining the pixel code through any RGB unitary pixel matrix through the two-dimensional code coding technology, obtaining the image code through the two-dimensional code coding technology on the printing image of the target printed matter, and respectively filling the serial number, the pixel code and the image code into the upper frame area, the middle frame area and the lower frame area to form the anti-counterfeiting identification code so as to realize bidirectional anti-counterfeiting on the target printed matter from the macro level and the micro level;
s4, the anti-counterfeiting authentication terminal scans the identification code to obtain a number, and a printing image and an RGB unitary pixel matrix of the target printed matter are respectively used as an identification number, an identification printing image and an identification RGB unitary pixel matrix, the identification RGB unitary pixel matrix is subjected to matrix matching with any RGB unitary pixel matrix with the identification number in the anti-counterfeiting authentication system, the printing image of the anti-counterfeiting printed matter is subjected to image matching with the printing image of the target printed matter, and the authenticity of the target printed matter is judged based on the matching results of the matrix matching and the image matching.
As a preferred aspect of the present invention, the randomly generating a pre-selection frame with a number under the area limit of the target printed matter includes:
acquiring the length L and the width H of a target printed product, and generating a first random number as a preselected length by using a random function in a (0, L) range, and generating a second random number as a preselected width by using the random function in a (0, H) range;
and constructing a quadrangular frame according to the preselected length and the preselected width, wherein the area of the quadrangular frame is smaller than that of the target printed matter, and the quadrangular frame is used as the preselected frame and is endowed with numbers.
As a preferable scheme of the present invention, the area of the anti-counterfeiting frame is smaller than the area of the target printed matter.
As a preferred embodiment of the present invention, the RGB three-component pixel matrix for extracting the print image of the anti-counterfeit region includes:
extracting R pixels, G pixels and B pixels of each pixel point in the anti-counterfeiting area printing image, and constructing an RGB (red, green and blue) ternary pixel matrix by the R pixels, the G pixels and the B pixels of each pixel point in sequence according to the matrix coordinates of the pixel points, wherein the matrix expression of the RGB ternary pixel matrix is as follows:;
in the formula (I), the compound is shown in the specification,characterized by a matrix of RGB ternary pixels,the characteristics are R pixels, G pixels and B pixels of pixel points located at a matrix abscissa i and a matrix ordinate j, N is the total number of pixel points of the anti-counterfeiting area printed image in the transverse direction, and M is the total number of pixel points of the anti-counterfeiting area printed image in the longitudinal direction.
As a preferred solution of the present invention, the obtaining of any RGB binary pixel matrix and any RGB unitary pixel matrix by performing random matrix splitting on the RGB ternary pixel matrix includes:
randomly selecting a pixel item from the RGB ternary pixel matrix, replacing the pixel value corresponding to the pixel item in the RGB ternary pixel matrix with 0 to obtain any RGB binary pixel matrix, and subtracting the any RGB binary pixel matrix from the RGB ternary pixel matrix to obtain any RGB unitary pixel matrix;
in the formula (I), the compound is shown in the specification,characterized by an RGB binary pixel matrix;
in the formula (I), the compound is shown in the specification,characterized by an RGB unitary pixel matrix.
As a preferable scheme of the present invention, the dividing of the anti-counterfeit frame into the upper frame region, the middle frame region, and the lower frame region in order from the upper frame to the lower frame comprises:
counting the byte data quantity of the serial number, the arbitrary RGB unitary pixel matrix and the printing image of the target printed matter in sequence, and normalizing the byte data quantity of the serial number, the arbitrary RGB unitary pixel matrix and the printing image of the target printed matter in sequence to respectively obtain the area proportion of the serial number, the arbitrary RGB unitary pixel matrix and the printing image of the target printed matter, wherein the calculation formula of the area proportion is as follows:;
in the formula (I), the compound is shown in the specification,the fractional amount of the region characterized by x,the character is x byte data quantity, a, b, c are respectively character as number, random RGB unitary pixel matrix and printing image of target printed matter, x is a, b, c identifier;
according to the serial number, the arbitrary RGB unitary pixel matrix and the area proportion of the printing image of the target printed matter, the anti-counterfeiting frame is sequentially divided into an upper frame body area, a middle frame body area and a lower frame body area from the upper frame body to the lower frame body, wherein the area ratio of the upper frame body area to the anti-counterfeiting frame is equal to the area proportion of the serial number, the area ratio of the middle frame body area to the anti-counterfeiting frame is equal to the area proportion of the arbitrary RGB unitary pixel matrix, and the area ratio of the lower frame body area to the anti-counterfeiting frame is equal to the area proportion of the printing image of the target printed matter.
As a preferred aspect of the present invention, the obtaining of the serial number by a two-dimensional code encoding technique, the obtaining of the pixel code by an arbitrary RGB unary pixel matrix by a two-dimensional code encoding technique, and the obtaining of the image code by a two-dimensional code encoding technique on the print image of the target printed matter include:
inputting the area and the number of the upper frame body area into a two-dimensional code encoding technology, and outputting an encoding number which is the same as the area of the upper frame body area by the two-dimensional code encoding technology;
inputting the area of the middle frame body area and any RGB unitary pixel matrix into a two-dimensional code encoding technology, and outputting a pixel code with the same area as the middle frame body area by the two-dimensional code encoding technology;
the area of the lower frame region and the print image of the target printed matter are input to the two-dimensional code encoding technique, and an image code having the same area as the lower frame region is output by the two-dimensional code encoding technique.
As a preferred scheme of the present invention, the matrix matching of the RGB unitary pixel matrix and any RGB unitary pixel matrix having the identification number in the anti-counterfeit authentication system includes:
calculating the matrix similarity of the identification RGB unitary pixel matrix and the arbitrary RGB unitary pixel matrix as a first authenticity of the target printed matter, wherein the calculation formula of the first authenticity is as follows:;
in the formula (I), the compound is shown in the specification,characterized by a first degree of fidelity,characterized by an arbitrary RGB unitary pixel matrix,characterized by identifying a RGB unitary pixel matrix.
As a preferable aspect of the present invention, the image matching of the print image of the forgery-prevention print and the print image of the target print includes:
manually verifying the printed image of the anti-counterfeiting printed matter and the printed image of the target printed matter, wherein,
if the printed image of the anti-counterfeiting printed matter is judged to be the same as the printed image of the target printed matter through manual verification, the second authenticity of the target printed matter is 100%;
and if the printed image of the anti-counterfeiting printed matter is judged to be different from the printed image of the target printed matter through manual verification, the second authenticity of the target printed matter is 0%.
As a preferable aspect of the present invention, the determining whether the target printed matter is authentic based on the matching result of the matrix matching and the image matching includes:
if the first authenticity is larger than the first authenticity threshold value and the second authenticity is equal to 100%, judging that the target printed matter is a genuine product;
if the first authenticity is less than or equal to the second authenticity and the second authenticity is equal to 0%, judging that the target printed matter is a fake product;
and if the first authenticity is greater than the first authenticity threshold value and the second authenticity is equal to 0%, and the first authenticity is less than or equal to the second authenticity and the second authenticity is equal to 100%, judging that the target printed matter is a suspect, and performing matrix matching and image matching again.
Compared with the prior art, the invention has the following beneficial effects:
the method extracts the RGB ternary pixel matrix of the printing image of the anti-counterfeiting area by randomly selecting the anti-counterfeiting area, splits the RGB ternary pixel matrix into any RGB binary pixel matrix and any RGB unitary pixel matrix, retains the appearance readability of the target printing product by using any RGB binary pixel matrix, realizes the bidirectional anti-counterfeiting of the target printing product from macro and micro by using the printing image of the target printing product and any RGB unitary pixel matrix, and saves the printing image of the target printing product and any RGB unitary pixel matrix as the authentication key when the printing of the target printing product is finished in the anti-counterfeiting identification code, so that illegal copying and counterfeiting can not be realized, meanwhile, the recovery of the authentication key is prevented from being reused on a fake product, and the anti-counterfeiting effect is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
FIG. 1 is a flowchart of a method for generating and using an intelligent digitally-printed anti-counterfeit mark according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an anti-counterfeit identification code provided by an embodiment of the present invention.
The reference numerals in the drawings denote the following, respectively:
1-target printed matter; 2-anti-counterfeiting identification codes; 3-coding a number; 4-pixel code; 5-image code; 6-anti-counterfeiting area.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in figures 1 and 2, the invention provides a method for generating and using an intelligent digital printing anti-counterfeiting mark, which comprises the following steps:
s1, randomly generating a pre-selection frame with a number under the area limit of a target printed matter, randomly selecting an anti-counterfeiting area with the same area as the pre-selection frame on the target printed matter by using the pre-selection frame, and reserving the anti-counterfeiting frame at the edge of the target printed matter;
randomly generating a numbered preselected box under the area constraints of the target print, comprising:
acquiring the length L and the width H of a target printed product, and generating a first random number as a preselected length by using a random function in a (0, L) range, and generating a second random number as a preselected width by using the random function in a (0, H) range;
and constructing a quadrangular frame according to the preselected length and the preselected width, wherein the area of the quadrangular frame is smaller than that of the target printed matter, and using the quadrangular frame as the preselected frame and then assigning numbers to the preselected frame.
The area of the anti-counterfeiting frame is smaller than that of the target printed matter.
The randomness of the selection improves the counterfeiting difficulty of the anti-counterfeiting identifier.
S2, extracting an RGB (red, green and blue) ternary pixel matrix of the printed image in the anti-counterfeiting area, carrying out random matrix splitting on the RGB ternary pixel matrix to obtain any RGB binary pixel matrix and any RGB unitary pixel matrix, storing the any RGB unitary pixel matrix into an anti-counterfeiting authentication system, and replacing the RGB ternary pixel matrix of the anti-counterfeiting area with the any RGB binary pixel matrix to update the target printed matter into the anti-counterfeiting printed matter so as to keep the appearance readability of the target printed matter;
the RGB ternary pixel matrix for extracting the printing image in the anti-counterfeiting area comprises the following steps:
extracting R pixels, G pixels and B pixels of each pixel point in the anti-counterfeiting area printing image, and constructing an RGB (red, green and blue) ternary pixel matrix by the R pixels, the G pixels and the B pixels of each pixel point in sequence according to the matrix coordinates of the pixel points, wherein the matrix expression of the RGB ternary pixel matrix is as follows:;
in the formula (I), the compound is shown in the specification,characterized by a matrix of RGB three-dimensional pixels,the anti-counterfeiting image comprises a matrix abscissa i, a matrix ordinate j, a plurality of anti-counterfeiting areas and a plurality of anti-counterfeiting areas, wherein the anti-counterfeiting areas are printed on the matrix abscissa i, the anti-counterfeiting areas are printed on the matrix ordinate j, the anti-counterfeiting areas are printed on the matrix abscissa j, and the anti-counterfeiting areas are printed on the matrix ordinate j.
The method for splitting the RGB ternary pixel matrix into any RGB binary pixel matrix and any RGB unitary pixel matrix comprises the following steps:
randomly selecting a pixel item from the RGB ternary pixel matrix, replacing the pixel value of the corresponding pixel item in the RGB ternary pixel matrix with 0 to obtain an arbitrary RGB binary pixel matrix, and subtracting the arbitrary RGB binary pixel matrix from the RGB ternary pixel matrix to obtain an arbitrary RGB unitary pixel matrix;
in the formula (I), the compound is shown in the specification,characterized by an RGB binary pixel matrix;
in the formula (I), the compound is shown in the specification,characterized by an RGB unitary pixel matrix.
And withIn response to this, the mobile terminal is allowed to move,andin response to this, the mobile terminal is allowed to move,and withAnd correspondingly.
Any RGB unitary pixel matrix is used as an anti-counterfeiting key to be stored in an anti-counterfeiting authentication system for subsequent anti-counterfeiting authentication, the original RGB ternary pixel matrix is replaced by the any RGB binary pixel matrix, the information readability of an anti-counterfeiting area is reserved, and whether the anti-counterfeiting area is the anti-counterfeiting area on a recycled product or not can be preliminarily judged through the information coherence of the anti-counterfeiting area and a target printed matter and is attached to a fake product.
S3, sequentially cutting the anti-counterfeiting frame into an upper frame body area, a middle frame body area and a lower frame body area from the upper frame to the lower frame, obtaining an encoding number from the number by a two-dimensional code encoding technology, obtaining a pixel code from any RGB unitary pixel matrix by the two-dimensional code encoding technology, obtaining an image code from a printed image of a target printed matter by the two-dimensional code encoding technology, and respectively filling the encoding number, the pixel code and the image code into the upper frame body area, the middle frame body area and the lower frame body area to form an anti-counterfeiting identification code so as to realize bidirectional anti-counterfeiting of the target printed matter from the macro and the micro;
with anti-fake frame from the top frame to the lower frame be cut into frame region, well frame region and lower frame region down in proper order, include:
counting the byte data quantity of the serial number, the random RGB unitary pixel matrix and the printing image of the target printed matter in sequence, and normalizing the byte data quantity of the serial number, the random RGB unitary pixel matrix and the printing image of the target printed matter in sequence to respectively obtain the area proportion of the serial number, the random RGB unitary pixel matrix and the printing image of the target printed matter, wherein the calculation formula of the area proportion is as follows:;
in the formula (I), the compound is shown in the specification,the fractional amount of area characterized by x,the data quantity of bytes is characterized as x, a, b and c are respectively characterized as a serial number, an arbitrary RGB unitary pixel matrix and a printing image of a target printed matter, and x is an identifier of a, b and c;
the anti-counterfeiting frame is sequentially divided into an upper frame body region, a middle frame body region and a lower frame body region from the upper frame body to the lower frame body according to the serial number, the random RGB unitary pixel matrix and the region proportion of the printing image of the target printed matter, wherein the area ratio of the upper frame body region to the anti-counterfeiting frame is equal to the region proportion of the serial number, the area ratio of the middle frame body region to the anti-counterfeiting frame is equal to the region proportion of the random RGB unitary pixel matrix, and the area ratio of the lower frame body region to the anti-counterfeiting frame is equal to the region proportion of the printing image of the target printed matter.
The method comprises the following steps of obtaining a coded number by a two-dimensional code coding technology for a serial number, obtaining a pixel code by a two-dimensional code coding technology for any RGB unitary pixel matrix, and obtaining an image code by a two-dimensional code coding technology for a printing image of a target printed matter, wherein the method comprises the following steps:
inputting the area and the number of the upper frame body area into a two-dimensional code encoding technology, and outputting an encoding number which is the same as the area of the upper frame body area by the two-dimensional code encoding technology;
inputting the area of the middle frame body area and any RGB unitary pixel matrix into a two-dimensional code encoding technology, and outputting a pixel code with the same area as the middle frame body area by the two-dimensional code encoding technology;
the area of the lower frame area and the print image of the target printed matter are input to the two-dimensional code encoding technology, and the two-dimensional code encoding technology outputs an image code having the same area as the lower frame area.
Due to the randomness of the anti-counterfeiting area selection, the randomness of the subsequent random RGB unitary pixel matrix and the printed image of the target printed product is enabled, the randomness of the anti-counterfeiting identification code is enhanced due to the fact that the upper frame area, the middle frame area and the lower frame area are different when the anti-counterfeiting identification code is coded, and the numbering, the pixel code and the image code are different, the randomness of the anti-counterfeiting identification code is enhanced, after the anti-counterfeiting area is obtained, the pixel code is obtained through the random RGB unitary pixel matrix through a two-dimensional code coding technology, the image code is obtained through the printed image of the target printed product through the two-dimensional code coding technology, the random RGB unitary pixel matrix serving as an authentication key and the printed image of the target printed product are fixed in the anti-counterfeiting identification code, illegal counterfeiting can not be achieved only through modifying the authentication key in the anti-counterfeiting authentication system, the macro authentication is carried out through the integral appearance of the printed image of the target printed product, the printed image of the target printed product is compared through the printed image area of the obtained target printed product, the double anti-counterfeiting identification code in the current anti-counterfeiting printed product can be recovered from the anti-counterfeiting area on the unapproved product and pasted on the micro anti-counterfeiting product, the micro anti-counterfeiting area is further judged that the anti-counterfeiting identification code is sequentially passed through the micro anti-counterfeiting area and the micro anti-counterfeiting identification matrix, and the micro anti-counterfeiting identification difficulty is further increased.
And S4, the anti-counterfeiting authentication terminal scans the identification code to obtain a number, and the printed image and the RGB unitary pixel matrix of the target printed matter are respectively used as the identification number, the identification printed image and the identification RGB unitary pixel matrix, matrix matching is carried out on the identification RGB unitary pixel matrix and any RGB unitary pixel matrix with the identification number in the anti-counterfeiting authentication system, image matching is carried out on the printed image of the anti-counterfeiting printed matter and the printed image of the target printed matter, and authenticity of the target printed matter is judged based on matching results of the matrix matching and the image matching.
Matrix matching is carried out on the identification RGB unitary pixel matrix and any RGB unitary pixel matrix with identification numbers in the anti-counterfeiting authentication system, and the matrix matching method comprises the following steps:
calculating the matrix similarity of the identification RGB unitary pixel matrix and any RGB unitary pixel matrix as a first authenticity of the target printed matter, wherein the calculation formula of the first authenticity is as follows:;
in the formula (I), the compound is shown in the specification,characterized by a first degree of fidelity,characterized by an arbitrary RGB unitary pixel matrix,characterized by identifying a RGB unitary pixel matrix.
Performing image matching on the printing image of the anti-counterfeiting printed matter and the printing image of the target printed matter, wherein the image matching comprises the following steps:
the printed image of the anti-counterfeiting printed matter and the printed image of the target printed matter are manually checked, wherein,
if the printed image of the anti-counterfeiting printed matter is judged to be the same as the printed image of the target printed matter through manual verification, the second authenticity of the target printed matter is 100%;
and if the printed image of the anti-counterfeiting printed matter is judged to be different from the printed image of the target printed matter through manual verification, the second authenticity of the target printed matter is 0%.
Judging the authenticity of the target printed matter based on the matching result of the matrix matching and the image matching, comprising the following steps of:
if the first authenticity is larger than the first authenticity threshold value and the second authenticity is equal to 100%, judging that the target printed matter is a genuine product;
if the first authenticity is less than or equal to the second authenticity and the second authenticity is equal to 0%, judging that the target printed matter is a fake product;
and if the first authenticity is greater than the first authenticity threshold value and the second authenticity is equal to 0%, and the first authenticity is less than or equal to the second authenticity and the second authenticity is equal to 100%, judging that the target printed matter is a suspect, performing matrix matching and image matching again, and selecting multiple groups of personnel for common authentication at the moment of performing image matching again.
The method extracts the RGB ternary pixel matrix of the printing image of the anti-counterfeiting area by randomly selecting the anti-counterfeiting area, splits the RGB ternary pixel matrix into any RGB binary pixel matrix and any RGB unitary pixel matrix, retains the appearance readability of the target printing product by using any RGB binary pixel matrix, realizes the bidirectional anti-counterfeiting of the target printing product from macro and micro by using the printing image of the target printing product and any RGB unitary pixel matrix, and saves the printing image of the target printing product and any RGB unitary pixel matrix as the authentication key when the printing of the target printing product is finished in the anti-counterfeiting identification code, so that illegal copying and counterfeiting can not be realized, meanwhile, the recovery of the authentication key is prevented from being reused on a fake product, and the anti-counterfeiting effect is ensured.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.
Claims (10)
1. An intelligent digital printing anti-counterfeiting mark generation and use method is characterized by comprising the following steps:
s1, randomly generating a pre-selection frame with a number under the area limit of a target printed matter, randomly selecting an anti-counterfeiting area with the same area as the pre-selection frame on the target printed matter by using the pre-selection frame, and reserving the anti-counterfeiting frame at the edge of the target printed matter;
s2, extracting an RGB (red, green and blue) ternary pixel matrix of a printing image in an anti-counterfeiting area, carrying out random matrix splitting on the RGB ternary pixel matrix to obtain an arbitrary RGB binary pixel matrix and an arbitrary RGB unitary pixel matrix, storing the arbitrary RGB unitary pixel matrix into an anti-counterfeiting authentication system, and replacing the RGB ternary pixel matrix of the anti-counterfeiting area with the arbitrary RGB binary pixel matrix to update a target printed matter into the anti-counterfeiting printed matter so as to keep the appearance readability of the target printed matter;
s3, the anti-counterfeiting frame is sequentially divided into an upper frame body area, a middle frame body area and a lower frame body area from an upper frame to a lower frame, the serial number is coded through a two-dimensional code coding technology, any RGB unitary pixel matrix is coded through the two-dimensional code coding technology to obtain a pixel code, a printed image of a target printed matter is coded through the two-dimensional code coding technology to obtain an image code, and the coded number, the pixel code and the image code are respectively filled into the upper frame body area, the middle frame body area and the lower frame body area to form an anti-counterfeiting identification code so as to realize bidirectional anti-counterfeiting of the target printed matter from a macroscopic view and a microscopic view;
s4, the anti-counterfeiting authentication terminal scans the identification code to obtain a number, and a printing image and an RGB unitary pixel matrix of the target printed matter are respectively used as an identification number, an identification printing image and an identification RGB unitary pixel matrix, the identification RGB unitary pixel matrix is subjected to matrix matching with any RGB unitary pixel matrix with the identification number in the anti-counterfeiting authentication system, the printing image of the anti-counterfeiting printed matter is subjected to image matching with the printing image of the target printed matter, and the authenticity of the target printed matter is judged based on the matching results of the matrix matching and the image matching.
2. The method for generating and using the intelligent digital printing anti-counterfeiting mark according to claim 1, characterized in that: the randomly generating a pre-selection frame with a number under the area limit of the target printed matter comprises the following steps:
acquiring the length L and the width H of the target printed matter, and generating a first random number as a preselected length by using a random function in a (0, L) range, and generating a second random number as a preselected width by using the random function in a (0, H) range;
and constructing a quadrangular frame according to the preselected length and the preselected width, wherein the area of the quadrangular frame is smaller than that of the target printed matter, and the quadrangular frame is used as the preselected frame and is endowed with numbers.
3. The method for generating and using the intelligent digital printing anti-counterfeiting mark according to claim 2, characterized in that: the area of the anti-counterfeiting frame is smaller than that of the target printed matter.
4. The method for generating and using the intelligent digital printing anti-counterfeiting mark according to claim 2, characterized in that: the RGB ternary pixel matrix for extracting the anti-counterfeiting area printing image comprises the following components:
extracting R pixels, G pixels and B pixels of each pixel point in the anti-counterfeiting area printing image, constructing the R pixels, the G pixels and the B pixels of each pixel point in sequence into an RGB (red, green and blue) ternary pixel matrix according to the matrix coordinates of the pixel points, wherein the RGB ternary pixel matrix is formed by the R pixels, the G pixels and the B pixels of each pixel point in sequenceThe matrix expression of the RGB triple pixel matrix is:;
in the formula (I), the compound is shown in the specification,characterized by a matrix of RGB ternary pixels,the anti-counterfeiting image comprises a matrix abscissa i, a matrix ordinate j, a plurality of anti-counterfeiting areas and a plurality of anti-counterfeiting areas, wherein the anti-counterfeiting areas are printed on the matrix abscissa i, the anti-counterfeiting areas are printed on the matrix ordinate j, the anti-counterfeiting areas are printed on the matrix abscissa j, and the anti-counterfeiting areas are printed on the matrix ordinate j.
5. The method for generating and using the intelligent digital printing anti-counterfeiting mark according to claim 4, characterized in that: the random matrix splitting of the RGB three-element pixel matrix to obtain any RGB two-element pixel matrix and any RGB one-element pixel matrix comprises the following steps:
randomly selecting a pixel item in the RGB ternary pixel matrix, replacing the pixel value corresponding to the pixel item in the RGB ternary pixel matrix with 0 to obtain any RGB binary pixel matrix, and subtracting the any RGB binary pixel matrix from the RGB ternary pixel matrix to obtain any RGB unitary pixel matrix;
in the formula (I), the compound is shown in the specification,characterized by an RGB binary pixel matrix;
the matrix expression of the arbitrary RGB unary pixel matrix includes:
6. The method for generating and using the intelligent digital printing anti-counterfeiting mark according to claim 5, wherein the anti-counterfeiting frame is sequentially divided into an upper frame body area, a middle frame body area and a lower frame body area from an upper frame body to a lower frame body, and the method comprises the following steps:
counting the numbers, the arbitrary RGB unitary pixel matrix and the byte data amount of the printing image of the target printed matter in sequence, and performing normalization processing on the numbers, the arbitrary RGB unitary pixel matrix and the byte data amount of the printing image of the target printed matter in sequence to obtain the area proportion of the numbers, the arbitrary RGB unitary pixel matrix and the printing image of the target printed matter respectively, wherein the calculation formula of the area proportion is as follows:;
in the formula (I), the compound is shown in the specification,the fractional amount of the region characterized by x,the data quantity of bytes is characterized as x, a, b and c are respectively characterized as a serial number, an arbitrary RGB unitary pixel matrix and a printing image of a target printed matter, and x is an identifier of a, b and c;
the anti-counterfeiting frame is sequentially divided into an upper frame body region, a middle frame body region and a lower frame body region from an upper frame body to a lower frame body according to the serial number, any RGB unitary pixel matrix and the region proportion of the printing image of the target printed matter, wherein the area ratio of the upper frame body region to the anti-counterfeiting frame is equal to the region proportion of the serial number, the area ratio of the middle frame body region to the anti-counterfeiting frame is equal to the region proportion of any RGB unitary pixel matrix, and the area ratio of the lower frame body region to the anti-counterfeiting frame is equal to the region proportion of the printing image of the target printed matter.
7. The method for generating and using the intelligent digital printing anti-counterfeiting mark according to claim 6, wherein the numbering is obtained by a two-dimensional code encoding technology, the pixel code is obtained by any RGB unitary pixel matrix by the two-dimensional code encoding technology, and the image code is obtained by the printing image of the target printed matter by the two-dimensional code encoding technology, and the method comprises the following steps of:
inputting the area and the number of the upper frame body area into a two-dimensional code encoding technology, and outputting an encoding number which is the same as the area of the upper frame body area by the two-dimensional code encoding technology;
inputting the area of the middle frame body area and any RGB unitary pixel matrix into a two-dimensional code encoding technology, and outputting a pixel code with the same area as the middle frame body area by the two-dimensional code encoding technology;
the area of the lower frame area and the print image of the target printed matter are input to the two-dimensional code encoding technology, and the two-dimensional code encoding technology outputs an image code having the same area as the lower frame area.
8. The method for generating and using the intelligent digital printing anti-counterfeiting mark according to claim 7, wherein the matrix matching of the RGB unary pixel matrix of the mark with any RGB unary pixel matrix with the mark number in the anti-counterfeiting authentication system comprises:
calculating the matrix similarity of the identification RGB unitary pixel matrix and the arbitrary RGB unitary pixel matrix as a first authenticity of the target printed matter, wherein the calculation formula of the first authenticity is as follows:;
9. The method for generating and using the intelligent digital printing anti-counterfeiting mark according to claim 8, wherein the step of image matching the printing image of the anti-counterfeiting printed matter with the printing image of the target printed matter comprises the following steps:
performing manual verification on the printing image of the anti-counterfeiting printed matter and the printing image of the target printed matter, wherein,
if the printed image of the anti-counterfeiting printed matter is judged to be the same as the printed image of the target printed matter through manual verification, the second authenticity of the target printed matter is 100%;
and if the printed image of the anti-counterfeiting printed matter is judged to be different from the printed image of the target printed matter through manual verification, the second authenticity of the target printed matter is 0%.
10. The method for generating and using the intelligent digital printing anti-counterfeiting mark according to claim 9, wherein the step of judging the authenticity of the target printed matter based on the matching result of the matrix matching and the image matching comprises the following steps:
if the first authenticity is larger than the first authenticity threshold value and the second authenticity is equal to 100%, judging that the target printed matter is a genuine product;
if the first authenticity is less than or equal to the second authenticity and the second authenticity is equal to 0%, judging that the target printed matter is a fake product;
and if the first authenticity is greater than the first authenticity threshold value and the second authenticity is equal to 0%, and the first authenticity is less than or equal to the second authenticity and the second authenticity is equal to 100%, judging that the target printed matter is a suspicious product, and performing matrix matching and image matching again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211155737.1A CN115230359A (en) | 2022-09-22 | 2022-09-22 | Intelligent digital printing anti-counterfeiting mark generation and use method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211155737.1A CN115230359A (en) | 2022-09-22 | 2022-09-22 | Intelligent digital printing anti-counterfeiting mark generation and use method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115230359A true CN115230359A (en) | 2022-10-25 |
Family
ID=83667549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211155737.1A Pending CN115230359A (en) | 2022-09-22 | 2022-09-22 | Intelligent digital printing anti-counterfeiting mark generation and use method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115230359A (en) |
Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101256725A (en) * | 2006-12-31 | 2008-09-03 | 谢涛 | Magic square multifunctional numerical code information anti-counterfeiting label and anti-counterfeiting method |
CN102446264A (en) * | 2010-10-15 | 2012-05-09 | 航天信息股份有限公司 | Printing and scanning recognition method and system for two-dimensional code of special value-added tax invoice |
CN103559473A (en) * | 2013-10-28 | 2014-02-05 | 汝思商务咨询(上海)有限公司 | Method and system using feature images to achieve printing stock security |
CN104794518A (en) * | 2015-05-06 | 2015-07-22 | 矽照光电(厦门)有限公司 | Color two-dimension code generating method and device |
CN105243351A (en) * | 2015-10-09 | 2016-01-13 | 宁波萨瑞通讯有限公司 | Code scanning method based on mobile terminal |
CN105956503A (en) * | 2016-04-18 | 2016-09-21 | 张梦石 | False-proof authentication method and false-proof authentication system based on product hidden information |
CN106408066A (en) * | 2016-09-06 | 2017-02-15 | 北京三快在线科技有限公司 | Two-dimensional code-based image processing method, device and two-dimensional code |
CN107071222A (en) * | 2017-03-29 | 2017-08-18 | 西安龙标电子信息技术有限公司 | A kind of image file encryption and decryption approaches of embedded spectral information |
CN108470201A (en) * | 2018-01-24 | 2018-08-31 | 重庆延伸科技开发有限公司 | A kind of multiple random color dot matrix label anti-counterfeit system |
CN109359717A (en) * | 2018-10-12 | 2019-02-19 | 北京印刷学院 | The dimension code anti-counterfeit method of the complementary identification of logo effective image code filling |
CN109572258A (en) * | 2018-12-21 | 2019-04-05 | 北京印刷学院 | The stealthy infrared complementary identification dimension code anti-counterfeit method of pseudo-code |
CN109754042A (en) * | 2018-12-21 | 2019-05-14 | 北京信息科技大学 | Trademark image stealth identification and false proof method |
CN109766977A (en) * | 2018-12-21 | 2019-05-17 | 北京印刷学院 | Multi-C complementary identifies dimension code anti-counterfeit method |
CN110751251A (en) * | 2019-10-16 | 2020-02-04 | 上海掌门科技有限公司 | Method and device for generating and transforming two-dimensional code image matrix |
WO2020078998A1 (en) * | 2018-10-18 | 2020-04-23 | Novatec | Printed marking for an authentication method, and method of printing and of authenticating a printed marking |
CN111368960A (en) * | 2020-03-04 | 2020-07-03 | 合肥量芯科技有限公司 | Quantum anti-counterfeiting two-dimensional code generation method and scanning method |
CN111598198A (en) * | 2020-05-18 | 2020-08-28 | 南京工程学院 | Image two-dimensional code generation method and reading method based on LSB information hiding |
CN113988242A (en) * | 2021-10-19 | 2022-01-28 | 艾斯芸防伪科技(福建)有限公司 | Multi-region-based anti-counterfeiting code generation and verification method, system, equipment and medium |
CN114298257A (en) * | 2021-11-23 | 2022-04-08 | 深圳市祯源科技有限公司 | Method and device for realizing authenticity query through one-step code scanning |
DE102020215752A1 (en) * | 2020-12-11 | 2022-06-15 | Scribos Gmbh | Method for manufacturing a series of anti-counterfeiting packaging and a series of anti-counterfeiting packaging, an authentication method and an authentication system |
-
2022
- 2022-09-22 CN CN202211155737.1A patent/CN115230359A/en active Pending
Patent Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101256725A (en) * | 2006-12-31 | 2008-09-03 | 谢涛 | Magic square multifunctional numerical code information anti-counterfeiting label and anti-counterfeiting method |
CN102446264A (en) * | 2010-10-15 | 2012-05-09 | 航天信息股份有限公司 | Printing and scanning recognition method and system for two-dimensional code of special value-added tax invoice |
CN103559473A (en) * | 2013-10-28 | 2014-02-05 | 汝思商务咨询(上海)有限公司 | Method and system using feature images to achieve printing stock security |
CN104794518A (en) * | 2015-05-06 | 2015-07-22 | 矽照光电(厦门)有限公司 | Color two-dimension code generating method and device |
CN105243351A (en) * | 2015-10-09 | 2016-01-13 | 宁波萨瑞通讯有限公司 | Code scanning method based on mobile terminal |
CN105956503A (en) * | 2016-04-18 | 2016-09-21 | 张梦石 | False-proof authentication method and false-proof authentication system based on product hidden information |
CN106408066A (en) * | 2016-09-06 | 2017-02-15 | 北京三快在线科技有限公司 | Two-dimensional code-based image processing method, device and two-dimensional code |
CN107071222A (en) * | 2017-03-29 | 2017-08-18 | 西安龙标电子信息技术有限公司 | A kind of image file encryption and decryption approaches of embedded spectral information |
CN108470201A (en) * | 2018-01-24 | 2018-08-31 | 重庆延伸科技开发有限公司 | A kind of multiple random color dot matrix label anti-counterfeit system |
CN109359717A (en) * | 2018-10-12 | 2019-02-19 | 北京印刷学院 | The dimension code anti-counterfeit method of the complementary identification of logo effective image code filling |
WO2020078998A1 (en) * | 2018-10-18 | 2020-04-23 | Novatec | Printed marking for an authentication method, and method of printing and of authenticating a printed marking |
CN109572258A (en) * | 2018-12-21 | 2019-04-05 | 北京印刷学院 | The stealthy infrared complementary identification dimension code anti-counterfeit method of pseudo-code |
CN109766977A (en) * | 2018-12-21 | 2019-05-17 | 北京印刷学院 | Multi-C complementary identifies dimension code anti-counterfeit method |
CN109754042A (en) * | 2018-12-21 | 2019-05-14 | 北京信息科技大学 | Trademark image stealth identification and false proof method |
CN110751251A (en) * | 2019-10-16 | 2020-02-04 | 上海掌门科技有限公司 | Method and device for generating and transforming two-dimensional code image matrix |
CN111368960A (en) * | 2020-03-04 | 2020-07-03 | 合肥量芯科技有限公司 | Quantum anti-counterfeiting two-dimensional code generation method and scanning method |
CN111598198A (en) * | 2020-05-18 | 2020-08-28 | 南京工程学院 | Image two-dimensional code generation method and reading method based on LSB information hiding |
DE102020215752A1 (en) * | 2020-12-11 | 2022-06-15 | Scribos Gmbh | Method for manufacturing a series of anti-counterfeiting packaging and a series of anti-counterfeiting packaging, an authentication method and an authentication system |
CN113988242A (en) * | 2021-10-19 | 2022-01-28 | 艾斯芸防伪科技(福建)有限公司 | Multi-region-based anti-counterfeiting code generation and verification method, system, equipment and medium |
CN114298257A (en) * | 2021-11-23 | 2022-04-08 | 深圳市祯源科技有限公司 | Method and device for realizing authenticity query through one-step code scanning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108764420B (en) | Two-dimensional code, coding and identifying method thereof and product with anti-counterfeiting function | |
CN105550730B (en) | Safe two-dimensional code manufacture method and decoding method, and safe two-dimensional code identifier | |
CN101537751B (en) | Novel method for processing anti-counterfeit printing | |
CN103761799A (en) | Bill anti-counterfeit method and device based on texture image characteristics | |
CN103310344B (en) | CCQR (Colorful Coded Quick Response) anti-counterfeiting method | |
CN105981052B (en) | Marking comprising two patterns on a surface | |
CN102292700A (en) | System and method for enhancing security printing | |
CN113313225B (en) | Anti-counterfeiting method based on sparse dot matrix code | |
Joshi et al. | Source printer classification using printer specific local texture descriptor | |
CN116664961B (en) | Intelligent identification method and system for anti-counterfeit label based on signal code | |
CN115293311B (en) | Color watermark anti-counterfeiting method and device based on micro-point code | |
CN107331026A (en) | A kind of Paper Currency Identification and device | |
CN112001467A (en) | Commodity anti-counterfeiting code generation and identification method based on picture encryption and decryption | |
CN110533704B (en) | Method, device, equipment and medium for identifying and verifying ink label | |
CN109376832A (en) | It is embedded in triple anti-fake two-dimension codes of anti-counterfeiting mark image and digital fluorescence images | |
CN109726788B (en) | Light and shade double-code two-dimensional code with hidden metamerism | |
CN109376833A (en) | Triple anti-fake two-dimension codes of pseudo-random information double exposure digital fluorescence images | |
CN115423063B (en) | Anti-copying shading anti-counterfeiting method and device based on micro-point code | |
CN116681098A (en) | Method and system for generating anti-counterfeiting mark image based on two-dimensional code generation | |
CN115230359A (en) | Intelligent digital printing anti-counterfeiting mark generation and use method | |
CN103279784A (en) | Two-dimensional anti-counterfeit label and producing method thereof | |
CN114997350A (en) | Method and system for identifying authenticity of article | |
CN115759161A (en) | Two-dimensional code anti-counterfeiting method, two-dimensional code anti-counterfeiting code generation system and verification system | |
CN113988242A (en) | Multi-region-based anti-counterfeiting code generation and verification method, system, equipment and medium | |
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 |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221025 |
|
RJ01 | Rejection of invention patent application after publication |