CN112418877A - Anti-counterfeiting printing method and printing device for packaging box and computer readable storage medium - Google Patents

Anti-counterfeiting printing method and printing device for packaging box and computer readable storage medium Download PDF

Info

Publication number
CN112418877A
CN112418877A CN202011167545.3A CN202011167545A CN112418877A CN 112418877 A CN112418877 A CN 112418877A CN 202011167545 A CN202011167545 A CN 202011167545A CN 112418877 A CN112418877 A CN 112418877A
Authority
CN
China
Prior art keywords
counterfeiting
image
preset
printing
identity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011167545.3A
Other languages
Chinese (zh)
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.)
SHENZHEN KUNHONG PRINTING CO Ltd
Original Assignee
SHENZHEN KUNHONG PRINTING 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 SHENZHEN KUNHONG PRINTING CO Ltd filed Critical SHENZHEN KUNHONG PRINTING CO Ltd
Priority to CN202011167545.3A priority Critical patent/CN112418877A/en
Publication of CN112418877A publication Critical patent/CN112418877A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41MPRINTING, DUPLICATING, MARKING, OR COPYING PROCESSES; COLOUR PRINTING
    • B41M3/00Printing processes to produce particular kinds of printed work, e.g. patterns
    • B41M3/14Security printing

Landscapes

  • Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Auxiliary Devices For And Details Of Packaging Control (AREA)

Abstract

The invention discloses an anti-counterfeiting printing method of a packaging box, which comprises the following steps: after the anti-counterfeiting pattern is printed on the packaging box, acquiring an image corresponding to the anti-counterfeiting pattern; when the anti-counterfeiting pattern in the image is not matched with a preset anti-counterfeiting pattern in a preset image, determining target pixel points on the anti-counterfeiting pattern in the image, wherein the positions of the target pixel points in the preset image are not on the preset anti-counterfeiting pattern; acquiring the pixel value of a target pixel point and the position of the target pixel point in the graph, and configuring the identity of the packing box; the identification mark is printed on the anti-counterfeiting graph in a hidden mode, the pixel value, the position and the identification mark are sent to the anti-counterfeiting server, the pixel value and the identification mark are stored in the anti-counterfeiting server in an associated mode, and the identification mark is visible in a preset environment. The invention also discloses a printing device and a computer readable storage medium. The anti-counterfeiting cost of the commodity is low.

Description

Anti-counterfeiting printing method and printing device for packaging box and computer readable storage medium
Technical Field
The invention relates to the technical field of printing, in particular to an anti-counterfeiting printing method and device for a packaging box and a computer readable storage medium.
Background
When sold, the goods are generally provided with a packaging box. The anti-counterfeiting patterns are arranged on the packaging box, and a customer can obtain the anti-counterfeiting patterns through equipment to discriminate the authenticity of the commodity.
In order to improve the accuracy of identifying the authenticity of a commodity, an anti-counterfeiting figure with a set shape is generally printed on a packaging box. However, when the printing device prints the anti-counterfeiting pattern on the packaging box, the printed anti-counterfeiting pattern is inevitably inconsistent with the set anti-counterfeiting pattern, so that the commodity cannot be discriminated from the genuine through the anti-counterfeiting pattern, the packaging box needs to be discarded, and the anti-counterfeiting cost of the commodity is high.
Disclosure of Invention
The invention mainly aims to provide an anti-counterfeiting printing method, a printing device and a computer readable storage medium for a packaging box, and aims to solve the problem of high anti-counterfeiting cost of commodities.
In order to achieve the above object, the present invention provides an anti-counterfeit printing method for a packaging box, including the steps of:
after the anti-counterfeiting pattern is printed on the packaging box, acquiring an image corresponding to the anti-counterfeiting pattern;
when the anti-counterfeiting pattern in the image is not matched with a preset anti-counterfeiting pattern, determining target pixel points on the anti-counterfeiting pattern in the image, wherein the target pixel points are not pixel points on the preset anti-counterfeiting pattern;
acquiring the pixel value of the target pixel point, and configuring the identity of the packaging box;
and printing the identity mark in the anti-counterfeiting graph in a hidden mode, and sending the pixel value and the identity mark to an anti-counterfeiting server so that the anti-counterfeiting server stores the pixel value and the identity mark in an associated mode, wherein the identity mark is visible in a preset environment.
In one embodiment, after the step of acquiring the image containing the anti-counterfeiting pattern, the method further comprises:
extracting a first contour corresponding to the anti-counterfeiting figure from the image and a second contour corresponding to a preset anti-counterfeiting figure from the preset image;
and when the first contour does not match a second contour in the preset anti-counterfeiting figure, executing the step of determining a target pixel point on the anti-counterfeiting figure in the image, wherein when the first contour does not match the second contour in the preset anti-counterfeiting figure, judging that the anti-counterfeiting figure in the image does not match the preset anti-counterfeiting figure.
In one embodiment, the step of configuring the identity of the package comprises:
determining the type of the article to be packaged in the packaging box;
and configuring the identity of the packaging box according to the type.
In one embodiment, the step of configuring the identity of the package comprises:
configuring the number of the packing box;
and generating the identification of the packing box according to the serial number and each pixel value.
In one embodiment, the step of sending the pixel value, the location, and the identity to a security server includes:
determining the position of the target pixel point on the packaging box, and marking the position;
and sending the mark, the position, the identity mark and the pixel value to an anti-counterfeiting server.
In one embodiment, the predetermined environment includes an ultraviolet light environment or a high temperature environment.
In order to achieve the above object, the present invention further provides a printing device, which includes a memory, a processor, and a printing program stored in the memory and executable on the processor, wherein the printing program, when executed by the processor, implements the steps of the method for printing an anti-counterfeit package box as described above.
In order to achieve the above object, the present invention further provides a computer-readable storage medium storing a printing program, which when executed by a processor, implements the steps of the method for anti-counterfeit printing of a packing box as described above.
The printing device collects an image containing an anti-counterfeiting pattern after detecting that the anti-counterfeiting pattern is printed on the packaging box, determines a target pixel point which is not on the preset anti-counterfeiting pattern on the anti-counterfeiting pattern when the anti-counterfeiting pattern in the image is not matched with the preset anti-counterfeiting pattern, then obtains a pixel value of the target pixel point and a position of the target pixel point in the image, configures an identity of the packaging box, conceals and prints the identity on the anti-counterfeiting pattern, and then sends the pixel value, the position and the identity to an anti-counterfeiting server, so that the anti-counterfeiting server stores the pixel value and the identity in a related manner. After the anti-counterfeiting pattern on the packaging box is printed wrongly, the printing device is configured with the identity of the packaging box and is used for printing the pixel value of the pixel point on the anti-counterfeiting pattern with the printing mistake in a hidden mode, so that the anti-counterfeiting server can distinguish the authenticity of the commodity from the authenticity of the anti-counterfeiting pattern on the packaging box by adopting the identity sent by the printing device, the pixel value of the pixel point and the position of the anti-counterfeiting pattern under the preset environment, the packaging box with the printing mistake of the anti-counterfeiting pattern is not required to be discarded, and the anti-counterfeiting cost of the commodity is low.
Drawings
FIG. 1 is a diagram illustrating a hardware architecture of a printing apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of the anti-counterfeit printing method for the packing box according to the present invention;
FIG. 3 is a schematic flow chart of a second embodiment of the anti-counterfeit printing method for the packing box according to the present invention;
FIG. 4 is a schematic flow chart of a third embodiment of the anti-counterfeit printing method for the packing box according to the present invention;
fig. 5 is a schematic flow chart of a fourth embodiment of the anti-counterfeit printing method for the packing box according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: after the anti-counterfeiting pattern is printed on the packaging box, acquiring an image corresponding to the anti-counterfeiting pattern; when the anti-counterfeiting pattern in the image is not matched with a preset anti-counterfeiting pattern in a preset image, determining target pixel points on the anti-counterfeiting pattern in the image, wherein the positions of the target pixel points in the preset image are not on the preset anti-counterfeiting pattern; acquiring the pixel value of the target pixel point, and configuring the identity of the packaging box; and printing the identity mark on the anti-counterfeiting graph in a hidden mode, and sending the pixel value and the identity mark to an anti-counterfeiting server so that the anti-counterfeiting server can store the pixel value and the identity mark in an associated mode, wherein the identity mark is visible in a preset environment.
Because the false back is printed to the anti-fake figure on the packing carton, the printing device configuration packing carton the identity mark know and according to the pixel value of the pixel on the false anti-fake figure of printing to hide the identity and print on the anti-fake figure, make anti-fake server can adopt the identity and the pixel value that printing device sent to carry out the true and false of commodity to examine the anti-fake figure on the packing carton under the environment of predetermineeing, thereby need not to abandon the false packing carton of anti-fake figure printing error, the anti-fake cost of commodity is lower.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware architecture of a printing apparatus according to an embodiment of the present invention.
The terminal related to the embodiment of the invention can be a printing device, and the printing device comprises: a processor 101, such as a CPU, a memory 102 and a communication bus 103. Wherein a communication bus 103 is used for enabling the connection communication between these components.
The memory 102 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As shown in fig. 1, a printing program may be included in the memory 103 as a kind of computer storage medium; and the processor 101 may be configured to call the printing program stored in the memory 102 and perform the following operations:
after the anti-counterfeiting pattern is printed on the packaging box, acquiring an image corresponding to the anti-counterfeiting pattern;
when the anti-counterfeiting pattern in the image is not matched with a preset anti-counterfeiting pattern, determining target pixel points on the anti-counterfeiting pattern in the image, wherein the target pixel points are not pixel points on the preset anti-counterfeiting pattern;
acquiring the pixel value of the target pixel point, and configuring the identity of the packaging box;
and printing the identity mark in the anti-counterfeiting graph in a hidden mode, and sending the pixel value and the identity mark to an anti-counterfeiting server so that the anti-counterfeiting server stores the pixel value and the identity mark in an associated mode, wherein the identity mark is visible in a preset environment.
In one embodiment, the processor 101 may be configured to call a printing program stored in the memory 102 and perform the following operations:
extracting a first contour corresponding to the anti-counterfeiting figure from the image and a second contour corresponding to a preset anti-counterfeiting figure from the preset image;
and when the first contour does not match a second contour in the preset anti-counterfeiting figure, executing the step of determining a target pixel point on the anti-counterfeiting figure in the image, wherein when the first contour does not match the second contour in the preset anti-counterfeiting figure, judging that the anti-counterfeiting figure in the image does not match the preset anti-counterfeiting figure.
In one embodiment, the processor 101 may be configured to call a printing program stored in the memory 102 and perform the following operations:
determining the type of the article to be packaged in the packaging box;
and configuring the identity of the packaging box according to the type.
In one embodiment, the processor 101 may be configured to call a printing program stored in the memory 102 and perform the following operations:
configuring the number of the packing box;
and generating the identification of the packing box according to the serial number and each pixel value.
In one embodiment, the processor 101 may be configured to call a printing program stored in the memory 102 and perform the following operations:
determining the position of the target pixel point on the packaging box, and marking the position;
and sending the mark, the position, the identity mark and the pixel value to an anti-counterfeiting server.
In one embodiment, the processor 101 may be configured to call a printing program stored in the memory 102 and perform the following operations:
the preset environment comprises an ultraviolet light environment or a high-temperature environment.
According to the scheme, the printing device collects the image containing the anti-counterfeiting pattern after detecting the anti-counterfeiting pattern printed by the packaging box, when the anti-counterfeiting pattern in the image is not matched with the preset anti-counterfeiting pattern, the target pixel points which are not on the preset anti-counterfeiting pattern are determined on the anti-counterfeiting pattern, the pixel values of the target pixel points are obtained, the identification of the packaging box is configured, the identification is hidden and printed on the anti-counterfeiting pattern, the pixel values and the identification are sent to the anti-counterfeiting server, and the pixel values and the identification are stored in the anti-counterfeiting server in an associated mode. Because the false back is printed to the anti-fake figure on the packing carton, the printing device configuration packing carton the identity mark know and according to the pixel value of the pixel on the false anti-fake figure of printing to hide the identity and print on the anti-fake figure, make anti-fake server can adopt the identity and the pixel value that printing device sent to carry out the true and false of commodity to examine the anti-fake figure on the packing carton under the environment of predetermineeing, thereby need not to abandon the false packing carton of anti-fake figure printing error, the anti-fake cost of commodity is lower.
Based on the hardware framework of the printing device, the embodiment of the anti-counterfeiting printing method of the packing box is provided.
Referring to fig. 2, fig. 2 is a first embodiment of the counterfeit printing method for the packing box according to the present invention, which comprises the steps of:
step S10, after the anti-counterfeiting pattern is printed on the packaging box, collecting an image corresponding to the anti-counterfeiting pattern;
in this embodiment, the execution body is a printing apparatus. The printing device is provided with an image acquisition module which can be a camera or a camera. The printing device is arranged on the station table, and the packaging box is placed on the station table. It should be noted that the packaging box placed on the station table refers to a paper material which is not assembled into a box, and the paper material is laid on the station table to be used for the printing device to print the anti-counterfeiting patterns on the paper material. After the printing device prints the anti-counterfeiting pattern on the packaging box, the image acquisition module is controlled to acquire an image of the area printed with the anti-counterfeiting pattern, namely the image comprises the anti-counterfeiting pattern.
The anti-counterfeiting pattern is a preset pattern with a set shape, a sample of the preset anti-counterfeiting pattern is stored in the printing device, and the sample is stored in the printing device in the form of a preset image, namely the preset image is an image comprising the preset anti-counterfeiting pattern.
Step S20, when the anti-counterfeiting pattern in the image is not matched with a preset anti-counterfeiting pattern in a preset image, determining a target pixel point on the anti-counterfeiting pattern in the image, wherein the position of the target pixel point in the preset image is not on the preset anti-counterfeiting pattern;
after the image is collected, the printing device compares the anti-counterfeiting pattern in the image with the preset anti-counterfeiting pattern in the preset image, if the anti-counterfeiting pattern is inconsistent with the preset anti-counterfeiting pattern, the anti-counterfeiting pattern is not matched with the preset anti-counterfeiting pattern, namely the printing device prints the anti-counterfeiting pattern wrongly.
In this regard, the printing device employs remedial measures. The printing device determines target pixel points on the anti-counterfeiting pattern in the image. Specifically, the number of pixel points on the image is the same as the number of pixel points in the preset image, the size of the image is the same as the size of the preset image, the anti-counterfeiting pattern in the image is actually formed by a plurality of pixel points, the printing device acquires boundary pixel points of the anti-counterfeiting pattern, the boundary pixel points have corresponding coordinates in the image, the printing device determines the pixel points corresponding to the coordinates in the preset image, and if the pixel points are not on the preset anti-counterfeiting pattern, the pixel points in the image are determined as target pixel points. It can be understood that the position of the target pixel point in the preset drawing is not on the preset anti-counterfeiting pattern.
Step S30, acquiring the pixel value of the target pixel point and the position of the target pixel point in the graph, and configuring the identity of the packaging box;
step S40, the identification mark is printed on the anti-counterfeit pattern in a hidden manner, and the pixel value, the position, and the identification mark are sent to an anti-counterfeit server, so that the anti-counterfeit server stores the pixel value and the identification mark in an associated manner, wherein the identification mark is visible in a preset environment.
After the printing device determines the target pixel point, the pixel value of the target pixel point and the position of the target pixel point in the image are obtained, and the corresponding identity is configured for the packaging box. The position of the target pixel point in the image can be represented by coordinates. For example, the position of the target pixel point in the third row and the fifth column of the image is represented as (3, 5).
The printing device conceals and prints the identity mark on the anti-counterfeiting pattern. Specifically, the identity printing device is provided with special coating, the printing device can print the identity mark on the anti-counterfeiting pattern by adopting the special coating, and the special coating refers to coating which can be invisible under normal temperature, normal pressure and white light. For example, the paint may be made of carbon material, which changes from colorless to black under the irradiation of ultraviolet rays; for example, the paint may be a high-temperature color-changing material, and the paint is colorless at normal temperature, but changes from colorless to another color in a high-temperature environment. It is understood that the identity indicator is visible in a predetermined environment, including an ultraviolet light environment or a high temperature environment.
It should be noted that when the commodity is authenticated, the anti-counterfeiting pattern needs to be compared, so that the identity mark is printed on the anti-counterfeiting pattern, and the condition that the equipment cannot acquire the identity mark is avoided. The printing device prints the identity mark on the anti-counterfeiting mark and then sends the pixel value, the position and the identity mark to the anti-counterfeiting server. And the anti-counterfeiting server stores the pixel value, the position and the identity in an associated manner.
When the anti-counterfeiting of the commodity is carried out, the anti-counterfeiting equipment can adopt a preset environment so as to shoot the anti-counterfeiting graph of the commodity packaging box to obtain an image and send the image to the anti-counterfeiting server. The server firstly determines whether the anti-counterfeiting pattern in the image has the identity mark. If not, comparing the preset anti-counterfeiting pattern with the anti-counterfeiting pattern in the image, and if the preset anti-counterfeiting pattern is consistent with the anti-counterfeiting pattern in the image, returning information that the commodity is a genuine commodity to the anti-counterfeiting equipment; if not, the information that the commodity is a counterfeit product is returned to the anti-counterfeiting equipment. If the anti-counterfeiting graph in the image contains the identity mark, acquiring the identity mark, and then acquiring a pre-stored pixel value and a pre-stored position corresponding to the identity mark, so as to determine the pixel value of a pixel point corresponding to the pre-stored position in the image, and if the difference value between the pixel value and the pre-stored pixel value is smaller than a preset difference value, feeding back information that the commodity is a genuine product to the anti-counterfeiting equipment; and if the difference value between the pixel value and the pre-stored pixel value is greater than or equal to the preset difference value, feeding back information that the commodity is a counterfeit to the anti-counterfeiting equipment.
The preset difference value can be a smaller value, namely, the anti-counterfeiting server allows a smaller error between the pixel value and the pre-stored pixel value in consideration of light reflection of the packaging box and anti-counterfeiting testing of the commodity.
In the technical scheme provided by this embodiment, the printing device collects the image containing the anti-counterfeiting pattern after detecting the anti-counterfeiting pattern printed by the packaging box, and when the anti-counterfeiting pattern in the image is not matched with the preset anti-counterfeiting pattern, the target pixel point which is not on the preset anti-counterfeiting pattern is determined on the anti-counterfeiting pattern, the pixel value of the target pixel point and the position of the target pixel point in the image are obtained again, the identity of the packaging box is configured, the identity is printed on the anti-counterfeiting pattern in a hidden mode, and then the pixel value, the position and the identity are sent to the anti-counterfeiting server, so that the anti-counterfeiting server stores the pixel value and the identity in an associated mode. After the anti-counterfeiting pattern on the packaging box is printed wrongly, the printing device is configured with the identity of the packaging box and is used for printing the pixel value of the pixel point on the anti-counterfeiting pattern with the printing mistake in a hidden mode, so that the anti-counterfeiting server can distinguish the authenticity of the commodity from the authenticity of the anti-counterfeiting pattern on the packaging box by adopting the identity sent by the printing device, the pixel value of the pixel point and the position of the anti-counterfeiting pattern under the preset environment, the packaging box with the printing mistake of the anti-counterfeiting pattern is not required to be discarded, and the anti-counterfeiting cost of the commodity is low.
Referring to fig. 3, fig. 3 is a second embodiment of the anti-counterfeit printing method for a packaging box according to the present invention, and based on the first embodiment, after step S10, the method further includes:
step S50, extracting a first contour corresponding to the anti-counterfeiting pattern from the image and a second contour corresponding to a preset anti-counterfeiting pattern from the preset image;
step S60, when the first contour does not match the second contour in the preset anti-counterfeit graphic, executing the step of determining a target pixel point on the anti-counterfeit graphic in the image, wherein when the first contour does not match the second contour in the preset anti-counterfeit graphic, it is determined that the anti-counterfeit graphic in the image does not match the preset anti-counterfeit graphic.
In this embodiment, the anti-counterfeit pattern on the packing box is wrong, generally, the shape is deformed, and the color is not changed. Therefore, the printing device only needs to compare the states of the anti-counterfeiting patterns on the package and the preset anti-counterfeiting patterns, and does not need to compare colors.
Specifically, the color of the anti-counterfeiting pattern can be a special color so as to be distinguished from the color on the packaging box. It will be appreciated that colors not included in the package may be provided in a particular color. The printing device determines each pixel point with a pixel value of a special color in the image, and then carries out aggregation on each pixel point, so that a first contour of the anti-counterfeiting graph is obtained. The second contour of the preset anti-counterfeiting figure in the preset image can also be obtained by referring to the first contour, and the difference is that the color of the pixel points outside the preset anti-counterfeiting figure is white, and the white is used as the background color of the preset image.
After determining the first contour and the second contour, the printing device compares the first contour and the second contour, and determines whether the shapes of the first contour and the second contour are consistent, if not, the first contour and the second contour are not matched, that is, the anti-counterfeit pattern in the image is not matched with the preset anti-counterfeit pattern, at this time, step S20-step S40 are executed.
In the technical scheme provided by this embodiment, the printing device acquires a first contour of the anti-counterfeiting pattern in the image and a second contour of the preset anti-counterfeiting pattern in the preset image, and if the first contour is not matched with the second contour, the printing error of the anti-counterfeiting pattern on the packaging box is accurately determined.
Referring to fig. 4, fig. 4 is a third embodiment of the anti-counterfeit printing method for a packing box according to the present invention, and based on the first or second embodiment, the step of configuring the identification mark of the packing box in step 30 includes:
step S31, determining the type of the object to be packaged in the packaging box;
and step S32, configuring the identification of the packing box according to the type.
In this embodiment, the numbers of different products are different, so when configuring the identification of the packing box, the products need to be considered.
Specifically, the printing device first determines the type of article to be packaged in the package. For high value articles, the material used for the package is expensive, a number is provided in a specific area of the package, and the printing device recognizes the number, and can determine the article corresponding to the number, and thus the type of the article. If the article is an expensive commodity, the printing device can determine that the cost of the packaging box is high, and remedial measures are needed to avoid the waste of the packaging box. The printing device determines the set identification of the type of article according to the type, and then randomly sets the identification, wherein the randomly set identification is different from the set identification. If the value of the item is low, the package need not be salvaged.
In the technical scheme provided by the embodiment, the printing device configures the identification of the packaging box according to the type of the article to be packaged in the packaging box, so that the packaging box with higher value is prevented from being discarded.
Referring to fig. 5, fig. 5 is a third embodiment of the anti-counterfeit printing method for a packing box according to the present invention, based on the first or second embodiment, the step of configuring the identification mark of the packing box in step 30 includes:
step S33, configuring the number of the packing box;
and step S34, generating the identification of the packing box according to the serial number and each pixel value.
In this embodiment, after obtaining the pixel value, the printing device stores the pixel value in the id as a number. Specifically, the printing device is provided with a serial number of the packaging box, and the serial number of the packaging box is unique. The printing device obtains the pixel value of each target pixel point and converts each pixel value into a corresponding number. For example, a pixel value may be composed of three primary colors of RGB, and a printing device may have characters corresponding to the values of the primary colors, that is, one pixel value may be composed of three characters corresponding to RGB. The printing device can obtain the character strings corresponding to each pixel value, the horizontal coordinates in the coordinates of the target pixel points are sequenced from small to large, the printing device combines the character strings of the pixel values by adopting the serial number to obtain the target character strings, and then combines the target character strings and the serial number to obtain the identification of the packing box.
The sorted sequence and the characters corresponding to the RGB specific numerical values need to be sent to an anti-counterfeiting server, the anti-counterfeiting server decodes the identity through the sequence and the characters corresponding to the numerical values to obtain pixel values, and positions of pixel points corresponding to the pixel values on an image (an image uploaded by anti-counterfeiting equipment when the anti-counterfeiting equipment discriminates the authenticity of a commodity) are accurately obtained according to the pixel values and equipment marks
In the technical solution provided in this embodiment, the printing device configures a number of the packaging box, and then determines the identification of the packaging box according to the number and each pixel value.
In one embodiment, the step of sending the pixel value, the location and the identity to a security server comprises:
determining the position of the target pixel point on the packaging box, and marking the position;
and sending the mark, the position, the identity mark and the pixel value to an anti-counterfeiting server.
In this embodiment, the printing device determines the position of the target pixel point on the packaging box, and marks the position. The marking may be to change the color of the pixel point adjacent to the position to a preset color. The printing device sends the mark, the position, the identity mark and the pixel value to the anti-counterfeiting server. After receiving the image sent by the anti-counterfeiting equipment, the anti-counterfeiting server can position the target pixel points according to the marks, so that the commodities can be screened more quickly.
The invention also provides a printing device, which comprises a memory, a processor and a printing program stored in the memory and capable of running on the processor, wherein the printing program realizes the steps of the anti-counterfeiting printing method of the packing box according to the embodiment when being executed by the processor.
The present invention also provides a computer-readable storage medium storing a printing program, which when executed by a processor implements the steps of the method for anti-counterfeit printing of a packing box according to the above embodiment.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention essentially or contributing to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioning device, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent structures or equivalent flow transformations that may be embodied in the present specification and drawings, or directly or indirectly applied to other related arts, and are within the scope of the present invention.

Claims (8)

1. The anti-counterfeiting printing method of the packaging box is characterized by comprising the following steps:
after the anti-counterfeiting pattern is printed on the packaging box, acquiring an image corresponding to the anti-counterfeiting pattern;
when the anti-counterfeiting pattern in the image is not matched with a preset anti-counterfeiting pattern in a preset image, determining target pixel points on the anti-counterfeiting pattern in the image, wherein the positions of the target pixel points in the preset image are not on the preset anti-counterfeiting pattern;
acquiring the pixel value of the target pixel point and the position of the target pixel point in the graph, and configuring the identity of the packing box;
and printing the identity mark on the anti-counterfeiting graph in a hidden mode, and sending the pixel value, the position and the identity mark to an anti-counterfeiting server so that the anti-counterfeiting server can store the pixel value and the identity mark in an associated mode, wherein the identity mark is visible in a preset environment.
2. The method for security printing of a package according to claim 1, wherein the step of capturing the image containing the security feature is followed by the steps of:
extracting a first contour corresponding to the anti-counterfeiting figure from the image and a second contour corresponding to a preset anti-counterfeiting figure from the preset image;
and when the first contour does not match a second contour in the preset anti-counterfeiting figure, executing the step of determining a target pixel point on the anti-counterfeiting figure in the image, wherein when the first contour does not match the second contour in the preset anti-counterfeiting figure, judging that the anti-counterfeiting figure in the image does not match the preset anti-counterfeiting figure.
3. A method of security printing of a package according to claim 1, wherein the step of configuring the identity of the package comprises:
determining the type of the article to be packaged in the packaging box;
and configuring the identity of the packaging box according to the type.
4. A method of security printing of a package according to claim 1, wherein the step of configuring the identity of the package comprises:
configuring the number of the packing box;
and generating the identification of the packing box according to the serial number and each pixel value.
5. A method of security printing of a package according to claim 1 wherein the step of sending the pixel values, the location and the identity to a security server comprises:
determining the position of the target pixel point on the packaging box, and marking the position;
and sending the mark, the position, the identity mark and the pixel value to an anti-counterfeiting server.
6. A method of security printing of a package according to any of claims 1 to 5 wherein the predetermined environment comprises an ultraviolet light environment or a high temperature environment.
7. A printing device, characterized in that it comprises a memory, a processor and a printing program stored in said memory and executable on said processor, said printing program, when executed by said processor, implementing the steps of the method for the counterfeit-proof printing of packages according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a printing program which, when executed by a processor, implements the steps of the method for the counterfeit-proof printing of a package according to any one of claims 1 to 6.
CN202011167545.3A 2020-10-27 2020-10-27 Anti-counterfeiting printing method and printing device for packaging box and computer readable storage medium Pending CN112418877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011167545.3A CN112418877A (en) 2020-10-27 2020-10-27 Anti-counterfeiting printing method and printing device for packaging box and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011167545.3A CN112418877A (en) 2020-10-27 2020-10-27 Anti-counterfeiting printing method and printing device for packaging box and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112418877A true CN112418877A (en) 2021-02-26

Family

ID=74841796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011167545.3A Pending CN112418877A (en) 2020-10-27 2020-10-27 Anti-counterfeiting printing method and printing device for packaging box and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112418877A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996518A (en) * 2009-08-20 2011-03-30 郑阿奇 Anti-counterfeiting method of damaging pattern and character alternative multidimensional codes by character sheets
CN102521559A (en) * 2011-12-01 2012-06-27 四川大学 417 bar code identification method based on sub-pixel edge detection
JP2012231923A (en) * 2011-04-28 2012-11-29 Sammy Corp Game machine and game system
CN105718836A (en) * 2016-01-20 2016-06-29 深圳市黑云信息技术有限公司 Control method for automatic code spraying of labels, detection of errors and omissions of labels
CN106529981A (en) * 2016-12-28 2017-03-22 福州大北农生物技术有限公司 Vaccine information collection system and method based on two-dimensional code
CN107644186A (en) * 2017-10-24 2018-01-30 河南科技大学 A kind of damaged two-dimensional code identification method holographic based on calculating
CN207594543U (en) * 2017-11-08 2018-07-10 江门市骏业纸制品有限公司 Quick Response Code spray printing product examine system
CN110443803A (en) * 2019-09-02 2019-11-12 河海大学 A kind of printed matter picture quality detection method and device
CN209889218U (en) * 2019-05-10 2020-01-03 云南艾珞特科技有限公司 Cigarette case bar code and cigarette bar information correlation system of case packer
CN110837747A (en) * 2019-10-24 2020-02-25 湖北秉正讯腾科技有限公司 Two-dimensional code authentication method, device, equipment and storage medium
US20200065828A1 (en) * 2017-05-16 2020-02-27 Feng Li Structure three-dimensional code and anti-counterfeiting method
CN111414779A (en) * 2020-05-22 2020-07-14 杭州沃朴物联科技有限公司 Anti-counterfeit label identification method and device
CN111640113A (en) * 2020-06-15 2020-09-08 上海创帛智能科技有限公司 Cigarette case printing quality recognition system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996518A (en) * 2009-08-20 2011-03-30 郑阿奇 Anti-counterfeiting method of damaging pattern and character alternative multidimensional codes by character sheets
JP2012231923A (en) * 2011-04-28 2012-11-29 Sammy Corp Game machine and game system
CN102521559A (en) * 2011-12-01 2012-06-27 四川大学 417 bar code identification method based on sub-pixel edge detection
CN105718836A (en) * 2016-01-20 2016-06-29 深圳市黑云信息技术有限公司 Control method for automatic code spraying of labels, detection of errors and omissions of labels
CN106529981A (en) * 2016-12-28 2017-03-22 福州大北农生物技术有限公司 Vaccine information collection system and method based on two-dimensional code
US20200065828A1 (en) * 2017-05-16 2020-02-27 Feng Li Structure three-dimensional code and anti-counterfeiting method
CN107644186A (en) * 2017-10-24 2018-01-30 河南科技大学 A kind of damaged two-dimensional code identification method holographic based on calculating
CN207594543U (en) * 2017-11-08 2018-07-10 江门市骏业纸制品有限公司 Quick Response Code spray printing product examine system
CN209889218U (en) * 2019-05-10 2020-01-03 云南艾珞特科技有限公司 Cigarette case bar code and cigarette bar information correlation system of case packer
CN110443803A (en) * 2019-09-02 2019-11-12 河海大学 A kind of printed matter picture quality detection method and device
CN110837747A (en) * 2019-10-24 2020-02-25 湖北秉正讯腾科技有限公司 Two-dimensional code authentication method, device, equipment and storage medium
CN111414779A (en) * 2020-05-22 2020-07-14 杭州沃朴物联科技有限公司 Anti-counterfeit label identification method and device
CN111640113A (en) * 2020-06-15 2020-09-08 上海创帛智能科技有限公司 Cigarette case printing quality recognition system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
余晕: "印后补救小技巧", 《印刷质量与标准化》, no. 6, 15 June 2009 (2009-06-15), pages 50 - 51 *
龙港市印刷包装行业协会: "印错字咋办?试试这几种补救方法", pages 1 - 6, Retrieved from the Internet <URL:https://mp.weixin.qq.com/s/q-09TyZn6kyx-ATnjZ3Lvw> *

Similar Documents

Publication Publication Date Title
CN102099844B (en) Univocal label to be stored by optical devices, method of production of the same and use thereof in the anticounterfeiting and in the identification of products
US11042738B2 (en) Simple authentication of elements in blister packages
US9153005B2 (en) Method and system for authenticating a secure document
US8818047B2 (en) Generation of an individual glyph, and system and method for inspecting individual glyphs
US20110280480A1 (en) System and method for enhancing security printing
US7840028B2 (en) Authentication system and method
CN108320373B (en) Method and device for detecting anti-counterfeiting mark of paper money
US20190138778A1 (en) A system for product authentication and method thereof
US20200082235A1 (en) Anti-counterfeiting mark with 3-d features
US20120048920A1 (en) Information reading apparatus, commodity sales information processing apparatus, and pasted object
CN107810528A (en) For the technique for making the textile label for clothing for including a unique information and corresponding checking technique
US20170060494A1 (en) Methods and arrangements relating to printing process
TW201531953A (en) Marking comprising two patterns on a surface
CN106408063A (en) Printed medium and generation process thereof and scanning process and label
EP2936409A1 (en) Method and system for marking an item, an item so marked and a method and system for authenticating a marked item
CN110533704B (en) Method, device, equipment and medium for identifying and verifying ink label
CN112418877A (en) Anti-counterfeiting printing method and printing device for packaging box and computer readable storage medium
WO2006096503A2 (en) A secure printing method to thwart counterfeiting
CN111670429B (en) Object ID centric workflow
CN115860033A (en) Anti-counterfeiting method and device for color partition micro-point code identification capable of grading and identifying counterfeiting
EP3992356A1 (en) Method for verifying product authenticity and establishing authorized product data with fabric features
KR101642710B1 (en) A Testing Method Of Forging/Manipulating Of Securities
CN109313701A (en) For generating method, imaging device and the system of the measurement of the authenticity of object
Tkachenko et al. Authentication of rotogravure print-outs using a regular test pattern
CN113408526A (en) Image recognition anti-counterfeiting method and image recognition anti-counterfeiting system based on Handle identification positioning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination