A method, device, equipment and medium for anti-counterfeiting traceability based on a large number of cloud codes
By using a cloud-based anti-counterfeiting and traceability method, which employs encryption algorithms and infrared device scanning technology, the unique binding and dual-layer verification of product anti-counterfeiting information are achieved. This solves the problem that existing anti-counterfeiting technologies are easily copied and cracked, and improves the security and complexity of anti-counterfeiting measures.
Patent Information
- Application Number
- CN202510023724.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2045-01-07
AI Technical Summary
Existing QR code and barcode anti-counterfeiting technologies are easily copied or cracked, and cannot completely solve the anti-counterfeiting problem. Traditional physical labels face the risk of counterfeiting or tampering. How can we improve the security of product anti-counterfeiting measures?
The anti-counterfeiting and traceability method based on massive cloud codes is adopted. A second cloud code dot map is generated through encryption algorithm, and combined with infrared device scanning and bitwise XOR operation, a two-layer verification is realized to ensure the unique binding relationship between the cloud code dot map and the anti-counterfeiting information, thereby improving the complexity and security of the anti-counterfeiting label.
It enhances the security of anti-counterfeiting measures, prevents counterfeiters from cracking the specific generation method of anti-counterfeiting marks, and ensures that counterfeit products cannot pass the verification smoothly through double-layer verification, thereby increasing the difficulty and efficiency of anti-counterfeiting verification.
Smart Images

Figure CN119963216B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of product anti-counterfeiting, and in particular to an anti-counterfeiting traceability method and device based on a huge cloud code, an equipment and a medium. BACKGROUND
[0002] With the continuous expansion of the global market, the rampant of counterfeit and inferior products has become a serious problem. How to effectively identify genuine and imitation products is an important challenge faced by enterprises.
[0003] Traditional anti-counterfeiting measures, such as physical labels, barcodes, etc., can play a role to a certain extent, but with the development of technology, counterfeiting means is becoming more and more complex, and these traditional anti-counterfeiting methods are facing the risk of being counterfeited or tampered. In recent years, with the development of electronic technology, digital coding technologies such as two-dimensional codes and barcodes have been widely used in anti-counterfeiting information management and anti-counterfeiting fields. This kind of technology assigns a unique identification code to a product, and consumers can obtain relevant information about the product by scanning the code point map. However, the coding method of the above-mentioned two-dimensional code and barcode is relatively public, so relying only on static two-dimensional code or barcode has the possibility of being copied or cracked, and cannot completely solve the problem of anti-counterfeiting.
[0004] Therefore, how to combine encryption and verification technology to improve the security of product anti-counterfeiting means has become a technical problem to be solved at present. SUMMARY
[0005] The present application provides an anti-counterfeiting traceability method based on a huge cloud code to solve the technical problem of how to combine encryption and verification technology to improve the security of product anti-counterfeiting means.
[0006] In order to solve the above technical problem, the present application provides an anti-counterfeiting traceability method based on a huge cloud code, comprising:
[0007] When receiving the first anti-counterfeiting information obtained by scanning a product to decode a first cloud code point map, it is determined whether the product is genuine according to the first anti-counterfeiting information and the first cloud code point map; wherein each of the genuine products has a unique second anti-counterfeiting information and a second cloud code point map; the second cloud code point map is obtained by encrypting the second anti-counterfeiting information corresponding to the genuine product by an encryption algorithm;
[0008] If the first anti-counterfeiting information exists in each of the second anti-counterfeiting information, and the second cloud code point map corresponding to the second anti-counterfeiting information identical to the first anti-counterfeiting information is identical to the first cloud code point map, and the scanning and decoding frequency of the first cloud code point map is less than a first preset frequency, it is determined that the product is the genuine product; otherwise, it is determined that the product is a counterfeit product.
[0009] Compared with the prior art, the embodiments of the present application have the following beneficial effects: since the second anti-counterfeiting information is the anti-counterfeiting information corresponding to the genuine product, the second cloud code point graph is generated through an encryption algorithm, and the second cloud code point graph and the second anti-counterfeiting information are uniquely bound with the genuine product, thereby improving the complexity of the anti-counterfeiting mark, making it impossible for counterfeiters to crack the specific generation mode of the anti-counterfeiting mark, and improving the security of the anti-counterfeiting means; further, through double-layer verification, the first layer verifies the decoding mode of the first cloud code point graph for obtaining the first anti-counterfeiting information, and if an error occurs in the decoding process, it will directly lead to an error in the obtained first anti-counterfeiting information or an inconsistency between the first cloud code point graph and the second cloud code point graph, and the second layer verifies the scanning and decoding times of the first cloud code point graph, thereby preventing counterfeiters from repeatedly using the same anti-counterfeiting information after cracking the decoding process, and as long as one of the verifications has an error, the counterfeit product cannot pass the verification smoothly, thereby improving the security of the anti-counterfeiting means.
[0010] In some embodiments of the first aspect of the present application, the second cloud code point graph is obtained by encrypting the second anti-counterfeiting information corresponding to the genuine product through an encryption algorithm, comprising:
[0011] The second anti-counterfeiting information includes a first binary code of a first preset number of bits;
[0012] Randomly generating a second binary code of a second preset number of bits;
[0013] Inserting a plurality of first supplementary binary numbers in the second binary code to make the number of bits of the second binary code equal to the first preset number of bits;
[0014] Performing a bitwise XOR operation on the first binary code and the second binary code of the first preset number of bits to obtain a third binary code;
[0015] Mapping the third binary code and the second binary code of the second preset number of bits to the second cloud code point graph according to a preset rule.
[0016] Compared with the prior art, the above embodiments have the following beneficial effects: through the bitwise XOR operation, the second anti-counterfeiting information (i.e. the first binary code) is encrypted by combining the randomly generated second binary code to generate the second cloud code point graph, thereby increasing the complexity and randomness of the cloud code graph, improving the security of the anti-counterfeiting means, and preventing counterfeiters from cracking the anti-counterfeiting information through reverse engineering.
[0017] In some embodiments of the first aspect of the present application, when the product is a genuine product, the step of scanning the product to decode the first cloud code point graph to obtain the first anti-counterfeiting information comprises:
[0018] The first cloud code point graph is identified by the first infrared device to obtain a fourth binary code and a fifth binary code;
[0019] The first preset number of first bit insertion binary numbers are inserted into the fifth binary code, so that the number of bits of the fifth binary code is the first preset number of bits;
[0020] The fourth binary code and the fifth binary code with the first preset number of bits are subjected to bitwise XOR operation to obtain the first anti-counterfeiting information.
[0021] Compared with the prior art, the above-mentioned embodiments have the following beneficial effects: the fourth binary code and the fifth binary code are obtained by scanning through an infrared device, and the anti-counterfeiting information is decoded by inserting bit insertion and bitwise XOR operation, so that the anti-counterfeiting verification process is more covert and efficient. In addition, the infrared technology enables the first cloud code point graph to be hidden in the physical structure of the product, which is not easy to be found and cracked by counterfeiters, thereby improving the difficulty of anti-counterfeiting verification.
[0022] In some embodiments of the first aspect of the application, the second cloud code point graph is a hidden infrared ink point graph uniformly distributed on the surface of the genuine product at a first preset size.
[0023] Compared with the prior art, the above-mentioned embodiments have the following beneficial effects: the second cloud code point graph is uniformly distributed on the surface of the genuine product in the form of hidden infrared ink points, which has the characteristics of invisibility and difficulty in replication. In addition, since the second cloud code point graph is uniformly distributed on the surface of the product at a first preset size, multiple second cloud code point graphs can be distributed on the entire surface of the product by reducing the size of the second cloud code point graph, so that even if the surface of the product is rubbed or bumped during transportation, resulting in the erasure of part of the infrared ink points, it does not affect the identification of other infrared ink point graphs. At the same time, compared with other invisible inks, the infrared ink point graph has a lower anti-counterfeiting cost.
[0024] In a second aspect, the embodiments of the application also provide an anti-counterfeiting and traceability device based on a huge number of cloud codes, comprising: a first judgment module and a first execution module;
[0025] The first judgment module is configured to determine whether the product is a genuine product according to the first anti-counterfeiting information and the first cloud code point graph when receiving the first anti-counterfeiting information obtained by scanning the product to decode the first cloud code point graph; each of the genuine products has a unique second anti-counterfeiting information and a second cloud code point graph; the second cloud code point graph is obtained by encrypting the second anti-counterfeiting information corresponding to the genuine product through an encryption algorithm;
[0026] The first execution module is configured to determine that the product is the genuine product if the first anti-fake information exists in each of the second anti-fake information and is identical to the second anti-fake information, the second cloud code point graph corresponding to the second anti-fake information identical to the first anti-fake information is identical to the first cloud code point graph, and the number of scanning decoding of the first cloud code point graph is less than a first preset number; otherwise, the product is determined to be a counterfeit product.
[0027] In some embodiments of the second aspect of the present application, the second cloud code point graph is obtained by encrypting the second anti-fake information corresponding to the genuine product through an encryption algorithm, comprising:
[0028] The second anti-fake information comprises a first binary code of a first preset number of bits;
[0029] A second binary code of a second preset number of bits is randomly generated;
[0030] A plurality of first supplementary binary numbers are inserted into the second binary code, so that the number of bits of the second binary code is the first preset number of bits;
[0031] The first binary code and the second binary code of the first preset number of bits are subjected to bitwise XOR operation to obtain a third binary code;
[0032] According to a preset rule, the third binary code and the second binary code of the second preset number of bits are mapped to the second cloud code point graph.
[0033] In some embodiments of the second aspect of the present application, when the product is a genuine product, the step of scanning the product by a user to decode the first cloud code point graph to obtain the first anti-fake information comprises:
[0034] The first cloud code point graph is identified by a first infrared device to obtain a fourth binary code and a fifth binary code;
[0035] The plurality of first supplementary binary numbers are inserted into the fifth binary code, so that the number of bits of the fifth binary code is the first preset number of bits;
[0036] The fourth binary code and the fifth binary code of the first preset number of bits are subjected to bitwise XOR operation to obtain the first anti-fake information.
[0037] In some embodiments of the second aspect of the present application, the second cloud code point graph is a hidden infrared ink dot graph uniformly distributed on the surface of the genuine product with a first preset size.
[0038] In a third aspect, the present application provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the above-mentioned anti-counterfeiting and traceability method based on a huge cloud code when executing the computer program.
[0039] In a fourth aspect, the present application provides a computer-readable storage medium, comprising a stored computer program, wherein the computer-readable storage medium controls the device where the computer-readable storage medium is located to execute the above-mentioned anti-counterfeiting and traceability method based on a huge cloud code when the computer program runs. BRIEF DESCRIPTION OF DRAWINGS
[0040] Figure 1 A flowchart of an anti-counterfeiting and traceability method based on a huge cloud code provided in some embodiments of the present application;
[0041] Figure 2 A schematic diagram of a second cloud code point map generation printing process provided in some embodiments of the present application;
[0042] Figure 3 A schematic diagram of a second cloud code point map reading and verification process provided in some embodiments of the present application;
[0043] Figure 4 A structural schematic diagram of an anti-counterfeiting and traceability device based on a huge cloud code provided in some embodiments of the present application. DETAILED DESCRIPTION
[0044] Traditional anti-counterfeiting measures, such as physical labels, bar codes, etc., can play a role to some extent, but with the development of technology, counterfeiting means is becoming more and more complex, and these traditional anti-counterfeiting methods are facing the risk of being counterfeited or tampered. In recent years, with the development of electronic technology, digital coding technologies such as two-dimensional codes and bar codes have been widely used in anti-counterfeiting information management and anti-counterfeiting fields. Such technologies assign a unique identification code to a product, and consumers can obtain relevant information about the product by scanning the code point map. However, the coding method of the above-mentioned two-dimensional code and bar code is relatively public, so relying only on static two-dimensional code or bar code has the possibility of being copied or cracked, and cannot completely solve the problem of anti-counterfeiting.
[0045] In order to solve the above technical problems, the technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of the present application.
[0046] Embodiment one
[0047] Referring to Figure 1 A counterfeit prevention and traceability method based on a large number of cloud codes is provided for the embodiments of the present application, which comprises S10 to S20 and specifically comprises:
[0048] S10: When receiving first anti-counterfeit information obtained by scanning a product with a user to decode a first cloud code point diagram, judging whether the product is a genuine product according to the first anti-counterfeit information and the first cloud code point diagram; wherein each of the genuine products has a unique second anti-counterfeit information and a second cloud code point diagram; the second cloud code point diagram is obtained by encrypting the second anti-counterfeit information corresponding to the genuine product by an encryption algorithm.
[0049] Preferably, in some embodiments of the present application,
[0050] Further, in some embodiments of the present application, the second cloud code point diagram is obtained by encrypting the second anti-counterfeit information corresponding to the genuine product by an encryption algorithm, comprising:
[0051] The second anti-counterfeit information comprises a first binary code of a first preset number of bits;
[0052] Randomly generating a second binary code of a second preset number of bits;
[0053] Inserting a plurality of first supplementary binary numbers in the second binary code to make the number of bits of the second binary code equal to the first preset number of bits;
[0054] Performing a bitwise XOR operation on the first binary code and the second binary code of the first preset number of bits to obtain a third binary code;
[0055] According to a preset rule, mapping the third binary code and the second binary code of the second preset number of bits to the second cloud code point diagram.
[0056] By performing a bitwise XOR operation and combining the randomly generated second binary code, the second anti-counterfeit information (i.e. the first binary code) is encrypted to generate the second cloud code point diagram, which increases the complexity and randomness of the cloud code diagram, thereby improving the security of the anti-counterfeit means and preventing counterfeiters from cracking the anti-counterfeit information through reverse engineering.
[0057] Preferably, in some embodiments of the present application, the third binary code can be obtained by the following preferred implementation:
[0058] C=M⊕K
[0059] Wherein C is the third binary code; M is the first binary code; K is the second binary code of the first preset number of bits; and is a bitwise XOR operation.
[0060] Preferably, in some embodiments of the present application, the first binary code of the first preset bit number can be a 64-bit binary data code composed of a 6-bit enterprise code, a 30-bit data code, and a 28-bit redundant code, such as 101010+101110…{30}+110111…{28}. The redundant code is used to improve the stability of the second cloud code point map generated subsequently, so that even if part of the invisible infrared ink dots in the second cloud code point map is erased, there is still a high probability that the effective data in the second cloud code point map can be identified.
[0061] Preferably, in some embodiments of the present application, the second binary code of the second preset bit number can be a 16-bit binary number randomly generated, and a first supplementary bit binary number with a fixed interval is inserted into the 16-bit binary number, so that the second binary code is expanded to 64 bits, and the XOR operation can be performed with the first binary code.
[0062] Preferably, in some embodiments of the present application, the second cloud code point map is generated according to the second binary code of the second preset bit number and the first binary code of the first preset bit number. The second cloud code point map includes: a factor image generated according to the first binary code of the second preset bit number. The image is an image frame outside the data image, which is not only used for subsequent decoding to obtain the first binary code of the first preset bit number, but also used to prevent the data image in the middle of the second cloud code point map from being decrypted and read due to interference from external factors. The data image in the middle of the second cloud code point map is generated according to the third binary code of the first preset bit number.
[0063] Preferably, in some embodiments of the present application, the factor image is composed of a finder image and a positioning image. The finder image is composed of three regions selected from the upper left corner, the upper right corner, the lower left corner, and the lower right corner, which is used to tell the decoding device where the complete second cloud code point map and the factor image and data image of the second cloud code point map are. The positioning image is a line segment image between the finder images, which is used to help the decoding device identify each region of the entire second cloud code point map, so that the second cloud code point map that is worn can still be parsed.
[0064] Further, in some embodiments of the present application, when the product is a genuine product, the step of scanning the product to decode the first cloud code point map to obtain the first anti-counterfeiting information includes:
[0065] identifying the first cloud code point map by the first infrared device to obtain a fourth binary code and a fifth binary code;
[0066] inserting the plurality of first supplementary bit binary numbers into the fifth binary code, so that the bit number of the fifth binary code is the first preset bit number;
[0067] The fourth binary code and the fifth binary code with the first preset number of bits are subjected to bitwise XOR operation to obtain the first anti-counterfeiting information.
[0068] The fourth binary code and the fifth binary code are obtained by scanning through the infrared device, and the anti-counterfeiting information is decoded through the insertion of the supplementary bit and the bitwise XOR operation, so that the anti-counterfeiting verification process is more covert and efficient. In addition, the infrared technology enables the first cloud code point graph to be hidden in the physical structure of the product, which is not easy to be discovered and cracked by counterfeiters, thereby improving the difficulty of anti-counterfeiting verification.
[0069] Preferably, in some embodiments of the present application, when the product is an authentic product, the user obtains the fourth binary code as the third binary code with the first preset number of bits and the fifth binary code as the second binary code with the second preset number of bits by scanning the first cloud code point graph through the authorized first infrared device.
[0070] Preferably, in some embodiments of the present application, the first infrared device is a special infrared device designed specifically for the second cloud code point graph. The infrared device accurately uses narrow-band infrared light (usually near-infrared band, such as 700-1000nm) to identify specific invisible ink or material. Compared with common infrared devices (such as ordinary infrared scanners, infrared cameras, etc., with a wavelength range of 700nm to 1400nm or even higher), the wavelength range is shorter, and the identification accuracy of the second cloud code point graph is higher.
[0071] Preferably, in some embodiments of the present application, the first infrared device can also be a smart device with camera function such as a mobile phone with infrared identification function. The corresponding device can log in and authorize to obtain the decoding method to identify the second cloud code point graph.
[0072] Further, in some embodiments of the present application, the second cloud code point graph is an invisible infrared ink point graph uniformly distributed on the surface of the authentic product with the first preset size.
[0073] The second cloud code point graph is uniformly distributed on the surface of the authentic product in the form of invisible infrared ink points, which has the characteristics of invisibility and difficulty in replication. In addition, since the second cloud code point graph is uniformly distributed on the surface of the product with the first preset size, multiple second cloud code point graphs can be distributed on the entire surface of the product by reducing the size of the second cloud code point graph. Even if the product is rubbed or bumped during transportation, causing some infrared ink points on the surface to be erased, it will not affect the identification of other infrared ink point graphs. At the same time, the infrared ink point graph has a lower anti-counterfeiting cost than other invisible inks.
[0074] Preferably, in some embodiments of the present application, the second cloud code point graph is a micro and massive image code formed by massive cloud codes, and the size of each point in the second cloud code point graph is as small as 4*4 mm. The second cloud code point graph is implanted in the product by printing, and it is difficult to be detected by the naked eye and cannot be directly obtained by conventional scanning equipment or copying tools.
[0075] Preferably, in some embodiments of the present application, the second cloud code point graph is uniformly distributed on the surface of the product, so that the second cloud code point graph covers a large area on the surface of the product (using the method of printing implantation, which will not affect the original shape and content of the product). According to the size of the current second cloud code point graph, it is continuously and uniformly distributed on the surface of the product. Therefore, even if some of the second cloud code point graphs are worn during the use or transportation of the product, other second cloud code point graphs can still be recognized by the special infrared device.
[0076] Preferably, in some embodiments of the present application, in order to improve the convenience of ordinary users for anti-counterfeiting verification, the second cloud code point graph can be designed to be scanned and decoded by common devices (such as smart phones), and the second cloud code point graph is not completely printed and implanted into the product packaging material, so that the user does not need to use a special light source (a special wavelength of infrared light) for scanning and decoding operation, thereby improving the popularity and user experience of anti-counterfeiting verification. At the same time, the decoding of the second cloud code point graph can realize automatic verification through an application program or a network service.
[0077] Preferably, in some embodiments of the present application, the second cloud code point graph can be made of more durable materials and stable printing technology, so that the information carried by the second cloud code point graph will not be affected by time, light or other environmental factors, thereby making the second cloud code point graph have higher durability and environmental change resistance. It can maintain the anti-counterfeiting function throughout the life cycle of the product, reduce maintenance cost and information failure risk.
[0078] S20: If the first anti-counterfeiting information exists in each of the second anti-counterfeiting information and the second anti-counterfeiting information corresponding to the first anti-counterfeiting information is the same as the first anti-counterfeiting information, and the scanning and decoding frequency of the first cloud code point graph is less than the first preset frequency, it is determined that the product is the genuine product; otherwise, it is determined that the product is a counterfeit product.
[0079] Preferably, in some embodiments of the present application, the second cloud code point map also has a link to an online database and a dynamically generated mechanism, thereby improving the uniqueness and timeliness of the corresponding second anti-counterfeit information. The security of the second anti-counterfeit information can be improved through the following measures: 1. The background system can set a fixed validity period, such as 24 hours, 7 days or 30 days. When the period expires, the code will automatically expire. 2. Dynamically adjust the timeliness according to the number of times the product is scanned. The code will expire after reaching the specified verification number. 3. Control based on the geographic location of the scanner. Only scanning in a specific area will take effect, and scanning in other areas will be considered invalid to prevent long-term misuse of anti-counterfeit information. At the same time, the second cloud code point map has a more complex multi-layer anti-counterfeit mechanism, including real-time verification and multiple authentication. Even if the counterfeiters successfully copy a code, with the dynamic change of the anti-counterfeit information, the old counterfeit information will quickly expire, thereby greatly improving the effectiveness of anti-counterfeiting.
[0080] Preferably, in some embodiments of the present application, in addition to determining whether the product is genuine according to the judgment condition in S20 described above, the product information recorded on the surface of the product can be read by a camera device with infrared scanning function such as a smart phone when scanning the product. Since the product information of each genuine product in the database has a unique correspondence with the second cloud code point map and the second anti-counterfeit information, the product information read from the product can be compared with the product information in the database to determine whether the product is genuine.
[0081] Reference Figure 2 A second cloud code point map generation printing process schematic diagram is provided for some embodiments of the present application, including S301 to S304. S301 to S304 can also be used to obtain the second cloud code point map described in the present application, wherein S301 to S304 are specifically:
[0082] S301: The product information of the product is entered into the system, wherein the product information includes but is not limited to the name, unique serial number, batch number, production date, etc. of the product. The above information can be customized according to the specific needs of the enterprise, and the present application does not limit it. The product information of all products is stored in the database to provide data support for subsequent code management.
[0083] S302: Generate a unique anti-counterfeit code (i.e., second anti-counterfeit information) for each product by the third binary encoding generation method described above and the second preset bit number binary encoding generation method; convert the binary anti-counterfeit code into a massive cloud code (i.e., second cloud code point pattern) pattern format; verify the integrity of the generated massive cloud code through a detection tool; store the corresponding anti-counterfeit code of the generated massive cloud code in the database, at which time each anti-counterfeit code has a unique ID but is not bound to any product information; generate a unique record for each anti-counterfeit code, including but not limited to generation time, batch usage record, etc., and store the recorded data in the database.
[0084] S303: Bind the generated anti-counterfeit code to the product information of a specific product to complete the coding operation. When the coding is completed, the anti-counterfeit code is checked again to ensure the accuracy of the binding of the anti-counterfeit code and the product, and the binding relationship between the two is stored in the database.
[0085] S304: Transmit the massive cloud code to a printing device and print the massive cloud code onto the product packaging through a corresponding printing method.
[0086] Reference Figure 3 A second cloud code point pattern reading verification process schematic diagram is provided in some embodiments of the present application, including S401 to S404, specifically:
[0087] S401: The massive cloud code has been printed on the surface of the product and is waiting to be read and decoded.
[0088] S402: The user or verifier reads the massive cloud code information on the surface of the product through a special device (such as the camera of an authorized smartphone or an authorized special waveband infrared scanner). The authorized device captures the printed code through high-resolution camera or special light source irradiation and reads the massive cloud code information.
[0089] S403: Process the read massive cloud code through a decoding algorithm and convert the captured microscopic image into data information. This step restores the massive cloud code into a 16-bit second binary code and a 64-bit third binary code to obtain a unique anti-counterfeit code.
[0090] S404: Compare the obtained anti-counterfeit code with the binding relationship stored in the database. If the product information scanned by the current user and the product information of the anti-counterfeit code cannot pass consistency verification, it indicates that the product may be tampered with or counterfeit; or it proves that the product is genuine.
[0091] In summary, the anti-counterfeiting and traceability method based on the massive cloud code provided by the embodiments of the present application has the following beneficial effects: since the second anti-counterfeiting information is the anti-counterfeiting information corresponding to the genuine product, the second cloud code point graph is generated through an encryption algorithm, and the unique binding relationship between the second cloud code point graph and the second anti-counterfeiting information and the genuine product is ensured, the complexity of the anti-counterfeiting mark is improved, the specific generation mode of the anti-counterfeiting mark cannot be cracked by counterfeiters, and the security of the anti-counterfeiting means is improved; further, through double-layer verification, the first layer verifies the decoding mode of the first cloud code point graph for obtaining the first anti-counterfeiting information, if an error occurs in the decoding process, the obtained first anti-counterfeiting information will be incorrect or an inconsistency error will occur between the first cloud code point graph and the second cloud code point graph, and the second layer verifies the scanning and decoding times of the first cloud code point graph, so as to prevent counterfeiters from repeatedly using the same anti-counterfeiting information after cracking the decoding process, as long as one of the verifications has an error, the counterfeit product cannot pass the verification smoothly, thereby improving the security of the anti-counterfeiting means.
[0092] Embodiment two
[0093] Reference Figure 4 The anti-counterfeiting and traceability device based on the massive cloud code provided by some embodiments of the present application comprises a first judgment module 11 and a first execution module 12.
[0094] Further, in some embodiments of the present application, the first judgment module 11 is configured to determine whether the product is a genuine product according to the first anti-counterfeiting information and the first cloud code point graph when receiving the first anti-counterfeiting information obtained by scanning the product to decode the first cloud code point graph; each of the genuine products has a unique corresponding second anti-counterfeiting information and a second cloud code point graph; the second cloud code point graph is obtained by encrypting the second anti-counterfeiting information corresponding to the genuine product through an encryption algorithm; and the first execution module 12 is configured to determine that the product is the genuine product if the first anti-counterfeiting information exists in each of the second anti-counterfeiting information and the second anti-counterfeiting information corresponding to the first anti-counterfeiting information is identical to the second cloud code point graph, and the scanning and decoding times of the first cloud code point graph are less than a first preset number; otherwise, it is determined that the product is a counterfeit product.
[0095] Further, in some embodiments of the present application, the second cloud code point map is obtained by encrypting the second anti-counterfeiting information corresponding to the genuine product by an encryption algorithm, including: the second anti-counterfeiting information includes a first binary code of a first preset number of bits; a second binary code of a second preset number of bits is randomly generated; a plurality of first supplementary binary numbers are inserted in the second binary code, so that the number of bits of the second binary code is the first preset number of bits; the first binary code and the second binary code of the first preset number of bits are subjected to bitwise XOR operation to obtain a third binary code; and the third binary code and the second binary code of the second preset number of bits are mapped into the second cloud code point map according to a preset rule.
[0096] Further, in some embodiments of the present application, when the product is a genuine product, the step of decoding the first cloud code point map to obtain the first anti-counterfeiting information by scanning the product by the user includes: identifying the first cloud code point map by a first infrared device to obtain a fourth binary code and a fifth binary code; inserting the plurality of first supplementary binary numbers into the fifth binary code, so that the number of bits of the fifth binary code is the first preset number of bits; and performing bitwise XOR operation on the fourth binary code and the fifth binary code of the first preset number of bits to obtain the first anti-counterfeiting information.
[0097] Further, in some embodiments of the present application, the second cloud code point map is a hidden infrared ink point map of a first preset size uniformly distributed on the surface of the genuine product.
[0098] It can be understood that the above-mentioned device item embodiments correspond to the method item embodiments of the present application. The anti-counterfeiting and traceability device based on the huge cloud code provided by the embodiments of the present application can realize any one of the method item embodiments of the present application, i.e., the anti-counterfeiting and traceability method based on the huge cloud code provided by the first embodiment.
[0099] In summary, the anti-counterfeiting traceability device based on the massive cloud code has the following beneficial effects: the second anti-counterfeiting information is the anti-counterfeiting information corresponding to the genuine product, the second cloud code point graph is generated through the encryption algorithm, and the unique binding relationship between the second cloud code point graph and the second anti-counterfeiting information and the genuine product is ensured, the complexity of the anti-counterfeiting mark is improved, the specific generation mode of the anti-counterfeiting mark cannot be cracked by the counterfeiter, and the security of the anti-counterfeiting means is improved; further, through the double-layer verification, the first layer verifies the decoding mode of the first cloud code point graph to obtain the first anti-counterfeiting information, if an error occurs in the decoding process, the obtained first anti-counterfeiting information will be incorrect or an inconsistency error will occur between the first cloud code point graph and the second cloud code point graph, and the second layer verifies the scanning and decoding times of the first cloud code point graph, so as to prevent the counterfeiter from repeatedly using the same anti-counterfeiting information after cracking the decoding process, as long as one of the verifications has an error, the counterfeit product cannot pass the verification smoothly, and the security of the anti-counterfeiting means is improved.
[0100] Embodiment three
[0101] On the basis of the above-mentioned embodiment of the anti-counterfeiting traceability method based on the massive cloud code, another embodiment of the present application provides an anti-counterfeiting traceability terminal device based on the massive cloud code. The anti-counterfeiting traceability terminal device based on the massive cloud code comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the anti-counterfeiting traceability method based on the massive cloud code of any embodiment of the present application is realized.
[0102] For example, in this embodiment, the computer program can be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present application. The one or more modules can be a series of computer program instruction segments capable of completing a specific function, which are used to describe the execution process of the computer program in the anti-counterfeiting traceability device based on the massive cloud code.
[0103] The anti-counterfeiting traceability device based on the massive cloud code can be a desktop computer, a notebook computer, a palm computer and a cloud server, etc. The anti-counterfeiting traceability terminal device based on the massive cloud code can include, but is not limited to, a processor and a memory.
[0104] The processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The processor is a control center of the anti-counterfeiting traceability device based on the massive cloud code, and connects various parts of the anti-counterfeiting traceability device based on the massive cloud code through various interfaces and lines. The memory can be used to store the computer programs and / or modules, and the processor realizes various functions of the anti-counterfeiting traceability device based on the massive cloud code by running or executing the computer programs and / or modules stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area. The program storage area can store an operating system, at least one application required by a function, etc. The data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state memory devices.
[0105] Embodiment Four
[0106] On the basis of the above-mentioned embodiments of the anti-counterfeiting traceability method based on the massive cloud code, another embodiment of the present application provides a storage medium including a stored computer program, wherein when the computer program runs, the device where the storage medium is located executes the anti-counterfeiting traceability method based on the massive cloud code of any one of the embodiments of the present application.
[0107] In this embodiment, the storage medium described above is a computer readable storage medium, the computer program includes computer program code, which can be in the form of source code, object code, executable files or some intermediate forms, etc. The computer readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
[0108] The specific embodiments described above further illustrate the purposes, technical solutions and beneficial effects of the present application. It should be understood that the above description is only for specific embodiments of the present application and is not intended to limit the protection scope of the present application. It is particularly pointed out that any modification, equivalent replacement, improvement, etc. made by those skilled in the art within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for anti-counterfeiting traceability based on massive cloud codes, characterized in that, The method comprises the steps of: when receiving first anti-counterfeiting information obtained by a user scanning a product to decode a first cloud code point diagram, judging whether the product is a genuine product according to the first anti-counterfeiting information and the first cloud code point diagram; wherein each of the genuine products has unique corresponding second anti-counterfeiting information and a second cloud code point diagram; the second cloud code point diagram is obtained by encrypting the second anti-counterfeiting information corresponding to the genuine product by an encryption algorithm; if the first anti-counterfeiting information exists in each of the second anti-counterfeiting information, and the second cloud code point diagram corresponding to the second anti-counterfeiting information identical to the first anti-counterfeiting information is identical to the first cloud code point diagram, and the number of scanning and decoding of the first cloud code point diagram is less than a first preset number, it is determined that the product is the genuine product; otherwise, it is determined that the product is a counterfeit product; the second cloud code point diagram is obtained by encrypting the second anti-counterfeiting information corresponding to the genuine product by an encryption algorithm, comprising: the second anti-counterfeiting information comprises a first binary code with a first preset number of bits; a second binary code with a second preset number of bits is randomly generated; a plurality of first supplementary binary numbers are inserted into the second binary code, so that the number of bits of the second binary code is the first preset number of bits; the first binary code and the second binary code with the first preset number of bits are subjected to bitwise XOR operation to obtain a third binary code; the third binary code and the second binary code with the second preset number of bits are mapped into the second cloud code point diagram according to a preset rule.
2. The anti-counterfeiting traceability method based on massive cloud codes according to claim 1, characterized in that, when the product is a genuine product, the step of the user scanning the product to decode the first cloud code point diagram to obtain the first anti-counterfeiting information comprises: identifying the first cloud code point diagram by a first infrared device to obtain a fourth binary code and a fifth binary code; inserting the plurality of first supplementary binary numbers into the fifth binary code, so that the number of bits of the fifth binary code is the first preset number of bits; the fourth binary code and the fifth binary code with the first preset number of bits are subjected to bitwise XOR operation to obtain the first anti-counterfeiting information.
3. The anti-counterfeiting traceability method based on massive cloud codes according to claim 1, characterized in that, The second cloud code point diagram is an invisible infrared ink point diagram with a first preset size uniformly distributed on the surface of the genuine product.
4. A counterfeit-proof traceability device based on a huge cloud code, characterized in that, comprising: a first judgment module and a first execution module; wherein the first judgment module is configured to, when receiving first anti-counterfeiting information obtained by a user scanning a product to decode a first cloud code point diagram, judge whether the product is a genuine product according to the first anti-counterfeiting information and the first cloud code point diagram; wherein each of the genuine products has unique corresponding second anti-counterfeiting information and a second cloud code point diagram; the second cloud code point diagram is obtained by encrypting the second anti-counterfeiting information corresponding to the genuine product by an encryption algorithm; the first execution module is configured to, if the first anti-counterfeiting information exists in each of the second anti-counterfeiting information, and the second cloud code point diagram corresponding to the second anti-counterfeiting information identical to the first anti-counterfeiting information is identical to the first cloud code point diagram, and the number of scanning and decoding of the first cloud code point diagram is less than a first preset number, determine that the product is the genuine product; otherwise, determine that the product is a counterfeit product; The second cloud code point map is obtained by encrypting the second anti-fake information corresponding to the genuine product by an encryption algorithm, and comprises: The second anti-fake information comprises a first binary code of a first preset number of bits; A second binary code of a second preset number of bits is randomly generated; A plurality of first supplementary binary numbers are inserted into the second binary code, so that the number of bits of the second binary code is the first preset number of bits; The first binary code and the second binary code of the first preset number of bits are subjected to bitwise XOR operation to obtain a third binary code; According to a preset rule, the third binary code and the second binary code of the second preset number of bits are mapped to the second cloud code point map.
5. The anti-counterfeiting and traceability device based on massive cloud code according to claim 4, characterized in that, When the product is a genuine product, the step of scanning the product to decode the first cloud code point map to obtain the first anti-fake information comprises: A fourth binary code and a fifth binary code are obtained by identifying the first cloud code point map through a first infrared device; The plurality of first supplementary binary numbers are inserted into the fifth binary code, so that the number of bits of the fifth binary code is the first preset number of bits; The fourth binary code and the fifth binary code of the first preset number of bits are subjected to bitwise XOR operation to obtain the first anti-fake information.
6. The anti-counterfeit and traceable device based on the huge cloud code according to claim 4, characterized in that, The second cloud code point map is an invisible infrared ink point map uniformly distributed on the surface of the genuine product with a first preset size.
7. A terminal device, characterized by comprising: A processor, a memory, and a computer program stored in the memory and configured to be executed by the processor are included, and the processor implements the anti-fake traceability method based on massive cloud codes according to any one of claims 1 to 3 when executing the computer program.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium comprises a stored computer program, wherein when the computer program runs, the device where the computer readable storage medium is located executes the anti-fake traceability method based on massive cloud codes according to any one of claims 1 to 3.
Citation Information
Patent Citations
Two-dimensional code tag, commodity anti-counterfeiting code tag and commodity anti-counterfeiting analysis method
CN107506816A