Anti-channel conflict method and device based on ink-jet printing, computer equipment and storage medium
By converting the product identification code into other hexadecimal expressions and arranging it into a production date pattern lattice, and using inkjet printing technology to hide the pre-sale location information on the product outer packaging, the cost and ease of QR codes in the existing technology are solved. The problem of being scraped off has been effectively prevented from channeling goods.
Patent Information
- Application Number
- CN202410792935.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-09-08
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-08
AI Technical Summary
When using the existing technology to prevent cross-selling goods, adding a QR code increases the printing cost and is easy to be scraped off or altered, so it cannot effectively prevent the occurrence of cross-selling goods.
Convert the product identification code into a base expression other than decimal, generate a hidden code, and arrange it into a pattern lattice of the product's production date to be printed, hiding it on the production date, using inkjet printing technology on the product Printing on the outer packaging.
It effectively prevents cross-selling and avoids additional production costs. It is hidden in the standard production date content and is difficult to be scratched or altered.
Smart Images

Figure CN118747503A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of inkjet printing, and in particular to an anti-counterfeiting method, device, computer equipment and storage medium based on inkjet printing. Background Art
[0002] Channeling, also known as rushing or reverse trading, mainly refers to a dealer in a certain region selling his own products to another dealer’s region of the same brand. This phenomenon usually stems from differences in brand regional sales policies. In order to gain more profits, dealers often take advantage of these differences to sell cross-regional products at low prices. This behavior not only harms the interests of most dealers, but also undermines market stability and brand value.
[0003] In order to prevent the spread of goods, manufacturers generally add a QR code on the outer packaging of the product. The QR code includes the product's pre-sale location information. Therefore, the product's pre-sale location can be obtained by scanning the code, and then compared with the product's actual sales location. However, this method changes the outer packaging of the product and increases the printing cost. In addition, the added QR code is easier to be scratched off or altered, so it cannot effectively prevent the occurrence of the spread of goods. Summary of the invention
[0004] Based on this, the object of the present invention is to provide an anti-counterfeiting method, device, computer equipment and storage medium based on inkjet printing.
[0005] In a first aspect, the present invention provides an anti-channelling method based on inkjet printing, comprising:
[0006] S11: converting the product identification code into an identification expression of a base other than decimal;
[0007] S12: converting the identification expression into an identification implicit code according to the corresponding relationship between different numbers and graphics, wherein the identification implicit code is a combination of different graphics;
[0008] S13: Arrange the hidden identification code into a pattern dot matrix of the production date to be printed on the product according to a preset rule.
[0009] Compared with the prior art, the present invention converts the identification code containing the pre-sale location information of the product into a base-to-base conversion to obtain the corresponding hidden code, and arranges the hidden code into a pattern dot matrix of the production date to be printed on the product, so that the pre-sale location information of the product can be hidden on the production date of the product outer packaging. Since the production date is an essential content of the product outer packaging implementation standard, the present invention will not increase the production cost additionally, and it cannot be scraped off or altered at will. Therefore, the manufacturer can obtain the pre-sale location information of the product by decoding the production date on the product outer packaging, and then compare it with the actual sales location, so as to effectively prevent channeling.
[0010] In one embodiment, step S11 includes:
[0011] S110: split the product identification code into individual characters / words;
[0012] S112: Obtain the hexadecimal representation of each character / word in the ASCII code comparison table;
[0013] S114: converting the hexadecimal representation into a representation in a system other than decimal;
[0014] S116: According to the combination order of the product identification code, the representations of the characters / words in bases other than decimal are combined to obtain the identification expression of the identification code in bases other than decimal.
[0015] In one embodiment, step S12 includes:
[0016] S120: Obtaining corresponding graphics of different digital numbers;
[0017] S122: According to the identification expression of the identification code in a system other than the decimal system, the digital numbers are replaced with corresponding graphics in order to obtain the identification hidden code.
[0018] In one of the embodiments, in step S13, the implicit code is arranged into a pattern dot matrix of the production date to be printed according to the stroke sequence of the production date to be printed.
[0019] In one embodiment, step S13 includes:
[0020] S130: Obtaining the printing dot matrix of the production date to be printed;
[0021] S132: The topmost dot matrix in the first column of the printing dot matrix is used as the first dot matrix, and is replaced with the identification hidden code in order from top to bottom and from left to right to obtain the pattern dot matrix of the production date to be printed.
[0022] In one embodiment, the step S11 specifically includes: converting the product identification code into a corresponding quaternary expression.
[0023] In one embodiment, the step S11 specifically includes: converting the product identification code into a corresponding binary expression;
[0024] The step S12 specifically includes: converting "0" in the binary expression into solid dots and "1" into hollow dots to obtain a hidden identification code;
[0025] In a second aspect, the present invention provides an anti-counterfeiting device based on inkjet printing, comprising:
[0026] An identification code conversion module, used to convert the product identification code into an identification expression of other bases;
[0027] An implicit code conversion module, used for converting the identification expression into an identification implicit code according to the correspondence between different numbers and graphics, wherein the identification implicit code is a combination of different graphics;
[0028] The pattern dot matrix arrangement module is used to arrange the identification hidden code into a pattern dot matrix of the product's production date to be printed according to a preset rule.
[0029] In a third aspect, the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of any of the methods described above when executing the computer program.
[0030] In a fourth aspect, the present invention provides 10. A computer storage medium, comprising a computer program, wherein the computer program is used to implement the method as described in any of the preceding items when executed by a controller. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A schematic flow chart of an anti-counterfeiting method based on inkjet printing according to an embodiment of the present invention;
[0032] Figure 2 It is a structural schematic diagram of an anti-counterfeiting device based on inkjet printing according to an embodiment of the present invention;
[0033] Figure 3 A schematic flow chart of an anti-counterfeiting method based on inkjet printing according to an embodiment of the present invention;
[0034] Figure 4 A schematic diagram of the corresponding relationship between different digits and graphics in a quaternary expression according to an embodiment of the present invention;
[0035] Figure 5 A schematic diagram of a hidden code according to an embodiment of the present invention;
[0036] Figure 6 A schematic diagram of a pattern dot matrix to be printed with a production date according to an embodiment of the present invention;
[0037] Figure 7 A schematic flow chart of an anti-counterfeiting method based on inkjet printing according to an embodiment of the present invention;
[0038] Figure 8 A schematic diagram of a hidden code according to an embodiment of the present invention;
[0039] Fig. 9 A schematic diagram of a printing dot matrix for printing a production date according to an embodiment of the present invention;
[0040] Fig.10 The figure is a schematic diagram of a pattern dot matrix to be printed with a production date according to an embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.
[0042] In order to solve the problem that adding a QR code to the product packaging cannot effectively prevent the flow of goods in parallel, the present invention converts the identification code containing the pre-sale location information of the product into a base-to-base conversion to obtain the corresponding hidden code, and arranges the hidden code into a pattern dot matrix of the production date to be printed on the product, so that the pre-sale location information of the product can be hidden on the production date of the product packaging. Since the production date is an essential content of the product packaging implementation standard, the present invention will not increase the production cost, and it cannot be scraped off or altered at will. Therefore, the manufacturer can obtain the pre-sale location information of the product by decoding the production date on the product packaging, and then compare it with the actual sales location, so as to effectively prevent the flow of goods in parallel.
[0043] The present invention provides an anti-channelling method based on inkjet printing. The method is applied to a terminal for illustration. It is understandable that the method can also be applied to a server, or to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Figure 1 and 2 The anti-counterfeiting method based on inkjet printing of the present invention is performed by an anti-counterfeiting device based on inkjet printing, and comprises the following steps:
[0044] S11: Convert the product identification code into an identification expression in a system other than decimal. This step is performed by the identification code conversion module 11 of the anti-counterfeiting device based on inkjet printing.
[0045] Step S11 specifically includes:
[0046] S110: split the product identification code into individual characters / words;
[0047] S112: Obtain the hexadecimal representation of each character / word in the ASCII code comparison table;
[0048] S114: converting the hexadecimal representation into a representation in a system other than decimal;
[0049] S116: According to the combination order of the product identification code, the representations of the characters / words in bases other than decimal are combined to obtain the identification expression of the identification code in bases other than decimal.
[0050] S12: According to the correspondence between different numbers and graphics, the identification expression is converted into an identification hidden code, wherein the identification hidden code is a combination of different graphics. This step is performed by the hidden code conversion module 12 of the anti-counterfeiting device based on inkjet printing.
[0051] Step S12 specifically includes:
[0052] S120: Obtaining corresponding graphics of different digital numbers;
[0053] S122: According to the identification expression of the identification code in a system other than the decimal system, the digital numbers are replaced with corresponding graphics in order to obtain the identification hidden code.
[0054] S13: Arrange the hidden identification code into a pattern dot matrix of the production date to be printed on the product according to a preset rule. This step is performed by the pattern dot matrix arrangement module 13 of the anti-counterfeiting device based on inkjet printing.
[0055] The present invention does not make any specific limitation on the preset rules, as long as the implicit code can be arranged into a pattern dot matrix of the production date to be printed. For example, the implicit code can be arranged in the stroke order of the production date to be printed to obtain the pattern dot matrix of the production date to be printed; or, according to the printed dot matrix of the production date to be printed, the top dot matrix in the first column of the printed dot matrix is used as the first dot matrix, and is replaced with the implicit code in order from top to bottom and from left to right to obtain the pattern dot matrix of the production date to be printed; and so on.
[0056] In the prior art, the inkjet printer prints according to the printing dot matrix of the text or pattern to be printed. Specifically, the smallest printing unit of the inkjet printer is an ink dot, and one dot in the printing dot matrix of the text or pattern to be printed corresponds to one printed ink dot. The inkjet printer prints by column in the time domain, that is, it prints one column of ink dots at a time. Generally, the items to be printed move relative to the inkjet printer on the production line. The inkjet printer can calculate the column spacing based on the time interval or encoder pulse, thereby determining the timing of column printing. The inkjet printer prints one column at a time according to the printing timing, and finally prints out the complete text or pattern. For example, when the item to be printed moves to the left relative to the inkjet printer, the inkjet printer prints column by column from left to right according to the printing dot matrix.
[0057] The present invention is based on the anti-counterfeiting method of inkjet printing, which can obtain the pattern dot matrix of the production date to be printed on the product. Therefore, based on the above-mentioned prior art, the inkjet printer can print the production date with implicit pre-sale location information on the item according to this pattern dot matrix. When the sales location information needs to be verified, the production date on the item can be scanned by any scanning device in the prior art, and decoded according to the arrangement rules of the production date pattern dot matrix and the conversion rules of the identification implicit code, so as to obtain the pre-sale location information.
[0058] The present invention is further described in detail below through two embodiments.
[0059] Example 1
[0060] See also Figure 3 The present invention provides an anti-channelling method based on inkjet printing, comprising the following specific steps:
[0061] S21: Convert the product identification code into a corresponding quaternary expression.
[0062] The product identification code is a digital information encoding method that can be used to uniquely identify and track products. Generally, the product identification code is composed of at least one of characters and text, and the characters include numbers, letters and symbols. In this embodiment, the product identification code includes the pre-sale location information of the product.
[0063] In order to hide the product identification code, this embodiment converts the product identification code into a quaternary expression, which can reduce the complexity of the pattern while ensuring that sufficient information is carried, thereby improving the efficiency and accuracy of information restoration.
[0064] Specifically, step S21 includes:
[0065] S210: split the product identification code into individual characters / words;
[0066] S212: Obtain the hexadecimal representation of each character / word in the ASCII code comparison table;
[0067] S214: converting the hexadecimal representation into a quaternary representation;
[0068] S216: According to the combination order of each character / word in the product identification code, the quaternary representation of each character / word is combined to obtain the quaternary expression of the product identification code.
[0069] ASCII (American Standard Code for Information Interchange) is a set of character codes based on the Latin alphabet and is the world's most common standard for information exchange. The ASCII code comparison table contains a total of 128 characters, and the hexadecimal representation of each character can be queried. Therefore, the ASCII code comparison table can be used to convert the product identification code.
[0070] For ease of understanding, assuming that the product identification code is "2623", when converting it into the corresponding quaternary expression, first split the product identification code "2623" into single characters "2", "6", "2", and "3"; the hexadecimal representation of the character "2" in the ASCII code comparison table is "32", the hexadecimal representation of the character "6" in the ASCII code comparison table is "36", and the hexadecimal representation of the character "3" in the ASCII code comparison table is "33"; the hexadecimal representation "32" is converted into the quaternary representation as "0302", the hexadecimal representation "36" is converted into the quaternary representation as "0312", and the hexadecimal representation "33" is converted into the quaternary representation as "0303"; according to the combination order of each character in the identification code "2623", the quaternary expression of the identification code is "0302031203020303".
[0071] It should be noted that when the identification code is split into text, the text must first be converted through unicode encoding, and then the corresponding hexadecimal representation must be found in the ASCII code comparison table.
[0072] S22: Convert different digits in the quaternary expression into different graphics to obtain a hidden identification code.
[0073] Using different graphics to represent different numbers can further hide the information of the identification code. Figure 4 , this embodiment presets the correspondence between different digits and different graphics in the quaternary representation. Therefore, the implicit identification code composed of graphics can be obtained according to the quaternary expression of the product identification code. Figure 5 Shown is the identification hidden code corresponding to the quaternary expression "0302031203020303".
[0074] S23: Arranging the identification hidden code into a pattern dot matrix of the production date to be printed on the product according to a preset rule.
[0075] It is a mandatory standard to mark the production date on the outer packaging of products, which cannot be altered or scratched off. Therefore, by arranging the hidden code as a pattern dot matrix of the production date to be printed on the product, the product identification code can be hidden in the production date of the product outer packaging, and it will not be altered or scratched off without adding additional printing content, thus effectively preventing channeling.
[0076] In this embodiment, the hidden code is arranged into a pattern dot matrix of the production date to be printed according to the stroke sequence of the production date to be printed. Figure 5 The hidden code shown is arranged in the stroke order of "2", and the resulting pattern matrix is as follows Figure 6 shown.
[0077] Example 2
[0078] The inkjet printing-based anti-counterfeiting method provided in this embodiment is basically the same as that in Embodiment 1, except that: (1) Embodiment 2 converts the identification code into a corresponding binary expression; (2) the hidden code is represented by solid dots and hollow dots; and (3) the rules for arranging the hidden code into a pattern dot matrix of the production date to be printed are different.
[0079] Specifically, see Figure 7 The anti-channelling method based on inkjet printing in this embodiment includes the following steps:
[0080] S31: Convert the product identification code into a corresponding binary expression.
[0081] The conversion process of the identification code is basically the same as that of Embodiment 1, the only difference being that the hexadecimal representation is converted into the binary representation. Assuming that the product identification code is "2623", when converting it into the corresponding binary expression, the product identification code "2623" is first split into individual characters "2", "6", "2", and "3"; the hexadecimal representation of the character "2" in the ASCII code comparison table is "32", the hexadecimal representation of the character "6" in the ASCII code comparison table is "36", and the hexadecimal representation of the character "3" in the ASCII code comparison table is "33"; the hexadecimal representation of "32" is converted into a binary representation of "00110010", the hexadecimal representation of "36" is converted into a binary representation of "00110011", and the hexadecimal representation of "33" is converted into a binary representation of "00110011"; according to the combination order of each character in the identification code "2623", the binary expression of the identification code is "00110010001101100011001000110011".
[0082] S32: Convert "0" in the binary expression into solid dots and "1" into hollow dots to obtain a hidden identification code.
[0083] According to the conversion rule that "0" corresponds to solid dots and "1" corresponds to hollow dots, the hidden code of the above binary expression "00110010001101100011001000110011" is as follows Figure 8 shown.
[0084] S33: Arranging the identification hidden code into a pattern dot matrix of the production date to be printed on the product according to a preset rule.
[0085] Specifically, step S33 includes:
[0086] S330: Obtaining the printing dot matrix of the production date to be printed;
[0087] S332: The topmost dot matrix in the first column of the printing dot matrix is used as the first dot matrix, and is replaced with the identification hidden code in order from top to bottom and from left to right to obtain the pattern dot matrix of the production date to be printed.
[0088] Take printing "2024" as an example. Fig. 9 The printed dot matrix is shown below. Figure 8 The hidden code shown is replaced according to step S352, and the following is obtained: Fig.10 The pattern dot matrix corresponding to the "2" shown.
[0089] Compared with the prior art, the present invention converts the identification code containing the pre-sale location information of the product into a base-to-base conversion to obtain the corresponding hidden code, and arranges the hidden code into a pattern dot matrix of the production date to be printed on the product, so that the pre-sale location information of the product can be hidden on the production date of the product outer packaging. Since the production date is an essential content of the product outer packaging implementation standard, the present invention will not increase the production cost additionally, and it cannot be scraped off or altered at will. Therefore, the manufacturer can obtain the pre-sale location information of the product by decoding the production date on the product outer packaging, and then compare it with the actual sales location, so as to effectively prevent channeling.
[0090] Based on the same inventive concept, the present invention also provides a computer device, which may be a terminal device such as a server, a desktop computing device or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). The device includes one or more processors and a memory, wherein the processor is used to execute the inkjet printing-based anti-counterfeiting method of the program implementation method embodiment; and the memory is used to store a computer program executable by the processor.
[0091] Based on the same inventive concept, the present invention also provides a computer storage medium, corresponding to the aforementioned embodiment of the anti-counterfeiting method based on inkjet printing, and the computer storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the anti-counterfeiting method based on inkjet printing recorded in any of the above embodiments.
[0092] The present invention may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-usable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
[0093] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0094] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A method for preventing counterfeiting based on inkjet printing, characterized in that: include: S11: converting the product identification code into an identification expression of a base other than decimal; S12: converting the identification expression into an identification implicit code according to the corresponding relationship between different numbers and graphics, wherein the identification implicit code is a combination of different graphics; S13: Arrange the hidden identification code into a pattern dot matrix of the production date to be printed on the product according to a preset rule.
2. The method for preventing counterfeiting based on inkjet printing according to claim 1, characterized in that: Step S11 includes: S110: split the product identification code into individual characters / words; S112: Obtain the hexadecimal representation of each character / word in the ASCII code comparison table; S114: converting the hexadecimal representation into a representation in a system other than decimal; S116: According to the combination order of the product identification code, the representations of the characters / words in bases other than decimal are combined to obtain the identification expression of the identification code in bases other than decimal.
3. The method for preventing counterfeiting based on inkjet printing according to claim 1, characterized in that: Step S12 includes: S120: Obtaining corresponding graphics of different digital numbers; S122: According to the identification expression of the identification code in a system other than the decimal system, the digital numbers are replaced with corresponding graphics in order to obtain the identification hidden code.
4. The method for preventing counterfeiting based on inkjet printing according to claim 1, characterized in that: In step S13, the implicit code is arranged into a pattern dot matrix of the production date to be printed according to the stroke sequence of the production date to be printed.
5. The method for preventing counterfeiting based on inkjet printing according to claim 1, characterized in that: Step S13 includes: S130: Obtaining the printing dot matrix of the production date to be printed; S132: The topmost dot matrix in the first column of the printing dot matrix is used as the first dot matrix, and is replaced with the identification hidden code in order from top to bottom and from left to right to obtain the pattern dot matrix of the production date to be printed.
6. The method for preventing counterfeiting based on inkjet printing according to any one of claims 1 to 5, characterized in that: The step S11 specifically includes: converting the product identification code into a corresponding quaternary expression.
7. The method for preventing counterfeiting based on inkjet printing according to any one of claims 1 to 5, characterized in that: The step S11 specifically includes: converting the product identification code into a corresponding binary expression; The step S12 specifically includes: converting "0" in the binary expression into solid dots and converting "1" into hollow dots to obtain the identification hidden code. 8.An anti-channelling device based on inkjet printing, characterized in that: include: An identification code conversion module, used to convert the product identification code into an identification expression of other bases; An implicit code conversion module, used for converting the identification expression into an identification implicit code according to the correspondence between different numbers and graphics, wherein the identification implicit code is a combination of different graphics; The pattern dot matrix arrangement module is used to arrange the identification hidden code into a pattern dot matrix of the product's production date to be printed according to a preset rule.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer storage medium, characterized in that: The method comprises a computer program, wherein when the computer program is executed by a controller, the computer program is used to implement the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Product anti-fake anti-channel conflict coding method
CN101794285A
Goods fleeing early warning method and identification analysis system based on industrial internet identification
CN113487333A
Information hiding method and system based on quaternary coding
CN117173000A
Production date anti-counterfeiting traceability method and system based on invisible intelligent codes
CN117911049A
Micro code fleeing goods prevention packing box
CN201111783Y
Cited By
Image decoding method and device, equipment and storage medium
CN121305575A
