Anti-counterfeiting code generation and identification system
By combined with electrical code and image filling technology, it is generated and identified that it is difficult to imitate multi -enhancement and anti -fake code, solving the problem of easy replication and fakes of traditional anti -counterfeiting technology, and realizing high security and personalized customized anti -counterfeiting solutions.
Patent Information
- Application Number
- CN202411410566.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-01-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional anti-counterfeiting technologies such as barcodes and QR codes are easy to copy and forge, and cannot meet the high security and difficult anti-counterfeiting needs of the modern market.
A new type of anti -counterfeiting code generation and image processing recognition system with a combination of electrical code and image filling technology is used to generate anti -counterfeit codes through multiple encryption algorithms and convert it into imitation Mosmic code. Essence
Realized high security and difficult to imitate anti -counterfeiting solutions. Through multiple enclosure algorithms and the conversion of imitation Moscodes, the uniqueness and security of the anti -counterfeit code improved the difficulty of anti -counterfeiting code through image pixels. Provide accurate identification and traceability information.
Smart Images

Figure CN119378590A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of anti-counterfeiting technology, and in particular to a system for generating and identifying an anti-counterfeiting code. Background Art
[0002] With the rapid development of the market economy, the problem of commodity anti-counterfeiting has become increasingly prominent. Although traditional anti-counterfeiting technologies, such as barcodes and QR codes, have played an anti-counterfeiting role to a certain extent, they can no longer meet the anti-counterfeiting needs of the modern market due to their shortcomings such as easy copying and easy forgery. Therefore, it is particularly important to develop a new, efficient, and difficult to copy and imitate anti-counterfeiting technology. Summary of the invention
[0003] The main purpose of the present invention is to provide a system for generating and identifying an anti-counterfeiting code, in particular, a novel system for generating and identifying an anti-counterfeiting code combining electronic code and image filling technology, which can effectively solve the problems pointed out in the background technology.
[0004] To achieve the above object, the technical solution adopted by the present invention is:
[0005] A system for generating and identifying an anti-counterfeiting code, comprising:
[0006] Anti-counterfeiting code generation module: It is used to generate multiple encrypted anti-counterfeiting codes according to enterprise information and anti-counterfeiting coding rules;
[0007] Imitation Morse code conversion module: converts the generated encrypted anti-counterfeiting code into imitation Morse code according to the custom dictionary and algorithm;
[0008] Image pixel filling module: Based on the picture pixels, the simulated Morse code is filled into the internal area of the corporate information image provided by the user with different degrees of precision to form an anti-counterfeiting code image.
[0009] Preferably, the multiple encrypted anti-counterfeiting codes include plain codes, secret codes, and encrypted codes.
[0010] Preferably, the plain code is used for direct printing and display, the secret code is used for display after scratching, and the encrypted code is used for consumers to scan and identify.
[0011] Preferably, the specific method for generating the encrypted anti-counterfeiting code is: according to the enterprise information and the anti-counterfeiting code coding rules, a specified number of anti-counterfeiting code plain codes are generated in batches, and each plain code generates a corresponding secret code and encrypted code according to the encryption algorithm.
[0012] Preferably, the enterprise information image includes but is not limited to the enterprise's logo image, enterprise name image, and customer service phone number image.
[0013] Preferably, the simulated Morse code specifically includes: expanding the two forms of dots and dashes of the original Morse code into three forms: dots, short lines, and long lines.
[0014] Preferably, the specific method of forming the anti-counterfeiting code image is: according to the selected fineness, single pixel, multi-pixel, etc., the Morse code-like characters are converted into pixel points and filled into the internal area of the image.
[0015] Preferably, the specific method of converting the Morse code-like characters into pixels is:
[0016] First, define the pixel representation of dots, short lines, and long lines, that is, determine how many pixels each dot, short line, and long line occupies; then design the spacing between each character and between words; finally, convert each character into a grid representation of pixels.
[0017] An anti-counterfeiting code recognition system is specifically used to recognize the anti-counterfeiting code generated by the above-mentioned anti-counterfeiting code generation system, including: a user code scanning recognition module, which is used to call the consumer's mobile phone camera to scan the anti-counterfeiting code generated in the first embodiment;
[0018] Background image processing and recognition module: It is used to receive the image data uploaded by the user's code scanning recognition module, perform graphic processing and recognition, and display the recognized anti-counterfeiting traceability information to the user terminal.
[0019] Preferably, the working steps of the anti-counterfeiting code recognition system include:
[0020] Consumers use their mobile phones to take photos of the anti-counterfeiting code and upload it to the backend through the recognition system;
[0021] The background image processing and recognition system receives the image data, performs graphic processing and recognition, and after processing the recognized information, compares it with the encryption code in the system to determine the authenticity, and associates and provides the product traceability information corresponding to the anti-counterfeiting code;
[0022] Display the anti-counterfeiting traceability information identified by the background to the user terminal
[0023] Compared with the prior art, the present invention has the following beneficial effects:
[0024] 1. High security: The present invention ensures the uniqueness and security of the anti-counterfeiting code through multiple encryption algorithms.
[0025] 2. Difficult to counterfeit: The conversion between encryption code and simulated Morse code and high-precision pixel filling technology increase the difficulty of counterfeiting anti-counterfeiting codes.
[0026] 3. Personalized customization: According to the needs of different corporate users, you can choose different image areas and filling fineness to form a personalized anti-counterfeiting mark.
[0027] 4. Quick identification: Use the mobile phone camera to capture the anti-counterfeiting code and transmit it to the background management system for analysis and identification, which can achieve fast and accurate anti-counterfeiting code identification.
[0028] 5. Providing traceability information: Through the anti-counterfeiting code identification and display system, consumers can obtain product traceability information and improve trust. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a schematic diagram of the workflow of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0031] Embodiment 1, the present invention discloses a system for generating an anti-counterfeiting code, which includes:
[0032] Anti-counterfeiting code generation module: It is used to generate multiple encrypted anti-counterfeiting codes according to enterprise information and anti-counterfeiting coding rules;
[0033] Imitation Morse code conversion module: converts the generated encrypted anti-counterfeiting code into imitation Morse code according to the custom dictionary and algorithm;
[0034] Image pixel filling module: Based on the picture pixels, the simulated Morse code is filled into the internal area of the corporate information image provided by the user with different degrees of precision to form an anti-counterfeiting code image.
[0035] During the specific implementation of this embodiment:
[0036] The anti-counterfeiting code generation module is used to generate multiple encrypted anti-counterfeiting codes. The specific method of generating encrypted anti-counterfeiting codes is as follows: the system generates a specified number of plain codes of anti-counterfeiting codes in batches, including numbers and letters, according to the enterprise information and anti-counterfeiting code coding rules, and each plain code generates a corresponding secret code and encrypted code according to the encryption algorithm;
[0037] The plain code is used for direct printing and display, the secret code is used for display after scratching, and the encrypted code is used for scanning and identification.
[0038] In this embodiment, the Morse code-like conversion module is used to convert the encryption code of the anti-counterfeiting code into a Morse code-like sequence through a specific algorithm;
[0039] Among them, Morse code is a coding system for text and digital communication. It was originally designed for telegraph systems, but can also be used for other signal transmission methods, such as light signals and sound signals;
[0040] Specifically, Morse code uses a series of short dots (dots) and long dashes (dashes) to represent different characters. For example, the letter "A" is represented by "dot-dash", while the letter "B" is represented by "dash-dot-dot-dot". Dot (·): usually represents a short signal. Dash (—): usually represents a long signal. Space: characters are separated by short spaces, and words are separated by long spaces;
[0041] Morse code has specific ways of representing letters and numbers. For example, the letter "E" is represented by a dot. The letter "T" is represented by a dash. The number "1" is represented by a dot-dash-dash-dash-dash.
[0042] Based on this, the specific method for generating the encrypted anti-counterfeiting code is: expanding the two forms of dots and dashes of Morse code into three forms: dots, short lines, and long lines. The forms are richer and more complex, which increases the difficulty of cracking and ensures the security of the password.
[0043] In this embodiment, the image pixel filling module is used to form an anti-counterfeiting code image, and the anti-counterfeiting code image is used to print on the outer surface of the product packaging to facilitate consumers to scan and identify;
[0044] Specifically, the specific method for generating the anti-counterfeiting code image is as follows: select and upload the company's logo, name, customer service phone number and other pictures as the image prototype of the anti-counterfeiting code, and convert the Morse code-like characters into pixels according to the selected fineness, single pixel, multi-pixel, etc., and fill them into the internal area of the image;
[0045] In practice, different images can be selected to fill in different areas and fill in fineness according to the different user needs of different enterprises, thereby forming a personalized anti-counterfeiting mark and realizing personalized customization for different enterprises, which significantly improves the operational space.
[0046] Furthermore, the specific method of converting the Morse code characters into pixels is as follows:
[0047] First, the pixel representation of points, short lines, and long lines is defined, and the number of pixels occupied by each point, short line, and long line is determined; then the intervals between each character and word are designed; finally, each character is converted into a grid representation of pixels. In practice, such a pixel map can be created by a graphic editing tool or a programming language (such as Python), and the specific operation method is not described in detail in this invention.
[0048] After completing the generation of the above-mentioned anti-counterfeiting code image, the product manufacturer or seller can print the anti-counterfeiting code on the outer packaging or instructions of the product, and it will reach consumers after going through the processes of product warehousing, product delivery, and dealer sales, so that subsequent consumers can scan the code to obtain the corresponding product traceability information.
[0049] Embodiment 2: This embodiment discloses an anti-counterfeiting code recognition system, which is specifically used to recognize the anti-counterfeiting code generated by the anti-counterfeiting code generation system in Embodiment 1;
[0050] Specifically, the working steps of the anti-counterfeiting code recognition system include:
[0051] Consumers use their mobile phones to take photos of the anti-counterfeiting code and upload it to the backend through the recognition system;
[0052] The background image processing and recognition system receives the image data, performs graphic processing and recognition, and after processing the recognized information, compares it with the encryption code in the system to determine the authenticity, and associates and provides the product traceability information corresponding to the anti-counterfeiting code;
[0053] The anti-counterfeiting traceability information identified by the background is displayed to the user terminal.
[0054] Specifically, the anti-counterfeiting code recognition system includes:
[0055] A user code scanning identification module, which is used to call the consumer's mobile phone camera to scan the anti-counterfeiting code generated in the first embodiment;
[0056] Background image processing and recognition module: It is used to receive the image data uploaded by the user's code scanning recognition module, perform graphic processing and recognition, and display the recognized anti-counterfeiting traceability information to the user terminal.
[0057] Specifically, the background image processing and recognition system receives the image information scanned by the consumer and recognizes it. After processing the recognized information, it is compared with the encrypted code in the system to determine the authenticity.
[0058] If the identified information matches the original encryption code in the system, it means that the product corresponding to the scanned code information of the consumer is authentic. At this time, the product traceability information corresponding to the anti-counterfeiting code can be provided and the anti-counterfeiting traceability information identified by the background can be displayed to the user terminal, which can improve the consumer's trust;
[0059] If the identified information does not match the original encryption code in the system, it means that the product corresponding to the scanned code information of the consumer is a fake. At this time, an alarm command is issued on the consumer's mobile phone terminal to remind the consumer that the product corresponding to the scanned code information is a fake.
[0060] It can be seen from the above-mentioned Example 1 and Example 2 that the present invention provides an improved anti-counterfeiting code technology, which generates multiple encrypted anti-counterfeiting codes through a background system, converts them into Morse code, and then fills them into various irregular image areas provided by enterprise users with different fineness based on the picture pixels, forming a new type of anti-counterfeiting mark. At the same time, the present invention also provides an image processing and recognition system for the new anti-counterfeiting code, which realizes the rapid and accurate recognition of the anti-counterfeiting code. By combining multiple encryption algorithms, Morse code conversion, image pixel filling and a dedicated image recognition system, a high-security and difficult-to-counterfeit anti-counterfeiting solution is provided. At the same time, through the background management system, product traceability information is provided to consumers, which enhances consumers' trust in the product.
[0061] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A system for generating an anti-counterfeiting code, characterized in that: It includes: Anti-counterfeiting code generation module: It is used to generate multiple encrypted anti-counterfeiting codes according to enterprise information and anti-counterfeiting coding rules; Imitation Morse code conversion module: converts the generated encrypted anti-counterfeiting code into imitation Morse code according to the custom dictionary and algorithm; Image pixel filling module: Based on the picture pixels, the simulated Morse code is filled into the internal area of the corporate information image provided by the user with different degrees of precision to form an anti-counterfeiting code image.
2. The system for generating an anti-counterfeiting code according to claim 1, characterized in that: The multiple encrypted anti-counterfeiting codes include plain codes, secret codes and encrypted codes.
3. The system for generating an anti-counterfeiting code according to claim 2, characterized in that: The plain code is used for direct printing and display, the secret code is used for display after scratching, and the encrypted code is used for consumers to scan and identify.
4. The system for generating an anti-counterfeiting code according to claim 3, characterized in that: The specific method for generating the encrypted anti-counterfeiting code is: according to the enterprise information and the anti-counterfeiting code coding rules, a specified number of anti-counterfeiting code plain codes are generated in batches, and each plain code generates a corresponding secret code and encrypted code according to the encryption algorithm.
5. The system for generating an anti-counterfeiting code according to claim 3, characterized in that: The enterprise information images include but are not limited to enterprise logo images, enterprise name images, and customer service phone images.
6. The system for generating an anti-counterfeiting code according to claim 1, characterized in that: The imitation Morse code specifically includes: expanding the two forms of dots and dashes of the original Morse code into three forms: dots, short lines and long lines.
7. The system for generating an anti-counterfeiting code according to claim 6, characterized in that: The specific method of forming the anti-counterfeiting code image is: according to the selected fineness, single pixel, multi-pixel, etc., the Morse code characters are converted into pixel points and filled into the internal area of the image.
8. The system for generating an anti-counterfeiting code according to claim 6, characterized in that: The specific method of converting Morse code characters into pixels is: First, define the pixel representation of points, short lines, and long lines, that is, how many pixels each point, short line, and long line occupies; Design the spacing between each character and between words; Convert each character into a grid representation of pixels.
9. A security code recognition system, specifically used for recognizing the security code generated by the security code generation system according to any one of claims 1 to 8, characterized in that: include: A user code scanning identification module, which is used to call the consumer's mobile phone camera to scan the anti-counterfeiting code generated in the first embodiment; Background image processing and recognition module: It is used to receive the image data uploaded by the user's code scanning recognition module, perform graphic processing and recognition, and display the recognized anti-counterfeiting traceability information to the user terminal.
10. The anti-counterfeiting code recognition system according to claim 9, characterized in that: The working steps of the anti-counterfeiting code recognition system include: Consumers use their mobile phones to take photos of the anti-counterfeiting code and upload it to the backend through the recognition system; The background image processing and recognition system receives the image data, performs graphic processing and recognition, and after processing the recognized information, compares it with the encryption code in the system to determine the authenticity, and associates and provides the product traceability information corresponding to the anti-counterfeiting code; The anti-counterfeiting traceability information identified by the background is displayed to the user terminal.
Citation Information
Patent Citations
Combined type encryption bar code anti-counterfeiting identification method
CN103150533A
Anti-counterfeiting method of print pictures based on CCD detection
CN103426014A
QR code embedded novel two-dimensional code encoding and anti-counterfeiting application method
CN111639734A
Two-dimensional code anti-counterfeiting method and system based on image hiding
CN114169480A
Data protection method and device based on Morse coding, equipment and storage medium
CN114722361A