Anti-counterfeiting marking system and method

By splitting the QR code into multiple color segments and embedding them into the iconic pattern, and using chaotic encryption and public key signature verification, the problems of easy imitation and single traceability information of existing QR code anti-counterfeiting methods are solved, and beautiful, low-cost anti-counterfeiting and multi-dimensional traceability are achieved.

CN112967070BActive Publication Date: 2025-10-03LIANXIN MOBEI SOFTWARE (BEIJING) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110242660.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2016-12-01
Publication Date
2025-10-03
Estimated Expiration
2036-12-01

AI Technical Summary

Technical Problem

Existing anti-counterfeiting methods that combine QR code scanning technology are costly, easy to imitate, and have single traceability information. They cannot effectively prevent counterfeit goods, and consumers cannot obtain accurate traceability information.

Method used

The QR code is split into multiple segments and embedded in iconic patterns. Chaotic encryption algorithm and color mapping are used to form colored QR code segments. The authenticity of the reconstructed QR code is verified through public key signature, and verification is performed in conjunction with cloud servers and mobile terminals.

Benefits of technology

It improves the anti-counterfeiting effect, reduces costs, enhances the anti-counterfeiting ability of the QR code, provides beautiful iconic patterns, and realizes multi-dimensional traceability information display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112967070B_ABST
    Figure CN112967070B_ABST
Patent Text Reader

Abstract

The present invention relates to an anti-counterfeiting marking method and system. A QR code is split to obtain at least two QR code segments that can be orderly distributed within a signature pattern. At least one of the QR code segments is converted into a colored QR code segment whose color matches the corresponding position of the signature pattern. The system then scans at least one of the colored QR code segments within the signature pattern to form a reconstructed QR code. By combining colored QR codes into a signature pattern, the present invention allows products to be provided with anti-counterfeiting information without affecting their aesthetics.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The present invention is a divisional application with application number 201611093103.2, application date December 1, 2016, application type invention, and application name “An anti-counterfeiting system and method implemented by combining QR code scanning technology”. Technical Field

[0002] The present invention relates to the field of anti-counterfeiting technology, and in particular to an anti-counterfeiting marking system and method. Background Art

[0003] Currently, many unscrupulous individuals are engaged in counterfeiting well-known products. To make it easier for consumers to identify product authenticity, well-known manufacturers often print or affix anti-counterfeiting labels on their products. Users can call the manufacturer's anti-counterfeiting hotline to verify authenticity. Many companies print QR codes on their products or product packaging. After purchasing the product, consumers can scan the QR code on the product using a QR code scanner. Based on the scanned QR code information, they can verify the authenticity of the purchased product via mobile phone text message or the Internet.

[0004] The current anti-counterfeiting methods implemented in conjunction with QR code scanning technology on the market have the following drawbacks: Existing anti-counterfeiting methods implemented in conjunction with QR code scanning technology can repeatedly query the QR code printed on the product indefinitely. To prevent counterfeiters from printing the same QR code on counterfeit goods, existing QR code labels are made of special materials or processes such as anti-counterfeiting ink and fragile paper. This increases the cost of anti-counterfeiting implemented in conjunction with QR code scanning technology, and after verifying the authenticity, it hinders the re-circulation of the product in the market. Moreover, although this technology increases the cost of counterfeiting for imitators, the possibility of counterfeiting still exists. Therefore, the anti-counterfeiting effect of existing anti-counterfeiting methods implemented in conjunction with QR code scanning technology needs to be improved.

[0005] Chinese patent (CN103530781 A) discloses a product anti-counterfeiting method based on QR codes, which relates to the field of anti-counterfeiting technology and solves the technical problem of improving anti-counterfeiting effect. The method prints a unique QR code on each product and stores the QR code of each product in the anti-counterfeiting database of a verification server; the product buyer uses a terminal to scan the QR code on the product and sends it to the verification server to verify the authenticity of the product. In the anti-counterfeiting database of the verification server, a verification number threshold is set for each QR code. Every time the QR code of a product is successfully verified, the verification server will reduce the verification number threshold of the QR code of the product by 1 and return the verification success information to the user. After the number of successful verifications of the QR code of a product exceeds the initial value of the verification number threshold, the QR code of the product will be invalid. However, the QR code generation method of the patent is relatively simple and can be easily forged by criminals through technical means. The verification of the QR code cannot be traced. Moreover, the traceability information of products on the market is mainly presented to the user terminal in the form of text or pictures. The traceability form is single and the amount of information is small, which is not conducive to consumers' comprehensive understanding of all aspects of the product, resulting in poor traceability experience for consumers. Moreover, text or image information can be easily tampered with and forged, resulting in consumers being unable to obtain true and accurate traceability information about the purchased products, and failing to achieve the purpose of obtaining product traceability information while conducting anti-counterfeiting queries on the products. Summary of the Invention

[0006] In view of the shortcomings of the existing technology, the present invention provides an anti-counterfeiting method implemented by combining QR code scanning technology, characterized in that the method comprises the steps of:

[0007] Splitting the QR code into at least two QR code segments and distributing the QR code segments in an orderly manner in a landmark pattern;

[0008] converting at least one of the two-dimensional code segments into a colored two-dimensional code segment having a color consistent with a corresponding position of the iconic pattern;

[0009] Scanning at least one of the color QR code segments in the iconic pattern to form a recombined QR code;

[0010] Verify the recombined QR code.

[0011] According to a preferred embodiment, the two-dimensional code segments are orderly distributed in the iconic pattern based on a positioning point mapping table in which the position points of the iconic pattern have a mapping relationship with the positioning points of the two-dimensional code, wherein:

[0012] The first character corresponding to the first positioning point in the QR code fragment is formed into a second character of an encrypted QR code fragment combined into an irregular shape through a chaotic encryption algorithm, and the encrypted QR code fragment is orderly distributed in the iconic pattern based on a positioning point mapping table between the second positioning point corresponding to the second character and the position point of the iconic pattern.

[0013] According to a preferred embodiment, the two-dimensional code segments are orderly distributed in the invisible watermark pattern matching the iconic pattern based on a positioning point mapping table in which position points of the iconic pattern have a mapping relationship with positioning points of the two-dimensional code.

[0014] According to a preferred embodiment, the iconic pattern is provided with a position blind spot that has no mapping relationship with the positioning point of the QR code, and the position blind spot is combined with the color QR code segment in corresponding colors to form the iconic pattern.

[0015] According to a preferred embodiment, the recombined two-dimensional code is formed by combining at least one two-dimensional code segment obtained from the color two-dimensional code segment based on the positioning point mapping table.

[0016] According to a preferred embodiment, the color of the color QR code segment is preset based on the color of the corresponding position of the iconic pattern, and the color of the color QR code segment and the corresponding QR code segment are converted based on a color mapping list.

[0017] According to a preferred embodiment, the method of verifying the recombined QR code includes:

[0018] An initial verification is performed by matching the recombined two-dimensional code with the original two-dimensional code, and a calculation verification is performed on the public key signature of the original two-dimensional code that has undergone the initial verification.

[0019] An anti-counterfeiting system implemented in combination with QR code scanning technology, characterized in that the anti-counterfeiting system includes a QR code generation module, a distribution module, a conversion module, a reorganization module, a verification module, a cloud server and a mobile terminal.

[0020] The QR code generation module generates an original QR code and stores it in the cloud server.

[0021] The distribution module splits the QR code into at least one QR code segment and distributes the QR code segment in an orderly manner in the iconic pattern;

[0022] The conversion module converts at least one of the two-dimensional code segments into a color two-dimensional code segment having the same color as the corresponding position of the iconic pattern;

[0023] The mobile terminal scans at least one of the color QR code segments in the iconic pattern and sends the segment to the recombining module to form a recombined QR code;

[0024] The verification module verifies the reorganized QR code based on the storage information of the cloud server.

[0025] According to a preferred embodiment, the distribution module distributes the two-dimensional code segments in an orderly manner in the iconic pattern based on a positioning point mapping table in which the position points of the iconic pattern have a mapping relationship with the positioning points of the two-dimensional code, wherein:

[0026] The distribution module uses a chaotic encryption algorithm to form a second character of the encrypted QR code fragment corresponding to the first positioning point in the QR code fragment into an irregular shape, and distributes the encrypted QR code fragment in the iconic pattern in an orderly manner based on a positioning point mapping table between the second positioning point corresponding to the second character and the position point of the iconic pattern.

[0027] According to a preferred embodiment, the distribution module distributes the two-dimensional code segments in an invisible watermark pattern matching the iconic pattern in an orderly manner based on a positioning point mapping table in which position points of the iconic pattern have a mapping relationship with positioning points of the two-dimensional code.

[0028] Beneficial technical effects of the present invention:

[0029] This invention breaks down and combines traditional QR codes into iconic patterns, giving them both anti-counterfeiting and identification functions. The aesthetically pleasing iconic patterns save space on product packaging and eliminate the inconsistency between the black and white QR code and the product packaging, making the product packaging both aesthetically pleasing and anti-counterfeiting. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a logical schematic diagram of the anti-counterfeiting method implemented by combining the QR code scanning technology of the present invention;

[0031] Figure 2 It is a schematic diagram of the modules of the anti-counterfeiting system implemented by combining the QR code scanning technology of the present invention;

[0032] Figure 3 is a schematic diagram of a QR code split and distributed in a symbolic pattern; and

[0033] Figure 4 It is a logical diagram of the chaotic encryption system.

[0034] Reference Signs List

[0035] 10: QR code generation module 20: distribution module 30: conversion module

[0036] 40: Reorganization module 50: Mobile terminal 60: Verification module

[0037] 70: Cloud server 21: First QR code segment 22: Second QR code segment

[0038] 23: Third QR code segment 24: Fourth QR code segment 25: Fifth QR code segment

[0039] 26: Sixth QR code segment 27: Seventh QR code segment 28: Eighth QR code segment

[0040] 29: Ninth QR code fragment 80: Location blind spot DETAILED DESCRIPTION

[0041] The following is a detailed description with reference to the accompanying drawings.

[0042] The present invention provides an anti-counterfeiting method implemented in combination with QR code scanning technology, the method comprising the steps of: splitting a QR code into at least one QR code segment and distributing the QR code segments in an orderly manner in a landmark pattern; converting at least one of the QR code segments into a colored QR code segment having the same color as the corresponding position of the landmark pattern; scanning at least one of the colored QR code segments in the landmark pattern to form a recombined QR code; and verifying the recombined QR code.

[0043] The two-dimensional code described herein refers to a two-dimensional barcode that records data symbolic information using a specific geometric pattern, alternating black and white, distributed in a plane (two-dimensionally) according to a specific pattern. A two-dimensional code uses geometric shapes corresponding to binary numbers to represent textual numerical information, and is automatically read by image input devices or photoelectric scanning devices to enable automatic information processing. The two-dimensional codes described herein include stacked / row-type two-dimensional barcodes and matrix-type two-dimensional barcodes. A two-dimensional code fragment described herein is a portion of a two-dimensional code.

[0044] The color QR code of the present invention has all the functions of a conventional black and white QR code, but also has a colorful appearance. The color QR code segment of the present invention refers to a color QR code segment with a colorful appearance that is converted from a black and white QR code segment.

[0045] The iconic pattern used in this article refers to a distinctive mark composed of words, graphics, letters, numbers, three-dimensional signs, sounds, colors, or a combination of these elements, used by commodity producers or operators on the goods they produce, manufacture, process, select, or distribute, or by service providers on the services they provide, to distinguish the source of the goods or services. These distinctive marks include trademarks, common patterns that consumers can use to distinguish products, or patterns containing product names.

[0046] Example 1

[0047] like Figure 1 As shown, an anti-counterfeiting method implemented by combining QR code scanning technology includes the following steps:

[0048] S1: split the QR code into at least one QR code segment and distribute the QR code segments in an orderly manner in the iconic pattern;

[0049] S2: converting at least one QR code segment into a colored QR code segment having a color consistent with a corresponding position of the iconic pattern;

[0050] S3: Scan at least one color QR code segment in the iconic pattern and form a recombined QR code;

[0051] S4: Verify the reconstructed QR code.

[0052] This embodiment describes the above steps in detail.

[0053] S1: Split the QR code into at least two QR code segments and distribute the QR code segments in an orderly manner in the iconic pattern.

[0054] The QR code generation module generates a unique black and white QR code for each product. Each symbology has its own unique character set, with each character occupying a certain width and providing certain verification capabilities. The black and white QR code contains product information, service information, and / or verification information.

[0055] A QR code contains several anchor points, each corresponding to a QR code character. The iconic pattern is divided into several cells, each representing a location point. Each location point corresponds to an anchor point, and thus, each location point corresponds to a QR code character. A location point mapping table is established based on the mapping relationship between the iconic pattern's location points and the QR code's anchor points.

[0056] Preferably, the two-dimensional code segments are distributed in order in the iconic pattern based on a positioning point mapping table in which a mapping relationship exists between position points of the iconic pattern and positioning points of the two-dimensional code.

[0057] The QR code is split into at least two parts, each of which is a QR code segment. Each QR code segment corresponds to a portion of the iconic pattern according to the mapping relationship in the anchor point mapping table. Therefore, the QR code segments are distributed in an orderly manner at corresponding positions in the iconic pattern based on the anchor point mapping table.

[0058] like Figure 3As shown, the QR code is divided into nine QR code segments: a first QR code segment 21, a second QR code segment 22, a third QR code segment 23, a fourth QR code segment 24, a fifth QR code segment 25, a sixth QR code segment 26, a seventh QR code segment 27, an eighth QR code segment 28, and a ninth QR code segment 29. The iconic pattern on the product packaging is the letter "Hi." The nine segments of the iconic pattern correspond one-to-one with the anchor points of the QR code, establishing a mapping relationship and establishing an anchor point mapping table. Based on the mapping relationship in the anchor point mapping table, the nine QR code segments are orderly distributed at the corresponding positions of the iconic pattern "Hi." Specifically, the first QR code segment 21, the second QR code segment 22, and the third QR code segment 23 are distributed in the left vertical portion of the letter "H," while the fourth QR code segment 24, the fifth QR code segment 25, and the sixth QR code segment 26 are distributed in the right vertical portion of the letter "H." The seventh QR code segment 27 is distributed in the dot portion of the letter "i." The eighth two-dimensional code segment 28 and the ninth two-dimensional code segment 29 are distributed in the vertical part of the letter “i.” The two-dimensional code segments in the iconic pattern and other parts of the iconic pattern are combined to form the iconic pattern.

[0059] Preferably, the two-dimensional code segments can be divided into two-dimensional code segments of regular areas and two-dimensional code segments of irregular areas. The two-dimensional code segments can be distributed as parts of irregular areas of irregular iconic patterns according to the positioning point mapping table.

[0060] Preferably, the two-dimensional code segments are orderly distributed in the invisible watermark pattern matching the iconic pattern based on a positioning point mapping table in which the position points of the iconic pattern have a mapping relationship with the positioning points of the two-dimensional code.

[0061] The iconic pattern is embedded with an invisible watermark. QR code fragments are distributed on the invisible watermark at locations corresponding to the iconic pattern based on a mapping table of positioning points. The invisible watermark can be read by mobile scanning devices but is invisible to the human eye. Therefore, consumers only see the iconic pattern and not the QR code fragments.

[0062] Preferably, the QR code fragment is distributed in an orderly manner in the iconic pattern based on a positioning point mapping table in which a mapping relationship exists between the position points of the iconic pattern and the positioning points of the QR code, wherein the first character corresponding to the first positioning point in the QR code fragment is formed into a second character of the encrypted QR code fragment combined into an irregular shape through a chaotic encryption algorithm, and the encrypted QR code fragment is distributed in an orderly manner in the iconic pattern based on a positioning point mapping table between the second positioning point corresponding to the second character and the position point of the iconic pattern.

[0063] The first character corresponding to the first anchor point in the QR code segment is encrypted using a chaotic encryption algorithm to form an encrypted second character. The second characters generated by the chaotic encryption algorithm are reassembled to form an encrypted QR code segment having an irregular shape. A mapping table exists between the second anchor point corresponding to the second character and the position point of the iconic pattern. The second character in the encrypted QR code segment is transformed and distributed at the corresponding position point of the iconic pattern according to the mapping relationship in the anchor point mapping table.

[0064] Preferably, a visible watermark QR code segment is provided on the surface of the iconic pattern. The visible QR code segment matches the base pattern of the iconic pattern to form an aesthetically pleasing iconic pattern.

[0065] Preferably, the iconic pattern is provided with a position blind spot which has no mapping relationship with the positioning point of the QR code, and the position blind spot and the color QR code segment are combined with corresponding colors to form the iconic pattern.

[0066] like Figure 3 As shown, the iconic pattern includes a location blind spot 80. Location blind spot 80 can be a single cell or a combination of multiple cells. Location blind spot 80 is not mapped to a QR code location point. Scanning the iconic pattern with location blind spot 80 does not affect the recognition of the reconstructed QR code. The pattern of location blind spot 80 is combined with the pattern of the color QR code segment to display as the iconic pattern.

[0067] S2: Convert at least one QR code segment into a colored QR code segment having the same color as the corresponding position of the iconic pattern.

[0068] Preferably, the color of the color QR code segment is preset based on the color of the corresponding position of the iconic pattern, and the color of the color QR code segment and the corresponding QR code segment are converted based on a color mapping list.

[0069] A color mapping list is established between the locations of the iconic pattern and the colors. The colors corresponding to the locations of the iconic pattern are preset in the color mapping list. The QR code segments at the corresponding locations in the iconic pattern are converted according to the colors mapped in the color mapping list, thereby forming colored QR code segments. The colors of the colored QR code segments are consistent with the colors of the iconic pattern, so as not to affect consumers' recognition of the product's iconic pattern.

[0070] S3: Scan at least one color QR code segment in the iconic pattern and form a recombined QR code.

[0071] Preferably, the recombined two-dimensional code is formed by combining at least one two-dimensional code segment obtained from the color two-dimensional code segment based on the positioning point mapping table.

[0072] The mobile terminal is equipped with a corresponding color QR code scanning device. The color QR code scanning device scans the iconic pattern and identifies the color QR code segments within the iconic pattern. Based on a color mapping list that maps color QR codes to location points, the black and white distribution location points of the QR code segments at the corresponding locations are obtained. The coordinates of the black and white distribution location points of the QR code segments are identified, and the coordinates of the black and white distribution location points are calculated and converted with the QR code location points according to the location point mapping table, so that the QR code segments form a complete QR code at the same QR code location point coordinates, ultimately obtaining a black and white recombined QR code formed by recombining at least one QR code segment.

[0073] S4: Verify the reconstructed QR code.

[0074] Preferably, the method of verifying the recombined QR code includes: performing an initial verification by matching the recombined QR code with the original QR code, and performing computational verification on the original QR code that has undergone the initial verification.

[0075] Initial verification is performed by matching the reconstructed QR code with the original QR code. Specifically, the original QR code is stored in a cloud server. The reconstructed QR code is then matched with the original QR code. If the reconstructed QR code matches the original QR code, the reconstructed QR code passes initial verification. If the reconstructed QR code does not match the original QR code, verification fails.

[0076] After the initial verification of the reconstructed QR code is successful, the reconstructed QR code is converted into anti-counterfeiting information that can be verified by calculation. This information is then transmitted to the cloud server for verification to verify whether the anti-counterfeiting information is generated by the specified public / private key calculation. If so, the anti-counterfeiting information is authentic and the verification is successful. If not, the anti-counterfeiting information is forged and the verification fails.

[0077] Public key algorithms allow software to create encrypted or decrypted data in the form of a "key pair." Signing and signature verification functions are also part of the program. Each "key pair" consists of a public key and a private key. The key pair is used for encryption, decryption, signing, and signature verification. As the names suggest, the private key is intended to be protected, while the public key is intended to be public.

[0078] For example, a manufacturer performs data calculations on a unique, non-repeating serial number for a product. The data calculation and processing method includes a hash algorithm. The manufacturer's private key is then used to encrypt the result obtained after the data calculation and processing as a signature, and this is combined with the product's serial number to generate a QR code, which is then published. For example, it is printed on the product packaging. Consumers use an application tool to scan the iconic pattern to obtain a reconstructed QR code. The reconstructed QR code is scanned, converted, and split, and the public key is obtained from the manufacturer's website in the application tool. The signature information is then decrypted using a public key cryptography function. If the decryption is successful and the decrypted hash value is indeed consistent with the hash result of the product serial number contained in the original QR code, then two points are proven: the product iconic pattern was indeed released by the manufacturer and the content is complete.

[0079] After the anti-counterfeiting verification is successful, the number of times the product identification information has been queried is determined based on the product identification query information record contained in the reconstructed QR code. If the product identification information is queried for the first time, the product identification information and / or its authenticity is fed back to the mobile terminal, and the query is marked as the first time. If the product identification information is not queried for the first time, the product identification information and / or its authenticity is fed back to the mobile terminal, and the query is marked as a non-first time. Preferably, if the product identification information is not queried for the first time, the product identification information, the authenticity of the product information, and the number of identification queries are fed back to the mobile terminal.

[0080] Preferably, the mapping relationship between the positioning points of the QR code and the position points of the iconic pattern includes a mapping encryption algorithm. The positioning points of the QR code and the position points of the iconic pattern are not a simple mapping relationship. After encryption calculation, the positioning points of the QR code correspond to the various position points in the iconic pattern. For example, the positioning point information of the QR code is encrypted using a chaotic mapping information encryption algorithm, and a mapping relationship is established between the encrypted positioning points and the position points of the iconic pattern. Chaotic mapping information encryption algorithms include Logistic mapping, Cubic mapping, and Arnold Cat mapping.

[0081] Chaotic encryption system such as Figure 4 The chaotic encryption system includes chaotic cascade subsystems a and b, Arnold Cat mapping and encryption function The chaotic cascade subsystems a and b are both composed of two levels of discrete chaotic maps: the first and second levels of the chaotic cascade subsystem a are logistic maps and cubic maps respectively; the first and second levels of the chaotic cascade subsystem b are cubic maps and logistic maps respectively. When encrypting the i-th plaintext mi, the chaotic cascade subsystems a and b each iterate η i times and β iAfter that, ui and wi are output respectively. ui, wi and plain text mi are encrypted by the function After processing, the ciphertext ei is generated. The value of ei is used to change the initial value of the next iteration of the Arnold Cat map. After several iterations, the number of iterations of the chaotic cascade subsystems a and b is adjusted accordingly based on the results, preparing for the encryption of the i+1th plaintext mi+1.

[0082] The initial value and initial iteration number of each chaotic map in the encryption system are related to the key. The key K is divided into three parts: K1, K2 and K3, where K1, K2∈[3⊕2,4], K3 is a string of n (n≥16) characters (K3=k1k2…k n ).

[0083] The parameter r of the Cubic map in the chaotic cascade subsystems a and b is set to K1 and K2 respectively. The initial values ​​and initial iteration times of the remaining chaotic maps are determined according to K3.

[0084] Encryption function f(u,w,m)=(1000ui+1000wi+m)mod256.

[0085] After a mobile device scans the color QR code fragment, it determines the encrypted QR code image based on the location point mapping table. The encrypted QR code image is then decrypted using two-dimensional chaotic decryption to restore the QR code. This QR code is then verified against the original QR code to confirm the product's authenticity. Because the key is only available to the manufacturer's verification system, ordinary merchants lack it and are unable to decrypt the encrypted QR code, preventing them from counterfeiting products or product information.

[0086] Example 2

[0087] This embodiment is a further improvement of the embodiment 1, and the parts repeated in the embodiment 1 are not repeated here.

[0088] like Figure 2 As shown, this embodiment provides an anti-counterfeiting system implemented in combination with QR code scanning technology. The anti-counterfeiting system includes a QR code generation module 10, a distribution module 20, a conversion module 30, a reorganization module 40, a verification module 60, a cloud server 70 and a mobile terminal 50.

[0089] The two-dimensional code generation module 10 is used to generate a unique black and white two-dimensional code related to product information.

[0090] The distribution module 20 is used to split the QR code into at least two QR code segments and distribute the QR code segments to at least two positions of the iconic pattern according to the positioning point mapping table. The way of splitting the QR code segments can be regular splitting or irregular splitting.

[0091] The conversion module 30 is configured to convert the two-dimensional code segment into a color two-dimensional code segment whose color matches the color of the iconic pattern according to the color mapping list.

[0092] The reassembly module 40 is configured to convert the scanned color QR code segments into black and white QR code segments according to the color mapping list, and reassemble the QR code segments into a complete reassembled QR code according to the positioning point mapping table.

[0093] The verification module 60 is used to verify the reconstructed QR code, thereby verifying the authenticity of the product.

[0094] The cloud server 70 is used to store product information, original QR code information and anti-counterfeiting verification information related to the QR code, or to perform anti-counterfeiting verification on the reconstructed QR code.

[0095] The mobile terminal 50 is used to scan the color QR code segment set in the iconic pattern.

[0096] Specifically, the QR code generation module 10 generates an original QR code and stores it in the cloud server 70. The distribution module 20 splits the QR code into at least one QR code segment and distributes the QR code segments in an orderly manner within the iconic pattern. The conversion module 30 converts the at least one QR code segment into a colored QR code segment that matches the color of the corresponding position in the iconic pattern. The mobile device 50 scans the at least one colored QR code segment in the iconic pattern and sends it to the reassembly module 40 to form a reassembled QR code. The verification module 60 verifies the reassembled QR code based on the information stored in the cloud server 70.

[0097] Preferably, the distribution module 20 distributes the two-dimensional code segments in the iconic pattern in an orderly manner based on a positioning point mapping table in which position points of the iconic pattern have a mapping relationship with positioning points of the two-dimensional code.

[0098] Preferably, the two-dimensional code segments are distributed in order in the iconic pattern based on a positioning point mapping table in which a mapping relationship exists between position points of the iconic pattern and positioning points of the two-dimensional code.

[0099] The distribution module 20 splits the QR code into at least two parts, each of which is a QR code segment. The distribution module 20 stores a mapping table of anchor points that maps the locations of the iconic pattern to the anchor points of the QR code. The coordinates of each QR code anchor point correspond one-to-one with the coordinates of each iconic pattern location point. Based on the mapping relationship in the anchor point mapping table, the distribution module 20 assigns each QR code segment to a portion of the iconic pattern. Thus, the QR code segments are distributed in an orderly manner at corresponding locations within the iconic pattern based on the anchor point mapping table.

[0100] like Figure 3As shown, the QR code is split by distribution module 20 into nine QR code segments: a first QR code segment 21, a second QR code segment 22, a third QR code segment 23, a fourth QR code segment 24, a fifth QR code segment 25, a sixth QR code segment 26, a seventh QR code segment 27, an eighth QR code segment 28, and a ninth QR code segment 29. The iconic pattern on the product packaging is the letter "Hi." The nine segments of the iconic pattern correspond one-to-one with the anchor points of the QR code, establishing a mapping relationship and a anchor point mapping table. Distribution module 20 distributes the nine segments of the QR code in an orderly manner to the corresponding positions of the iconic pattern "Hi" based on the mapping relationship in the anchor point mapping table. Specifically, the first QR code segment 21, the second QR code segment 22, and the third QR code segment 23 are distributed to the left vertical portion of the letter "H," while the fourth QR code segment 24, the fifth QR code segment 25, and the sixth QR code segment 26 are distributed to the right vertical portion of the letter "H." The seventh QR code segment 27 is distributed to the dot portion of the letter "i." The eighth two-dimensional code segment 28 and the ninth two-dimensional code segment 29 are distributed in the vertical part of the letter “i.” The two-dimensional code segments in the iconic pattern and other parts of the iconic pattern are combined to form the iconic pattern.

[0101] Preferably, the distribution module 20 can split the two-dimensional code segments into two-dimensional code segments of regular areas and two-dimensional code segments of irregular areas. The two-dimensional code segments can be distributed as parts of irregular areas of irregular landmark patterns according to the positioning point mapping table.

[0102] Preferably, the distribution module 20 uses a chaotic encryption algorithm to form a second character of an encrypted QR code fragment corresponding to the first positioning point in the QR code fragment into an irregular shape, and distributes the encrypted QR code fragment in an orderly manner in the iconic pattern based on a positioning point mapping table between the second positioning point corresponding to the second character and the position point of the iconic pattern.

[0103] The first character corresponding to the first anchor point in the QR code segment is encrypted using a chaotic encryption algorithm to form an encrypted second character. The second characters generated by the chaotic encryption algorithm are reassembled to form an encrypted QR code segment with an irregular shape. A mapping table exists between the second anchor point corresponding to the second character and the location of the iconic pattern. The distribution module 20 converts the second character in the encrypted QR code segment according to the mapping relationship in the anchor point mapping table and distributes it to the corresponding location of the iconic pattern.

[0104] Preferably, the distribution module 20 distributes the two-dimensional code segments in an invisible watermark pattern that matches the iconic pattern in an orderly manner based on a positioning point mapping table in which position points of the iconic pattern have a mapping relationship with positioning points of the two-dimensional code.

[0105] The iconic pattern is provided with an invisible watermark. The distribution module 20 distributes the QR code fragments onto the invisible watermark at the locations on the iconic pattern based on the positioning point mapping table. This means the invisible watermark contains the QR code fragments. The invisible watermark can be read by mobile scanning devices but is invisible to the human eye. Therefore, consumers only see the iconic pattern and not the QR code fragments.

[0106] Preferably, the distribution module 20 distributes the two-dimensional code segments on the visible watermark on the surface of the iconic pattern. The visible two-dimensional code segments match the base pattern of the iconic pattern to form an aesthetically pleasing iconic pattern.

[0107] Preferably, the iconic pattern is provided with a position blind spot which has no mapping relationship with the positioning point of the QR code, and the position blind spot and the color QR code segment are combined with corresponding colors to form the iconic pattern.

[0108] like Figure 3 As shown, the iconic pattern includes a location blind spot 80. Location blind spot 80 can be a single cell or a combination of multiple cells. Location blind spot 80 is not mapped to a QR code location point. Scanning the iconic pattern with location blind spot 80 does not affect the recognition of the reconstructed QR code. The pattern of location blind spot 80 is combined with the pattern of the color QR code segment to display as the iconic pattern.

[0109] Preferably, the conversion module 30 establishes and stores a color mapping list that corresponds to the locations of the iconic pattern and their colors. The colors in the color mapping list are preset based on the colors of the corresponding locations of the iconic pattern. Based on the color mapping list, the conversion module 30 converts the colors of the QR code locations corresponding to the coordinates of the locations of the iconic pattern to form colored QR code segments. The colors of the colored QR code segments are consistent with the colors of the iconic pattern, thereby not affecting consumers' recognition of the product's iconic pattern.

[0110] Preferably, the reassembly module 40 reassembles the color QR code scanned by the mobile terminal 50 into a reassembled QR code, that is, the reassembled QR code is formed by combining at least one QR code segment obtained from the color QR code segment based on the positioning point mapping table.

[0111] The mobile terminal 50 is equipped with a corresponding color QR code scanning device. The mobile terminal 50 scanning device scans the iconic pattern and identifies the color QR code segments within the iconic pattern. The reassembly module 40 obtains the black and white distribution location points of the corresponding QR code segments based on a color mapping table that maps color QR codes to location points. The reassembly module 40 identifies the coordinates of the black and white distribution location points of the QR code segments and, based on the location point mapping table, calculates and converts the coordinates of the black and white distribution location points with the QR code location points, so that the QR code segments form a complete QR code at the same QR code location point coordinates, ultimately obtaining a black and white reassembled QR code formed by reassembling at least one QR code segment.

[0112] Preferably, the verification module 60 verifies the reconstructed QR code in the following manner: performing an initial verification by matching the reconstructed QR code with the original QR code, and performing computational verification on the initially verified original QR code.

[0113] The verification module 60 performs initial verification by matching the reconstructed QR code with the original QR code. Specifically, the QR code generation module 10 generates the QR code and simultaneously stores the original QR code in a cloud server. The verification module 60 matches the reconstructed QR code with the original QR code. If the reconstructed QR code matches the original QR code, the reconstructed QR code passes initial verification. If the reconstructed QR code does not match the original QR code, verification of the reconstructed QR code fails.

[0114] After the initial verification of the reconstructed QR code is successful, the verification module 60 converts the reconstructed QR code into anti-counterfeiting information that can be verified by computation. The anti-counterfeiting information is then transmitted to the cloud server 70 for verification to determine whether the anti-counterfeiting information is generated by a specified public / private key operation. If so, the anti-counterfeiting information is authentic and the verification is successful. If not, the anti-counterfeiting information is forged and the verification fails.

[0115] After the anti-counterfeiting verification is successful, the cloud server 70 determines the number of times the product identification information has been queried based on the product identification query information record contained in the reconstructed QR code. If the product identification information is queried for the first time, the cloud server 70 will feedback the product identification information and / or its authenticity to the mobile terminal 50 and mark it as the first query. If the product identification information is not queried for the first time, the cloud server 70 will feedback the product identification information and / or its authenticity to the mobile terminal 50 and mark it as a non-first query. Preferably, if the product identification information is not queried for the first time, the cloud server 70 will feedback the product identification information, the authenticity of the product information, and the number of identification queries to the mobile terminal.

[0116] Preferably, the anti-counterfeiting system implemented in conjunction with QR code scanning technology of the present invention further includes an encryption module and a decryption module. The encryption module encrypts the QR code generated by the QR code generation module 10 to form an encrypted QR code. The encrypted QR code is split into at least two encrypted QR code segments by the distribution module 20 and distributed in an orderly manner within the iconic pattern.

[0117] The encryption method of the encryption module includes a method of signing or encrypting identification information using a public key system algorithm, and a method of performing chaotic mapping encryption on a QR code using a chaotic encryption system.

[0118] Preferably, the mapping relationship between the positioning points of the QR code and the position points of the iconic pattern includes a mapping encryption algorithm. The positioning points of the QR code and the position points of the iconic pattern are not a simple mapping relationship. After encryption calculation, the positioning points of the QR code correspond to the various position points in the iconic pattern. For example, the encryption module uses a chaotic mapping information encryption algorithm to encrypt the positioning point information of the QR code and establishes a mapping relationship between the encrypted positioning points and the position points of the iconic pattern. Chaotic mapping information encryption algorithms include Logistic mapping, Cubic mapping, and Arnold Cat mapping.

[0119] The mobile terminal 50 is equipped with a corresponding color QR code scanning device. The mobile terminal 50 scanning device scans the iconic pattern and identifies the color QR code segments within the iconic pattern. The reassembly module 40 obtains the black and white distribution location points of the encrypted QR code segments at the corresponding locations based on a color mapping table that maps color QR codes to location points. The reassembly module 40 identifies the coordinates of the black and white distribution location points of the encrypted QR code segments and, based on the location point mapping table, calculates and converts the coordinates of the black and white distribution location points with the encrypted QR code location points, so that the encrypted QR code segments form a complete encrypted QR code at the same QR code location point coordinates, ultimately obtaining a black and white reassembled encrypted QR code formed by reassembling at least one encrypted QR code segment.

[0120] The decryption module is provided in the verification module 60. The verification module 60 receives the reconstructed encrypted QR code sent by the reconstructing module 40 and decrypts it, restoring the reconstructed encrypted QR code to a reconstructed QR code. The verification module 60 performs an initial verification by matching the reconstructed QR code with the original QR code. After the initial verification of the reconstructed QR code is successful, the verification module 60 converts the reconstructed QR code into anti-counterfeiting information that can be verified by calculation, and transmits the anti-counterfeiting information to the cloud server 70 for anti-counterfeiting verification to verify whether the anti-counterfeiting information is generated by the specified public key / private key calculation. If so, the anti-counterfeiting information is authentic and the anti-counterfeiting verification is successful. If not, the anti-counterfeiting information is forged and the anti-counterfeiting verification fails.

[0121] It should be noted that the above-described specific embodiments are illustrative only. Those skilled in the art may devise various solutions based on the disclosure of the present invention, and such solutions fall within the scope of the present invention and are intended to be protected by the present invention. Those skilled in the art should understand that the present description and its accompanying drawings are intended to be illustrative only and are not intended to limit the scope of the claims. The scope of protection of the present invention is defined by the claims and their equivalents.

Claims

1. An anti-counterfeiting marking method, characterized in that: Splitting the QR code to obtain at least two QR code segments that can be orderly distributed in the iconic pattern based on a positioning point mapping table that has a mapping relationship between the position points of the iconic pattern and the positioning points of the QR code, and converting at least one of the QR code segments into a color QR code segment that is consistent with the color of the corresponding position of the iconic pattern based on a color mapping table that has a mapping relationship between the color QR code and the positioning points, so as not to affect consumers' recognition of the iconic pattern of the product; Scan at least one of the colored QR code segments in the iconic pattern and obtain the black and white distribution position points of the QR code segment at the corresponding position according to the color mapping list, identify the coordinates of the black and white distribution position points of the QR code segment, and calculate and convert the coordinates of the black and white distribution position points and the QR code positioning points according to the positioning point mapping table, so that the QR code segment forms a recombined QR code at the same QR code positioning point coordinates.

2. The anti-counterfeiting marking method according to claim 1, wherein: The two-dimensional code segments can be split into two-dimensional code segments of regular areas and two-dimensional code segments of irregular areas, and the two-dimensional code segments can be distributed as parts of irregular areas of irregular landmark patterns according to the positioning point mapping table.

3. The anti-counterfeiting marking method according to claim 1 or 2, characterized in that: The first character corresponding to the first positioning point in the QR code fragment is formed into a second character of an encrypted QR code fragment combined into an irregular shape through a chaotic encryption algorithm, and the encrypted QR code fragment is orderly distributed in the iconic pattern based on a positioning point mapping table between the second positioning point corresponding to the second character and the position point of the iconic pattern.

4. The anti-counterfeiting marking method according to claim 3, characterized in that: The two-dimensional code segments are orderly distributed in the invisible watermark pattern matching the iconic pattern based on a positioning point mapping table in which position points of the iconic pattern have a mapping relationship with positioning points of the two-dimensional code.

5. The anti-counterfeiting marking method according to claim 4, characterized in that: The iconic pattern is provided with a position blind spot which has no mapping relationship with the positioning point of the two-dimensional code, and the position blind spot and the color two-dimensional code segment are combined with corresponding colors to form the iconic pattern.

6. The anti-counterfeiting marking method according to claim 5, characterized in that: The recombined two-dimensional code is formed by combining at least one two-dimensional code segment obtained from the color two-dimensional code segment based on the positioning point mapping table.

7. The anti-counterfeiting marking method according to claim 6, characterized in that: The color of the color two-dimensional code segment is preset based on the color of the corresponding position of the iconic pattern, and the color of the color two-dimensional code segment and the corresponding two-dimensional code segment are converted based on a color mapping list.

8. The anti-counterfeiting marking method according to claim 7, wherein: The verification of the recombined QR code is to perform an initial verification by matching the recombined QR code with the original QR code, and to perform computational verification on the public key signature of the initially verified original QR code.

9. An anti-counterfeiting marking system, characterized in that: The anti-counterfeiting identification system includes a QR code generation module, a distribution module, a conversion module, a reorganization module, a verification module, a cloud server and a mobile terminal. The QR code generation module generates an original QR code and stores it in the cloud server. The distribution module splits the QR code into at least two QR code segments and distributes the QR code segments in an orderly manner in the iconic pattern based on a positioning point mapping table in which position points of the iconic pattern have a mapping relationship with positioning points of the QR code; The conversion module converts at least one of the QR code segments into a color QR code segment consistent with the color of the corresponding position of the iconic pattern based on a color mapping list having a mapping relationship between the color QR code and the position point, so as not to affect the consumer's recognition of the iconic pattern of the product; The mobile terminal scans at least one of the color QR code segments in the iconic pattern and sends the scanned segment to the reassembly module. The reassembly module obtains the black and white distribution position points of the QR code segment at the corresponding position according to the color mapping list, identifies the coordinates of the black and white distribution position points of the QR code segment, and calculates and converts the coordinates of the black and white distribution position points with the QR code positioning points according to the positioning point mapping table, so that the QR code segments form a reassembled QR code at the same coordinates of the QR code positioning points. The verification module verifies the reorganized QR code based on the storage information of the cloud server.

10. The anti-counterfeiting marking system according to claim 9, characterized in that: The distribution module is used to split the two-dimensional code into at least two two-dimensional code segments and distribute the two-dimensional code segments to at least two positions of the iconic pattern according to the positioning point mapping table.

Citation Information

Patent Citations

  • Commodity forgery prevention method based on two-dimensional codes

    CN103530781A

  • Anti-fake verification method for color two-dimensional code with digital watermark

    CN104239838A

  • System and method for labeling a product

    WO2016166379A1