Agricultural product safety anti-counterfeiting management and control system based on supply chain data

By adopting a safety and anti-counterfeiting control system based on supply chain data in the agricultural product supply chain, the anti-counterfeiting encoding is generated and encrypted, and the supply chain data is assigned and indexed, the problems of incomplete data and inaccurate traceability in the existing traceability system are solved, and efficient anti-counterfeiting control and full-process data traceability of agricultural products are achieved.

CN120146872AInactive Publication Date: 2025-06-13NANJING XIAOZHUANG UNIV +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510308172.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-14
Publication Date
2025-06-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traceability system of the existing agricultural product supply chain has problems such as incomplete data and inaccurate traceability, making it difficult to quickly and accurately locate the root cause of quality problems, and traditional data storage and management methods are difficult to adapt to dynamically changing supply chain data.

Method used

An agricultural product security anti-counterfeiting control system based on supply chain data is adopted, and anti-counterfeiting encoding is generated through an automatic encoder, and it is encoded and encrypted, divided into eight groups of partial encodings, and the encrypted encoding is output after reorganization. At the same time, the supply chain data is assigned and indexed through the storage path processing end, and a path index table is generated to achieve accurate traceability of agricultural product supply chain data.

Benefits of technology

It effectively improves the encryption of anti-counterfeiting encoding, which is difficult to forge, ensures that the authenticity of agricultural products is distinguishable, and safeguards consumer rights and market order. At the same time, accurate traceability of data from production to sales is achieved, which facilitates quality control and problem traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120146872A_ABST
    Figure CN120146872A_ABST
Patent Text Reader

Abstract

The invention discloses an agricultural product safety anti-counterfeiting management and control system based on supply chain data, relates to the technical field of agricultural product anti-counterfeiting management and control, and solves the problem that the encryption of an original anti-counterfeiting code is not strong enough. The anti-counterfeiting two-dimensional code and the bar code generated by the anti-counterfeiting code generation end have uniqueness and are difficult to copy. The code encryption processing end encrypts and reorganizes the anti-counterfeiting code based on the numerical characteristics of the bar code, and disrupts the structure of the original two-dimensional code through complex segmentation, assignment, sorting and other operations, so that the counterfeiting difficulty is greatly improved, the authenticity of agricultural products is effectively ensured to be distinguishable, and the rights and interests of consumers and the market order are maintained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of anti-counterfeiting control of agricultural products, and specifically to an agricultural product safety anti-counterfeiting control system based on supply chain data. Background Art

[0002] In today's society, the safety and quality of agricultural products have attracted more and more attention from the public. With the improvement of people's living standards, the demand for agricultural products has changed from simply meeting the quantity to strict requirements for quality and safety. However, the current agricultural product supply chain faces many challenges.

[0004] There are many links in the agricultural product supply chain. From the planting or breeding source, through processing, warehousing, transportation, and finally to the sales terminal, each link may affect the quality and safety of agricultural products. However, the existing traceability systems often have problems such as incomplete data and inaccurate traceability. Some traceability systems can only record information on some key links. Once quality problems occur in agricultural products, it is difficult to quickly and accurately locate the root cause of the problem, and it is impossible to achieve full-process traceability from farm to table.

[0005] In addition, as the business develops, the supply chain data of agricultural products continues to grow and change. Traditional data storage and management methods are difficult to adapt to this dynamic change. Data in different links may be stored separately, lacking an effective integration and indexing mechanism, resulting in low efficiency of data query and call, and unable to provide timely and effective support for the quality control and market decision-making of agricultural products. Based on the above background, it is particularly urgent to develop an agricultural product safety anti-counterfeiting control system based on supply chain data;

[0006] The application with the publication number CN103325041B discloses an agricultural product safety supply chain anti-counterfeiting control system, which includes an agricultural product quality traceability information management platform, an agricultural product production control subsystem, a production material supply chain control subsystem, a product quality control subsystem, a product distribution control subsystem, and a communication network. The agricultural product quality traceability information management platform, the agricultural product production control subsystem, the production material supply chain control subsystem, the product quality control subsystem, and the product distribution control subsystem are respectively connected to the communication network. The present invention takes the agricultural product quality traceability information management platform as the core, supports the relevant equipment of other systems, receives, aggregates, analyzes, and evaluates the information data of other subsystems, and constructs an agricultural product safety supply chain full-process anti-counterfeiting control system;

[0007] The anti-counterfeiting code associated with the agricultural product does not set specific encryption means, resulting in insufficient encryption of the anti-counterfeiting code, and it is very easy to modify the information associated with the corresponding agricultural product, resulting in incorrect information. Summary of the Invention

[0008] In view of the deficiencies of the prior art, the present invention provides an agricultural product safety and anti-counterfeiting control system based on supply chain data, which solves the problem that the encryption of the original anti-counterfeiting code is not strong enough.

[0009] To achieve the above objectives, the present invention is realized through the following technical solutions: An agricultural product safety and anti-counterfeiting control system based on supply chain data, comprising:

[0010] An anti-counterfeiting code generation end, which uses an autoencoder to generate an anti-counterfeiting code associated with the corresponding agricultural product;

[0011] A coding encryption processing end, which encrypts the generated anti-counterfeiting code, divides the anti-counterfeiting code into eight groups of partial codes on average, and then based on the specific numerical characteristics of the bar code, recombines the eight groups of partial codes to obtain a recombined encrypted code, and outputs it through the encrypted code output end. The specific method is as follows:

[0012] Based on the bar code included in the anti-counterfeiting code, remove the letter items from the bar code, retain the digital items, and keep the sorting method of the digital items unchanged to confirm the digital item sorting code;

[0013] Confirm the total number G of the digital item sorting codes, and make G÷8=Tz to confirm the encryption characteristic value. If the encryption characteristic value is an integer, no processing is required. If the encryption characteristic value does not belong to an integer, round the encryption characteristic value, and use the rounded value as the confirmed encryption characteristic value. If Tz<1, directly generate an error signal and output it;

[0014] According to the confirmed encryption characteristic value Tz, process the digital item sorting code: Select numerical values from the digital item sorting code according to the selection method from front to back. First, select Tz numerical values as the first numerical characteristic, and then select Tz numerical values in turn and confirm the numerical characteristics in turn. And so on, until 7 groups of Tz numerical characteristics are selected, and the last remaining numerical value is used as the last selected numerical characteristic, and the selected numerical characteristics are marked, and the characteristic mark is consistent with which time the corresponding numerical characteristic is selected;

[0015] Divide the generated anti-counterfeiting two-dimensional code into four equal parts, confirm the center points of the four sides of the anti-counterfeiting two-dimensional code, and then connect the center points in a symmetric state to divide the anti-counterfeiting two-dimensional code into four equal parts. Then, reconnect the center points associated with each different equal part, and divide the partial codes corresponding to the different equal parts into two partial codes again. Therefore, the anti-counterfeiting two-dimensional code is divided into eight equal parts of partial codes;

[0016] Then, assign values to the evenly divided partial codes. Assign values to the four groups of upper partial codes from left to right in sequence: 1, 2, 3, 4, and assign values to the four groups of lower partial codes from left to right in sequence: 5, 6, 7, 8. Each group of different partial codes has different assigned values. Confirm the characteristic identifiers corresponding to the assigned values, and use the numerical characteristics associated with the corresponding characteristic identifiers as the coding characteristics of this partial code;

[0017] According to the different coding characteristics associated with different partial codes, sort the coding characteristics in ascending order of numerical values, synchronously sort the positions of the partial codes, and recombine the sorted partial codes to obtain the recombined encrypted code;

[0018] The storage path processing end stores the supply chain data associated with this agricultural product, assigns values to the path nodes of the storage path, locks the assignment sequence associated with the corresponding storage location, and then integrates the assignment sequence with the bar code of this agricultural product to generate a path index table for the corresponding batch. The specific method is as follows:

[0019] Assign values to the storage locations at the same level in the cloud database. Different storage locations at the same level correspond to different assigned values. If there are newly added storage locations, new assignments are constructed. Each different assignment has the letter "w" as a subscript below;

[0020] Based on the supply chain data associated with the corresponding agricultural product, directly store this supply chain data at the specified storage location in the cloud database. After storage, confirm the storage path of the supply chain data of the corresponding agricultural product corresponding to the storage location, confirm the different storage locations associated with this storage path at different levels, and based on the assignments associated with the corresponding storage locations, sort the assignments associated with each different storage location in the order from the large level to the small level to confirm the assignment sequence belonging to this supply chain data;

[0021] Then, match the bar code associated with this agricultural product with this assignment sequence, and use the same matching method for the agricultural products associated with this batch to generate a path index table for this batch and store the path index table.

[0022] Preferably, the anti-counterfeiting code includes an anti-counterfeiting QR code and a bar code, and the bar code is located below the anti-counterfeiting QR code.

[0023] Preferably, the encrypted code output end outputs the recombined encrypted code and bundles the output encrypted code with the associated agricultural product.

[0024] Preferably, it further includes:

[0025] The associated data index input end extracts the supply chain data of such agricultural products and conducts anti-counterfeiting identification, decrypts the encrypted code of the agricultural products, confirms the decrypted anti-counterfeiting QR code, and then based on this bar code and the path index table, confirms the storage location of this agricultural product supply chain data. The specific method is as follows:

[0026] Based on the associated bar code, eliminate the letter items, retain the digital items, and keep the sorting method of the digital items unchanged to confirm the sorted digital item code;

[0027] Then, according to the encoding and encryption processing end to confirm the numerical features and feature identifiers, sort them in ascending order according to the numerical features to confirm the sorted sequence;

[0028] Adopt the same processing method as the encoding and encryption processing end, divide the encrypted code into eight groups of partial codes, and synchronously assign values to the eight groups of partial codes to confirm the sorting rankings of different numerical features in the sorted sequence. Take the numerical features with consistent sorting rankings and assigned values as the decryption features of this partial code;

[0029] According to the sorting method of the sorted digital item code, re-sort the decryption features so that the decryption features are sorted in the same sorting method as the sorted digital item code, and synchronously adjust the positions of the partial codes to obtain the decrypted anti-counterfeiting QR code;

[0030] Identify this anti-counterfeiting QR code to confirm the identification barcode. If the barcode is consistent with the bar code, perform data index output. If the barcode is not consistent with the bar code, generate an error signal for display;

[0031] Combined with the path index table, confirm the assigned sequence associated with the bar code. Based on this assigned sequence, quickly lock the storage location of the supply chain data, and index and display the relevant supply chain data at the specified storage location.

[0032] The present invention provides an agricultural product safety and anti-counterfeiting control system based on supply chain data. Compared with the prior art, it has the following beneficial effects:

[0033] The present invention adopts a unique anti-counterfeiting code generation and encryption mechanism. The anti-counterfeiting QR code and bar code generated by the anti-counterfeiting code generation end are unique and difficult to be copied. The encoding and encryption processing end encrypts and reorganizes the anti-counterfeiting code based on the numerical features of the bar code. Through complex operations such as splitting, assignment, and sorting, the original QR code structure is disrupted, greatly increasing the difficulty of forgery, effectively ensuring the authenticity of agricultural products, and safeguarding the rights and interests of consumers and the market order;

[0034] The storage path processing end conducts detailed assignment and index management on the storage locations of agricultural product supply chain data. By generating a path index table, closely associating the storage locations of supply chain data with the barcodes of agricultural products, it can quickly locate the corresponding supply chain data based on the barcodes, realizing precise traceability of data throughout the entire process from production to sales, facilitating quality control and problem tracing. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a schematic diagram of the principle framework of the present invention;

[0036] Figure 2 It is a schematic diagram of the encryption of the anti-counterfeiting code of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0037] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0038] The First Embodiment

[0039] Please refer to Figure 1 , this application provides an agricultural product safety anti-counterfeiting control system based on supply chain data, including an anti-counterfeiting code generation end, a code encryption processing end, an encrypted code output end, a storage path processing end, an associated data index entry end, and a cloud database;

[0040] Among them, the anti-counterfeiting code generation end is electrically connected to the input node of the code encryption processing end, and the code encryption processing end is electrically connected to the input node of the encrypted code output end. Moreover, both the encrypted code output end and the storage path processing end are electrically connected to the input node of the associated data index entry end, and the associated data index entry end, the cloud database, and the storage path processing end are electrically connected in sequence from the output node to the input node;

[0041] Among them, the anti-counterfeiting code generation end uses an autoencoder to generate the anti-counterfeiting code associated with the corresponding agricultural product and transmits the generated anti-counterfeiting code to the code encryption processing end. Its anti-counterfeiting code includes an anti-counterfeiting QR code and a barcode, and the barcode is located below the anti-counterfeiting QR code. The manifestation form of the barcode is generally K9F3Y7R2T6H5B8V4 (only for example). The anti-counterfeiting codes associated with different products generated at different time nodes are all different, and both its anti-counterfeiting QR code and barcode are different;

[0042] Among them, the encoding and encryption processing end encodes and encrypts the generated anti-counterfeiting code, divides the anti-counterfeiting code into eight groups of partial codes evenly, and then recombines the eight groups of partial codes based on the specific numerical characteristics of the bar code to obtain the recombined encrypted code, and outputs it through the encrypted code output end. Among them, the specific method of encoding and encryption is as follows:

[0043] Based on the bar code included in the anti-counterfeiting code, remove the letter items from the bar code, retain the numerical items, and keep the sorting method of the numerical items unchanged to confirm the numerical item sorting code (generally an eight-digit number, and the specific total number of codes is determined according to the coding method of the corresponding bar code);

[0044] Confirm the total number G of the numerical item sorting code, and make G÷8=Tz to confirm the encryption characteristic value. If the encryption characteristic value is an integer, no processing is required. If the encryption characteristic value is not an integer, round the encryption characteristic value, and use the rounded value as the confirmed encryption characteristic value (specifically, assume that the determined encryption characteristic value is 1, then no processing is required. If the determined encryption characteristic value is 1.XX, then take the value 1 as the confirmed encryption characteristic value). If Tz<1, directly generate and output an error signal. When the error signal exists, it represents a state where encryption cannot be performed, that is, the total number of values in the numerical item sorting code is less than 8 digits, so the anti-counterfeiting code cannot be divided into eight groups of partial codes. Only when the total number is higher than or equal to 8 digits can the anti-counterfeiting code be divided into eight groups.

[0045] According to the confirmed encryption eigenvalue Tz, process the digital item sorting code: Select numerical values from the digital item sorting code according to the selection method from front to back. First, preferentially select Tz numerical values as the first numerical feature, and then successively select Tz numerical values and confirm the numerical features in turn. And so on. After selecting 7 groups of Tz numerical features, use the last remaining numerical value as the last selected numerical feature, and perform feature identification on the selected numerical features. The feature identification is consistent with the number of times the corresponding numerical feature is selected (that is, if the corresponding numerical feature is selected for the first time, then its feature identification is 1; if its numerical feature is selected for the last time, then its feature identification is 8). Example: Taking the bar code K9F3Y7R2T6H5B8V4 as an example, select the digital item sorting code 93726584. Then the total number of digits of this digital item sorting code is 8, and the confirmed encryption eigenvalue is 1. Then numerical values can be successively selected backward to confirm the corresponding numerical features. The confirmed numerical features are successively: 9, 3, 7, 2, 6, 5, 8, 4. Among them, the feature identification of the first group of numerical value 9 is 1, and the feature identification of the last group of numerical value 4 is 4. Suppose the selected digital item sorting code is 937265841. Then numerical values are successively selected backward to confirm the corresponding numerical features. The confirmed numerical features are successively: 9, 3, 7, 2, 6, 5, 8, 41. Since the last group of numerical value 41 belongs to the numerical value in the eighth digit, it can be directly selected;

[0046] Divide the generated anti-counterfeiting QR code into four equal parts, confirm the center points of the four sides of the anti-counterfeiting QR code, then connect the center points in a symmetric state, so that the anti-counterfeiting QR code is divided into four equal parts. Then reconnect the center points associated with each different equal part, and divide the corresponding part code of each different equal part into two part codes again. Therefore, the anti-counterfeiting QR code is divided into eight part codes, as Figure 2 shown. First, according to the four sides of the anti-counterfeiting QR code, confirm the center point of each side, and then connect the center points in a symmetric state. First, divide the anti-counterfeiting QR code into four parts, and then interconnect the center points existing in each part to confirm eight part codes;

[0047] Then assign values to the evenly divided part codes. Assign values to the four groups of upper part codes from left to right in turn: 1, 2, 3, 4. Assign values to the four groups of lower part codes from left to right in turn: 5, 6, 7, 8. Each group of different part codes has a different assigned value. Confirm the feature identification corresponding to the assigned value, and use the numerical feature associated with the corresponding feature identification as the coding feature of this part code. Example: The assigned value of the first group of part codes is 1, which corresponds to the numerical feature with the feature identification of 1. Its numerical feature is the confirmed numerical value 9. The assigned value of the second group of part codes is 2, which corresponds to the numerical feature with the feature identification of 2. Its numerical feature is the confirmed numerical value 3;

[0048] According to the different coding features associated with different partial codes, sort the coding features in ascending order of numerical value, synchronously sort the positions of the partial codes, recombine the sorted partial codes, and obtain the recombined encrypted code (compared with the original two-dimensional code, the specific two-dimensional code part inside it has been related transformations and adjustments, but the scrambling and encryption method is encrypted according to the corresponding bar code).

[0049] Second Embodiment

[0050] Among them, the encrypted code output end outputs the recombined encrypted code and bundles the output encrypted code with the associated agricultural products;

[0051] Among them, the storage path processing end stores the supply chain data associated with this agricultural product, assigns values to the path nodes of the storage path, locks the assignment sequence associated with the corresponding storage location, and then integrates the assignment sequence with the bar code of this agricultural product to generate a path index table for the corresponding batch. The specific method for generating the path index table is as follows:

[0052] Assign values to the storage locations at the same level in the cloud database. Different storage locations at the same level correspond to different assignments. If there are new storage locations, new assignments are constructed. Each different assignment is subscripted with the letter "w" below. For example, for the first storage location, this computer includes four different existing blocks, namely the C drive, D drive, E drive, and F drive. Then each drive is assigned a different value, and the storage locations at the same level within the C drive are assigned values again, and so on;

[0053] Based on the supply chain data associated with the corresponding agricultural product, directly store such supply chain data at the specified storage location in the cloud database (the storage location is determined by the system itself). After storage, confirm the storage path of the supply chain data corresponding to the agricultural product, confirm the different storage locations associated with this storage path at different levels, and based on the assignments associated with the corresponding storage locations, sort the assignments associated with each different storage location in the order from the large level to the small level, and confirm the assignment sequence belonging to this supply chain data. For example, the storage location of a supply chain data is: C drive / user / Administrator / local / share / this location. Assume the assignment of the C drive is 1, and the subsequent assignments of different storage locations are 2, 11, 8, 7 respectively. Therefore, the assignment sequence associated with this storage location is 1 w 2 w 11 w 8 w 7 w ;

[0054] Then, the barcode associated with the agricultural product is matched with the assignment sequence, and the agricultural products associated with this batch are processed in the same matching manner to generate a path index table belonging to this batch, and the path index table is stored.

[0055] Among them, the associated data index entry end extracts the supply chain data of such agricultural products and performs anti-counterfeiting identification, decrypts the encrypted code of the agricultural products, confirms the decrypted anti-counterfeiting QR code, and then confirms the storage location of the agricultural product supply chain data based on the bar code and the path index table, and indexes it. The specific method of indexing is:

[0056] Based on the associated barcodes, remove the letter items, retain the numeric items, and keep the numeric item sorting method unchanged, confirming the numeric item sorting code;

[0057] Then, the numerical features and feature identifiers are confirmed according to the encoding and encryption processing end, and the numerical features are sorted in ascending order to confirm the sorting sequence;

[0058] The encrypted code is divided into eight groups of partial codes in the same processing method as the code encryption processing end, and the eight groups of partial codes are assigned values ​​simultaneously. The ranking of different numerical features in the sorting sequence is confirmed, and the numerical feature with the same ranking and assignment is used as the decryption feature of this partial code;

[0059] According to the sorting method of the digital item sorting code, the decryption features are re-sorted so that the decryption features are sorted in the same way as the digital item sorting code, and the positions of some codes are adjusted simultaneously to obtain the decrypted anti-counterfeiting QR code;

[0060] Identify the anti-counterfeiting QR code and confirm the identification barcode. If the barcode is consistent with the barcode, the data index is output. If not, an error signal is generated for display (indicating an error).

[0061] Combined with the path index table, the assignment sequence associated with the barcode is confirmed. Based on this assignment sequence, the storage location of the supply chain data is quickly locked, and the relevant supply chain data of the specified storage location is indexed and displayed.

[0062] Some of the data in the above formulas are dimensionless and numerically calculated. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.

[0063] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. The agricultural product safety and anti-counterfeiting control system based on supply chain data is characterized by: include: The anti-counterfeiting code generation end uses an automatic encoder to generate the anti-counterfeiting code associated with the corresponding agricultural product; The encoding and encryption processing end performs encoding and encryption on the generated anti-counterfeiting code, so that the anti-counterfeiting code is evenly divided into eight groups of partial codes, and then based on the specific numerical characteristics of the bar code, the eight groups of partial codes are reorganized to obtain the reorganized encrypted code, and output it through the encryption code output end; The storage path processing end stores the supply chain data associated with the agricultural product, assigns values ​​to the path nodes of the storage path, locks the assignment sequence associated with the corresponding storage location, and then integrates the assignment sequence with the barcode of the agricultural product to generate a path index table for the corresponding batch.

2. The agricultural product safety and anti-counterfeiting management and control system based on supply chain data according to claim 1 is characterized in that: The anti-counterfeiting code includes an anti-counterfeiting two-dimensional code and a bar code, and the bar code is located below the anti-counterfeiting two-dimensional code.

3. The agricultural product safety and anti-counterfeiting management and control system based on supply chain data according to claim 2 is characterized in that: The specific method of encoding and encrypting the anti-counterfeiting code at the encoding and encryption processing end is: Based on the barcode included in the anti-counterfeiting code, remove the letter items from the barcode, retain the numeric items, and keep the order of the numeric items unchanged, and confirm the order code of the numeric items; Confirm the total number G of the digital item sorting codes, so that G÷8=Tz confirms the encrypted characteristic value. If the encrypted characteristic value is an integer, no processing is required. If the encrypted characteristic value is not an integer, the encrypted characteristic value is rounded and the rounded value is used as the confirmed encrypted characteristic value. If Tz<1, an error signal is directly generated and output; According to the confirmed encrypted feature value Tz, the digital item sorting code is processed: the numerical value is selected from the digital item sorting code according to the selection method from front to back, Tz numerical values ​​are preferentially selected as the first numerical feature, and then Tz numerical values ​​are selected in sequence and the numerical features are confirmed in sequence, and so on. After 7 groups of Tz numerical features are selected, the last remaining value is used as the last selected numerical feature, and the selected numerical features are marked with features. Its feature identifier is consistent with the value of the corresponding numerical feature at the time of selection; The generated anti-counterfeiting QR code is divided into four equal parts, the center points of the four sides of the anti-counterfeiting QR code are confirmed, and then the center points belonging to the symmetrical state are connected to divide the anti-counterfeiting QR code into four equal parts, and then the center points associated with each different equal part are reconnected, and the partial codes corresponding to the different equal parts are divided into two partial codes again, so the anti-counterfeiting QR code is divided into eight equal partial codes; Then assign values ​​to the equally divided partial codes. The four groups of partial codes on the top are assigned values ​​from left to right: 1, 2, 3, 4, and the four groups of partial codes on the bottom are assigned values ​​from left to right: 5, 6, 7, 8. Each group of different partial codes has a different value. Confirm the feature identifier corresponding to the corresponding value, and use the numerical feature associated with the corresponding feature identifier as the coding feature of this partial code. According to different coding features associated with different partial codes, the coding features are sorted in ascending order according to the numerical values, the positions of the partial codes are sorted simultaneously, and the sorted partial codes are recombined to obtain the recombined encrypted code.

4. The agricultural product safety and anti-counterfeiting management and control system based on supply chain data according to claim 1 is characterized in that: The encryption code output terminal outputs the reorganized encryption code and bundles the output encryption code with the associated agricultural products.

5. The agricultural product safety and anti-counterfeiting management and control system based on supply chain data according to claim 1 is characterized in that: The storage path processing end generates the path index table in the following specific manner: Assign values ​​to storage locations of the same level in the cloud database. Different storage locations in the same level correspond to different values. If there are new storage locations, construct new values. Different values ​​are subscripted with the letter "w"; Based on the supply chain data associated with the corresponding agricultural products, such supply chain data is directly stored in a designated storage location in the cloud database. After storage is completed, the storage path of the storage location corresponding to the agricultural product supply chain data is confirmed, and the different storage locations associated with this storage path in different levels are confirmed. Based on the assignments associated with the corresponding storage locations, the assignments associated with each different storage location are sorted in a large-level to small-level sorting manner to confirm the assignment sequence belonging to this supply chain data; Then, the barcode associated with the agricultural product is matched with the assignment sequence, and the agricultural products associated with this batch are processed in the same matching manner to generate a path index table belonging to this batch, and the path index table is stored.

6. The agricultural product safety and anti-counterfeiting management and control system based on supply chain data according to claim 5 is characterized in that: Also includes: At the associated data index entry end, the supply chain data of such agricultural products is extracted and anti-counterfeiting identification is performed, the encrypted code of the agricultural products is decrypted, the decrypted anti-counterfeiting QR code is confirmed, and then the storage location of the agricultural product supply chain data is confirmed based on the bar code and the path index table.

7. The agricultural product safety and anti-counterfeiting management and control system based on supply chain data according to claim 6 is characterized in that: The specific method of indexing supply chain data at the associated data index entry end is as follows: Based on the associated barcodes, remove the letter items, retain the numeric items, and keep the numeric item sorting method unchanged, confirming the numeric item sorting code; Then, the numerical features and feature identifiers are confirmed according to the encoding and encryption processing end, and the numerical features are sorted in ascending order to confirm the sorting sequence; The encrypted code is divided into eight groups of partial codes in the same processing method as the code encryption processing end, and the eight groups of partial codes are assigned values ​​simultaneously. The ranking of different numerical features in the sorting sequence is confirmed, and the numerical feature with the same ranking and assignment is used as the decryption feature of this partial code; According to the sorting method of the digital item sorting code, the decryption features are re-sorted so that the decryption features are sorted in the same way as the digital item sorting code, and the positions of some codes are adjusted simultaneously to obtain the decrypted anti-counterfeiting QR code; Identify the anti-counterfeiting QR code and confirm the identification barcode. If the barcode is consistent with the barcode, the data index is output; Combined with the path index table, the assignment sequence associated with the barcode is confirmed. Based on this assignment sequence, the storage location of the supply chain data is quickly locked, and the relevant supply chain data of the specified storage location is indexed and displayed.

8. The agricultural product safety and anti-counterfeiting management and control system based on supply chain data according to claim 7 is characterized in that: If the barcode does not match the barcode, an error signal is generated.

Citation Information

Patent Citations

  • Anti-counterfeiting control system for safe supply chain of agricultural products

    CN103325041B