Commodity anti-counterfeiting system based on QR code and RFID tag and commodity authenticity verification method

Through the closed-loop authentication system of QR code and RFID tags, combined with the global satellite positioning system, a closed-loop authentication encryption theory system of A→(B→)A was built, solving the problem of insufficient security of the existing system and realizing low-cost and high-security product anti-counterfeiting verification.

CN112418873BActive Publication Date: 2025-08-01江峰
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201911313016.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-18
Publication Date
2025-08-01
Estimated Expiration
2039-12-18

AI Technical Summary

Technical Problem

The existing anti-counterfeiting system based on QR codes and RFID tags has the problem of insufficient security, which is easy to be cracked and counterfeited, and the cost of RFID electronic tags is high, making it difficult to apply on low-value products.

Method used

A closed-loop authentication system based on QR code and RFID tag is adopted, and the multi-mapping relationship between the verification information I and verification information II of the RFID tag and QR code tag, combined with the matching verification of the global satellite positioning system and the server side, a closed-loop authentication encryption theory system of A→(B→)A is built to improve system security.

Benefits of technology

It realizes low-cost and high-security anti-counterfeiting verification of goods, effectively prevents counterfeit goods, and improves the anti-counterfeiting performance of RFID electronic tags and the security of system certification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112418873B_ABST
    Figure CN112418873B_ABST
Patent Text Reader

Abstract

The present invention discloses a commodity anti-counterfeiting system and a commodity authenticity verification method based on two-dimensional codes and RFID tags. The commodity anti-counterfeiting system mainly includes an RFID tag provided on the packaging box of the commodity, a two-dimensional code tag provided on the commodity, and a server. The main steps of the commodity authenticity verification method are as follows: 1) Verify the authenticity of the RFID tag. 2) The scanning device sends the read verification information I, verification information II, and the dynamic information of the scanning device to the server. 4) The server matches the verification information II and the verification information I. If they do not match, it is determined that the commodity with the verification information I is fake. If they match, it proceeds to step 5. 5) The server matches the preset location information and the dynamic location information. If they are the same, it is determined that the commodity is genuine. If they are different, it is determined that the commodity is fake. The present invention effectively improves the security of the RFID electronic tag anti-counterfeiting system and at the same time improves the security of the two-dimensional code anti-counterfeiting of the RFID electronic tag combination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of commodity anti-counterfeiting, and specifically to a commodity anti-counterfeiting system and a method for verifying the authenticity of commodities based on two-dimensional codes and RFID tags. Background Art

[0002] With the increasing development of the mobile Internet, the "one commodity, one code" based on two-dimensional codes has been widely used in the field of commodity traceability. Two-dimensional codes have the advantages of low cost and easy use, but at the same time, there are also problems such as low security level, easy to copy and counterfeit, and it is difficult for consumers to distinguish. On the contrary, RFID electronic tags have the advantages of higher security and high cost for copying and cracking, but at the same time, there are also problems such as high cost and the need for verification terminal support, and it is difficult to apply to low-value commodities.

[0003] Currently, the technical level of counterfeiting has also been correspondingly improved. Counterfeiters obtain the encrypted authentication data in the electronic tag illegally through various means such as decrypting the RFID electronic tag and conduct illegal copying, so as to counterfeit the electronic tag to achieve the purpose of counterfeiting. Therefore, the existing Internet anti-counterfeiting authentication system needs to be improved and enhanced in terms of system security.

[0004] Traditional authentication systems are mostly established based on the open-loop chain or tree-shaped encryption authentication theory system of A→B(→C…)(readable and writable memory A→authentication server B), and their security is often counterfeited due to the cracking of the authenticated tag. Summary of the Invention

[0005] The purpose of the present invention is to solve the problems existing in the prior art.

[0006] The technical solution adopted to achieve the purpose of the present invention is as follows. A commodity anti-counterfeiting system based on two-dimensional codes and RFID tags mainly includes an RFID tag arranged on the packaging box of the commodity, a two-dimensional code tag arranged on the commodity, and a server.

[0007] The RFID tag has verification information I.

[0008] The RFID tag mainly includes RFID, NFC, and / or RAS.

[0009] The two-dimensional code tag has verification information II.

[0010] Verification information I and verification information II are in a one-to-many mapping relationship. The method for matching verification information I and verification information II is: the server compares verification information I and verification information II. If verification information II is a subset of verification information I, then they match; if verification information II is not a subset of verification information I, then they do not match.

[0011] The verification information I is the RFID digital identity certificate Tjf j is the serial number of the commodity packing box, j = 1, 2,..., m. f is the number of times the RFID tag is written with information, f = 1, 2,..., s.

[0012] RFID digital identity certificate T jf is a random number.

[0013] The verification information II is the two-dimensional code digital identity certificate E i , i is the serial number of the commodity, i = 1, 2,..., n.

[0014] Two-dimensional code digital identity certificate information E i is a random number.

[0015] S0 A packing box contains several commodities. That is, on the server side, the verification information I corresponding to a packing box, the verification information II of the commodities in the packing box, and the preset location information are associated together. The location information is the geographical location information of the preset packing box and the sold commodities, or the merchant number or e-commerce code.

[0016] S1 When scanning the two-dimensional code label on the commodity for the first time during unpacking, the scanning device needs to scan the RFID tag on the packing box and send the verification information I, the verification information II, and the dynamic location information to the server. The dynamic location information is the geographical location information, merchant number or e-commerce code where the scanning device is located when scanning the tag.

[0017] The scanning device has a global positioning system

[0018] The merchant number or e-commerce code is written in the scanning device.

[0019] S2 On the server side, after the verification information I and the verification information II are successfully matched, the dynamic location information read in S1 is matched and verified with the preset location information in S0. If they do not match, it is determined that the location of the commodity is in doubt.

[0020] The location being in doubt means that all the commodities in the packing box are not in the sales area, the commodities in a packing box are sold across regions, and / or the commodities may be counterfeit.

[0021] If the verification information I and the verification information II match and the preset location information and the dynamic location information associated for the last time are consistent, the commodity is judged to be genuine.

[0022] After unpacking and selling, scan the two-dimensional code of the commodity to obtain the verification information II and the dynamic location information again, and upload them to the server side. After the server side matches the verification information II and the verification information I, it verifies whether the dynamic location information and the preset location information match, so as to judge whether the commodity is sold across regions.

[0023] After the product leaves the factory, the RFID tag verification information I and the QR code tag verification information II are rebound. That is, the RFID tag on the packing box is converted into the RFID tag of the sales store. At this time, the QR code tag verification information II is associated with the verification information I of the store RFID tag.

[0024] A method for verifying the authenticity of a product using a product anti-counterfeiting system based on QR codes and RFID tags mainly includes the following steps:

[0025] 1) The scanning device performs a first scan on the RFID tag on the packing box of the product to be tested, and uses the closed-loop authentication method to verify the authenticity of the RFID tag. If the RFID tag is fake, it is determined that all the products in the packing box are fake, and the information that the product is fake is displayed on the display screen of the scanning device, and the product authenticity verification ends. If the RFID tag is genuine, go to step 2.

[0026] There are two methods for verifying the authenticity of a product using the closed-loop authentication method:

[0027] The main steps of Method 1 are as follows:

[0028] I) The scanning device scans the RFID tag on the packing box of the product to be tested and sends a request for verifying the authenticity of the product to be tested to the server.

[0029] The scanning device sends the verification information I in the RFID tag of the product to be tested to the server.

[0030] II) The server performs a hash operation on the verification information I, that is, the RFID digital identity certificate T jf to obtain the information H if .

[0031] The server compares and operates the information H jf with each element in the product verification information set Q respectively.

[0032] If the message H jf does not match any element in the product verification information set Q, it is determined that the RFID tag is fake, and the server sends the judgment result to the scanning device. The scanning device displays that all the products in the packing box with the digital identity certificate information T if are fake. The server records the scanning time and verification geographical information of the scanning device, and ends the current product authenticity verification, enters the next closed-loop authentication process, and waits for the next product authenticity verification request from the scanning device.

[0033] If the message H if and the product verification information set Q except Q jfIf the RFID tag is not matched with any other elements except the RFID tag, the authenticity of the RFID tag is questionable, and the server sends the judgment result to the scanning device. The scanning device displays the digital identity certificate information T if The server records the scanning time and verification geographic information of the scanning device, ends the current product authenticity verification, enters the next closed-loop authentication process, and waits for the next product authenticity verification request from the scanning device.

[0034] If the message H jf and Q in the commodity verification information set Q jf If they match, the RFID tag is authentic and go to step III.

[0035] III) The authentication center generates digital identity certificate information T j,f+1 , and sent to the scanning device. The scanning device sends the digital identity certificate information T j,f+1 Write the digital identity certificate information T to the RFID tag of the product to be tested that is judged to be authentic. j,f The digital identity certificate information T is not deleted. j,f+1 This is the new product digital identity certificate information, which is used by the scanning device to verify the authenticity of the product next time.

[0036] Digital identity certificate information T j,f+1 Perform hash operation to obtain product verification message Q j,f+1 The basic database storage and message correspondence E j,f+1 Product verification message Q j,f+1 , that is, the product verification information set is updated to Q = {Q j,1 , Q j,2 ,…,Q j,f , Q j,f+1 The product verification message Q j,f+1 Used for the next product authenticity verification.

[0037] Product Verification InformationQ j,f Is the digital identity certificate information T jf The hash value after hashing operation.

[0038] The server ends the current product authenticity verification and enters the next closed-loop authentication process, waiting for the next product authenticity verification request from the scanning device.

[0039] The main steps of method 2 are as follows:

[0040] 1) The scanning device scans the RFID tag on the packaging box of the product to be tested and sends a request to the server to verify the authenticity of the product to be tested.

[0041] The scanning device sends the digital identity certificate information T in the RFID tag of the commodity to be measured if to the server.

[0042] II) The server performs a hash operation on the verification information I, that is, the digital identity certificate information T jf to obtain the information H if .

[0043] The server compares and operates the information H jf with each element in the commodity verification information set Q respectively.

[0044] If the message H jf does not match any element in the commodity verification information set Q, it is determined that the RFID tag is fake, and the server sends the determination result to the scanning device. The scanning device displays that all the commodities in the commodity packaging box with the digital identity certificate information T if are fake. The server records the scanning time and verification geographical information of the scanning device, and ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request of the scanning device.

[0045] If the message H if matches other elements in the commodity verification information set Q except Q jf , the authenticity of the RFID tag is suspicious, and the server sends the determination result to the scanning device. The scanning device displays that all the commodities in the commodity packaging box with the digital identity certificate information T if are of suspicious authenticity. The server records the scanning time and verification geographical information of the scanning device, and ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request of the scanning device.

[0046] If the message H jf matches Q jf in the commodity verification information set Q, the RFID tag is genuine, and the server ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request of the scanning device.

[0047] 2) The scanning device sends the verification information I of the RFID tag to the server side.

[0048] 3) The scanning device scans the two-dimensional code tag of the commodity to be measured, and sends the read verification information II and the dynamic position information of the scanning device to the server.

[0049] 4) The server matches the verification information II with all the verification information I stored in the server. If there is no match, it determines that the commodity with the verification information II is fake. If there is a match, it proceeds to step 5.

[0050] 5) The server matches the preset location information with the dynamic location information. If they are the same, it determines that the commodity is genuine. If they are different, it determines that the commodity is fake. The server sends the verification result of the commodity authenticity to the scanning device.

[0051] The technical effects of the present invention are beyond doubt. The present invention integrates the two-dimensional code technology and the RFID electronic tag technology. While taking advantage of the low cost and convenient use of the two-dimensional code, it uses the high security of RFID to improve the overall anti-counterfeiting performance and establish a low-cost and high-security anti-counterfeiting verification system. The closed-loop authentication encryption theory system A→(B→)A (authentication server A→readable and writable memory B→authentication server A) established by the present invention well solves the security problems brought by the cracking of each link of the authentication system including the authenticated tag. The present invention combines the closed-loop authentication to construct a new authentication security architecture, making the system authentication scheme reach a new security height, effectively improving the security of the RFID electronic tag anti-counterfeiting system, and at the same time improving the security of the two-dimensional code anti-counterfeiting of the RFID electronic tag combination. Description of the Drawings

[0052] Figure 1 It is a flow chart for commodity anti-counterfeiting verification. Detailed Embodiments

[0053] The present invention will be further described below in conjunction with embodiments, but it should not be understood that the above-mentioned subject matter scope of the present invention is limited to the following embodiments. Without departing from the above-mentioned technical idea of the present invention, various substitutions and changes made according to the common general knowledge and customary means in the art should be included within the protection scope of the present invention.

[0054] Embodiment 1:

[0055] A commodity anti-counterfeiting system based on two-dimensional code and RFID tag mainly includes an RFID tag arranged on the packaging box of the commodity, a two-dimensional code tag arranged on the commodity, and a server.

[0056] The RFID tag has verification information I.

[0057] The RFID tag mainly includes RFID (Radio Frequency Identification), NFC (Near Field Communication) and / or RAS (RFID for Anti-fake with Status).

[0058] The QR code label has verification information II.

[0059] Verification information I and verification information II have a one-to-many mapping relationship. The method for matching verification information I and verification information II is as follows: The server compares verification information I and verification information II. If verification information II is a subset of verification information I, then they match; if verification information II is not a subset of verification information I, then they do not match.

[0060] The verification information I is the RFID digital identity certificate T jf . j is the serial number of the commodity packaging box, j = 1, 2,..., m. f is the number of times the RFID tag is written with information, f = 1, 2,..., s.

[0061] The RFID digital identity certificate T jf is a random number.

[0062] The verification information II is the QR code digital identity certificate E i . i is the serial number of the commodity, i = 1, 2,..., n.

[0063] The QR code digital identity certificate information E i is a random number.

[0064] S0 A packaging box contains several commodities. That is, on the server side, the verification information I corresponding to a packaging box, the verification information II of the commodities in the packaging box, and the preset location information are associated together. The location information is the geographical location information where the preset packaging box and the commodities it contains are sold, or the merchant number or e-commerce code.

[0065] S1 When scanning the QR code label on the commodity for the first time during unpacking, the scanning device needs to scan the RFID tag on the packaging box and send the verification information I, verification information II, and dynamic location information to the server. The dynamic location information is the geographical location information, merchant number, or e-commerce code where the scanning device is located when scanning the tag.

[0066] The scanning device has a global positioning system

[0067] The merchant number or e-commerce code is written in the scanning device.

[0068] S2 On the server side, after the verification information I and verification information II are successfully matched, the dynamic location information read in S1 is matched and verified with the preset location information in S0. If they do not match, it is determined that the location of the commodity is doubtful.

[0069] The location being doubtful means that all the commodities in the packaging box are not in the sales area, the commodities in a packaging box are sold across regions, and / or the commodities may be counterfeit.

[0070] If the verification information I matches the verification information II and the last associated preset location information is the same as the dynamic location information, then it is determined that the product is genuine.

[0071] After unpacking and selling, scan the QR code of the product to obtain the verification information II and the dynamic location information again, and upload them to the server side. After the server side matches the verification information II and the verification information I, it verifies whether the dynamic location information matches the preset location information, so as to determine whether the product is cross-region.

[0072] After the product leaves the factory, re-bind the RFID tag verification information I and the QR code tag verification information II, that is, convert the RFID tag on the packaging box into the RFID tag of the sales store. At this time, an association relationship is established between the QR code tag verification information II and the verification information I of the store RFID tag.

[0073] Embodiment 2:

[0074] A method for verifying the authenticity of a product using a product anti-counterfeiting system based on QR codes and RFID tags mainly includes the following steps:

[0075] 1) The scanning device performs a first scan on the RFID tag on the packaging box of the product to be tested, and uses the closed-loop authentication method to verify the authenticity of the RFID tag. If the RFID tag is fake, it is determined that all the products in the packaging box are fake, and the information that the product is fake is displayed on the display screen of the scanning device, and the verification of the authenticity of the product ends. If the RFID tag is genuine, go to step 2.

[0076] There are two methods for verifying the authenticity of a product using the closed-loop authentication method:

[0077] The main steps of Method 1 are as follows:

[0078] I) The scanning device scans the RFID tag on the packaging box of the product to be tested and sends a request for verifying the authenticity of the product to be tested to the server.

[0079] The scanning device sends the verification information I in the RFID tag of the product to be tested to the server.

[0080] II) The server performs a hash operation on the verification information I, that is, the RFID digital identity certificate T jf [[ID=3x]]to obtain information H if .

[0081] The server compares and operates information H jf with each element in the product verification information set Q respectively.

[0082] If the message H jfIf it does not match any element in the set Q of the commodity verification information, it is determined that the RFID tag is false, and the server sends the determination result to the scanning device. The scanning device displays that all the commodities in the commodity packaging box with the digital identity certificate information T if are false. The server records the scanning time and verification geographical information of the scanning device, and ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request of the scanning device.

[0083] If the message H if matches other elements in the set Q of the commodity verification information except Q jf , the authenticity of the RFID tag is suspicious, and the server sends the determination result to the scanning device. The scanning device displays that all the commodities in the commodity packaging box with the digital identity certificate information T if are suspicious in authenticity. The server records the scanning time and verification geographical information of the scanning device, and ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request of the scanning device.

[0084] If the message H jf matches Q jf in the set Q of the commodity verification information, the RFID tag is true, and it goes to step III.

[0085] III) The authentication center generates the digital identity certificate information T j,f+1 , and sends it to the scanning device. The scanning device writes the digital identity certificate information T j,f+1 into the RFID tag of the commodity to be tested that is determined to be true. The digital identity certificate information T j,f is not deleted. The digital identity certificate information T j,f+1 is the new commodity digital identity certificate information, which is used for the scanning device to conduct the next authenticity verification of the commodity to be tested.

[0086] Perform a hash operation on the digital identity certificate information T j,f+1 to obtain the commodity verification message Q j,f+1 . The basic database stores the commodity verification message Q j,f+1 corresponding to the message E j,f+1 , that is, the set of commodity verification information is updated to Q = {Q j,1 , Q j,2 , …, Q j,f , Q j,f+1}. The commodity verification message Q j,f+1 is used for the next commodity authenticity verification.

[0087] The commodity verification information Q j,f is the digital identity certificate information Tjf The hash value after hash operation.

[0088] The server ends the current verification of the authenticity of the commodity and enters the next closed-loop authentication process, waiting for the next request for verifying the authenticity of the commodity from the scanning device.

[0089] The main steps of Method 2 are as follows:

[0090] I) The scanning device scans the RFID tag on the packaging box of the commodity to be tested and sends a request to the server for verifying the authenticity of the commodity to be tested.

[0091] The scanning device sends the digital identity certificate information T in the RFID tag of the commodity to be tested if to the server.

[0092] II) The server performs a hash operation on the verification information I, that is, the digital identity certificate information T jf to obtain information H if .

[0093] The server performs a comparison operation on information H jf with each element in the commodity verification information set Q respectively.

[0094] If the message H jf does not match any element in the commodity verification information set Q, it is determined that the RFID tag is fake, and the server sends the judgment result to the scanning device. The scanning device displays that all the commodities in the packaging box with the digital identity certificate information T if are fake. The server records the scanning time and verification geographical information of the scanning device, ends the current verification of the authenticity of the commodity, enters the next closed-loop authentication process, and waits for the next request for verifying the authenticity of the commodity from the scanning device.

[0095] If the message H if matches other elements in the commodity verification information set Q except Q jf , the authenticity of the RFID tag is suspicious, and the server sends the judgment result to the scanning device. The scanning device displays that the authenticity of all the commodities in the packaging box with the digital identity certificate information T if is suspicious. The server records the scanning time and verification geographical information of the scanning device, ends the current verification of the authenticity of the commodity, enters the next closed-loop authentication process, and waits for the next request for verifying the authenticity of the commodity from the scanning device.

[0096] If the message H jf matches Q in the commodity verification information set Q jfIf the RFID tag matches, it is authentic. The server ends the authenticity verification of the product and enters the next closed-loop authentication process, waiting for the next authenticity verification request from the scanning device.

[0097] 2) The scanning device sends the verification information I of the RFID tag to the server.

[0098] 3) The scanning device scans the QR code label of the product to be tested and sends the read verification information II and the dynamic location information of the scanning device to the server.

[0099] 4) The server matches the verification information II with all the verification information I stored in the server. If none of them match, the product with the verification information II is judged to be fake. If they match, the process proceeds to step 5.

[0100] 5) The server matches the preset location information with the dynamic location information. If they match, the product is deemed authentic; if they differ, the product is deemed counterfeit. The server sends the product authenticity verification result to the scanning device.

[0101] Example 3:

[0102] The main steps of the product authenticity verification method based on the product anti-counterfeiting system of QR code and RFID tag are as follows:

[0103] 1) The scanning device performs a first scan of the RFID tag on the packaging of the product being tested, verifying its authenticity using a closed-loop authentication method. If the RFID tag is false, all products in the packaging are deemed to be false. The scanning device's display indicates that the products are false, and the product authenticity verification ends. If the RFID tag is authentic, the process proceeds to step 2.

[0104] Preferably, the scanning device displays dynamic location information.

[0105] Preferably, the scanning device has a voice broadcast function, and the scanning device broadcasts the authenticity information of the product in voice form.

[0106] Preferably, the scanning device has two indicator lights of different colors, one color representing that the product is fake and the other color representing that the product is authentic.

[0107] Preferably, the scanning device has a warning sound, and if the product is fake, the warning sound will sound.

[0108] The main steps for verifying product authenticity using a closed-loop authentication method are as follows:

[0109] 1.1) The scanning device scans the RFID tag on the packaging box of the product to be tested and sends a request to the server to verify the authenticity of the product to be tested.

[0110] The scanning device sends the digital identity certificate information T in the RFID tag of the commodity to be measured if to the server.

[0111] 1.2) The server performs a hash operation on the digital identity certificate information T jf to obtain information H if .

[0112] The server compares and operates information H jf with each element in the commodity verification information set Q respectively.

[0113] If the message H jf does not match any element in the commodity verification information set Q, it is determined that the RFID tag is fake, and the server sends the judgment result to the scanning device. The scanning device displays that all commodities in the commodity packaging box with the digital identity certificate information T if are fake. The server records the scanning time and verification geographical information of the scanning device, and ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request of the scanning device.

[0114] If the message H if matches other elements in the commodity verification information set Q except Q jf , the authenticity of the RFID tag is suspicious, and the server sends the judgment result to the scanning device. The scanning device displays that all commodities in the commodity packaging box with the digital identity certificate information T if are of suspicious authenticity. The server records the scanning time and verification geographical information of the scanning device, and ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request of the scanning device.

[0115] If the message H jf matches Q in the commodity verification information set Q jf , the RFID tag is true, and the server ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request of the scanning device.. The commodity verification information Q j,f is the hash value after the digital identity certificate information T jf has been subjected to a hash operation.

[0116] 2) The scanning device sends the location information to the server.

[0117] 3) The scanning device scans the two-dimensional code tag of the commodity to be measured, and sends the read verification information II and the dynamic location information of the scanning device to the server.

[0118] 4) The server matches the verification information II with the verification information I. If they do not match, the commodity with the verification information I is judged to be fake. If they match, it proceeds to step 5.

[0119] 5) The server matches the preset location information with the dynamic location information. If they are the same, the commodity is judged to be genuine. If they are different, the commodity is judged to be fake; the server sends the verification result of the commodity authenticity to the scanning device.

[0120] Example 4:

[0121] Using the commodity anti-counterfeiting system based on QR codes and RFID tags to verify the authenticity of potato chips, the main steps are as follows:

[0122] 1) The manufacturer transports several boxes of potato chips to the Yonghui Supermarket in Jiangbei District, Chongqing, with the code A00000001. Each packing box has an RFID tag. One packing box contains 12 bags of potato chips, and each bag of potato chips has a QR code. The code is composed of a combination of letters and numbers, and the number of digits of the code can be increased or decreased according to actual needs.

[0123] After the supermarket receives the potato chips, it conducts the first scan of the RFID tag on the potato chip packing box and verifies the authenticity of the RFID tag using the closed-loop authentication method. The verification result is true, and the scanning device sends the location information to the server. The location information is the merchant number or e-commerce code A00000001 and / or the address of the Yonghui Supermarket.

[0124] 2) The supermarket unpacks and sells the potato chips. The supermarket's barcode scanner scans the QR code of the potato chips, and through the computer connected to the barcode scanner, it sends the QR code digital identity certificate E i and the merchant number or e-commerce code A00000001 and / or the address of the Yonghui Supermarket to the server.

[0125] 4) The server matches the QR code digital identity certificate E i with the RFID digital identity certificate T if , finds the RFID digital identity certificate T i corresponding to the QR code digital identity certificate E if , and obtains the location information of the RFID digital identity certificate T if .

[0126] 5) The server compares the location information of the scanning device with the verified geographical information. If the two are the same, it judges that the potato chips are genuine.

[0127] Example 5:

[0128] Using the commodity anti-counterfeiting system based on QR codes and RFID tags to verify the authenticity of potato chips, the main steps are as follows:

[0129] 1) The manufacturer transports several boxes of potato chips to the Yonghui Supermarket in Jiangbei District, Chongqing, with the code A00000001. Each packing box has an RFID tag. There are 12 bags of potato chips in one packing box, and each bag of potato chips has a QR code. The code is composed of a combination of letters and numbers, and the number of digits of the code can be increased or decreased according to actual needs.

[0130] After the supermarket receives the potato chips, it conducts the first scan on the RFID tag on the potato chip packing box, and uses the closed-loop authentication method to verify the authenticity of the RFID tag. The verification result is true, and the scanning device sends the location information to the server. The location information is the merchant number or e-commerce code A00000001 and / or the address of the Yonghui Supermarket.

[0131] 2) The supermarket unpacks the potato chips and places them on the sales shelves.

[0132] 3) When Xiaoming selects potato chips, he uses a mobile phone software with QR code scanning function to scan the QR code of the potato chips. The mobile phone software can be WeChat, Yonghui Life app, etc., or it can also be an app or WeChat mini-program dedicated to product authenticity verification.

[0133] The mobile phone has a GPS positioning system.

[0134] The mobile phone sends its own location and the QR code digital identity certificate E i to the server through the network. The self-location is the verified geographical information. The mobile phone location is Fengtai District, Beijing.

[0135] 4) The server matches the QR code digital identity certificate E i and the RFID digital identity certificate T if , finds the RFID digital identity certificate T i corresponding to the QR code digital identity certificate E if , and obtains the location information of the RFID digital identity certificate T if .

[0136] 5) The server compares the location information of the scanning device and the verified geographical information. Since the location information is Jiangbei District, Chongqing, and the mobile phone location is Fengtai District, Beijing, the difference between the two is too large. Generally, there is no situation where low-price goods are transported from the warehouse to Chongqing and then sold in Beijing. Therefore, it is determined that the potato chips are fake, and the mobile phone shows that the potato chips are fake and / or the location information.

[0137] Example 6:

[0138] The commodity anti-counterfeiting system based on QR code and RFID tag mainly includes an RFID tag set on the packing box of the commodity, a QR code tag set on the commodity, and k servers. k is an integer greater than 0.

[0139] The RFID tag has verification information I.

[0140] The QR code tag has verification information II.

[0141] The verification information I and the verification information II are in a one-to-many mapping relationship. The method for matching the verification information I and the verification information II is as follows: The server compares the verification information I and the verification information II. If the verification information II is a subset of the verification information I, then they match; if the verification information II is not a subset of the verification information I, then they do not match.

[0142] The verification information I is the RFID digital identity certificate T jf . j is the serial number of the commodity packing box, j = 1, 2,..., m. f is the number of times the RFID tag is written with information, f = 1, 2,..., s.

[0143] The RFID digital identity certificate T jf is a random number.

[0144] The verification information II is the QR code digital identity certificate E i . i is the serial number of the commodity, i = 1, 2,..., n.

[0145] The QR code digital identity certificate information E i is a random number.

[0146] S0 A packing box contains several commodities. That is, on the server side, the verification information I corresponding to a packing box, the verification information II of the commodities in the packing box, and the preset location information are associated together. The location information is the geographical location information where the preset packing box and the commodities it contains are sold, or the merchant number or e-commerce code.

[0147] S1 When scanning the QR code tag on the commodity for the first time when opening the box, the scanning device needs to scan the RFID tag on the packing box and send the verification information I, the verification information II, and the dynamic location information to the server. The dynamic location information is the geographical location information, merchant number, or e-commerce code where the scanning device is located when scanning the tag.

[0148] The scanning device has a global positioning system

[0149] The merchant number or e-commerce code is written in the scanning device.

[0150] S2 On the server side, after the verification information I and the verification information II are successfully matched, the dynamic location information read in S1 is matched and verified with the preset location information in S0. If they do not match, it is determined that the location of the commodity is in doubt.

[0151] A suspected location means that all the products in the packing box are not in the sales area, the products in one packing box are sold across regions, and / or the products may be counterfeit.

[0152] If the verification information I matches the verification information II and the preset location information and the dynamic location information of the last association are consistent, then the product is judged to be genuine.

[0153] After the product is sold unpacked, scan the QR code of the product to obtain the verification information II and the dynamic location information again, and upload them to the server side. After the server side matches the verification information II and the verification information I, it verifies whether the dynamic location information and the preset location information match, so as to judge whether the product is sold across regions.

[0154] After the product leaves the factory, re-bind the RFID tag verification information I and the QR code tag verification information II, that is, convert the RFID tag on the packing box into the RFID tag of the sales store. At this time, an association relationship is established between the QR code tag verification information II and the verification information I of the store RFID tag.

[0155] The main steps of verifying the authenticity of the product using the product anti-counterfeiting system based on QR codes and RFID tags are as follows:

[0156] 1) The scanning device performs the first scan on the RFID tag on the packing box of the product to be tested, and verifies the authenticity of the RFID tag using the closed-loop authentication method. If the RFID tag is fake, it is judged that all the products in the packing box corresponding to the RFID digital identity certificate T jf are fake, and the information that the product is fake is displayed on the display screen of the scanning device, and the verification of the authenticity of the product ends. If the RFID tag is genuine, go to step 2.

[0157] The main steps of verifying the authenticity of the product using the closed-loop authentication method are as follows:

[0158] 1.1) The scanning device scans the RFID tag on the packing box of the product to be tested and sends a request for verifying the authenticity of the product to be tested to k servers. Among them, a server is randomly set as the authenticity verification center. In this embodiment, k = 5 is set. Among them, the first server is the authenticity verification center.

[0159] The scanning device sends the digital identity certificate information T if in the RFID tag of the product to be tested to k servers.

[0160] 1.2) The k servers perform a hash operation on the digital identity certificate information T jf to obtain the information H if .

[0161] The k servers send the information H jfPerform comparison operations with each element in the set Q of commodity verification information respectively.

[0162] If the message H jf does not match any element in the set Q of commodity verification information, it is determined that the RFID tag is false, and verification information indicating that all commodities in the commodity packaging box with digital identity certificate information T if are false is generated.

[0163] If the message H if matches other elements in the set Q of commodity verification information except Q jf , it is determined that the authenticity of the RFID tag is suspicious, and verification information indicating that the authenticity of all commodities in the commodity packaging box with digital identity certificate information T if is suspicious is generated.

[0164] If the message H jf matches Q jf in the set Q of commodity verification information, the RFID tag is true, and verification information indicating that the RFID tag is true is generated.

[0165] Among them, 4 servers determine that the RFID tag is true. 1 server determines that the RFID tag is false.

[0166] 1.3) The authenticity verification center receives the commodity verification information of all servers and determines the authenticity of the RFID tag according to the majority principle. The authenticity verification center sends the commodity authenticity result to the scanning device.

[0167] If the RFID tag is false, the scanning device displays that all commodities in the commodity packaging box with digital identity certificate information T if are false. The server records the scanning time and verification geographical information of the scanning device, and ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request of the scanning device.

[0168] If the authenticity of the RFID tag is suspicious, the scanning device displays that the authenticity of all commodities in the commodity packaging box with digital identity certificate information T if is suspicious. The server records the scanning time and verification geographical information of the scanning device, and ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request of the scanning device.

[0169] If the RFID tag is genuine, go to step 1.4. The commodity verification information Q j,f is the hash value after the digital identity certificate information T jf undergoes a hash operation.

[0170] According to the majority principle, the RFID tag is true.

[0171] 1.4) The authentication center generates digital identity certificate information T j,f+1 , and sent to the scanning device. The scanning device sends the digital identity certificate information T j,f+1 Write the RFID tag of the product to be tested to replace the original T j,f The digital identity certificate information T j,f+1 This is the new product digital identity certificate information, which is used by the scanning device to verify the authenticity of the product to be tested next time.

[0172] Digital identity certificate information T j,f+1 Perform hash operation to obtain product verification message Q j,f+1 The basic database storage and message correspondence E j,f+1 Product verification message Q j,f+1 , that is, the product verification information set is updated to Q = {Q j,1 , Q j,2 ,…,Q j,f , Q j,f+1 The product verification message Q j,f+1 Used for the next product authenticity verification.

[0173] The server ends the current product authenticity verification and enters the next closed-loop authentication process, waiting for the next product authenticity verification request from the scanning device.

[0174] 2) The scanning device sends the verification information I to the server.

[0175] 3) The scanning device scans the QR code label of the product to be tested and sends the read verification information II and the dynamic information of the scanning device to the server.

[0176] 4) The server matches the verification information II with the verification information I. If they do not match, the server determines that the product with the verification information I is fake. If they match, the server proceeds to step 5.

[0177] 5) The server matches the preset location information with the dynamic location information. If they are the same, the product is judged to be authentic; if they are different, the product is judged to be fake. The server sends the product authenticity verification result to the scanning device.

Claims

1. A method for verifying the authenticity of goods based on QR codes and RFID tags, which is applied to a goods anti-counterfeiting system based on QR codes and RFID tags, characterized in that, The commodity anti-counterfeiting system includes an RFID tag set on a commodity packaging box, a QR code tag set on the commodity, and a server; The RFID tag has verification information I; the verification information I is the RFID digital identity certificate information Tj,f; j is the serial number of the product packaging box, j = 1, 2, ... m; f is the number of times the RFID tag writes information, f = 1, 2, ... s; the RFID digital identity certificate information Tj,f is a random number; The QR code label has verification information II; A packaging box contains several items. On the server side, the verification information I corresponding to the packaging box, the verification information II of the items in the packaging box, and the preset location information are associated together; the preset location information is the geographic location information of the preset packaging box and the items it contains, or the merchant number or e-commerce code; The steps of the product authenticity verification method are as follows: 1) The scanning device performs a first scan of the RFID tag on the packaging box of the product to be tested, and uses a closed-loop authentication method to verify the authenticity of the RFID tag. If the RFID tag is false, all the products in the packaging box are judged to be false. The display screen of the scanning device displays the information that the products are false, and the product authenticity verification ends. If the RFID tag is authentic, the process proceeds to step 2. 2) The scanning device sends the verification information I of the RFID tag to the server; 3) The scanning device scans the QR code label of the product to be tested and sends the read verification information II and the dynamic location information of the scanning device to the server; the dynamic location information is the geographical location information, merchant number or e-commerce code of the scanning device when scanning the QR code label; 4) The server matches the verification information II with all the verification information I stored in the server. If none of them match, the product with the verification information II is judged to be fake. If they match, the process proceeds to step 5. 5) The server matches the preset location information with the dynamic location information. If they are the same, the product is judged to be authentic; if they are different, the product is judged to be fake. The server sends the product authenticity verification result to the scanning device; The steps for verifying the authenticity of an RFID tag using the closed-loop authentication method are as follows: S1) The scanning device scans the RFID tag on the packaging box of the product to be tested and sends a request for authenticity verification of the product to be tested to the server; The scanning device sends the verification information I in the RFID tag on the packaging box of the commodity to be tested to the server; S2) The server performs a hash operation on the verification information I, i.e., the RFID digital identity certificate information Tj,f, to obtain information Hj,f; The server compares the information Hj,f with each element in the product verification information set Q; If none of the information Hj,f matches any element in the set Q of commodity verification information, it is determined that the RFID tag is fake, and the server sends the determination result to the scanning device; the scanning device displays that all the commodities in the commodity packaging box with RFID digital identity certificate information Tj,f are fake; the server records the scanning time and verification geographical location information of the scanning device, and ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request from the scanning device; If the information Hj,f matches other elements in the set Q of commodity verification information except the commodity verification information Qj,f, the authenticity of the RFID tag is suspicious, and the server sends the determination result to the scanning device; the scanning device displays that the authenticity of all the commodities in the commodity packaging box with RFID digital identity certificate information Tj,f is suspicious; the server records the scanning time and verification geographical location information of the scanning device, and ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request from the scanning device; the commodity verification information Qj,f is the hash value after the RFID digital identity certificate information Tj,f undergoes a hash operation; If the information Hj,f matches the commodity verification information Qj,f in the set Q of commodity verification information, the RFID tag is true, and it goes to step S3; S3) The certification center generates RFID digital identity certificate information Tj,f+1 and sends it to the scanning device; the scanning device writes the RFID digital identity certificate information Tj,f+1 into the RFID tag on the commodity packaging box to be determined as true; The RFID digital identity certificate information Tj,f is not deleted; the RFID digital identity certificate information Tj,f+1 is the new commodity digital identity certificate information, which is used for the scanning device to verify the authenticity of the commodity to be measured next time; Perform a hash operation on the RFID digital identity certificate information Tj,f+1 to obtain the commodity verification information Qj,f+1; the server stores the commodity verification information Qj,f+1 corresponding to the RFID digital identity certificate information Tj,f+1, that is, the set of commodity verification information is updated to Q = {Qj,1, Qj,2,..., Qj,f, Qj,f+1}; the commodity verification information Qj,f+1 is used for the next commodity authenticity verification; The server ends the current commodity authenticity verification, enters the next closed-loop authentication process, and waits for the next commodity authenticity verification request from the scanning device.

2. The method for authenticating the authenticity of a product based on a QR code and an RFID tag according to claim 1, wherein: The verification information I and the verification information II are in a one-to-many mapping relationship; the method for the server to match the verification information II with all the verification information I stored in the server is: the server compares the verification information I with the verification information II. If the verification information II is a subset of the verification information I, it is a match; if the verification information II is not a subset of the verification information I, it is not a match.

3. The method for authenticating the authenticity of a commodity based on a QR code and an RFID tag according to claim 1, wherein: The verification information II is the two-dimensional code digital identity certificate information Ei; i is the serial number of the commodity, i = 1, 2,..., n; The two-dimensional code digital identity certificate information Ei is a random number.

4. The method for authenticating the authenticity of a product based on a QR code and an RFID tag according to claim 1, characterized in that: The said geographical location information includes country, province, city, district, county, town, township, street and / or house number.

5. The method for authenticating the authenticity of a commodity based on a two-dimensional code and an RFID tag according to claim 1, wherein: The scanning device has a Global Positioning System (GPS).

6. The method for verifying the authenticity of a product based on a QR code and an RFID tag according to claim 1, characterized in that: A merchant number or an e-commerce code is written into the scanning device.

7. The method for verifying the authenticity of a product based on a QR code and an RFID tag according to claim 1, wherein: After the commodity leaves the factory, the verification information I of the RFID tag and the verification information II of the QR code tag are rebound, that is, the RFID tag on the commodity packing box is converted into the RFID tag of the sales store. At this time, an associated relationship is established between the verification information II of the QR code tag and the verification information I of the RFID tag of the sales store.

8. The method for verifying the authenticity of a product based on a QR code and an RFID tag according to claim 1, characterized in that: The said RFID tag includes RFID, NFC and / or RAS.

Citation Information

Patent Citations

  • RFID merchandise anti-counterfeiting tracing system compatible with two-dimensional code counterfeiting prevention

    CN105844472A

  • Random multi-code authentication traceability anti-counterfeiting method

    CN109858920A