Movatterモバイル変換


[0]ホーム

URL:


CN115534550B - Anti-counterfeiting method, anti-counterfeiting device, computer equipment and storage medium - Google Patents

Anti-counterfeiting method, anti-counterfeiting device, computer equipment and storage medium
Download PDF

Info

Publication number
CN115534550B
CN115534550BCN202111214899.3ACN202111214899ACN115534550BCN 115534550 BCN115534550 BCN 115534550BCN 202111214899 ACN202111214899 ACN 202111214899ACN 115534550 BCN115534550 BCN 115534550B
Authority
CN
China
Prior art keywords
color
code
counterfeiting
image
microscopic
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
CN202111214899.3A
Other languages
Chinese (zh)
Other versions
CN115534550A (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.)
Quantum Cloud Code Fujian Technology Co ltd
Original Assignee
Quantum Cloud Code Fujian 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 Quantum Cloud Code Fujian Technology Co ltdfiledCriticalQuantum Cloud Code Fujian Technology Co ltd
Priority to CN202111214899.3ApriorityCriticalpatent/CN115534550B/en
Publication of CN115534550ApublicationCriticalpatent/CN115534550A/en
Application grantedgrantedCritical
Publication of CN115534550BpublicationCriticalpatent/CN115534550B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The embodiment of the invention discloses an anti-counterfeiting method, an anti-counterfeiting device, computer equipment and a storage medium. The method comprises the steps of performing color ink printing on a target object by adopting a CMYK color mode to form a microcosmic code image on the target object, wherein the microcosmic code image comprises code points of at least one color, and taking the microcosmic code image as an anti-counterfeiting code for counterfeiting. According to the anti-counterfeiting method provided by the embodiment of the invention, the microcosmic coding image, particularly the color microcosmic coding image, is used as the anti-counterfeiting code, so that the copying difficulty of the anti-counterfeiting code is increased, the better anti-counterfeiting effect is achieved, and meanwhile, the microcosmic coding image is printed on a target object through color ink printing, so that the microcosmic coding image can comprise code points with various colors, the anti-counterfeiting code can carry more information so as to adapt to the quantity requirements of various products, and the color microcosmic coding image is used as the anti-counterfeiting code, so that the colorful visual effect can be formed, and the whole target object is more attractive.

Description

Anti-counterfeiting method, anti-counterfeiting device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of anti-counterfeiting, in particular to an anti-counterfeiting method, an anti-counterfeiting device, computer equipment and a storage medium.
Background
The traditional anti-counterfeiting method generally uses patterns such as two-dimensional codes and the like to perform anti-counterfeiting, namely, a bar code and the like which records data symbol information by using a certain specific geometric figure according to a certain rule and a black-white alternate figure distributed on a plane. However, the two-dimensional code is easy to copy, and the copied pattern is usually accurate enough to break through the anti-counterfeiting verification process, so that the anti-counterfeiting effect is greatly reduced. Meanwhile, the black-white pattern has single color, the information quantity is small, and the number of the target objects cannot be well adapted.
Disclosure of Invention
The embodiment of the invention provides an anti-counterfeiting method, an anti-counterfeiting device, computer equipment and a storage medium, so as to improve the anti-counterfeiting effect and the information carrying capacity of anti-counterfeiting codes.
In a first aspect, an embodiment of the present invention provides an anti-counterfeiting method, including:
performing color ink printing on a target object by adopting a CMYK color mode to form a microcoded image on the target object, wherein the microcoded image comprises code points of at least one color;
and using the microcosmic coded image as an anti-counterfeiting code for anti-counterfeiting.
Optionally, the printing with color ink on the target object using CMYK color mode to form a microcosmic coded image on the target object includes:
The cyan code point, the magenta code point, and the yellow code point are formed using C, M and Y three color channels, respectively.
Optionally, after the forming the cyan code point, the magenta code point and the yellow code point using C, M and Y color channels, respectively, the method further includes:
Independently forming a plurality of said microcoded images using code points formed by each of said color channels, or
And forming a microcosmic coded image by the code points formed by the color channels.
Optionally, the code points formed by the color channels are partially or completely overlapped in the microcoded image or are not overlapped at all.
Optionally, after the microscopic coded image is used as the anti-counterfeiting code for anti-counterfeiting, the method further includes:
Acquiring image data of the microcoded image on the target object on three color channels R, G and B;
determining the color, position and size of the code points according to the image data on each color channel;
and performing anti-counterfeiting verification according to the color, the position and the size of the code point.
Optionally, the performing anti-counterfeit verification according to the color, the position and the size of the code point includes:
And respectively carrying out anti-counterfeiting verification on microcosmic coded images formed by code points of each color, and determining the authenticity of the target object according to each verification result.
Optionally, the determining the color, the position and the size of the code point according to the image data on each color channel includes:
if a dark spot appears in the image data on the R color channel, determining the cyan code point which at least needs to be formed by the C color channel in the microcosmic coded image, and determining the position and the size of the cyan code point according to the dark spot;
If dark points appear in the image data on the G color channel, determining the magenta code points which at least need to be formed by the M color channel in the microcosmic coded image, and determining the positions and the sizes of the magenta code points according to the dark points;
If dark points appear in the image data on the B color channel, determining the yellow code points which at least need to be formed by the Y color channel in the microcosmic coded image, and determining the positions and the sizes of the yellow code points according to the dark points.
In a second aspect, embodiments of the present invention also provide an anti-counterfeiting device, the device comprising:
an image printing module for performing color ink printing on a target object by adopting a CMYK color mode to form a microcoded image on the target object, wherein the microcoded image comprises code points of at least one color;
and the image application module is used for taking the microcosmic coded image as an anti-counterfeiting code for anti-counterfeiting.
In a third aspect, an embodiment of the present invention further provides a computer apparatus, including:
One or more processors;
A memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the anti-counterfeiting method provided by any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the anti-counterfeiting method provided by any embodiment of the present invention.
The embodiment of the invention provides an anti-counterfeiting method, which comprises the steps of firstly adopting a CMYK color mode to print color ink on a target object so as to form a microcosmic code image on the target object, wherein the microcosmic code image comprises code points of at least one color, and then using the obtained microcosmic code image as an anti-counterfeiting code for anti-counterfeiting. According to the anti-counterfeiting method provided by the embodiment of the invention, the micro-coded image, particularly the color micro-coded image, is used as the anti-counterfeiting code, so that the copying difficulty of the anti-counterfeiting code is increased, a better anti-counterfeiting effect is achieved, and meanwhile, the micro-coded image is printed on a target object through color ink printing, so that the micro-coded image can comprise code points with various colors, the anti-counterfeiting code can carry more information, the anti-counterfeiting code is suitable for the quantity requirements of various products, and a colorful visual effect can be formed by using the color micro-coded image as the anti-counterfeiting code, so that the whole target object is more attractive.
Drawings
FIG. 1 is a flow chart of an anti-counterfeiting method according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of an exemplary microcoded image provided in accordance with a first embodiment of the present invention;
FIG. 3 is a schematic illustration of another exemplary microcoded image provided in accordance with a first embodiment of the present invention;
FIG. 4 is a schematic diagram of a superimposed microcoded image according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an anti-counterfeiting device according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to a third embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts steps as a sequential process, many of the steps may be implemented in parallel, concurrently, or with other steps. Furthermore, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example 1
Fig. 1 is a flowchart of an anti-counterfeiting method according to an embodiment of the present invention. The embodiment is applicable to the situation that anti-counterfeiting codes are arranged on any product for anti-counterfeiting, the method can be executed by the anti-counterfeiting device provided by the embodiment of the invention, and the device can be realized by hardware and/or software and can be generally integrated in computer equipment. As shown in fig. 1, the method specifically comprises the following steps:
S11, performing color ink printing on a target object by adopting a CMYK color mode to form a microcoded image on the target object, wherein the microcoded image comprises code points of at least one color.
The microcosmic coding image is an image formed by taking micron as a unit of code points according to a certain arrangement rule, wherein the microcosmic coding image contains variable data information, one object and one code can be realized, and the coding is not repeated. Because the code points are very small and are difficult to distinguish by naked eyes, the code points have a very good hiding effect and can be well combined with commodity printing marks. Currently, the dominant color ink printing is a CMYK color mode using 4 primary colors, i.e., four colors of ink of C (cyan), M (magenta), Y (yellow), and K (black). White light is formed by mixing red, green and blue light, when the white light irradiates on various colors of ink, the C (cyan) ink can absorb red light, green and blue light are reserved to display cyan, the M (magenta) ink can absorb green light, red and blue light are reserved to display magenta, the Y (yellow) ink can absorb blue light, red and green light are reserved to display yellow, and the K (black) ink can absorb all three colors of red, green and blue to display black. Specifically, the ink with various colors can be used for printing a microcoded image at a preset position on the surface of the target object, so that the microcoded image comprises code points with at least one color.
Optionally, the printing of color inks on the target using a CMYK color scheme to form a microcoded image on the target includes forming cyan, magenta, and yellow codepoints using C, M and Y color channels, respectively. In particular, in the traditional color ink printing, the purity of the ink is often not satisfactory due to the limitation of the production technology, so that the black mixed by the cyan, magenta and yellow inks is not strong enough and can only be mixed by means of purified K (black) ink. However, in this embodiment, the subsequent process of verifying the security can be realized by absorbing different colors with the ink of each color, and only absorbing light of one color, and meanwhile, the microcoded image is difficult to distinguish by naked eyes, and there is no high requirement on the actually displayed colors, so that the ink of each color can be used to print the code points in the microcoded image only with the ink of three colors of cyan, magenta and yellow, wherein each color can be used to realize independent printing, that is, the cyan ink can be used to print the cyan code points through the C color channel, the magenta ink can be used to print the magenta code points through the M color channel, and the yellow ink can be used to print the yellow code points through the Y color channel. Before printing, code dot patterns of all color channels can be respectively generated, and independent printing can be realized by controlling all color channels according to all the code dot patterns, namely layer-by-layer printing can be realized for all the colors, and the code dot patterns can be first overlapped to generate a final pattern, and printing can be directly performed according to the pattern. It should be noted that, for all the microcoded images of the target, the three color inks may be used to form code points, and, in particular, for a microcoded image of a target, at least one color code point may still be formed.
Further optionally, after the cyan code point, the magenta code point, and the yellow code point are respectively formed using C, M and Y color channels, the method further comprises independently forming a plurality of the microcoded images using the code points formed by the respective color channels. In particular, the micro-coded image may be a plurality of micro-coded images, and each micro-coded image may include only code points of one color, where each micro-coded image may be disposed at a different location on the surface of the target object without overlapping. In the subsequent anti-counterfeiting verification process, each microcoded image can be verified respectively, the passing of anti-counterfeiting verification can be determined only under the condition that all microcoded images pass verification, and the passing of anti-counterfeiting verification can also be determined under the condition that part of microcoded images pass verification, so that the anti-counterfeiting effect is further improved.
Further optionally, after the cyan code point, the magenta code point, and the yellow code point are formed using C, M and Y color channels, respectively, the method further comprises forming the code points formed by the color channels together into one of the microcoded images. Specifically, the microcosmic code image can be one, namely microcosmic code images formed by all color channels can be aligned and overlapped together to form one microcosmic code image, and then in the subsequent anti-counterfeiting verification process, the microcosmic code image can be verified through R, G and B three color channels respectively to determine whether code points of different colors can pass verification or not respectively, and only if all the color code points pass verification, the anti-counterfeiting verification can be determined, and the anti-counterfeiting verification can be determined to pass under the condition that part of the color code points pass verification, so that the anti-counterfeiting effect is further improved.
Further alternatively, in the case that there is only one microcoded image, the code points formed by each color channel partially or completely overlap in the microcoded image, and of course, may also be completely non-overlapping, where there are multiple microcoded images, the code points formed by each color channel naturally completely do not overlap. Specifically, code points formed by different color channels may overlap, i.e., two or more code points formed by color channels are allowed to exist on the same coordinate. When there is a superposition between the cyan ink, the magenta ink, and the yellow ink, light of the respective corresponding colors can be absorbed, for example, when the cyan ink and the magenta ink are superposed, light of red and green can be absorbed while light of blue remains, thereby exhibiting blue color. Since code dots of different colors may overlap, after printing is completed, there may be cyan, magenta, yellow, red, green, blue, and black code dots on the surface of the object.
S12, using the microcosmic coded image as an anti-counterfeiting code for anti-counterfeiting.
Specifically, after the microcoded image is printed on the target object, the microcoded image and the color ink printing are combined according to the light absorption characteristics of the ink with various colors, so that the color microcoded image obtained by the color ink printing is used as an anti-counterfeiting code. The micro-coded image adopts the code points with the size of micron, the code points are copied in the micron size and are easy to lose, the code points are lost or the size of the code points is obviously changed, so that the authenticity of the micro-coded image can be discriminated by discriminating the micro-coded image, and particularly, the color micro-coded image is copied by color copying equipment or scanning and printing equipment, but the process of copying or scanning and then printing is carried out, the imaging is carried out firstly and then the data is restored to CMYK color mode and then the data is printed, and the performance and the precision limit are adopted, so that the restoration of the colors of the equipment on the micron size is not ideal, the loss or the color error of part of the code points can be more or less caused, particularly, when the code points with more than two colors are overlapped, the color error after restoration can be larger, and the code points on C, M, Y channels are mutually interfered seriously, so that the subsequent anti-counterfeiting verification process fails. Meanwhile, a plurality of color channels are used for forming code points with different colors, so that more information can be contained, namely three times of a single color channel, and the color of the code points can reach seven kinds at most because of the color coding image, so that colorful visual effect can be formed, and the whole object is more attractive.
On the basis of the technical scheme, after the microcoded image is used as an anti-counterfeiting code, optionally, the method further comprises the steps of obtaining image data of the microcoded image on the object on R, G and three color channels B, determining the color, the position and the size of the code point according to the image data on each color channel, and performing anti-counterfeiting verification according to the color, the position and the size of the code point. Specifically, when anti-counterfeit verification is required, a color image including a microcosmic code image on a target object can be captured by using a mobile phone or special identification equipment under the irradiation of natural light or white light, and the microcosmic code image in the color image can be intercepted according to the edge characteristics or positioning characteristics of the microcosmic code image and the like. Then, based on the RGB color mode, the color image (specifically, the microcoded image part) can be separated into image data of three color channels of R (red), G (green) and B (blue), so that the position and the size of the code points of each color in the image can be determined according to the light absorption characteristics of the ink of each color and the image data on each color channel. It is also possible to use special reading equipment to illuminate the microcoded image of the target object surface with light sources of three colors of R (red), G (green) and B (blue), respectively, and capture image data of the corresponding three color channels of R (red), G (green) and B (blue), thereby determining the positions and sizes of the code points of the respective colors in the image. The former has better universality, and can be realized by using general equipment such as mobile phones and the like, while the latter has to use special equipment, but the separation degree of three color channels is relatively higher, so that the three color channels have higher accuracy. After determining the color, the position and the size of each code point, the information may be compared with the target microcoded image, or the information may be searched in a microcoded image database to determine whether the microcoded image in the currently captured color image is true, a specific image analysis process and an anti-counterfeiting verification process, which are not particularly limited in this embodiment, where the target microcoded image may be a reserved real microcoded image corresponding to the current target object.
Further optionally, the anti-counterfeiting verification is performed according to the color, the position and the size of the code points, and comprises the steps of respectively performing anti-counterfeiting verification on microcosmic coded images formed by the code points of each color independently, and determining the authenticity of the target object according to each verification result. Specifically, after determining the color, position and size of each code point, the code points with the same color can be extracted respectively to form each microcoded image, and then each microcoded image can be subjected to anti-counterfeiting verification, and specific verification methods include, but are not limited to, the verification methods described above, for example, each microcoded image can be compared with each corresponding target microcoded image respectively, and each microcoded image can be searched in a microcoded image database respectively, and the like. After the verification results of each microcosmic coded image are obtained, the authenticity of the target object can be finally determined according to each verification result, for example, the target object can be determined to be true under the condition that all verification passes, the target object can be determined to be true under the condition that a preset part of verification passes, and the like.
Further optionally, the determining the color, position and size of the code point according to the image data on each color channel includes determining the cyan code point in the microcosmic encoded image that is at least required to be formed by a C color channel if a dark point appears in the image data on an R color channel, determining the position and size of the cyan code point according to the dark point that appears, determining the magenta code point in the microcosmic encoded image that is at least required to be formed by an M color channel if a dark point appears in the image data on a G color channel, and determining the position and size of the magenta code point according to the dark point that appears, and determining the yellow code point in the microcosmic encoded image that is at least required to be formed by a Y color channel if a dark point appears in the image data on a B color channel, and determining the position and size of the yellow code point according to the dark point that appears. Specifically, when the code points are not overlapped, the cyan code point absorbs red light and retains green and blue light, the code points show dark points in an R color channel in a color image, no obvious features in a G color channel and a B color channel, the magenta code point absorbs green light and retains red and blue light, the code points show dark points in a G color channel in the color image, no obvious features in an R color channel and a B color channel, the yellow code point absorbs blue light and retains red and green light, the code points show dark points in a B color channel in the color image, and no obvious features in the R color channel and the G color channel. When two or more than two different color code points overlap, the cyan code point and the magenta code point absorb red and green light, and the blue light is reserved, so that the code point presents a dark point in R and G color channels in a color image, no obvious characteristic is present in B color channels, when the cyan code point and the yellow code point overlap, the red and blue light are absorbed, the green light is reserved, the code point presents a dark point in R and B color channels in the color image, no obvious characteristic is present in G color channels, when the magenta code point and the yellow code point overlap, the green and blue light are absorbed, the red light is reserved, the code point presents a dark point in G and B color channels in the color image, no obvious characteristic is present in R channel, and when the cyan code point, the magenta code point and the yellow code point overlap, the code point presents a dark point in R, G and B color channels in the color image. It can be seen that, the image data of the microcosmic code image on the R, G and the B color channels are separated, that is, the images of the code points of the cyan, the magenta and the yellow colors can be filtered out, and then the images are processed, that is, the positions and the sizes of the code points of various colors can be obtained, even if the code points of different colors are overlapped, the positions are not interfered, wherein the positions can be coordinate positions in a coordinate system which is established by taking the edge of the microcosmic code image as a coordinate axis, and the like.
Illustratively, as shown in fig. 2, the code points are set in the three color channels of C (cyan), M (magenta), and Y (yellow), and the code points do not overlap, wherein the number of code points contained in each of the three channels is 12, 11, and 14, and the number of code points contained in each of the three channels after the three channels are superimposed is 37, which is the sum of the number of code points contained in each of the three channels. After the superimposed image is printed, all code points containing three channels are contained on the surface of the target object, after image data of three color channels R (red), G (green) and B (blue) of a microcosmic coded image on the surface of the target object are obtained by using a mobile phone or special equipment, coordinates of the code points and sizes of the code points in the three color channels R, G and B (corresponding to C, M and Y color channels in an original microcosmic coded image respectively) can be calculated respectively, and authenticity can be further identified by analysis.
Illustratively, as shown in fig. 3, the code points are set in the three color channels of C (cyan), M (magenta) and Y (yellow), and part of the code points overlap, where the number of code points contained in the three channels is 14, 11 and 14, respectively, and the number of code points contained in the three channels is 33 and is smaller than the sum 39 of the number of code points of the three channels after the three channels are overlapped due to the partial overlap of the code points (e.g., the code point 1 and the code point 2 in fig. 4 are formed by overlapping one code point on the C and M color channels, and the code point 3 and the code point 4 are formed by overlapping one code point on the C, M and the Y color channels, respectively). After the superimposed image is printed on the surface of the object, the code dots 1 and 2 respectively absorb red and green light to appear blue due to the cyan and magenta superimposed inks, and the code dots 3 and 4 respectively absorb red, green and blue light to appear black due to the cyan, magenta and yellow superimposed inks. Then capturing image data of three color channels R (red), G (green) and B (blue) of a microcosmic coded image on a target object through a mobile phone or special equipment, and then respectively calculating coordinates of code points and sizes of the code points in the three color channels R, G and B (corresponding to C, M and Y color channels in an original microcosmic coded image respectively), and further identifying authenticity through analysis.
According to the technical scheme provided by the embodiment of the invention, the CMYK color mode is adopted to print color ink on the target object to form the microcoded image on the target object, wherein the microcoded image comprises code points of at least one color, and then the obtained microcoded image can be used as an anti-counterfeiting code for counterfeiting. The micro coding image, particularly the color micro coding image, is used as the anti-counterfeiting code, so that the copying difficulty of the anti-counterfeiting code is increased, the better anti-counterfeiting effect is achieved, meanwhile, the micro coding image is printed on a target object through color ink printing, the micro coding image can comprise code points with various colors, the anti-counterfeiting code can carry more information, the anti-counterfeiting code is suitable for the number requirements of various products, and the colorful visual effect can be formed by using the color micro coding image as the anti-counterfeiting code, so that the whole target object is more attractive.
Example two
Fig. 5 is a schematic structural diagram of an anti-counterfeiting device according to a second embodiment of the present invention, where the anti-counterfeiting device may be implemented in hardware and/or software, and may be generally integrated in a computer device for executing the anti-counterfeiting method according to any embodiment of the present invention. As shown in fig. 5, the apparatus includes:
An image printing module 51 for performing color ink printing on a target object using a CMYK color mode to form a micro-coded image on the target object, wherein the micro-coded image includes code points of at least one color;
the image application module 52 is configured to use the microcoded image as an anti-counterfeiting code for anti-counterfeiting.
According to the technical scheme provided by the embodiment of the invention, the CMYK color mode is adopted to print color ink on the target object to form the microcoded image on the target object, wherein the microcoded image comprises code points of at least one color, and then the obtained microcoded image can be used as an anti-counterfeiting code for counterfeiting. The micro coding image, particularly the color micro coding image, is used as the anti-counterfeiting code, so that the copying difficulty of the anti-counterfeiting code is increased, the better anti-counterfeiting effect is achieved, meanwhile, the micro coding image is printed on a target object through color ink printing, the micro coding image can comprise code points with various colors, the anti-counterfeiting code can carry more information, the anti-counterfeiting code is suitable for the number requirements of various products, and the colorful visual effect can be formed by using the color micro coding image as the anti-counterfeiting code, so that the whole target object is more attractive.
On the basis of the above technical solution, optionally, the image printing module 51 is specifically configured to:
The cyan code point, the magenta code point, and the yellow code point are formed using C, M and Y three color channels, respectively.
On the basis of the above technical solution, optionally, the image printing module 51 is specifically further configured to:
After the cyan code point, the magenta code point and the yellow code point are respectively formed by using C, M and Y color channels, respectively, a plurality of the microcoded images are independently formed by using the code points formed by the color channels respectively, or
And forming a microcosmic coded image by the code points formed by the color channels.
On the basis of the technical scheme, optionally, code points formed by the color channels are partially or completely overlapped in the microcosmic coded image or are not overlapped at all.
On the basis of the technical scheme, the anti-counterfeiting device further comprises:
The image data acquisition module is used for acquiring image data of the microcosmic code image on the object on three color channels R, G and B after the microcosmic code image is used as an anti-counterfeiting code;
The code point characteristic determining module is used for determining the color, the position and the size of the code point according to the image data on each color channel;
and the anti-counterfeiting verification module is used for anti-counterfeiting verification according to the color, the position and the size of the code point.
On the basis of the technical scheme, the anti-counterfeiting verification module is optional and is specifically used for:
And respectively carrying out anti-counterfeiting verification on microcosmic coded images formed by code points of each color, and determining the authenticity of the target object according to each verification result.
Based on the above technical solution, optionally, the code point feature determining module is specifically configured to:
if a dark spot appears in the image data on the R color channel, determining the cyan code point which at least needs to be formed by the C color channel in the microcosmic coded image, and determining the position and the size of the cyan code point according to the dark spot;
If dark points appear in the image data on the G color channel, determining the magenta code points which at least need to be formed by the M color channel in the microcosmic coded image, and determining the positions and the sizes of the magenta code points according to the dark points;
If dark points appear in the image data on the B color channel, determining the yellow code points which at least need to be formed by the Y color channel in the microcosmic coded image, and determining the positions and the sizes of the yellow code points according to the dark points.
The anti-counterfeiting device provided by the embodiment of the invention can execute the anti-counterfeiting method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the above embodiment of the anti-counterfeiting device, the included units and modules are only divided according to the functional logic, but not limited to the above division, as long as the corresponding functions can be implemented, and the specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Example III
Fig. 6 is a schematic structural diagram of a computer device provided in a third embodiment of the present invention, and shows a block diagram of an exemplary computer device suitable for implementing an embodiment of the present invention. The computer device shown in fig. 6 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention. As shown in fig. 6, the computer device includes a processor 61, a memory 62, an input device 63 and an output device 64, where the number of processors 61 in the computer device may be one or more, and in fig. 6, one processor 61 is taken as an example, and the processor 61, the memory 62, the input device 63 and the output device 64 in the computer device may be connected by a bus or other means, and in fig. 6, the connection by a bus is taken as an example.
The memory 62 is used as a computer readable storage medium for storing software programs, computer executable programs and modules, such as program instructions/modules corresponding to the anti-counterfeit method in the embodiment of the present invention (e.g., the image printing module 51 and the image application module 52 in the anti-counterfeit device). The processor 61 executes various functional applications of the computer device and data processing, i.e., implements the above-described anti-counterfeit method, by running software programs, instructions, and modules stored in the memory 62.
The memory 62 may mainly include a storage program area that may store an operating system, application programs required for at least one function, and a storage data area that may store data created according to the use of the computer device, etc. In addition, memory 62 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 62 may further comprise memory remotely located relative to processor 61, which may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 63 may be used to capture color images of the microcoded image on the subject matter, as well as to generate key signal inputs related to user settings and function control of the computer device, etc. The output device 64 may be used to color ink print on a target object using a CMYK color mode, to form a microcoded image on the target object, and so on.
Example IV
A fourth embodiment of the present invention also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing a method of anti-counterfeiting, the method comprising:
performing color ink printing on a target object by adopting a CMYK color mode to form a microcoded image on the target object, wherein the microcoded image comprises code points of at least one color;
and using the microcosmic coded image as an anti-counterfeiting code for anti-counterfeiting.
The storage medium may be any of various types of memory devices or storage devices. The term "storage medium" is intended to include mounting media such as CD-ROM, floppy disk or tape devices, computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, lanbas (Rambus) RAM, etc., non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage), registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the internet). The second computer system may provide program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (e.g., in different computer systems connected by a network). The storage medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present invention is not limited to the above-described method operations, and may also perform the related operations in the anti-counterfeiting method provided in any embodiment of the present invention.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk, or an optical disk of a computer, etc., and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (6)

Translated fromChinese
1.一种防伪方法,其特征在于,包括:1. An anti-counterfeiting method, characterized by comprising:采用CMYK颜色模式在标的物上进行彩色油墨印刷,以在所述标的物上形成微观编码图像,其中,所述微观编码图像包括至少一种颜色的码点;Performing color ink printing on the target object using a CMYK color mode to form a microscopic coded image on the target object, wherein the microscopic coded image includes code points of at least one color;将所述微观编码图像作为防伪码用于防伪;Using the microscopic coded image as an anti-counterfeiting code for anti-counterfeiting;所述采用CMYK颜色模式在标的物上进行彩色油墨印刷,以在所述标的物上形成微观编码图像,包括:The method of printing color ink on the target object using the CMYK color mode to form a microscopic coded image on the target object includes:使用C、M和Y三个颜色通道分别形成青色码点、洋红色码点和黄色码点;Use the three color channels C, M, and Y to form cyan code points, magenta code points, and yellow code points respectively;在所述使用C、M和Y三个颜色通道分别形成青色码点、洋红色码点和黄色码点之后,还包括:After using the three color channels C, M and Y to form cyan code points, magenta code points and yellow code points respectively, the method further includes:将各个所述颜色通道形成的码点共同构成一张所述微观编码图像;各个所述颜色通道形成的码点在所述微观编码图像中部分或全部重叠;The code points formed by the color channels together form a microscopic coded image; the code points formed by the color channels partially or completely overlap in the microscopic coded image;在所述将所述微观编码图像作为防伪码用于防伪之后,还包括:After using the microscopic coded image as an anti-counterfeiting code for anti-counterfeiting, the method further comprises:获取所述标的物上所述微观编码图像在R、G和B三个颜色通道上的图像数据;Acquire image data of the microscopic coded image on the target object in three color channels of R, G and B;根据各个所述颜色通道上的所述图像数据确定所述码点的颜色、位置及尺寸;Determine the color, position and size of the code point according to the image data on each of the color channels;根据所述码点的颜色、位置及尺寸进行防伪验证。Anti-counterfeiting verification is performed based on the color, position and size of the code point.2.根据权利要求1所述的防伪方法,其特征在于,所述根据所述码点的颜色、位置及尺寸进行防伪验证,包括:2. The anti-counterfeiting method according to claim 1, characterized in that the anti-counterfeiting verification according to the color, position and size of the code point comprises:对每种颜色的码点独立构成的微观编码图像分别进行防伪验证,并根据各个验证结果确定所述标的物的真伪。The microscopic coded images independently formed by the code points of each color are respectively subjected to anti-counterfeiting verification, and the authenticity of the subject matter is determined based on the respective verification results.3.根据权利要求1所述的防伪方法,其特征在于,所述根据各个所述颜色通道上的所述图像数据确定所述码点的颜色、位置及尺寸,包括:3. The anti-counterfeiting method according to claim 1, characterized in that the step of determining the color, position and size of the code point according to the image data on each of the color channels comprises:若在R颜色通道上的所述图像数据中出现暗点,则确定所述微观编码图像中至少需要C颜色通道形成的所述青色码点,并根据出现的暗点确定所述青色码点的位置及尺寸;If a dark spot appears in the image data on the R color channel, it is determined that at least the cyan code point formed by the C color channel is required in the micro-encoded image, and the position and size of the cyan code point are determined according to the dark spot that appears;若在G颜色通道上的所述图像数据中出现暗点,则确定所述微观编码图像中至少需要M颜色通道形成的所述洋红色码点,并根据出现的暗点确定所述洋红色码点的位置及尺寸;If a dark spot appears in the image data on the G color channel, it is determined that at least the magenta code point formed by the M color channel is required in the microscopic coded image, and the position and size of the magenta code point are determined according to the dark spot that appears;若在B颜色通道上的所述图像数据中出现暗点,则确定所述微观编码图像中至少需要Y颜色通道形成的所述黄色码点,并根据出现的暗点确定所述黄色码点的位置及尺寸。If a dark spot appears in the image data on the B color channel, the yellow code point formed by at least the Y color channel in the micro-encoded image is determined, and the position and size of the yellow code point are determined based on the dark spot that appears.4.一种防伪装置,其特征在于,包括:4. An anti-counterfeiting device, comprising:图像印刷模块,用于采用CMYK颜色模式在标的物上进行彩色油墨印刷,以在所述标的物上形成微观编码图像,其中,所述微观编码图像包括至少一种颜色的码点;An image printing module, used for printing color ink on the target object using a CMYK color mode to form a microscopic coded image on the target object, wherein the microscopic coded image includes code points of at least one color;图像应用模块,用于将所述微观编码图像作为防伪码用于防伪;An image application module, used for using the microscopic coded image as an anti-counterfeiting code for anti-counterfeiting;所述图像印刷模块具体用于:The image printing module is specifically used for:使用C、M和Y三个颜色通道分别形成青色码点、洋红色码点和黄色码点;Use the three color channels C, M, and Y to form cyan code points, magenta code points, and yellow code points respectively;所述图像印刷模块具体还用于:The image printing module is also specifically used for:在所述使用C、M和Y三个颜色通道分别形成青色码点、洋红色码点和黄色码点之后,将各个所述颜色通道形成的码点共同构成一张所述微观编码图像;各个所述颜色通道形成的码点在所述微观编码图像中部分或全部重叠;After using the three color channels C, M and Y to form cyan code points, magenta code points and yellow code points respectively, the code points formed by the respective color channels are used together to form a microscopic coded image; the code points formed by the respective color channels partially or completely overlap in the microscopic coded image;所述防伪装置,还包括:The anti-counterfeiting device further comprises:图像数据获取模块,用于在所述将所述微观编码图像作为防伪码用于防伪之后,获取所述标的物上所述微观编码图像在R、G和B三个颜色通道上的图像数据;An image data acquisition module, used for acquiring image data of the microscopic coded image on the target object in three color channels of R, G and B after the microscopic coded image is used as an anti-counterfeiting code for anti-counterfeiting;码点特征确定模块,用于根据各个所述颜色通道上的所述图像数据确定所述码点的颜色、位置及尺寸;A code point feature determination module, used to determine the color, position and size of the code point according to the image data on each of the color channels;防伪验证模块,用于根据所述码点的颜色、位置及尺寸进行防伪验证。The anti-counterfeiting verification module is used to perform anti-counterfeiting verification according to the color, position and size of the code point.5.一种计算机设备,其特征在于,包括:5. A computer device, comprising:一个或多个处理器;one or more processors;存储器,用于存储一个或多个程序;A memory for storing one or more programs;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-3中任一所述的防伪方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the anti-counterfeiting method as described in any one of claims 1 to 3.6.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-3中任一所述的防伪方法。6. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the anti-counterfeiting method according to any one of claims 1 to 3 is implemented.
CN202111214899.3A2021-10-192021-10-19Anti-counterfeiting method, anti-counterfeiting device, computer equipment and storage mediumActiveCN115534550B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111214899.3ACN115534550B (en)2021-10-192021-10-19Anti-counterfeiting method, anti-counterfeiting device, computer equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111214899.3ACN115534550B (en)2021-10-192021-10-19Anti-counterfeiting method, anti-counterfeiting device, computer equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN115534550A CN115534550A (en)2022-12-30
CN115534550Btrue CN115534550B (en)2025-02-18

Family

ID=84722917

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111214899.3AActiveCN115534550B (en)2021-10-192021-10-19Anti-counterfeiting method, anti-counterfeiting device, computer equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN115534550B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN118942086A (en)*2024-10-122024-11-12深圳前海量子云码科技有限公司 Scanning and recognition method, device, equipment, medium and product for microscopic coding code pattern

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20100282856A1 (en)*2009-05-062010-11-11Xerox CorporationMethod for encoding and decoding data in a color barcode pattern

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
DE10361131A1 (en)*2003-12-222005-07-21Giesecke & Devrient Gmbh Security element for security papers and value documents
CN109948766B (en)*2019-03-292022-04-08北京印刷学院Multi-code composite color anti-counterfeiting two-dimensional code and generation and reading method thereof
CN110533017B (en)*2019-09-042021-01-29程烨Authenticity identification method, device, terminal and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20100282856A1 (en)*2009-05-062010-11-11Xerox CorporationMethod for encoding and decoding data in a color barcode pattern

Also Published As

Publication numberPublication date
CN115534550A (en)2022-12-30

Similar Documents

PublicationPublication DateTitle
Sharma et al.Comprehensive analyses of image forgery detection methods from traditional to deep learning approaches: an evaluation
US9881438B2 (en)Method and system for printing stock anti-counterfeiting by means of feature image
US11715309B2 (en)Method for producing security elements in an image which are not visible to the human eye and cannot be copied, and printed image
US9594994B2 (en)Security element and method to inspect authenticity of a print
JP5124269B2 (en) ID documents with enhanced security
KR20090018215A (en) Lead method of dot pattern
KR20160006595A (en)Augmenting barcodes with secondary encoding for anti-counterfeiting
CN101954804B (en)Frequency conversion screening anti-counterfeiting printing process
CN115534550B (en)Anti-counterfeiting method, anti-counterfeiting device, computer equipment and storage medium
WO2019214291A1 (en)Three-dimensional code generating and parsing method
US20070267865A1 (en)Document with linked viewer file for correlated printing
CN110263893A (en)A kind of anti-fake two-dimension code generation method and device being embedded in watermark
US11164058B2 (en)Information recording object
CN110009080B (en)Two-dimensional code generation method, verification method, server and two-dimensional code
EP2851207A1 (en)Personalization of documents
KR102500424B1 (en) How to verify security devices containing signatures
KR102240840B1 (en)the verifying authenticity system using the forgery prevention paper or the security printing structure
Nataraj et al.Holistic image manipulation detection using pixel co-occurrence matrices
US20220237742A1 (en)White Background Protection in SRGAN Based Super Resolution
JP2899736B2 (en) Image processing apparatus and copying machine using the same
US12101450B2 (en)Method of generating a secure image
US12220934B2 (en)Method of printing authentication indicators with amplitude modulated halftone printing
CN115293312B (en)Anti-counterfeiting method, anti-counterfeiting device, computer equipment and storage medium
JP5850370B2 (en) Printed material production method, printed material and authenticity determination method
CN116051806B (en)Digital document image falsification positioning method based on character texture perception

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
TA01Transfer of patent application right
TA01Transfer of patent application right

Effective date of registration:20240415

Address after:Unit 05, 10th Floor, Building 1, Aofeng Plaza, Aofeng Street, Taijiang District, Fuzhou City, Fujian Province, 350000

Applicant after:Quantum cloud code (Fujian) Technology Co.,Ltd.

Country or region after:China

Address before:No. 8, Gaoxin Avenue, Haixi Hi tech Zone, Shangjie Town, Minhou County, Fuzhou City, 350000, Fujian Province

Applicant before:Mindu Innovation Laboratory

Country or region before:China

GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp