Anti-counterfeiting traceability method based on electronic tags

By setting a non-readable and writable unique identification code and an independent authorization mechanism in the radio frequency chip of the electronic tag to generate an irreversible tag identification code, the problem of poor anti-counterfeiting traceability of electronic tags is solved, and an efficient and safe anti-counterfeiting verification process is realized.

CN112801677BActive Publication Date: 2024-09-10SHENZHEN TUOPU VIDEO TECH DEV
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202110165211.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-06
Publication Date
2024-09-10
Estimated Expiration
2041-02-06

AI Technical Summary

Technical Problem

Existing electronic tags cannot effectively prevent counterfeiting and trace their origins because the unique identification code of the radio frequency chip is easily cracked or copied, causing losses to businesses and consumers.

Method used

By setting a unique identification code in the radio frequency chip that is only readable within the chip but not externally readable and writable, and using independent authorization from tag manufacturers and application manufacturers, an algorithm is used to generate an irreversible tag identity code, combined with the production authorization code , apply authorization code, dynamic code and signature to form a dynamic verification data package for remote verification.

Benefits of technology

It effectively prevents the copying or cracking of unique identification codes, realizes the security and authenticity of electronic tags, and ensures the safety, reliability and non-tamperability of anti-counterfeiting verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112801677B
    Figure CN112801677B
Patent Text Reader

Abstract

The present application discloses an anti-counterfeiting and tracing method based on electronic tags, which includes preparing electronic tags, applying electronic tags to products, and checking product anti-counterfeiting and tracing information through radio frequency verification terminals. The anti-counterfeiting and tracing method of the present application burns the unique identification code of the radio frequency chip into the chip circuit of the radio frequency chip, and the unique identification code is readable in the chip but not readable and writable by external software and hardware. At the same time, the label manufacturer and the label application manufacturer are independently authorized and automatically written, and the label identity code formed after secondary deformation is obtained through secondary calculation of the radio frequency chip itself, so that the label identity code is irreversibly calculated or decrypted to obtain the original unique identification code, effectively preventing the copying or cracking of the unique identification code, and the entire anti-counterfeiting and tracing process is safe and reliable, eliminating counterfeiting from the root, and realizing the real anti-counterfeiting and tracing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic anti-counterfeiting, and in particular to an anti-counterfeiting and traceability method based on electronic tags. Background Art

[0002] With the development of science and technology, wireless radio frequency technology is increasingly used in the field of anti-counterfeiting technology, and is gradually transitioning from wireless radio frequency identification technology to near-field communication technology.

[0003] Radio Frequency Identification (RFID) is a non-contact automatic recognition technology that uses radio frequency to perform non-contact two-way data communication and read and write recording media, thereby achieving the purpose of identifying targets and exchanging data.

[0004] Near Field Communication (NFC) is developed based on radio frequency identification technology and combined with wireless interconnection technology. It integrates the functions of inductive card reader, inductive card and point-to-point communication on a single chip, and uses mobile terminals to realize mobile payment, mobile identity recognition, anti-counterfeiting and other applications.

[0005] In existing electronic tags, the unique identification code of the radio frequency chip is open to the public and is used as one of the verification information. At the same time, encrypted information is still written manually during the production or application process of the electronic tags, which makes the radio frequency chip easy to crack or copy, and then used for counterfeit and shoddy products. It cannot fundamentally play the role of anti-counterfeiting and traceability, causing great losses to merchants and consumers. Summary of the invention

[0006] The present application aims to solve one of the above technical problems at least to some extent.

[0007] The present application provides an anti-counterfeiting and traceability method based on electronic tags, comprising the following steps:

[0008] preparing electronic tags;

[0009] Apply electronic labels to products;

[0010] Check product anti-counterfeiting traceability information through radio frequency verification terminals;

[0011] The electronic tag includes a radio frequency chip, and the steps of preparing the electronic tag include:

[0012] The production-side reading and writing device establishes a remote communication connection with the server;

[0013] Burning a unique identification code of the radio frequency chip into the chip circuit of the radio frequency chip; the unique identification code is readable inside the chip but not readable or writable by external software or hardware;

[0014] Writing a first algorithm into a radio frequency chip;

[0015] The production end reading and writing device sends a production end authorization request to the server; the production end authorization request includes requesting the server to configure a production authorization code and allow it to be written into the radio frequency chip;

[0016] After receiving the authorization request from the production end, the server configures the production authorization code and sends it to the production end reader / writer;

[0017] The production end read-write device writes the production authorization code into the read-only storage module of the radio frequency chip;

[0018] The radio frequency chip automatically generates a factory identification code; the factory identification code is calculated and generated by using a first algorithm based on the unique identification code and the production authorization code;

[0019] The steps of applying the electronic label to the product include:

[0020] The application-side reading and writing device establishes a remote communication connection with the server;

[0021] The application-side reading and writing device sends an application-side authorization request to the server; the application-side authorization request includes requesting the server to configure the application-side authorization code and allow it to be written into the radio frequency chip;

[0022] After receiving the authorization request from the application, the server configures the application authorization code and sends it to the application read-write device;

[0023] The application-side read-write device writes the application-side authorization code into the read-only storage module of the radio frequency chip;

[0024] The radio frequency chip automatically generates a tag identity code; the tag identity code is calculated and generated by using a first algorithm based on the factory identity code and the application end authorization code;

[0025] The steps of checking product anti-counterfeiting traceability information through the radio frequency verification terminal include:

[0026] The radio frequency verification terminal establishes a radio frequency communication connection with the electronic tag;

[0027] The electronic tag generates a dynamic verification data packet and sends it to the radio frequency verification terminal; the dynamic verification data packet does not include the unique identification code of the electronic tag;

[0028] The radio frequency verification terminal reads the dynamic verification data packet to obtain the remote communication protocol and establishes a remote communication connection with the server;

[0029] The RF verification terminal sends a dynamic verification data packet to the server and issues a verification request to the server;

[0030] The server performs verification based on the received dynamic verification data packet and sends the verification result to the RF verification terminal.

[0031] Furthermore, the dynamic verification data packet includes the production authorization code, application authorization code, tag identity code, dynamic code and signature of the electronic tag; the signature is calculated and generated by the tag identity code, factory authorization code, application authorization code and dynamic code using a first algorithm.

[0032] Furthermore, the first algorithm is an MD5 message digest algorithm.

[0033] The calculation formula of the factory identity code is: SID1=MD5(UID+PKey);

[0034] The calculation formula of the tag identity code is: SID2=MD5(SID1+AC);

[0035] The calculation formula of the signature is: Sign=MD5(SID2+PKey+AC+RC);

[0036] The output parameter format of the signature is: sid=SID2&sign=Sign&rc=RC.

[0037] Furthermore, the first algorithm is a SHA secure hash algorithm,

[0038] The calculation formula of the factory identity code is: SID1 = SHA (UID + PKey);

[0039] The calculation formula of the tag identity code is: SID2=SHA(SID1+AC);

[0040] The calculation formula of the signature is: Sign = SHA (SID2 + PKey + AC + RC);

[0041] The output parameter format of the signature is: sid=SID2&sign=Sign&rc=RC.

[0042] Furthermore, the first algorithm is an encryption algorithm:

[0043] The calculation formula of the factory identity code is: SID1 = Encrypt (UID, PKey);

[0044] The calculation formula of the tag identity code is: SID2 = Encrypt (SID1, AC);

[0045] The calculation formula of the signature is:

[0046] Sign=Encrypt[(SID2+PKey+AC+RC),PKey];

[0047] The output parameter format of the signature is: sid=SID2&sign=Sign&rc=RC.

[0048] Furthermore, the step of preparing the electronic tag also includes: the server verifies the identity of the production-end read-write device; if the identity authentication of the production-end read-write device is passed, the server maintains a remote communication connection with the production-end read-write device; if the identity authentication of the production-end read-write device is not passed, the server shields the production-end read-write device.

[0049] Furthermore, the step of the server verifying the identity of the production end reading and writing device includes:

[0050] The server pre-matches the production-end reader / writer according to the tag manufacturer, and writes the matching information into the database; the matching information includes the identity authentication information of the production-end reader / writer;

[0051] After the production-end reading and writing device establishes a remote communication connection with the server, the server extracts the identity information of the connected production-end reading and writing device;

[0052] The server verifies the identity of the read-write device based on the extracted identity information of the production-end read-write device; if the matching information pre-stored in the database contains production-end read-write device identity authentication information that matches the identity information of the currently connected production-end read-write device, the production-end read-write device verification is successful; if the matching information pre-stored in the database does not contain production-end read-write device identity authentication information that matches the identity information of the currently connected production-end read-write device, the production-end read-write device verification fails.

[0053] Furthermore, the step of applying the electronic tag to the product also includes: the server verifies the identity of the application-side read-write device; if the identity authentication of the application-side read-write device is passed, the server maintains a remote communication connection with the application-side read-write device; if the identity authentication of the application-side read-write device is not passed, the server blocks the application-side read-write device.

[0054] Furthermore, the step of the server verifying the identity of the application-side reading and writing device includes:

[0055] The server pre-matches the application-side reader / writer device according to the tag application manufacturer, and writes the matching information into the database; the matching information includes the identity authentication information of the application-side reader / writer device;

[0056] After the application-side reading and writing device establishes a remote communication connection with the server, the server extracts the identity information of the connected application-side reading and writing device;

[0057] The server verifies the identity of the read-write device based on the extracted identity information of the application-side read-write device; if the matching information pre-stored in the database contains application-side read-write device identity authentication information that matches the identity information of the currently connected application-side read-write device, the application-side read-write device verification is successful; if the matching information pre-stored in the database does not contain application-side read-write device identity authentication information that matches the identity information of the currently connected application-side read-write device, the application-side read-write device verification fails.

[0058] Furthermore, the step of applying the electronic tag to the product also includes: the anti-counterfeiting traceability system performs a self-test on the electronic tag;

[0059] The steps of the anti-counterfeiting traceability system performing self-test on the electronic tag include:

[0060] The application-side reading and writing device extracts the production authorization code, application authorization code and signature of the electronic tag and sends them to the server as the electronic tag self-test information;

[0061] The server stores the electronic tag verification information; the server is provided with a second algorithm, which is the same as the first algorithm; after receiving the electronic tag self-test information, the server parses the electronic tag self-test information by the second algorithm, and compares the parsing result with the pre-stored electronic tag verification information; if they match, the electronic tag self-test passes; if they do not match, the electronic tag self-test fails;

[0062] The server writes the self-test results into a database and displays the self-test results on a server-side interface.

[0063] The beneficial effects of the present application are as follows: by setting a unique identification code that is only readable within the chip but not readable or writable by external software and hardware, and by independently authorizing the label manufacturer and the label application manufacturer, and obtaining the label identity code formed after secondary deformation through secondary calculation, the label identity code can be irreversibly calculated or decrypted to obtain the original unique identification code, effectively preventing the copying or cracking of the unique identification code; by fully automatic operation of the production-end reading and writing device and the application-end reading and writing device, human intervention is fully eliminated, reading and writing are smarter and safer, and the efficiency is higher and the cost is lower; by packaging the production authorization code, application authorization code, label identity code, dynamic code and signature of the electronic label into a dynamic verification data packet, which is read by the radio frequency verification terminal and sent to the server for verification, the anti-counterfeiting verification process is safe and reliable, cannot be tampered with or copied, and the anti-counterfeiting verification result is reliable. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1This is a schematic diagram of the framework structure of the anti-counterfeiting and traceability system of this application.

[0065] Figure 2 This is a schematic diagram of the framework structure of the electronic tag of this application.

[0066] Figure 3 This is a schematic diagram of the framework structure of the server of this application.

[0067] Figure 4 This is a schematic diagram of the framework structure of the reading and writing device of this application.

[0068] Figure 5 This is a schematic diagram of the framework structure of the radio frequency verification terminal of this application.

[0069] Figure 6 This is a flow chart of the anti-counterfeiting and traceability system of this application.

[0070] Figure 7 The flowchart of preparing the electronic label of the present application.

[0071] Figure 8 This is a flow chart of applying an electronic label to a product according to the present application.

[0072] Fig. 9 This is a flow chart of checking product anti-counterfeiting and traceability information through a radio frequency verification terminal for this application. DETAILED DESCRIPTION

[0073] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0074] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0075] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0076] The present application is further described in detail below through specific implementation methods in conjunction with the accompanying drawings.

[0077] Please refer to Figures 1 to 5 The present application provides an anti-counterfeiting and traceability system based on electronic tags, and the anti-counterfeiting and traceability system includes an electronic tag 10, a server 20, a production-end reading and writing device 30, an application-end reading and writing device 40, and a radio frequency verification terminal 50.

[0078] like Figure 2 As shown, the electronic tag 10 includes a radio frequency chip, and a radio frequency antenna connected to the radio frequency chip. The radio frequency chip has a physically hidden unique identification code, which is burned into the chip circuit when the radio frequency chip is produced. The unique identification code of the radio frequency chip is set to be readable inside the chip but not readable and writable by external software and hardware, that is, the unique identification code only participates in the internal operation of the radio frequency chip according to preset rules and is not disclosed to the outside. In this embodiment, the radio frequency chip is preferably set to a chip based on NFC technology. In other embodiments, the radio frequency chip may also be a chip based on RFID technology, or other chips based on contactless communication technology.

[0079] The radio frequency chip includes a chip main control unit 11 , a chip operation unit 12 , a read-only storage unit 13 , a dynamic code generation unit 14 and a signature generation unit 15 .

[0080] The chip main control unit 11 is used to control and coordinate each unit inside the radio frequency chip to work according to a preset program.

[0081] The chip operation unit 12 is connected to the chip main control unit 11. The chip operation unit 12 is preset with a first algorithm for completing data operations in the radio frequency chip, thereby realizing deformation encryption processing of radio frequency chip related information.

[0082] The read-only storage unit 13 is connected to the chip main control unit 11 and is used to store read-only information of the electronic tag 10. In this embodiment, the read-only information of the electronic tag 10 specifically includes the production authorization code, factory identification code, application authorization code and tag identification code of the electronic tag 10.

[0083] Among them, the production authorization code is authorized by the server 20 to the label manufacturer and written into the radio frequency chip when the label is produced; the factory identity code is calculated and generated by the unique identification code and the production authorization code using the first algorithm; the application authorization code is authorized by the server 20 to the label application manufacturer and written into the radio frequency chip when the label is applied; the label identity code is calculated and generated by the factory identity code and the application authorization code using the first algorithm.

[0084] The read-only storage unit 13 includes a ROM area, a PROM area and / or an EEPROM area.

[0085] In this embodiment, the production authorization code is only open to a preset label manufacturer. When the label manufacturer produces the electronic label 10, after being authorized and configured with the production authorization code by the server 20, the received production authorization code is written into the ROM area of ​​the radio frequency chip.

[0086] When the label manufacturer writes the production authorization code into the RF chip, the RF chip automatically calculates the unique identification code and the production authorization code using the first algorithm according to the preset program to generate the factory identification code. Before the electronic label 10 is used, the factory identification code serves as the only external identification code of the electronic label 10.

[0087] The application authorization code is only open to a preset label application manufacturer. When the label application manufacturer applies the electronic label 10, after being authorized and configured with the application authorization code by the server 20, the received application authorization code is written into the PROM area or EEPROM area of ​​the radio frequency chip.

[0088] When the label application manufacturer writes the application authorization code into the radio frequency chip, the radio frequency chip automatically calculates the factory identification code and the application authorization code using the first algorithm according to the preset program to generate the label identification code. After the electronic label 10 is set on the product to be prevented from counterfeiting, the label identification code serves as the unique external identification code of the electronic label 10, that is, the product to be prevented from counterfeiting.

[0089] The dynamic code generation unit 14 is connected to the chip main control unit 11, and is used to generate a dynamic code when establishing a radio frequency communication connection with the radio frequency verification terminal 50. As a preferred embodiment, the dynamic code is preferably set as a timing code, and the dynamic code generation unit 14 is a timing code generator built into the radio frequency chip. Of course, the dynamic code can also be set as a random code, and the dynamic code generation unit 14 is a random code generator built into the radio frequency chip.

[0090] The signature generation unit 15 is connected to the chip main control unit 11 and is used to generate a signature when establishing a radio frequency communication connection with the radio frequency verification terminal 50. The signature is generated by calculating the tag identity code, the factory authorization code, the application authorization code and the dynamic code using a first algorithm.

[0091] In some embodiments of the present application, the first algorithm may be set as a cryptographic hash function. When the first algorithm is set as a cryptographic hash function, the cryptographic hash function may specifically be an MD5 message digest algorithm or a SHA secure hash algorithm. In some other embodiments of the present application, the first algorithm may also be set as an encryption algorithm. When the first algorithm is set as an encryption algorithm, the encryption algorithm may specifically be a symmetric encryption and decryption algorithm or an asymmetric encryption and decryption algorithm.

[0092] Specifically, in the following formula: SID1 is the factory identification code, SID2 is the tag identification code, UID is the unique identification code, PKey is the production authorization code, and AC is the application authorization code;

[0093] When the first algorithm is set to the MD5 message digest algorithm,

[0094] The calculation formula of the factory identity code is: SID1=MD5(UID+PKey);

[0095] The calculation formula of the tag identity code is: SID2=MD5(SID1+AC);

[0096] The calculation formula of the signature is: Sign=MD5(SID2+PKey+AC+RC);

[0097] The output parameter format of the signature is: sid=SID2&sign=Sign&rc=RC.

[0098] When the first algorithm is set to the SHA secure hash algorithm,

[0099] The calculation formula of the factory identity code is: SID1 = SHA (UID + PKey);

[0100] The calculation formula of the tag identity code is: SID2=SHA(SID1+AC);

[0101] The calculation formula of the signature is: Sign = SHA (SID2 + PKey + AC + RC);

[0102] The output parameter format of the signature is: sid=SID2&sign=Sign&rc=RC.

[0103] When the first algorithm is set to an encryption algorithm:

[0104] The calculation formula of the factory identity code is: SID1 = Encrypt (UID, PKey);

[0105] The calculation formula of the tag identity code is: SID2 = Encrypt (SID1, AC);

[0106] The calculation formula of the signature is:

[0107] Sign=Encrypt[(SID2+PKey+AC+RC),PKey];

[0108] The output parameter format of the signature is: sid=SID2&sign=Sign&rc=RC.

[0109] The electronic tag 10 of the present application sets a physical unique identification code so that the unique identification code is only readable inside the chip and cannot be read or written by external software and hardware; at the same time, through independent authorization of the label manufacturer and the label application manufacturer respectively, and the label identity identification code formed after secondary deformation is obtained through secondary calculation, the label identity identification code is irreversibly calculated or decrypted to obtain the original unique identification code, effectively preventing the copying or cracking of the unique identification code, ensuring the security and authenticity of the electronic tag 10, and thus realizing true anti-counterfeiting and traceability.

[0110] The production-end reading and writing device 30 can be remotely connected to the server 20 and simultaneously establish a radio frequency communication connection with the electronic tag 10. The production-end reading and writing device 30 is used to write the production authorization code issued by the server 20 into the radio frequency chip when producing the electronic tag 10.

[0111] The application-side reading and writing device 40 can be remotely connected to the server 20 and simultaneously establish a radio frequency communication connection with the electronic tag 10. The application-side reading and writing device 40 is used to write the application authorization code issued by the server 20 into the radio frequency chip when the electronic tag 10 is applied to the anti-counterfeiting product.

[0112] In the present application, the production-end read-write device 30 and the application-end read-write device 40 both include a read-write main control unit 31 , a power supply unit 32 , a first remote communication unit 33 , an authorization request unit 34 , a first radio frequency communication unit 35 and an automatic read-write unit 36 ​​.

[0113] The read / write main control unit 31 is used to control each unit of the read / write device to work according to a preset program.

[0114] The power supply unit 32 is used to provide power to the read / write main control unit 31 and other units.

[0115] The first remote communication unit 33 is connected to the read / write main control unit 31 and is used to automatically establish a remote communication connection with the server 20 .

[0116] The authorization request unit 34 is connected to the read / write main control unit 31 and is used to automatically send an authorization request to the server 20 when in a remote communication connection state with the server 20 .

[0117] The first radio frequency communication unit 35 is connected to the read / write main control unit 31 and is used to automatically establish a radio frequency communication connection with the electronic tag 10 .

[0118] The automatic reading and writing unit 36 ​​is connected to the reading and writing main control unit 31 , and is used to automatically read and write anti-counterfeiting information to the electronic tag 10 .

[0119] The production-end reading and writing device 30 and the application-end reading and writing device 40 of the present application realize fully automatic remote communication and data transmission between the reading and writing device and the server 20 and the electronic tag 10 through the fully automatic operation of each unit, thereby realizing the full automation of the radio frequency chip reading and writing operation, completely eliminating human intervention, making the reading and writing of the electronic tag 10 more intelligent and safe, and more efficient and less costly.

[0120] Please refer to Figure 5 The radio frequency verification terminal 50 includes a second radio frequency communication unit 51, a tag information reading unit 52, a second remote communication unit 53, a verification request unit 54 and a terminal verification display unit 55.

[0121] The second RF communication unit 51 is used to establish a RF communication connection with the electronic tag 10 and perform data transmission.

[0122] The tag information reading unit 52 is used to read the dynamic verification data packet of the electronic tag 10. In this embodiment, the dynamic verification data packet includes the production authorization code, application authorization code, tag identity code, dynamic code and signature of the electronic tag 10.

[0123] The second remote communication unit 53 is used to establish a remote communication connection with the server 20 and perform data transmission.

[0124] The verification request unit 54 is used to send an anti-counterfeiting verification request to the server 20. The RF verification terminal 50 transmits a dynamic verification data packet to the server 20 through the second remote communication unit 53 while sending the anti-counterfeiting verification request to the server 20; the server 20 verifies the dynamic verification data packet of the electronic tag 10, and the dynamic verification data packet does not include the unique identification code of the electronic tag 10.

[0125] The terminal verification display unit 55 is used to display the anti-counterfeiting verification result fed back by the server 20 to the anti-counterfeiting verification user.

[0126] In the present application, the production authorization code, application authorization code, label identification code, dynamic code and signature of the electronic label are packaged to form a dynamic verification data packet which is read by the radio frequency verification terminal 50 and sent to the server 20 for verification, so that the anti-counterfeiting verification process is safe and reliable, cannot be tampered with or copied, and the anti-counterfeiting verification result is reliable.

[0127] like Figure 3 As shown, the server 20 includes a server main control unit 21 , a database 22 , a server computing unit 23 , a third remote communication unit 24 , an authorization code configuration unit 25 , an anti-counterfeiting verification unit 26 and a server display unit 27 .

[0128] The server main control unit 21 is used to control the coordination database 22 and each unit to work according to a preset program. The server main control unit 21 can be a server integrated processor.

[0129] The database 22 is connected to the server main control unit 21 and is used to store the anti-counterfeiting verification information of the electronic tag 10. The database 22 can be set in a memory, in the cloud, or in a blockchain.

[0130] The server computing unit 23 is connected to the server main control unit 21 . The server computing unit 23 is preset with a second algorithm, which is the same as the first algorithm.

[0131] The third remote communication unit 24 is connected to the server main control unit 21 and is used to establish a remote communication connection with the production-end reading and writing device 30 , the application-end reading and writing device 40 and the radio frequency verification terminal 50 .

[0132] The authorization code configuration unit 25 is connected to the server main control unit 21 and is used to configure and issue a production authorization code or an application authorization code to the production-end reading and writing device 30 or the application-end reading and writing device 40 .

[0133] The anti-counterfeiting verification unit 26 is connected to the server main control unit 21 , and is used to parse the information in the dynamic verification data packet according to a preset rule by using a second algorithm, and verify the parsing result to the anti-counterfeiting verification information in the database 22 .

[0134] The server display unit 27 is connected to the server main control unit 21 and is used to display the anti-counterfeiting verification result to the server staff so that the server staff can perform subsequent anti-counterfeiting work according to the anti-counterfeiting verification result.

[0135] In this application, in order to further improve the control of the electronic tag 10 by the anti-counterfeiting verification system, the radio frequency verification terminal 50 also includes a GPS positioning unit 56, which is used to obtain the current geographical location information of the radio frequency verification terminal 50; the dynamic verification data packet also includes the GPS location information of the radio frequency verification terminal 50. Specifically, the radio frequency verification terminal 50 obtains the current geographical location information through the GPS positioning unit 56, and sends the current GPS location information and other information to the server 20 through the second remote communication unit 53 to form a dynamic verification data packet and send it to the server 20, and at the same time, send an anti-counterfeiting verification request to the server 20. By uploading the GPS location information to the server 20, the geographical location information of each time the electronic tag 10 is read can be accurately marked, so that the product location can be quickly found and recorded in the database 22.

[0136] Please refer to Figures 6 to 9 The present application provides an anti-counterfeiting and tracing method based on electronic tags, and the anti-counterfeiting and tracing method uses the anti-counterfeiting and tracing system as described above.

[0137] The anti-counterfeiting and tracing method comprises:

[0138] S101 prepares an electronic tag;

[0139] S102 applies electronic labels to products;

[0140] S103 verifies product anti-counterfeiting and traceability information through a radio frequency verification terminal.

[0141] like Figure 7 As shown, the steps of preparing the electronic tag include:

[0142] S201 The production end reading and writing device establishes a remote communication connection with the server; when producing the electronic tag, the radio frequency chip and the radio frequency antenna are first manufactured on the substrate, and when manufacturing the radio frequency chip, the production end reading and writing device is powered on, and the production end reading and writing device is powered on to establish a remote communication connection with the server, and then the subsequent reading and writing operations of the radio frequency chip can be performed;

[0143] S202: burning a unique identification code of the radio frequency chip into the chip circuit of the radio frequency chip; the attribute of the unique identification code is set to: readable within the chip, and not readable or writable by external software or hardware;

[0144] S203 writing a first algorithm into the radio frequency chip;

[0145] S204 The production end reading and writing device sends a production end authorization request to the server; the production end authorization request includes requesting the server to configure a production authorization code and allow it to be written into the radio frequency chip;

[0146] S205 After receiving the production-end authorization request, the server configures the production authorization code and sends it to the production-end reader / writer; in this application, the server is preset with a production-end authorization configuration program, and the production-end authorization configuration program is only started when the requesting party is the production-end reader / writer and the request content is production-end authorization, that is, the production authorization code is only open to designated label manufacturers;

[0147] S206 The production end read-write device writes the production authorization code into the read-only storage module of the radio frequency chip; in this embodiment, the production authorization code is written into the ROM area of ​​the radio frequency chip, and the ROM area works in a non-destructive reading mode, which can only read information but cannot write information, and once the information is written, it is fixed, and even if the power is cut off, the information will not be lost;

[0148] S207 The radio frequency chip automatically generates a factory identification code; the factory identification code is calculated and generated by the unique identification code and the production authorization code using a first algorithm. Before the electronic tag is used, the factory identification code serves as the only external identification code of the electronic tag.

[0149] In a specific implementation, the step of preparing the electronic tag further includes: the server verifies the identity of the production end reader / writer; if the identity authentication of the production end reader / writer passes, the server maintains a remote communication connection with the production end reader / writer; if the identity authentication of the production end reader / writer fails, the server shields the production end reader / writer;

[0150] The step of the server verifying the identity of the production end reading and writing device specifically includes:

[0151] The server pre-matches the production-end reader / writer according to the tag manufacturer, and writes the matching information into the database; the matching information includes the identity authentication information of the production-end reader / writer;

[0152] After the production-end reading and writing device establishes a remote communication connection with the server, the server extracts the identity information of the connected production-end reading and writing device;

[0153] The server verifies the identity of the read-write device based on the extracted identity information of the production-end read-write device; if the matching information pre-stored in the database contains production-end read-write device identity authentication information that matches the identity information of the currently connected production-end read-write device, the production-end read-write device verification is successful; if the matching information pre-stored in the database does not contain production-end read-write device identity authentication information that matches the identity information of the currently connected production-end read-write device, the production-end read-write device verification fails.

[0154] Please refer to Figure 8 The steps of applying the electronic label to the product include:

[0155] S301 The application end reading and writing device establishes a remote communication connection with the server;

[0156] S302 The application-side reading and writing device sends an application-side authorization request to the server; the application-side authorization request includes requesting the server to configure the application-side authorization code and allow it to be written into the radio frequency chip;

[0157] S303 After receiving the application authorization request, the server configures the application authorization code and sends it to the application reader / writer; in this application, the server is preset with an application authorization configuration program, and the application authorization configuration program is only started when the requesting party is the application reader / writer and the request content is application authorization, that is, the application authorization code is only open to the designated tag application manufacturer;

[0158] S304 The application-side read-write device writes the application-side authorization code into the read-only storage module of the radio frequency chip; in some embodiments of the present application, the application-side authorization code is written into the PROM area of ​​the radio frequency chip, and the PROM area is a programmable read-only storage area, which is only allowed to be written once, that is, a one-time programmable read-only storage area; it can be understood that, as another implementation method, the application-side authorization code can also be written into the EEPROM area of ​​the radio frequency chip, and the EEPROM area is a powered erasable programmable read-only storage area, and the data in the area is not lost after power failure;

[0159] S305 The radio frequency chip automatically generates a tag identity code; the tag identity code is calculated and generated by using a first algorithm based on the factory identity code and the application end authorization code.

[0160] The step of applying the electronic tag to the product also includes: the server verifies the identity of the application-side reader / writer; if the identity authentication of the application-side reader / writer passes, the server maintains a remote communication connection with the application-side reader / writer; if the identity authentication of the application-side reader / writer fails, the server shields the application-side reader / writer;

[0161] The step of the server verifying the identity of the application end reading and writing device includes:

[0162] The server pre-matches the application-side reader / writer device according to the tag application manufacturer, and writes the matching information into the database; the matching information includes the identity authentication information of the application-side reader / writer device;

[0163] After the application-side reading and writing device establishes a remote communication connection with the server, the server extracts the identity information of the connected application-side reading and writing device;

[0164] The server verifies the identity of the read-write device based on the extracted identity information of the application-side read-write device; if the matching information pre-stored in the database contains application-side read-write device identity authentication information that matches the identity information of the currently connected application-side read-write device, the application-side read-write device verification is successful; if the matching information pre-stored in the database does not contain application-side read-write device identity authentication information that matches the identity information of the currently connected application-side read-write device, the application-side read-write device verification fails.

[0165] Furthermore, the step of applying the electronic tag to the product also includes: the anti-counterfeiting and tracing system performs self-test on the electronic tag; the step of the anti-counterfeiting and tracing system performs self-test on the electronic tag includes:

[0166] The application-side reading and writing device extracts the production authorization code, application authorization code and signature of the electronic tag and sends them to the server as the electronic tag self-test information;

[0167] The server stores the electronic tag verification information; the server is provided with a second algorithm, which is the same as the first algorithm; after receiving the electronic tag self-test information, the server parses the electronic tag self-test information by the second algorithm, and compares the calculation result with the pre-stored electronic tag verification information; if they match, the electronic tag self-test passes; if they do not match, the electronic tag self-test fails;

[0168] The server writes the self-test results into a database and displays the self-test results on a server-side interface for subsequent processing by the server-side staff.

[0169] like Fig. 9 As shown, the steps of checking product anti-counterfeiting traceability information through the radio frequency verification terminal include:

[0170] S401 The radio frequency verification terminal establishes a radio frequency communication connection with the electronic tag;

[0171] S402 The electronic tag generates a dynamic verification data packet and sends it to the radio frequency verification terminal; the content of the dynamic verification data packet includes the tag identity code, the production authorization code, the application end authorization code, the dynamic code and the signature; the signature is calculated and generated by the tag identity code, the production authorization code, the application end authorization code and the dynamic code using the first algorithm; the dynamic verification data packet does not include the unique identification code of the electronic tag;

[0172] S403 The radio frequency verification terminal reads the dynamic verification data packet to obtain the remote communication protocol and establishes a remote communication connection with the server;

[0173] S404 The radio frequency verification terminal sends a dynamic verification data packet to the server and issues a verification request to the server;

[0174] S405 The server performs verification according to the received dynamic verification data packet and sends the verification result to the radio frequency verification terminal.

[0175] As a first embodiment, the first algorithm is an MD5 message digest algorithm.

[0176] The calculation formula of the factory identity code is: SID1=MD5(UID+PKey);

[0177] The calculation formula of the tag identity code is: SID2=MD5(SID1+AC);

[0178] The calculation formula of the signature is: Sign=MD5(SID2+PKey+AC+RC);

[0179] The output parameter format of the signature is: sid=SID2&sign=Sign&rc=RC.

[0180] As a second embodiment, the first algorithm is a SHA secure hash algorithm,

[0181] The calculation formula of the factory identity code is: SID1 = SHA (UID + PKey);

[0182] The calculation formula of the tag identity code is: SID2=SHA(SID1+AC);

[0183] The calculation formula of the signature is: Sign = SHA (SID2 + PKey + AC + RC);

[0184] The output parameter format of the signature is: sid=SID2&sign=Sign&rc=RC.

[0185] As a third embodiment, the first algorithm is an encryption algorithm:

[0186] The calculation formula of the factory identity code is: SID1 = Encrypt (UID, PKey);

[0187] The calculation formula of the tag identity code is: SID2 = Encrypt (SID1, AC);

[0188] The calculation formula of the signature is:

[0189] Sign=Encrypt[(SID2+PKey+AC+RC),PKey];

[0190] The output parameter format of the signature is: sid=SID2&sign=Sign&rc=RC.

[0191] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "an example", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0192] The above contents are further detailed descriptions of the present application in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present application is limited to these descriptions. For ordinary technicians in the technical field to which the present application belongs, several simple deductions or substitutions can be made without departing from the concept of the present application.

Claims

1. An anti-counterfeiting and traceability method based on electronic tags, characterized in that: The steps include: preparing electronic tags; Apply electronic labels to products; Check product anti-counterfeiting and traceability information through radio frequency verification terminals; The electronic tag includes a radio frequency chip, and the steps of preparing the electronic tag include: The production-side reading and writing device establishes a remote communication connection with the server; Burn a unique identification code of the radio frequency chip into the chip circuit of the radio frequency chip; the unique identification code is readable inside the chip but not readable or writable by external software or hardware; the unique identification code only participates in the internal operation of the radio frequency chip according to preset rules and is not disclosed to the outside; Writing a first algorithm into a radio frequency chip; The production end reading and writing device sends a production end authorization request to the server; the production end authorization request includes requesting the server to configure a production authorization code and allow it to be written into the radio frequency chip; After receiving the production-end authorization request, the server configures the production authorization code and sends it to the production-end reader / writer; the server is preset with a production-end authorization configuration program, which is only started when the requesting party is the production-end reader / writer and the request content is for production-end authorization, and the production authorization code is only open to designated label manufacturers; The production end read-write device writes the production authorization code into the read-only storage module of the radio frequency chip; The radio frequency chip automatically generates a factory identification code; the factory identification code is generated by calculating the unique identification code and the production authorization code using a first algorithm; before the electronic tag is used, the factory identification code serves as the only external identification code of the electronic tag; The steps of applying the electronic label to the product include: The application-side reading and writing device establishes a remote communication connection with the server; The application-side reading and writing device sends an application-side authorization request to the server; the application-side authorization request includes requesting the server to configure the application-side authorization code and allow it to be written into the radio frequency chip; After receiving the authorization request from the application, the server configures the application authorization code and sends it to the application read-write device; The application-side reading and writing device writes the application-side authorization code into the read-only storage module of the radio frequency chip; The radio frequency chip automatically generates a tag identity code; the tag identity code is calculated and generated by using a first algorithm based on the factory identity code and the application end authorization code; after the electronic tag is set on the anti-counterfeiting product, the tag identity code serves as the unique external identity code of the electronic tag, that is, the anti-counterfeiting product; The steps of checking product anti-counterfeiting traceability information through the radio frequency verification terminal include: The radio frequency verification terminal establishes a radio frequency communication connection with the electronic tag; The electronic tag generates a dynamic verification data packet and sends it to the radio frequency verification terminal; the dynamic verification data packet does not include the unique identification code of the electronic tag; The radio frequency verification terminal reads the dynamic verification data packet to obtain the remote communication protocol and establishes a remote communication connection with the server; The RF verification terminal sends a dynamic verification data packet to the server and issues a verification request to the server; The server performs verification based on the received dynamic verification data packet and sends the verification result to the radio frequency verification terminal; The dynamic verification data package includes the production authorization code, application authorization code, tag identity code, dynamic code and signature of the electronic tag; the signature is calculated and generated by the tag identity code, factory authorization code, application authorization code and dynamic code using a first algorithm; The first algorithm is the MD5 message digest algorithm, The calculation formula of the factory identity code is: SID1=MD5(UID+PKey); The calculation formula of the tag identity code is: SID2=MD5(SID1+AC); The calculation formula of the signature is: Sign=MD5(SID2+PKey+AC+RC); The output parameter format of the signature is: sid=SID2&sign=Sign&rc=RC; Or, the first algorithm is a SHA secure hash algorithm, The calculation formula of the factory identification code is: SID1=SHA(UID+PKey); The calculation formula of the tag identification code is: SID2=SHA(SID1+AC); The calculation formula of the signature is: Sign=SHA(SID2+PKey+AC+RC); The output parameter format of the signature is: sid=SID2&sign=Sign&rc=RC; Or, the first algorithm is an encryption algorithm: The calculation formula of the factory identity code is: SID1=Encrypt(UID,PKey); The calculation formula of the tag identification code is: SID2=Encrypt(SID1,AC); The calculation formula of the signature is: Sign=Encrypt[(SID2+PKey+AC+RC),PKey]; The output parameter format of the signature is: sid=SID2&sign=Sign&rc=RC.

2. The anti-counterfeiting and tracing method based on electronic tags as claimed in claim 1, characterized in that: The step of preparing the electronic tag also includes: the server verifies the identity of the production-end read-write device; if the identity authentication of the production-end read-write device is passed, the server maintains a remote communication connection with the production-end read-write device; if the identity authentication of the production-end read-write device is not passed, the server shields the production-end read-write device.

3. The anti-counterfeiting and tracing method based on electronic tags as claimed in claim 2, characterized in that: The step of the server verifying the identity of the production end reading and writing device includes: The server pre-matches the production-end reader / writer according to the tag manufacturer, and writes the matching information into the database; the matching information includes the identity authentication information of the production-end reader / writer; After the production-end reading and writing device establishes a remote communication connection with the server, the server extracts the identity information of the connected production-end reading and writing device; The server verifies the identity of the read-write device based on the extracted identity information of the production-end read-write device; if the matching information pre-stored in the database contains production-end read-write device identity authentication information that matches the identity information of the currently connected production-end read-write device, the production-end read-write device verification is successful; if the matching information pre-stored in the database does not contain production-end read-write device identity authentication information that matches the identity information of the currently connected production-end read-write device, the production-end read-write device verification fails.

4. The anti-counterfeiting and tracing method based on electronic tags as claimed in claim 1, characterized in that: The step of applying the electronic tag to the product also includes: the server verifies the identity of the application-side reader / writer; if the identity authentication of the application-side reader / writer is passed, the server maintains a remote communication connection with the application-side reader / writer; if the identity authentication of the application-side reader / writer is not passed, the server shields the application-side reader / writer.

5. The anti-counterfeiting and tracing method based on electronic tags as claimed in claim 4, characterized in that: The step of the server verifying the identity of the application end reading and writing device includes: The server pre-matches the application-side reader / writer device according to the tag application manufacturer, and writes the matching information into the database; the matching information includes the identity authentication information of the application-side reader / writer device; After the application-side reading and writing device establishes a remote communication connection with the server, the server extracts the identity information of the connected application-side reading and writing device; The server verifies the identity of the read-write device based on the extracted identity information of the application-side read-write device; if the matching information pre-stored in the database contains application-side read-write device identity authentication information that matches the identity information of the currently connected application-side read-write device, the application-side read-write device verification is successful; if the matching information pre-stored in the database does not contain application-side read-write device identity authentication information that matches the identity information of the currently connected application-side read-write device, the application-side read-write device verification fails.

6. The anti-counterfeiting and tracing method based on electronic tags as claimed in claim 1, characterized in that: The step of applying the electronic tag to the product also includes: the anti-counterfeiting traceability system performs a self-test on the electronic tag; The steps of the anti-counterfeiting traceability system performing self-test on the electronic tag include: The application-side reading and writing device extracts the production authorization code, application authorization code and signature of the electronic tag and sends them to the server as the electronic tag self-test information; The server stores the electronic tag verification information; the server is provided with a second algorithm, which is the same as the first algorithm; after receiving the electronic tag self-test information, the server parses the electronic tag self-test information by the second algorithm, and compares the parsing result with the pre-stored electronic tag verification information; if they match, the electronic tag self-test passes; if they do not match, the electronic tag self-test fails; The server writes the self-test results into a database and displays the self-test results on a server-side interface.

Citation Information

Patent Citations

  • Radio frequency tag capable of controlling read-write and monitoring method thereof

    CN101763526A

  • Anti-counterfeiting method based on radio frequency identification technology

    CN102063633A

  • Commodity anti-counterfeiting traceability system and method based on active radio frequency identification (RFID) technology

    CN102436596A

  • Authorization identifying and managing system and anti-counterfeiting method thereof

    CN102456148A

  • Anti-counterfeiting method and system based on radio frequency identification technology

    CN102955958A