Agricultural product anti-counterfeiting traceability system and method

By collecting multi-source information in the anti-counterfeiting traceability system of agricultural products and generating encrypted codes and converting them into QR codes and anti-counterfeiting codes, combined with cloud platform verification, the problems of data forgery and lack of dynamics in the existing technology are solved, and the authenticity of agricultural products is realized. Identification and quality traceability ensure uniqueness and traceability.

CN118586934APending Publication Date: 2024-09-03CHONGQING COLLEGE OF ELECTRONICS ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410807298.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing anti-counterfeiting traceability technologies for agricultural products have the risk of data forgery and lack of dynamics. They cannot reflect product production and circulation status in real time, resulting in poor traceability effects. They also rely on the security of websites or mini-programs and are easily attacked or tampered with.

Method used

An anti-counterfeiting traceability system for agricultural products is designed, including a data collection module, a cloud platform and an anti-counterfeiting traceability module. It generates a unique encrypted code by collecting multi-source information and converts it into a QR code and an anti-counterfeiting code. It is verified using the cloud platform to ensure the authenticity of the information. Uniqueness and traceability.

Benefits of technology

It realizes the authenticity identification and quality traceability of agricultural products, ensures the uniqueness, safety and traceability of agricultural products, avoids the problems of data forgery and static information, and provides real-time traceability capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586934A
    Figure CN118586934A
Patent Text Reader

Abstract

The invention relates to the technical field of agricultural product anti-counterfeiting, and discloses an agricultural product anti-counterfeiting traceability system and method, and the system comprises a data collection module which is used for collecting the multi-source information of agricultural products; the cloud platform is in communication connection with the data acquisition module and is used for receiving and storing the information uploaded by the data acquisition module; the anti-counterfeiting traceability module is in communication connection with the platform and is used for generating a two-dimensional code and an anti-counterfeiting code associated with the agricultural product information and storing the two-dimensional code and the anti-counterfeiting code in the cloud platform in an associated manner; and the consumer verification module is used for receiving a verification request sent by the consumer through scanning the two-dimensional code and the anti-counterfeiting code, and carrying out verification based on the information in the cloud platform. According to the anti-counterfeiting traceability system and method for the agricultural products, the multi-source information of the agricultural products is collected, fused and uploaded to the cloud platform; a consumer can trace the production process, the quality information, the geographical information of the production place and other data of the agricultural product by scanning the two-dimensional code and the anti-counterfeiting code on the product package so as to identify the authenticity of the agricultural product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of agricultural product anti-counterfeiting, and in particular to an agricultural product anti-counterfeiting tracing system and method. Background Art

[0002] In the process of agricultural product production and sales, food safety and quality issues have always been the most concerned issues for consumers. As consumers' requirements for food safety and quality increase, the anti-counterfeiting and traceability of agricultural products have gradually attracted widespread attention. However, the field of agricultural product anti-counterfeiting and traceability still faces many challenges.

[0003] Traditional technologies generally use the same barcode or watermark information to identify products, but this method has obvious limitations. First, due to the low cost of data forgery, this information is easily tampered with or forged, making it difficult for consumers to judge the authenticity and quality of the product. Second, this identification information is usually static and cannot reflect the production and circulation status of agricultural products in real time, which greatly reduces the traceability effect.

[0004] In order to improve the shortcomings of traditional technologies, some technologies have begun to use websites or WeChat applets to scan codes for traceability and anti-counterfeiting. However, this method also has some problems. On the one hand, the information after scanning the code is often static or identical, lacking dynamics and real-time, and is easy to be forged. On the other hand, the anti-counterfeiting effect of this method mainly depends on the security of the website or applet. Once the website or applet is hacked or tampered with, the anti-counterfeiting information will lose its reliability. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention proposes an agricultural product anti-counterfeiting and traceability system and method to solve the above technical problems.

[0006] In the first aspect, a system for tracing and anti-counterfeiting agricultural products is provided, comprising:

[0007] Data collection module, used to collect multi-source information of agricultural products;

[0008] A cloud platform, which is in communication with the data acquisition module and is used to receive and store information uploaded by the data acquisition module;

[0009] An anti-counterfeiting and traceability module, which is in communication with the cloud platform and is used to generate a QR code and an anti-counterfeiting code associated with the agricultural product information, and store them in association in the cloud platform;

[0010] The consumer verification module is connected to the cloud platform for receiving verification requests sent by consumers by scanning the QR code and the anti-counterfeiting code, and performing verification based on the information in the cloud platform.

[0011] Furthermore, the data acquisition module includes:

[0012] A production information collection unit, used to collect production information of agricultural products;

[0013] A processing information collection unit, used to collect processing information of agricultural products;

[0014] A packaging information collection unit, used to collect packaging information of agricultural products;

[0015] A circulation information collection unit, used to collect circulation information of agricultural products;

[0016] The sales information collection unit is used to collect sales information of agricultural products.

[0017] Furthermore, the cloud platform includes a data analysis module for analyzing the stored data and providing decision support for agricultural product production, sales and management.

[0018] Furthermore, the anti-counterfeiting traceability module includes:

[0019] An encryption code generation unit, used to generate a unique encryption code according to multi-source information of agricultural products;

[0020] A two-dimensional code generating unit, used for converting the encrypted code into a two-dimensional code;

[0021] The anti-counterfeiting code generating unit is used to generate an anti-counterfeiting code associated with the encryption code and to cover the anti-counterfeiting code with a coating.

[0022] In a second aspect, a method for tracing the source of agricultural products against counterfeiting is provided, which is based on the agricultural products anti-counterfeiting and tracing system described in any one of the above, and comprises the following steps:

[0023] Step S01, collecting multi-source information of agricultural products through a data collection module; uploading the collected information to a cloud platform;

[0024] Step S02: Generate a QR code and an anti-counterfeiting code associated with the agricultural product information in the cloud platform, and store the two in association;

[0025] Step S03: The consumer sends a verification request to the consumer verification module by scanning the QR code and the anti-counterfeiting code;

[0026] Step S04: The consumer verification module performs verification based on the information in the cloud platform and returns the verification result to the consumer.

[0027] Furthermore, step S01 also includes: collecting production information, processing information, packaging information, circulation information and sales information of agricultural products.

[0028] Furthermore, step S02 also includes the following steps:

[0029] Step S11, generating a unique encryption code according to multi-source information of agricultural products;

[0030] Step S12, converting the encrypted code into a QR code;

[0031] Step S13: Generate an anti-counterfeiting code associated with the encrypted code, and add a coating to the anti-counterfeiting code.

[0032] Furthermore, step S21 also includes the following steps:

[0033] Step A01, setting agricultural product codes, keys and password dictionaries;

[0034] Step A02, finding the value in the key corresponding to each bit in the agricultural product code;

[0035] Step A03, finding the index of the value corresponding to each bit in the agricultural product code in the password dictionary;

[0036] Step A04, circularly shift the index in the password dictionary to the right by the number of bits equal to the corresponding value in the key to obtain the encrypted agricultural product code.

[0037] Furthermore, step S04 also includes the following steps:

[0038] Step V01, performing a reverse cyclic shift operation on the encrypted agricultural product code according to the key;

[0039] Step V02: Restore the original code according to the password dictionary.

[0040] The invention adopting the above technical solution has the following advantages:

[0041] The present invention collects multi-source information of agricultural products and uploads it to the cloud platform after integration; consumers can trace the production process, quality information, geographical information of origin and other data of agricultural products by scanning the QR code and anti-counterfeiting code on the product packaging, thereby identifying the authenticity of agricultural products. The system and method can ensure the uniqueness, safety and traceability of agricultural products. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the specific implementation of the present invention, the following will briefly introduce the drawings required for use in the specific implementation. In all the drawings, each element or part is not necessarily drawn according to the actual scale.

[0043] Figure 1 This is a system architecture diagram of an agricultural product anti-counterfeiting and traceability system of the present invention;

[0044] Figure 2 A schematic diagram of an information recording method of an agricultural product anti-counterfeiting and traceability method of the present invention;

[0045] Figure 3 This is a flow chart of an agricultural product anti-counterfeiting and traceability method of the present invention;

[0046] Figure 4 A flowchart of coding and encryption in an agricultural product anti-counterfeiting and traceability method of the present invention;

[0047] Figure 5 The present invention provides a flowchart of encoding and decryption in an agricultural product anti-counterfeiting and traceability method. DETAILED DESCRIPTION

[0048] The following embodiments of the technical solution of the present invention are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.

[0049] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should be the common meanings understood by technicians in the field to which the present invention belongs. The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so as to implement the embodiments of the present disclosure described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. Unless otherwise specified, the term "multiple" means two or more. In the embodiments of the present disclosure, the character " / " indicates that the objects before and after are in an "or" relationship. For example, A / B means: A or B. The term "and / or" is a description of the association relationship of objects, indicating that there can be three relationships. For example, A and / or B means: A or B, or, A and B. The term "corresponding" can refer to an association relationship or a binding relationship, and A and B correspondingly refer to an association relationship or a binding relationship between A and B.

[0050] like Figure 1 to Figure 5 As shown, an agricultural product anti-counterfeiting and traceability system of the present invention comprises:

[0051] Data collection module, used to collect multi-source information of agricultural products;

[0052] The cloud platform is connected to the data acquisition module for receiving and storing the information uploaded by the data acquisition module;

[0053] The anti-counterfeiting and traceability module is connected to the cloud platform for generating a QR code and an anti-counterfeiting code associated with the agricultural product information, and storing the associated codes in the cloud platform;

[0054] The consumer verification module is connected to the cloud platform for receiving verification requests sent by consumers by scanning QR codes and anti-counterfeiting codes, and performing verification based on the information in the cloud platform.

[0055] Specifically, the traceability system generates a corresponding "encrypted code" for each minimum packaging unit of agricultural products, which is converted into a QR code, and generates a corresponding anti-counterfeiting code for each "encrypted code", and stores both in the system's database. At the same time, in the entire process, the corresponding staff of each link use the mobile phone H5 program to log in to the system, scan the code and write the agricultural product information that needs to be recorded in this link into the system database. The commodity barcode information is designed to be anti-counterfeit and cannot be tampered with at will. From production to transportation to final sales of agricultural products, the information of each link is recorded in the traceability system to ensure the uniqueness of agricultural products.

[0056] The system can achieve one-stop access through API and supports customization of the entire traceability process. It also provides a first-level entrance to the mobile H5 program. Consumers can use the scanning function of WeChat to quickly trace and verify the anti-counterfeiting of agricultural products.

[0057] Specifically, the present invention collects multi-source information of agricultural products and uploads it to the cloud platform after integration; consumers can trace the production process, quality information, geographical information of origin and other data of agricultural products by scanning the QR code and anti-counterfeiting code on the product packaging, thereby identifying the authenticity of agricultural products. The system and method can ensure the uniqueness, safety and traceability of agricultural products.

[0058] The data acquisition module includes:

[0059] A production information collection unit, used to collect production information of agricultural products;

[0060] A processing information collection unit, used to collect processing information of agricultural products;

[0061] A packaging information collection unit, used to collect packaging information of agricultural products;

[0062] A circulation information collection unit, used to collect circulation information of agricultural products;

[0063] The sales information collection unit is used to collect sales information of agricultural products.

[0064] Specifically, (1) in the seedling raising stage, it is necessary to record the seedling raising time, variety and quantity. In this stage, the staff can manually input the seedling raising variety, time, quantity and plug tray information, and generate a QR code for automatic transplanting identification;

[0065] (2) In the transplanting process, the transplanting time, plug tray, and planting tray information are read to achieve information correspondence;

[0066] (3) During the planting process, it is necessary to record information on agricultural operations, management, fertilization, and pesticide application;

[0067] (4) The harvesting process needs to record the harvesting time and planting tray information to achieve information correspondence;

[0068] (5) The packaging time and packaging weight are recorded and the corresponding QR code information is affixed to the packaging.

[0069] Public inquiry needs to meet the needs of consumers to trace the source of agricultural products through mobile phones. Traceability display information can be selectively open for display, such as company geographical information, origin introduction, sowing time, transplanting time, fertilization and pesticide information, harvest time, etc.

[0070] The cloud platform includes a data analysis module for analyzing stored data and providing decision support for agricultural product production, sales and management.

[0071] The anti-counterfeiting traceability module includes:

[0072] An encryption code generation unit, used to generate a unique encryption code according to multi-source information of agricultural products;

[0073] A two-dimensional code generating unit, used for converting the encrypted code into a two-dimensional code;

[0074] The anti-counterfeiting code generating unit is used to generate an anti-counterfeiting code associated with the encryption code and to cover the anti-counterfeiting code with a coating.

[0075] Specifically, each agricultural product code generated by the system is converted into a QR code, combined with the corresponding anti-counterfeiting code (covered with a coating), printed out and pasted on the agricultural product packaging. From production to sales, the subject of each link writes the information signature into the traceability system database with its own code. When the final consumer scans the code with WeChat, the information recorded in the circulation of all links of the agricultural product and the number of scans of the product packaging box can be obtained. If the information obtained by the consumer scanning the code does not match the information of the physical offline link, the problematic link can be quickly located, so as to provide evidence and hold the responsible party accountable.

[0076] In some other embodiments, a method for tracing the source of agricultural products against counterfeiting is provided, which is based on any of the above agricultural products against counterfeiting tracing systems, and includes the following steps:

[0077] Step S01, collecting multi-source information of agricultural products through a data collection module; uploading the collected information to a cloud platform;

[0078] Step S02: Generate a QR code and an anti-counterfeiting code associated with the agricultural product information in the cloud platform, and store the two in association;

[0079] Step S03: The consumer sends a verification request to the consumer verification module by scanning the QR code and the anti-counterfeiting code;

[0080] Step S04: The consumer verification module performs verification based on the information in the cloud platform and returns the verification result to the consumer.

[0081] In some embodiments, step S01 also includes: collecting production information, processing information, packaging information, circulation information and sales information of agricultural products.

[0082] In some embodiments, step S02 further includes the following steps:

[0083] Step S11, generating a unique encryption code according to multi-source information of agricultural products;

[0084] Step S12, converting the encrypted code into a QR code;

[0085] Step S13: Generate an anti-counterfeiting code associated with the encrypted code, and add a coating to the anti-counterfeiting code.

[0086] Specifically, the system generates an agricultural product code (minimum package) and a corresponding anti-counterfeiting code and stores them in a database. The agricultural product code consists of 22 digits, with each digit ranging from 0 to 9. The anti-counterfeiting code is a 6-digit random code, with each digit ranging from 0 to 9, A to Z.

[0087] Agricultural product codes:

[0088] The first to fourth digits represent the company codes registered in the system, ranging from 0001 to 9999. For example, 0001 represents an agricultural product company.

[0089] The 5th to 12th digits represent the year, month, and day, such as 20240616;

[0090] The 13th to 16th digits represent the agricultural product type from 0001 to 9999, such as 0001 for navel orange;

[0091] The 17th to 22nd digits represent the serial number of the smallest package of agricultural products, ranging from 000001 to 999999;

[0092] For example: 0001202406160001000100, which means the 000100th box of navel oranges produced by a certain agricultural product company on 20240616;

[0093] Given password dictionary is "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"

[0094] (The contents of the password dictionary in this embodiment are mainly used as examples and do not constitute a truly secure password);

[0095] Among them, the password dictionary only needs to be composed of 0 to 9, 10 numbers and 26 letters, and the arrangement of numbers and letters can be manually defined to ensure security.

[0096] The administrator sets a 6-digit key, with each digit ranging from 0 to 9, A to Z, such as "35B6A2", where the value of the number is itself, and the characters A to Z are converted to the numerical value of "10 to 35".

[0097] In some embodiments, step S21 further includes the following steps:

[0098] Step A01, setting agricultural product codes, keys and password dictionaries;

[0099] Step A02, finding the value in the key corresponding to each bit in the agricultural product code;

[0100] Step A03, finding the index of the value corresponding to each bit in the agricultural product code in the password dictionary;

[0101] Step A04, circularly shift the index in the password dictionary to the right by the number of bits equal to the corresponding value in the key to obtain the encrypted agricultural product code.

[0102] Specifically, the agricultural product coding encryption process is:

[0103] Suppose the agricultural product code is S, the value of each bit is S[i], i is the index of the corresponding position, ranging from 1 to 22;

[0104] Let the key be key, lkey be the key length, the value of each bit be key[k], k is the index of the corresponding position, ranging from 1 to 6;

[0105] Let the password dictionary be dict, ldict be the length of the password dictionary, the value of each bit be dict[d], d is the index of the corresponding position, ranging from 1 to 36;

[0106] Suppose the encrypted agricultural product code is P, the value of each bit is P[i], i is the index of the corresponding position, ranging from 1 to 22;

[0107] Step 1, find the value S[i] of the i-th position of the agricultural product code S;

[0108] Step 2: Find the value key[k] in the key key corresponding to S[i], where k=i(mod lkey), and the mod operation is a remainder operation;

[0109] Step 3: Find the index d of the value corresponding to S[i] in the password dictionary dict, so that dict[d] = S[i];

[0110] Step 4: Circularly shift dict[d] to the right by key[k] positions and find its corresponding value, i.e., dict[d+key[k](mod ldict)];

[0111] Step 5, the encrypted P[i]=dict[d+key[k](mod ldict)];

[0112] Step 6: Traverse i from 1 to 22 to obtain the encrypted agricultural product code.

[0113] In some embodiments, step S04 further includes the following steps:

[0114] Step V01, performing a reverse cyclic shift operation on the encrypted agricultural product code according to the key;

[0115] Step V02: Restore the original code according to the password dictionary.

[0116] Specifically, the agricultural product code decryption process is the opposite of the encryption process, decoding the scanned QR code to obtain the encrypted code.

[0117] The encrypted code is inversely operated (inverse cyclic shift operation) using the same key and password dictionary to recover the original agricultural product code.

[0118] Compare the restored original agricultural product codes with the original information stored in the cloud platform.

[0119] Based on the comparison results, a verification result is generated and returned to the consumer.

[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. An agricultural product anti-counterfeiting and traceability system, characterized in that: include: Data collection module, used to collect multi-source information of agricultural products; A cloud platform, which is in communication with the data acquisition module and is used to receive and store information uploaded by the data acquisition module; An anti-counterfeiting and traceability module, which is in communication with the cloud platform and is used to generate a QR code and an anti-counterfeiting code associated with the agricultural product information, and store them in association in the cloud platform; The consumer verification module is connected to the cloud platform for receiving a verification request sent by the consumer by scanning the QR code and the anti-counterfeiting code, and performing verification based on the information in the cloud platform.

2. The agricultural product anti-counterfeiting and traceability system according to claim 1, characterized in that: The data acquisition module comprises: A production information collection unit, used to collect production information of agricultural products; A processing information collection unit, used to collect processing information of agricultural products; A packaging information collection unit, used to collect packaging information of agricultural products; A circulation information collection unit, used to collect circulation information of agricultural products; The sales information collection unit is used to collect sales information of agricultural products.

3. The agricultural product anti-counterfeiting and traceability system according to claim 1, characterized in that: The cloud platform includes a data analysis module for analyzing stored data and providing decision support for agricultural product production, sales and management.

4. The agricultural product anti-counterfeiting and traceability system according to claim 1, characterized in that: The anti-counterfeiting traceability module includes: An encryption code generation unit, used to generate a unique encryption code according to multi-source information of agricultural products; A two-dimensional code generating unit, used for converting the encrypted code into a two-dimensional code; The anti-counterfeiting code generating unit is used to generate an anti-counterfeiting code associated with the encryption code and to cover the anti-counterfeiting code with a coating.

5. A method for tracing the source of agricultural products, characterized in that: The agricultural product anti-counterfeiting and traceability system according to any one of claims 1 to 4 comprises the following steps: Step S01, collecting multi-source information of agricultural products through a data collection module; uploading the collected information to a cloud platform; Step S02: Generate a QR code and an anti-counterfeiting code associated with the agricultural product information in the cloud platform, and store the two in association; Step S03: The consumer sends a verification request to the consumer verification module by scanning the QR code and the anti-counterfeiting code; Step S04: The consumer verification module performs verification based on the information in the cloud platform and returns the verification result to the consumer.

6. The agricultural product anti-counterfeiting and traceability method according to claim 5, characterized in that: Step S01 also includes: collecting production information, processing information, packaging information, circulation information and sales information of agricultural products.

7. The agricultural product anti-counterfeiting and traceability method according to claim 5, further comprising the following steps in step S02: Step S11, generating a unique encryption code according to multi-source information of agricultural products; Step S12, converting the encrypted code into a QR code; Step S13: Generate an anti-counterfeiting code associated with the encrypted code, and add a coating to the anti-counterfeiting code.

8. The agricultural product anti-counterfeiting and traceability method according to claim 7, further comprising the following steps in step S21: Step A01, setting agricultural product codes, keys and password dictionaries; Step A02, finding the value in the key corresponding to each bit in the agricultural product code; Step A03, finding the index of the value corresponding to each bit in the agricultural product code in the password dictionary; Step A04, circularly shift the index in the password dictionary to the right by the number of bits equal to the corresponding value in the key to obtain the encrypted agricultural product code.

9. The agricultural product anti-counterfeiting and traceability method according to claim 5, further comprising the following steps in step S04: Step V01, perform a reverse cyclic shift operation on the encrypted agricultural product code according to the key; Step V02, restore the original code according to the password dictionary.