Invisible anti-counterfeiting methods, electronic devices and storage media based on printed dot structures

By using an invisible anti-counterfeiting method based on printed dot structure, and utilizing spot color and contrasting color printing modules to form a microscopically differentiated dot structure, the problem of easy copying of anti-counterfeiting marks in existing technologies is solved, and efficient and reliable authenticity verification is achieved.

CN121179893BActive Publication Date: 2026-05-26HUIZHOU HAIFU PACKAGING TECHNOLOGY CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUIZHOU HAIFU PACKAGING TECHNOLOGY CO LTD
Filing Date
2025-08-19
Publication Date
2026-05-26

Smart Images

  • Figure CN121179893B_ABST
    Figure CN121179893B_ABST
Patent Text Reader

Abstract

This application discloses an invisible anti-counterfeiting method, electronic device, and storage medium based on printed dot structure. The method includes: acquiring a first image of an anti-counterfeiting label of a product to be verified; performing recognition processing on the first image to identify a first verification area and a second verification area of ​​the anti-counterfeiting label; obtaining a first grid structure of the first verification area and a second grid structure of the second verification area based on the first image; and determining the authenticity identification result of the product to be verified based on the first grid structure and the second grid structure. The printing steps of the anti-counterfeiting label are as follows: acquiring a preset standard image; determining a first printing area and a second printing area in the standard image based on a preset partitioning strategy; controlling a spot color printing module in an invisible anti-counterfeiting printing device to print based on the first printing area of ​​the standard image; and controlling a contrasting color printing module in the invisible anti-counterfeiting printing device to print based on the second printing area of ​​the standard image, thereby obtaining the anti-counterfeiting label.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of anti-counterfeiting printing technology, and in particular to an invisible anti-counterfeiting method, electronic device and storage medium based on printing dot structure. Background Technology

[0002] In traditional anti-counterfeiting technologies, the design of anti-counterfeiting labels often relies on macroscopic pattern differences as anti-counterfeiting features, such as color block splicing and line combinations. Under this approach, counterfeiters can easily replicate the labels through high-precision scanning or pattern tracing, resulting in low counterfeiting costs. Current technologies primarily rely on visual comparison of macroscopic patterns for verifying the authenticity of anti-counterfeiting labels, lacking differentiated design for microscopic printing structures, making it difficult to form an effective anti-counterfeiting barrier. Summary of the Invention

[0003] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes an invisible anti-counterfeiting method, electronic device, and storage medium based on printed halftone structure, which increases the difficulty of counterfeiting anti-counterfeiting marks and improves the reliability of authenticity verification.

[0004] In a first aspect, this application provides an invisible anti-counterfeiting method based on printed dot structure, including:

[0005] Obtain the first image of the anti-counterfeiting label of the product to be verified;

[0006] The first image is processed for recognition to confirm the first verification area and the second verification area of ​​the anti-counterfeiting mark;

[0007] Based on the first image, the first grid structure of the first verification region and the second grid structure of the second verification region are obtained;

[0008] Based on the first grid structure and the second grid structure, determine the authenticity identification result of the product to be verified;

[0009] The anti-counterfeiting label is obtained by printing using an invisible anti-counterfeiting printing device according to the following steps:

[0010] Obtain a preset standard image;

[0011] Based on a preset partitioning strategy, the first printing area and the second printing area in the standard image are determined;

[0012] Based on the first printing area of ​​the standard image, the spot color printing module in the invisible anti-counterfeiting printing equipment is controlled to print, and based on the second printing area of ​​the standard image, the contrasting color printing module in the invisible anti-counterfeiting printing equipment is controlled to print, thereby obtaining an anti-counterfeiting label.

[0013] The invisible anti-counterfeiting method based on printed halftone structure according to the first aspect of this application has at least the following beneficial effects: First, an anti-counterfeiting label image of the product to be verified is acquired. A first verification area and a second verification area in the image are determined through recognition processing. Then, the grid structure of these two areas is analyzed. Finally, the authenticity of the product is determined based on the first and second grid structures. At the printing end, a standard image is first acquired and partitioned according to a partitioning strategy to obtain a first printing area for spot color printing and a second printing area for contrasting color printing. Then, corresponding spot color printing modules and contrasting color printing modules are used for printing, so that the anti-counterfeiting label maintains pattern continuity macroscopically while forming a differentiated halftone structure microscopically. In the solution of this application, the anti-counterfeiting label with macroscopic visual consistency and microscopic structural differences can effectively increase the difficulty of counterfeiting the anti-counterfeiting label and improve the reliability of authenticity verification.

[0014] According to some embodiments of the first aspect of this application, the step of performing recognition processing on the first image to confirm the first verification area and the second verification area of ​​the anti-counterfeiting mark includes:

[0015] Obtain a standard image and the corresponding partitioning strategy; wherein the partitioning strategy is used to represent the regional positions of the first printing area and the second printing area in the standard image;

[0016] First contour features are determined for the first image, and standard contour features are determined for the standard image.

[0017] Based on the first contour feature and the standard contour feature, the first image and the standard image are coordinate registered;

[0018] Based on the partitioning strategy, according to the coordinate mapping relationship between the first image and the standard image, the first verification area corresponding to the first printing area and the second verification area corresponding to the second printing area are identified.

[0019] According to some embodiments of the first aspect of this application, obtaining a first mesh structure of the first verification region and a second mesh structure of the second verification region based on the first image includes:

[0020] The first image is subjected to color space conversion to change the color channels of the first image from a first color space type to a second color space type;

[0021] Based on a preset color difference threshold, the color channels of the first image are separated to obtain the distribution characteristics of the color channels in the first image;

[0022] Based on the distribution characteristics corresponding to the first verification region and the second verification region, the corresponding first grid structure and second grid structure are determined respectively through a preset grid classification model.

[0023] According to some embodiments of the first aspect of this application, the execution steps of the grid classification model are as follows:

[0024] Based on the distribution characteristics, determine the color type at the corresponding grid location;

[0025] If only one color exists, the grid structure of the corresponding halftone dot is determined to be a spot color grid structure;

[0026] If there are at least two types of colors, the grid structure of the corresponding dots is determined to be a contrasting color grid structure.

[0027] According to some embodiments of the first aspect of this application, obtaining a first mesh structure of the first verification region and a second mesh structure of the second verification region based on the first image includes:

[0028] Randomly select several first sub-regions in the first verification region and several second sub-regions in the second verification region;

[0029] Based on the first image, determine the third grid structure of each first sub-region and the fourth grid structure of each second sub-region;

[0030] Based on the type proportions of the multiple third grid structures and the type proportions of the multiple fourth grid structures, the first grid structure of the first verification region and the second grid structure of the second verification region are obtained.

[0031] According to some embodiments of the first aspect of this application, the step of controlling the spot color printing module in the invisible anti-counterfeiting printing equipment to print based on the first printing area of ​​the standard image to obtain an anti-counterfeiting mark includes:

[0032] Obtain the spot color printing configuration parameters; wherein, the spot color printing configuration parameters include the spot color dot shape parameters and spot color dot angle parameters of the spot color printing module;

[0033] Based on the first printing area of ​​the standard image, and according to the spot color printing configuration parameters, the spot color printing module in the invisible anti-counterfeiting printing equipment is controlled to perform printing.

[0034] According to some embodiments of the first aspect of this application, the color-blocking printing module includes a cyan printing module, a magenta printing module, a yellow printing module and a black printing module arranged sequentially.

[0035] The second printing area based on the standard image controls the color-blocking printing module in the invisible anti-counterfeiting printing equipment to print, including:

[0036] Obtain the color-blocking printing configuration parameters; wherein, the color-blocking printing configuration parameters include the color-blocking dot shape parameters, color-blocking dot angle parameters, and color-blocking dot ratio parameters corresponding to each module in the color-blocking printing module;

[0037] Based on the second printing area of ​​the standard image, and according to the color-blocking printing configuration parameters, the cyan printing module, the magenta printing module, the yellow printing module, and the black printing module are sequentially controlled to perform printing.

[0038] According to some embodiments of the first aspect of this application, determining the authenticity identification result of the product to be verified based on the first grid structure and the second grid structure includes:

[0039] When the first grid structure is a spot color grid structure, and the shape and angle of the dots within the first grid structure are identified, the first identification result of the first verification area is determined;

[0040] When the second grid structure is a contrasting color grid structure, and the shape and angle of the dots of each color within the second grid structure are identified, the second recognition result of the second verification area is determined;

[0041] Based on the first identification result and the second identification result, the authenticity of the product to be verified is determined.

[0042] Secondly, this application also provides an electronic device, comprising:

[0043] At least one memory;

[0044] At least one processor;

[0045] At least one program;

[0046] The program is stored in the memory, and the processor executes at least one of the programs to implement the invisible anti-counterfeiting method based on printed halftone structure as described in any embodiment of the first aspect.

[0047] Thirdly, the computer-readable storage medium stores computer-executable signals for performing the invisible anti-counterfeiting method based on printed dot structure as described in any embodiment of the first aspect.

[0048] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0049] Additional aspects and advantages of this application will become apparent and readily understood in conjunction with the following description of the embodiments, in which:

[0050] Figure 1 This is a schematic diagram of the structure of an invisible anti-counterfeiting printing device provided in some embodiments of this application;

[0051] Figure 2 A schematic diagram illustrating anti-counterfeiting features provided in some embodiments of this application;

[0052] Figure 3 Flowcharts of invisible anti-counterfeiting methods based on printed halftone structure provided for some embodiments of this application;

[0053] Figure 4 A schematic diagram illustrating the division of anti-counterfeiting label areas according to an embodiment of this application;

[0054] Figure 5 This is a schematic diagram illustrating the division of anti-counterfeiting label areas according to another embodiment of this application.

[0055] The attached diagram is labeled as follows:

[0056] Spot color printing module 100; contrasting color printing module 200; cyan printing module 210; magenta printing module 220; yellow printing module 230; black printing module 240; transport mechanism 300; anti-counterfeiting label 400; first verification area 410; first sub-area 411; first grid structure 412; second verification area 420; second sub-area 421; second grid structure 422. Detailed Implementation

[0057] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0058] In the description of this application, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.

[0059] In the description of this application, the use of "first" and "second" is for the purpose of distinguishing technical features only, and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or the order of the technical features indicated.

[0060] In the description of this application, unless otherwise expressly defined, terms such as "setup," "installation," and "connection" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this application in conjunction with the specific content of the technical solution.

[0061] In traditional anti-counterfeiting technologies, the design of anti-counterfeiting labels often relies on macroscopic pattern differences as anti-counterfeiting features, such as color block splicing and line combinations. Under this approach, counterfeiters can easily replicate the labels through high-precision scanning or pattern tracing, resulting in low counterfeiting costs. Current technologies primarily rely on visual comparison of macroscopic patterns for verifying the authenticity of anti-counterfeiting labels, lacking differentiated design for microscopic printing structures, making it difficult to form an effective anti-counterfeiting barrier.

[0062] Based on this, this application provides an invisible anti-counterfeiting method, electronic device, and storage medium based on printed dot structure to solve the above-mentioned technical problems. The technical solutions provided by this application will be described in detail below.

[0063] Firstly, referring to Figure 3 This application provides a method for invisible anti-counterfeiting using printed halftone dot structures, which may include, but is not limited to, the following steps:

[0064] Step S110: Obtain the first image of the anti-counterfeiting label of the product to be verified;

[0065] Step S120: Perform recognition processing on the first image to confirm the first verification area and the second verification area of ​​the anti-counterfeiting mark;

[0066] Step S130: Based on the first image, obtain the first grid structure of the first verification region and the second grid structure of the second verification region;

[0067] Step S140: Determine the authenticity identification result of the product to be verified based on the first grid structure and the second grid structure.

[0068] Among them, reference Figure 2 The anti-counterfeiting label 400 is printed using an invisible anti-counterfeiting printing device. This device includes a transport mechanism 300, and a spot color printing module 100 and a contrasting color printing module 200 arranged sequentially along the transport direction of the transport mechanism 300. The contrasting color printing module 200, arranged sequentially along the transport direction, includes a cyan printing module 210, a magenta printing module 220, a yellow printing module 230, and a black printing module 240. The printing process may include, but is not limited to, the following steps:

[0069] Step S150: Obtain a preset standard image.

[0070] Step S160: Based on a preset partitioning strategy, determine the first printing area and the second printing area in the standard image.

[0071] Step S170: Based on the first printing area of ​​the standard image, control the spot color printing module in the invisible anti-counterfeiting printing equipment to print, and based on the second printing area of ​​the standard image, control the contrasting color printing module in the invisible anti-counterfeiting printing equipment to print, so as to obtain the anti-counterfeiting mark.

[0072] In steps S110 to S170, an image of the anti-counterfeiting label 400 of the product to be verified is first acquired. The first verification area 410 and the second verification area 420 in the image are determined through recognition processing. The grid structure of these two areas is then analyzed, and the authenticity of the product is determined based on the first grid structure 412 and the second grid structure 422. At the printing end, a standard image is first acquired and partitioned according to a partitioning strategy to obtain a first printing area for spot color printing and a second printing area for contrasting color printing. Then, the corresponding spot color printing module 100 and contrasting color printing module 200 are used for printing, ensuring that the anti-counterfeiting label 400 maintains pattern continuity macroscopically while forming a differentiated dot structure microscopically. In the solution of this application, the anti-counterfeiting label 400, with its macroscopic visual consistency and microscopic structural differences, effectively increases the difficulty of counterfeiting the anti-counterfeiting label 400 and improves the reliability of authenticity verification.

[0073] Understandably, referring to Figure 2 Step S120 may include, but is not limited to, the following steps:

[0074] Step S210: Obtain a standard image and a corresponding partitioning strategy; wherein the partitioning strategy is used to represent the regional positions of the first printing area and the second printing area in the standard image.

[0075] Step S220: Determine the first contour features for the first image and the standard contour features for the standard image.

[0076] Step S230: Based on the first contour features and the standard contour features, perform coordinate registration between the first image and the standard image.

[0077] Step S240: Based on the partitioning strategy, according to the coordinate mapping relationship between the first image and the standard image, confirm the first verification area corresponding to the first printing area and the second verification area corresponding to the second printing area of ​​the anti-counterfeiting mark.

[0078] In steps S210 to S240, a standard image and a corresponding partitioning strategy are first acquired, whereby the partitioning strategy represents the regional positions of the first and second printing areas in the standard image. Then, a first contour feature is determined for the first image, and a standard contour feature is determined for the standard image. Based on the first and standard contour features, the first and standard images are coordinate-registered. Finally, based on the partitioning strategy and the coordinate mapping relationship between the first and standard images, the first verification area corresponding to the first printing area and the second verification area corresponding to the second printing area are confirmed. This method of confirming the first and second verification areas avoids region recognition deviations caused by image acquisition errors or changes in viewing angle, ensuring that the first and second verification areas confirmed during verification accurately match the first and second printing areas during printing in spatial position, thus improving the accuracy and stability of the anti-counterfeiting verification process.

[0079] It is understandable that the partitioning strategy in step S160 can be formulated according to the following steps:

[0080] Step S310: Obtain the standard image and the number of preset areas to be the first printing area.

[0081] Step S320: Divide the standard image into several printing areas to be calibrated; each printing area to be calibrated is marked with a different and consecutive serial number.

[0082] Step S330: Obtain the order number and batch number of the product to be printed, and based on the quantity of the first printing area, determine several candidate serial numbers corresponding to the quantity of the first printing area according to the order number and / or batch number.

[0083] Step S340: Based on the candidate number, determine the corresponding printing area to be calibrated as the first printing area, and determine the remaining printing areas to be calibrated as the second printing area.

[0084] In steps S310 to S340, candidate serial numbers for the first printing area are determined by combining the order number and / or batch number of the product to be printed. This links the zoning strategy with the product's order and batch information, creating differentiation between the first and second printing areas for products from different orders or batches. This dynamic zoning method, which is linked to product production information, increases the concealment and uniqueness of the zoning rules. Counterfeiters find it difficult to deduce the overall zoning logic from a single anti-counterfeiting mark, thereby further enhancing the anti-counterfeiting security of the mark. It also provides potential technical support for product traceability and batch management, enhancing the adaptability of the anti-counterfeiting method in practical production applications.

[0085] In step S320, the standard image is divided into several printing areas to be calibrated. The division rules can be determined according to the anti-counterfeiting features of the standard image. The division methods include vertical division, horizontal division, and vertical and horizontal division. The areas are coded in order from top to bottom and from left to right so that each printing area to be calibrated is marked with a different and consecutive serial number.

[0086] In steps S330 to S340, specifically, firstly, based on the characteristics of the anti-counterfeiting zone's graphics, the standard image is divided into several printing areas to be calibrated using a vertical, horizontal, or combined vertical and horizontal method, and different and consecutive serial numbers are marked in a top-to-bottom and left-to-right order. Next, the number of preset first printing areas is determined (1 to 3, and less than the total number of areas). Then, combined with the order number and / or batch number of the product to be printed, the corresponding number of candidate serial numbers is determined according to the formula "yn=(xn mod a)+1" (where a is the total number of areas and n is the serial number of the spot color area)—when n=1, x1 takes the last two digits of the order number; when n=2, x2 takes the last two digits of the batch number (if it overlaps with the result of n=1, add 1); when n=3, x3 takes the sum of the last two digits of the order number and the last two digits of the batch number (if it overlaps with the former two, adjust by adding or subtracting 1). Finally, the printing area to be calibrated corresponding to the candidate serial number is determined as the first printing area.

[0087] In one embodiment, when formulating the zoning strategy, firstly, based on the printing area to be calibrated (a=9) and the number of first printing areas (2), candidate serial numbers corresponding to n=1 and n=2 are determined: When n=1, x1 = the last two digits of the order number (15), and according to the formula y1=(15mod9)+1=6+1=7, the first candidate serial number is 7; when n=2, x2 = the last two digits of the batch number (23), and y2=(23mod9)+1=5+1=6. Since y1=7 and y2=6 are not repeated, no adjustment is needed, and the second candidate serial number is 6. Accordingly, the printing areas to be calibrated corresponding to serial numbers 7 and 6 are determined as the first printing area, and the printing areas to be calibrated corresponding to the remaining serial numbers 1-5 and 8-9 are determined as the second printing area, thus completing the formulation of the zoning strategy.

[0088] It is understood that step S130 includes, but is not limited to, the following steps:

[0089] Step S410: Perform color space conversion on the first image to convert the color channels of the first image from a first color space type to a second color space type.

[0090] Step S420: Based on a preset color difference threshold, separate the color channels of the first image to obtain the distribution characteristics of the color channels in the first image.

[0091] Step S430: Based on the distribution characteristics of the first verification region and the second verification region, determine the corresponding first grid structure and second grid structure respectively through the preset grid classification model.

[0092] In steps S410 to S430, the first image is first subjected to color space conversion, transforming its color channels from a first color space type to a second color space type, specifically converting the first image from RGB color space to CMYK color space. Then, based on a preset color difference threshold, the color channels of the first image are separated to obtain the distribution characteristics of the color channels in the first image. Finally, based on the distribution characteristics corresponding to the first and second verification regions, a preset grid classification model is used to identify the grid structure, determining the corresponding first and second grid structures respectively, thus improving the accuracy and reliability of grid structure determination.

[0093] Understandably, referring to Figure 2 The execution steps of the grid classification model in step S330 may specifically include, but are not limited to, the following steps:

[0094] Step S510: Determine the color type at the corresponding dot location based on the distribution characteristics.

[0095] Step S520: When only one color exists, the grid structure of the corresponding halftone dot is determined to be a spot color grid structure.

[0096] Step S530: When there are at least two types of colors, the grid structure of the corresponding dots is determined to be a contrasting color grid structure.

[0097] In steps S510 to S530, a rapid classification of spot color grid structures and contrasting color grid structures is achieved through color-based discrimination logic. Utilizing the difference in color type as the judgment criterion avoids the computational overhead of complex algorithms, ensuring both the accuracy of grid structure recognition and the efficiency of authenticity verification. Figure 2 As shown, the first verification area has a grid structure with only one color, meaning it's a spot color grid structure. Conversely, the second verification area shows three colors, indicating it has a contrasting color grid structure. It should be noted that... Figure 2 The grid structure shown is only for easy distinction in description; it is a virtual grid line, and the grid structure is composed of dots.

[0098] It is understood that step S130 may include, but is not limited to, the following steps:

[0099] Step S610: Randomly select several first sub-regions in the first verification area and several second sub-regions in the second verification area.

[0100] Step S620: Based on the first image, determine the third grid structure of each first sub-region and the fourth grid structure of each second sub-region.

[0101] Step S630: Based on the type proportions of multiple third grid structures and multiple fourth grid structures, obtain the first grid structure of the first verification region and the second grid structure of the second verification region.

[0102] In steps S610 to S630, several first sub-regions 411 are randomly selected within the first verification region 410, and several second sub-regions 421 are randomly selected within the second verification region 420. Next, based on the first image, the third grid structure of each first sub-region 411 and the fourth grid structure of each second sub-region 421 are determined. Finally, by statistically analyzing the proportions of multiple third grid structures and multiple fourth grid structures, the first grid structure 412 of the first verification region 410 and the second grid structure 422 of the second verification region 420 are determined. By performing sub-region analysis on the verification region through random sampling, it is unnecessary to perform comprehensive detection on both the first and second verification regions 410 and 420. This reduces the detection target from the entire region to several sub-regions, significantly reducing the amount of data processing and greatly improving detection efficiency.

[0103] It should be noted that the random selection of several first sub-regions in the first verification region and several second sub-regions in the second verification region can be carried out by stratified random sampling and quantification parameters. That is, it is stipulated that N first sub-regions are selected in the first verification region, and the proportion of each first sub-region in the first verification region is 5%. This application does not impose any restrictions on this.

[0104] It is understood that the spot color printing module includes at least one spot color printing module, and each spot color printing module corresponds to a different printing color. The step of printing on the first printing area in step S170 may include, but is not limited to, the following steps:

[0105] Step S710: Obtain the spot color printing configuration parameters; wherein, the spot color printing configuration parameters include the spot color dot shape parameters and spot color dot angle parameters of the spot color printing module.

[0106] Step S720: Based on the first printing area of ​​the standard image, the spot color printing module is controlled to print sequentially according to the spot color printing configuration parameters.

[0107] In steps S710 to S720, by pre-setting the shape and angle parameters of the spot color dots, and controlling the spot color printing module 100 according to these parameters, the first printing area of ​​the anti-counterfeiting label 400 can present a unique and precise spot color dot structure. This differs from traditional uniform printing methods, adding microscopic differentiation features to the anti-counterfeiting label 400 and enhancing its complexity and uniqueness. This makes it difficult for counterfeiters to accurately replicate specific dot shapes and angle combinations, significantly increasing the difficulty of counterfeiting and effectively enhancing the anti-counterfeiting performance of the anti-counterfeiting label 400. In practical applications, the first printing area of ​​the anti-counterfeiting label may contain multiple colors, requiring separate printing by spot color printing modules of different color plates. The number of spot color printing modules is determined by the pattern in the first printing area, and this application does not limit this.

[0108] The shape parameters of the spot color dots include, but are not limited to, rhombuses, hexagons, stars, and circles, and the angle parameters of the spot color dots can be 15°, 45°, 75°, etc., which are not limited in this application.

[0109] It is understood that the step of printing the second printing area in step S170 may include, but is not limited to, the following steps:

[0110] Step S810: Obtain the color-blocking printing configuration parameters; wherein, the color-blocking printing configuration parameters include the color-blocking dot shape parameters, color-blocking dot angle parameters, and color-blocking dot ratio parameters corresponding to each module in the color-blocking printing module.

[0111] Step S820: Based on the second printing area of ​​the standard image, according to the color contrast printing configuration parameters, the cyan printing module, magenta printing module, yellow printing module and black printing module are controlled to print in sequence.

[0112] In steps S810 to S820, the color-blocking printing configuration parameters are first obtained. These parameters include the color-blocking dot shape parameters, angle parameters, and proportion parameters for each of the cyan printing module 210, magenta printing module 220, yellow printing module 230, and black printing module 240 in the color-blocking printing module 200. Then, based on the second printing area of ​​the standard image, the cyan printing module 210, magenta printing module 220, yellow printing module 230, and black printing module 240 are sequentially controlled to print according to the color-blocking printing configuration parameters. This causes the dots of each color module to overlap in the second printing area, forming a composite color-blocking dot structure. By independently configuring and precisely controlling the dot shape, angle, and proportion parameters of each color module in the color-blocking printing module 200, a complex and unique multi-color dot overlay effect can be formed in the second printing area. This multi-parameter differentiated control method allows the contrasting color areas of the anti-counterfeiting label 400 to exhibit highly customized feature combinations in their microstructure. The arrangement angles, shapes, and proportions of different colored dots create multiple dimensions of anti-counterfeiting. Counterfeiters find it difficult to simultaneously and accurately replicate the parameter combinations and superimposed effects of multiple colored dots, thus significantly improving the anti-counterfeiting label 400's resistance to copying. This provides richer and more reliable microstructural feature evidence for product authenticity verification, enhancing the security and practicality of the anti-counterfeiting method.

[0113] During the printing process, cyan ink has high transparency and can be printed first to form a base color layer on the substrate. When magenta and yellow inks are applied later, the intermediate tones can be presented more accurately through the mixing of pigments. Black ink is usually printed last because of its strong covering power. It can be used to enhance the contrast of dark areas or correct color deviations. This order can make the color reproduction after the superposition of multi-color dots more stable. At the same time, the layered dot structure forms more complex texture features at the micro level, enhancing the uniqueness of the anti-counterfeiting mark.

[0114] In one embodiment, the four color channels—cyan (C), magenta (M), yellow (Y), and black (K)—all use circular dots, which are superimposed at different angles to form composite colors. In another example, to enhance the uniqueness of the microstructure, the cyan module uses diamond-shaped dots, the magenta module uses square dots, the yellow module uses circular dots, and the black module uses elliptical dots, increasing the difficulty of counterfeiting through the combination of multiple shapes. Furthermore, for setting the angle parameters of the contrasting dot patterns, the yellow module can be set to 90°, cyan to 15°, magenta to 75°, and black to 45°. The specific ratio parameters of the contrasting dot patterns can be set according to the colors of the specific printed pattern. It should be noted that the above are only some examples of parameters and are not limited in this application.

[0115] Reference Figure 4 In one embodiment, Figure 4The anti-counterfeiting label to be printed is divided into 9 areas. Areas 1, 3, 5, 7, and 9 use spot color printing, while areas 2, 4, 6, and 8 use contrasting color printing. In practice, spot color plates for areas 1, 3, 5, 7, and 9 are created first. Then, the other areas are separated by color separation, with the spot color portions (1, 3, 5, 7, and 9) cut out (forming blanks). Areas 2, 4, 6, and 8, along with the other areas outside these zones, are separated and plated together. Each area may contain multiple colors; for example, area 1 may contain two colors, requiring two different spot color printing modules. Using both spot color printing and contrasting color printing, the color difference ΔE between the two colors is less than 1.0, making the difference in color indistinguishable to the naked eye. However, when magnified to view the halftone dots, spot color printing shows only one type of dot, while contrasting color printing shows two types of magenta and yellow dots.

[0116] Similarly, refer to Figure 5 In another embodiment, the anti-counterfeiting label's pattern consists of a background color and a foreground pattern. During the printing process, the background color can be used as the first printing area, printed using a special color mixture of magenta and cyan primary inks, while the foreground pattern is used as the second printing area, obtained by overprinting the two primary inks. Alternatively, the background color can be used as the second printing area, obtained by overprinting the two primary inks, while the foreground pattern is used as the first printing area, printed using a special color mixture of magenta and yellow primary inks. This application does not specifically limit the area division for the printing method of the particular pattern.

[0117] It is understood that step S140 may include, but is not limited to, the following steps:

[0118] Step S910: When the first grid structure is a spot color grid structure, and the shape and angle of the dots within the first grid structure are identified, the first recognition result of the first verification area is determined.

[0119] Step S920: When the second grid structure is a contrasting color grid structure, and the shape and angle of the dots of each color in the second grid structure are identified, the second recognition result of the second verification area is determined.

[0120] Step S930: Determine the authenticity of the product to be verified based on the first identification result and the second identification result.

[0121] In steps S910 to S930, when the first grid structure of the first verification area is determined to be a spot color grid structure, the shape and angle of the dots within the spot color grid structure are identified to determine the first identification result of the first verification area. When the second grid structure of the second verification area is determined to be a contrasting color grid structure, the shape and angle of the dots of each color within the contrasting color grid structure are identified to determine the second identification result of the second verification area. Finally, the authenticity of the product to be verified is determined by combining the first and second identification results. The above verification method forms a multi-layered anti-counterfeiting verification dimension. The authenticity determination method based on the microscopic dot structure characteristics makes it difficult for counterfeiters to simultaneously replicate the unique shape and angle combination of spot color dots and the multi-color parameter superposition effect of contrasting color dots, thus significantly increasing the difficulty of counterfeiting. At the same time, it also improves the accuracy and reliability of authenticity determination.

[0122] In a second aspect, this application also provides an electronic device, comprising: at least one memory; at least one processor; at least one program; the program is stored in the memory, and the processor executes the at least one program to implement the invisible anti-counterfeiting method based on printed halftone structure as described in any embodiment of the first aspect.

[0123] In this electronic device, an image of the anti-counterfeiting label of the product to be verified is first acquired. Through recognition processing, a first verification area and a second verification area are determined in the image. Then, the grid structure of these two areas is analyzed, and finally, the authenticity of the product is determined based on the first and second grid structures. At the printing end, a standard image is first acquired and partitioned according to a partitioning strategy to obtain a first printing area for spot color printing and a second printing area for contrasting color printing. Then, corresponding spot color printing modules and contrasting color printing modules are used for printing, ensuring that the anti-counterfeiting label maintains pattern continuity macroscopically while forming a differentiated dot structure microscopically. In this application's solution, the anti-counterfeiting label, with its macroscopic visual consistency and microscopic structural differences, effectively increases the difficulty of counterfeiting and improves the reliability of authenticity verification.

[0124] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and signals, such as the program instructions / signals corresponding to the processing module in the embodiments of this application. The processor executes various functional applications and data processing by running the non-transitory software programs, instructions, and signals stored in the memory, thereby realizing the invisible anti-counterfeiting method based on the printed halftone structure in the above method embodiments.

[0125] The memory may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store relevant data for the aforementioned invisible anti-counterfeiting method based on printed dot structure. Furthermore, the memory may include high-speed random access memory and non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processing module via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0126] One or more signals are stored in a memory, and when executed by one or more processors, the invisible anti-counterfeiting method based on the printed halftone structure in any of the above method embodiments is executed.

[0127] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program that is executed by one or more processors, enabling the one or more processors to perform the invisible anti-counterfeiting method based on printed halftone structure in the above method embodiments.

[0128] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0129] Based on the above description of the embodiments, those skilled in the art will understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable signals, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible by a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable signals, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0130] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0131] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0132] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0133] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0134] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0135] The embodiments of this application have been described in detail above with reference to the accompanying drawings. However, this application is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of this application.

Claims

1. A method for preventing counterfeiting based on printed halftone dot structures, characterized in that, include: Obtain the first image of the anti-counterfeiting label of the product to be verified; The first image is processed for recognition to confirm the first verification area and the second verification area of ​​the anti-counterfeiting mark; Based on the first image, the first grid structure of the first verification region and the second grid structure of the second verification region are obtained; Based on the first grid structure and the second grid structure, determine the authenticity identification result of the product to be verified; The anti-counterfeiting label is obtained by printing using an invisible anti-counterfeiting printing device according to the following steps: Obtain a preset standard image; Based on a preset partitioning strategy, the first printing area and the second printing area in the standard image are determined; Based on the first printing area of ​​the standard image, the spot color printing module in the invisible anti-counterfeiting printing equipment is controlled to print, and based on the second printing area of ​​the standard image, the contrasting color printing module in the invisible anti-counterfeiting printing equipment is controlled to print, thereby obtaining an anti-counterfeiting label. The step of obtaining the first grid structure of the first verification region and the second grid structure of the second verification region based on the first image includes: The first image is subjected to color space conversion to change the color channels of the first image from a first color space type to a second color space type; based on a preset color difference threshold, the color channels of the first image are separated to obtain the distribution characteristics of the color channels in the first image; according to the distribution characteristics corresponding to the first verification region and the second verification region, the corresponding first grid structure and the second grid structure are determined respectively through a preset grid classification model; The execution steps of the grid classification model are as follows: Based on the distribution characteristics, the color type at the corresponding dot location is determined; if only one color type exists, the grid structure of the corresponding dot is determined to be a spot color grid structure; if at least two color types exist, the grid structure of the corresponding dot is determined to be a contrasting color grid structure.

2. The invisible anti-counterfeiting method based on printed dot structure according to claim 1, characterized in that, The step of performing recognition processing on the first image to confirm the first verification area and the second verification area of ​​the anti-counterfeiting mark includes: Obtain a standard image and the corresponding partitioning strategy; wherein the partitioning strategy is used to represent the regional positions of the first printing area and the second printing area in the standard image; First contour features are determined for the first image, and standard contour features are determined for the standard image. Based on the first contour feature and the standard contour feature, the first image and the standard image are coordinate registered; Based on the partitioning strategy, according to the coordinate mapping relationship between the first image and the standard image, the first verification area corresponding to the first printing area and the second verification area corresponding to the second printing area are identified.

3. The invisible anti-counterfeiting method based on printed dot structure according to claim 1, characterized in that, The partitioning strategy is formulated according to the following steps: Obtain the standard image and the number of preset areas determined as the first printing area; The standard image is divided into several printing areas to be calibrated; each printing area to be calibrated is marked with a different and consecutive serial number. Obtain the order number and batch number of the product to be printed, and based on the quantity of the first printing area, determine several candidate serial numbers corresponding to the quantity of the first printing area according to the order number and / or the batch number; Based on the candidate number, the corresponding printing area to be calibrated is determined as the first printing area, and the remaining printing areas to be calibrated are determined as the second printing area.

4. The invisible anti-counterfeiting method based on printed dot structure according to claim 1, characterized in that, The step of obtaining the first grid structure of the first verification region and the second grid structure of the second verification region based on the first image includes: Randomly select several first sub-regions in the first verification region and several second sub-regions in the second verification region; Based on the first image, determine the third grid structure of each first sub-region and the fourth grid structure of each second sub-region; Based on the type proportions of the multiple third grid structures and the type proportions of the multiple fourth grid structures, the first grid structure of the first verification region and the second grid structure of the second verification region are obtained.

5. The invisible anti-counterfeiting method based on printed dot structure according to claim 1, characterized in that, The spot color printing module includes at least one spot color printing module, and each spot color printing module corresponds to a different printing color. The first printing area based on the standard image is controlled to print using a spot color printing module in the invisible anti-counterfeiting printing equipment to obtain an anti-counterfeiting label, including: Obtain the spot color printing configuration parameters; wherein, the spot color printing configuration parameters include the spot color dot shape parameters and spot color dot angle parameters of the spot color printing module; Based on the first printing area of ​​the standard image, the spot color printing module is sequentially controlled to perform printing according to the spot color printing configuration parameters.

6. The invisible anti-counterfeiting method based on printed dot structure according to claim 1, characterized in that, The color-blocking printing module includes a cyan printing module, a magenta printing module, a yellow printing module, and a black printing module arranged in sequence. The second printing area based on the standard image controls the color-blocking printing module in the invisible anti-counterfeiting printing equipment to print, including: Obtain the color-blocking printing configuration parameters; wherein, the color-blocking printing configuration parameters include the color-blocking dot shape parameters, color-blocking dot angle parameters, and color-blocking dot ratio parameters corresponding to each module in the color-blocking printing module; Based on the second printing area of ​​the standard image, and according to the color-blocking printing configuration parameters, the cyan printing module, the magenta printing module, the yellow printing module, and the black printing module are sequentially controlled to perform printing.

7. The invisible anti-counterfeiting method based on printed dot structure according to claim 1, characterized in that, The step of determining the authenticity identification result of the product to be verified based on the first grid structure and the second grid structure includes: When the first grid structure is a spot color grid structure, and the shape and angle of the dots within the first grid structure are identified, the first identification result of the first verification area is determined; When the second grid structure is a contrasting color grid structure, and the shape and angle of the dots of each color within the second grid structure are identified, the second recognition result of the second verification area is determined; Based on the first identification result and the second identification result, the authenticity of the product to be verified is determined.

8. An electronic device, characterized in that, include: At least one memory; At least one processor; At least one program; The program is stored in the memory, and the processor executes at least one of the programs to implement the invisible anti-counterfeiting method based on printed halftone structure as described in any one of claims 1 to 7.