Product tracing system and method based on information carried by food packaging

By deploying edge computing nodes in the supply chain nodes of food packaging, non-critical information is retained locally, the problem of high load on the blockchain network is solved, fast and efficient product traceability is achieved, and blockchain query efficiency is improved.

CN117172802BActive Publication Date: 2024-11-19HUNAN FENGLE NEW MATERIAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311134664.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-05
Publication Date
2024-11-19
Estimated Expiration
2043-09-05

AI Technical Summary

Technical Problem

When the existing product traceability technology based on the information carried by food packaging passes through blockchain technology, a large amount of information needs to be written into the blockchain, resulting in a high load on the blockchain network and it is difficult to quickly information stored in the blockchain. Query.

Method used

By deploying edge computing nodes in the supply chain nodes of food packaging, non-critical information on product traceability is retained at the local edge computing nodes, and key information on product traceability is written to the blockchain, using smart contracts and RFID chips for data query and communication. Reduce the storage pressure of blockchain and improve query efficiency.

Benefits of technology

It reduces the storage pressure and query cost of blockchain, improves data query and access speed, reduces the load of blockchain network, and achieves faster and more efficient product traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117172802B_ABST
    Figure CN117172802B_ABST
Patent Text Reader

Abstract

The present invention discloses a product tracing system and method based on the information carried by food packaging, including: a product data collection module: through the MES system and sensor equipment, real-time collection of production data in the product production process; a transportation management module: used to collect logistics data of the product during transportation; a product supply chain node: a product supply chain node is set at the physical location of each link of the supply chain, and each product supply chain node deploys an edge computing node, and the product supply chain node writes the key information of product tracing to the blockchain through the data transmission module, and retains the non-key information of product tracing in the corresponding edge computing node of the supply chain node; a data transmission module: used to enable the product supply chain node to communicate and connect through the blockchain network. Retaining the non-key information of tracing on the edge computing node can share the load of the blockchain and improve the overall performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of product tracing, and in particular to a product tracing system and method based on information carried by food packaging. Background Art

[0002] Product traceability based on the information carried by food packaging is a method of tracing the production, circulation and sales process of food by collecting, recording and managing relevant information on food packaging. Usually, relevant information such as production date, production batch, supplier information, etc. is obtained from food packaging through technical means such as labels and QR codes. This information is the key data for product traceability and is used to track the source and production history of the product; the obtained information is recorded, managed and stored. Technical means such as databases and cloud platforms can be used to ensure the accuracy and traceability of the data. At the same time, the data is classified, indexed and encrypted for subsequent query and analysis. For example, consumers can obtain product information by scanning the QR code on the package, and suppliers can provide traceability data to food regulatory authorities.

[0003] The existing product traceability technology based on the information carried by food packaging needs to write a large amount of information into the blockchain when tracing products through blockchain technology, resulting in a high load on the blockchain network. At the same time, some information that needs to be frequently accessed during the production process of some products is stored in the blockchain, and it is difficult to quickly query this information. Summary of the invention

[0004] The purpose of the present invention is to provide a product tracing system and method based on the information carried by food packaging to solve the following technical problems:

[0005] The existing product traceability technology based on the information carried by food packaging requires a large amount of information to be written into the blockchain when product traceability is performed through blockchain technology, resulting in a high load on the blockchain network.

[0006] The purpose of the present invention can be achieved through the following technical solutions:

[0007] The product traceability system based on the information carried by food packaging includes:

[0008] Product data collection module: collects production data in real time during the production process through the MES system and sensor equipment;

[0009] Transportation management module: used to collect logistics data of products during transportation;

[0010] Product supply chain nodes: Product supply chain nodes are set up at the physical locations of each link of the supply chain. Each product supply chain node deploys an edge computing node. The product supply chain node writes the key information of product traceability into the blockchain through the data transmission module, and retains the non-key information of product traceability in the corresponding edge computing node of the supply chain node;

[0011] Data transmission module: used to enable product supply chain nodes to communicate through the blockchain network;

[0012] Data query and traceability module: query the unique traceability code of the product by identifying the RFID chip embedded in the food packaging, and query the key product traceability information of the product by entering the unique traceability code of the product on the query platform.

[0013] As a further solution of the present invention: the product data acquisition module collects production data in real time during the product production process, including: production and packaging equipment operating status, temperature, humidity, shelf life end date, raw material batch data, production batch data and product factory inspection data.

[0014] As a further solution of the present invention: a transportation management module is set at each transfer station of the product transportation route, and a transportation management module is set at each transfer station of the product transportation route. The transportation management module collects temperature, humidity, location, and shelf life end date data of the product during transportation and storage at the transfer station as logistics data during product transportation.

[0015] As a further solution of the present invention: product supply chain nodes are deployed at the physical locations of the production, transportation and sales links of the supply chain. The production link of the supply chain sets the product production workshops and warehouses as product supply chain nodes, the transportation link of the supply chain sets the various transit points of the product transportation route as product supply chain nodes, and the sales link of the supply chain sets the places where products are sold as product supply chain nodes.

[0016] As a further solution of the present invention: the key information of product traceability includes: raw material batch data, production batch data and product factory inspection data in production data, and location data in logistics data; the non-key information of product traceability includes: production and packaging equipment operation status, temperature, humidity and shelf life end date data in production data, and temperature and humidity of transit station transportation and storage in logistics data;

[0017] Among them, non-critical product traceability information stored in the local edge computing node is automatically deleted after the expiration date of the shelf life.

[0018] As a further solution of the present invention: the data query and traceability module interacts with the blockchain network by inputting the unique traceability code of the product, and traces and queries the raw material batch data, production batch data and product factory inspection data in the production data of the product, as well as the location data in the logistics data.

[0019] As a further solution of the present invention: the data transmission module enables the product supply chain nodes to communicate through the blockchain network, including the following steps:

[0020] Each product supply chain node establishes a connection with the blockchain network through the deployed management agent;

[0021] Create a smart contract on the blockchain, which is used to define the communication rules and message format between product supply chain nodes;

[0022] The Web3.js library is deployed in the product production node in the product supply chain node. The product production node interacts with the smart contract in the Ethereum network through the Web3.js library to call the smart contract function. The product production node authenticates other nodes in the same product supply chain through the smart contract function.

[0023] By defining a permission modifier in the smart contract, only the address of the authenticated node can be granted the permission modifier. The authenticated node executes the function in the smart contract by calling the permission modifier and communicates with other authenticated nodes.

[0024] Product supply chain nodes encrypt messages when sending and receiving messages through the deployed management agent, and verify the identity of the product supply chain nodes that send and receive messages.

[0025] The product traceability method based on the information carried by food packaging includes the following steps:

[0026] S1: Real-time collection of production data during product production and logistics data during transportation;

[0027] S2: Set up product supply chain nodes at the physical locations of each link in the supply chain, deploy edge computing nodes at each product supply chain node, and enable the product supply chain nodes to communicate and connect through the blockchain network;

[0028] S3: The product supply chain node writes the key product traceability information in the production data and logistics data into the blockchain through the data transmission module, and retains the non-key product traceability information in the production data and logistics data in the corresponding edge computing node of the supply chain node;

[0029] S4: The unique traceability code of the product is queried by identifying the RFID chip embedded in the food packaging, and the key information of product traceability is queried.

[0030] As a further solution of the present invention: Step S2 comprises the following steps:

[0031] Set up product supply chain nodes at the physical locations of each link in the supply chain, deploy edge computing nodes at each product supply chain node, and establish a connection between each product supply chain node and the blockchain network through the deployed management agent;

[0032] Create a smart contract on the blockchain, which is used to define the communication rules and message format between product supply chain nodes;

[0033] The Web3.js library is deployed in the product production node in the product supply chain node. The product production node interacts with the smart contract in the Ethereum network through the Web3.js library to call the smart contract function. The product production node authenticates other nodes in the same product supply chain through the smart contract function.

[0034] By defining a permission modifier in the smart contract, only the address of the authenticated node can be granted the permission modifier. The authenticated node executes the function in the smart contract by calling the permission modifier and communicates with other authenticated nodes.

[0035] As a further solution of the present invention: Step S3 comprises the following steps:

[0036] Establish a connection with the blockchain network through the deployed management agent at the product supply chain node;

[0037] The product supply chain node writes the raw material batch data, production batch data and product factory inspection data in the production data, and the location data in the logistics data into the blockchain as key product traceability information through the deployed management agent; the production and packaging equipment operation status, temperature, humidity and shelf life end date data in the production data, and the temperature and humidity of the transit station transportation storage in the logistics data are retained as non-key product traceability information on the corresponding edge computing node of the supply chain node;

[0038] Non-critical product traceability information stored in local edge computing nodes is automatically deleted after the expiration date.

[0039] Beneficial effects of the present invention:

[0040] The present invention can reduce the storage pressure of the blockchain by tracing non-critical information, which usually contains a large amount of data, and retaining it on the edge computing node. Retaining the traceable non-critical information on the edge computing node can share the load of the blockchain and improve the overall performance. The edge computing node can perform some data processing and aggregation to reduce the load on the blockchain network. Some product traceability non-critical information other nodes may contain detailed information about the product production, transportation or sales process. When the local node needs to control the product's more specific information in a specific link of the product supply chain, the local product supply chain node may need to frequently query the product traceability non-critical information. Retaining this non-critical information on the local corresponding edge computing node can provide faster and more efficient data query and access. The edge computing node can establish indexes according to demand to provide faster data retrieval speed.

[0041] The present invention queries the unique traceability code of the product by identifying the RFID chip embedded in the food packaging, and queries the product traceability key information of the product by inputting the unique traceability code of the product on the query platform, so as to facilitate the query of the product traceability key information of the corresponding product and quickly trace the product. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The present invention will be further described below in conjunction with the accompanying drawings.

[0043] Figure 1 It is a structural schematic diagram of the system of the present invention;

[0044] Figure 2 It is a schematic flow diagram of the method of the present invention. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] Embodiment 1

[0047] See also Figure 1-2 As shown, the present invention is a product tracing system based on information carried by food packaging, comprising:

[0048] Product data collection module: collects production data in real time during the production process through the MES system and sensor equipment;

[0049] Transportation management module: used to collect logistics data of products during transportation;

[0050] Product supply chain nodes: Product supply chain nodes are set up at the physical locations of each link of the supply chain. Each product supply chain node deploys an edge computing node. The product supply chain node writes the key information of product traceability into the blockchain through the data transmission module, and retains the non-key information of product traceability in the corresponding edge computing node of the supply chain node;

[0051] Data transmission module: used to enable product supply chain nodes to communicate through the blockchain network;

[0052] Data query and traceability module: query the unique traceability code of the product by identifying the RFID chip embedded in the food packaging, and query the key product traceability information of the product by entering the unique traceability code of the product on the query platform.

[0053] Specifically, non-critical information for tracing usually contains a large amount of data, and keeping it on the edge computing node can reduce the storage pressure of the blockchain. Keeping non-critical information for tracing on the edge computing node can share the load of the blockchain and improve the overall performance. The edge computing node can perform some data processing and aggregation to reduce the load on the blockchain network.

[0054] Some non-critical information of product traceability may contain detailed information of the product production, transportation or sales process. When the local node needs to control more specific information of the product in a specific link of the product supply chain, the local product supply chain node may need to frequently query the non-critical information of product traceability, and the query cost of blockchain is high. Keeping this non-critical information on the local corresponding edge computing node can provide faster and more efficient data query and access. The edge computing node can establish indexes according to demand to provide faster data retrieval speed.

[0055] By identifying the RFID chip embedded in the food packaging, the unique traceability code of the product can be queried. By entering the unique traceability code of the product on the query platform, the key traceability information of the product can be queried. This makes it easy to query the key traceability information of the corresponding product and quickly trace the product.

[0056] In one embodiment of the present invention, the product data collection module collects production data in real time during the product production process, including: production and packaging equipment operating status, temperature, humidity, shelf life end date, raw material batch data, production batch data and product factory inspection data.

[0057] In one embodiment of the present invention, a transportation management module is arranged at each transfer station of the product transportation route, and a transportation management module is arranged at each transfer station of the product transportation route, and the transportation management module collects temperature, humidity, location, and shelf life end date data of the product during transportation and storage at the transfer station as logistics data during the product transportation process.

[0058] In one of the embodiments of the present invention, product supply chain nodes are deployed at the physical locations of the production link, transportation link, and sales link of the supply chain. The production link of the supply chain sets the product production workshops and warehouses as product supply chain nodes, the transportation link of the supply chain sets the various transfer stations of the product transportation route as product supply chain nodes, and the sales link of the supply chain sets the places where products are sold as product supply chain nodes.

[0059] Specifically, in the transportation link, each transfer station of the product transportation route is set as a product supply chain node to monitor the logistics trajectory and environmental parameters of the transfer station, etc. These nodes can collect sensor data and perform real-time data processing and analysis to ensure the status of the product in the logistics process.

[0060] Production link of the supply chain: In the production link, the workshops and warehouses where products are produced are set as product supply chain nodes. Edge computing nodes can be deployed on the equipment in the production workshops, and sensors can be set up at the nodes to collect information for data collection and real-time monitoring of the production process.

[0061] When warehousing is performed in the production process, the warehouse can be set as a product supply chain node to manage and monitor inventory and process real-time inbound and outbound information. These nodes can provide real-time inventory tracking and management through connections with logistics nodes.

[0062] Sales link: In the sales link, edge computing nodes can be deployed at the place where the product is sold to collect sales data, conduct real-time inventory management, implement promotion strategies, etc. These nodes can realize real-time upload of sales data.

[0063] In one embodiment of the present invention, the key information of product traceability includes: raw material batch data, production batch data and product factory inspection data in production data, and location data in logistics data; the non-key information of product traceability includes: production and packaging equipment operation status, temperature, humidity and shelf life end date data in production data, and temperature and humidity of transit station transportation and storage in logistics data;

[0064] Among them, non-critical product traceability information stored in the local edge computing node is automatically deleted after the expiration date of the shelf life.

[0065] Specifically, the raw material batch data, production batch data and product factory inspection data in the production data, as well as the location data in the logistics data are important information for product traceability at each link in the process from raw materials to logistics. The entire process of product traceability from the source of raw materials to logistics flow tracking can be monitored, making it easier to fully control multiple links in the product supply chain.

[0066] By automatically deleting non-critical product traceability information stored in the local edge computing node after the expiration date, the storage space of the local edge computing node can be more reasonably utilized.

[0067] In one embodiment of the present invention, the data query and traceability module interacts with the blockchain network by inputting the unique traceability code of the product to trace and query the raw material batch data, production batch data and product factory inspection data in the production data of the product, as well as the location data in the logistics data.

[0068] In one embodiment of the present invention, the data transmission module enables product supply chain nodes to communicate through the blockchain network, including the following steps:

[0069] Each product supply chain node establishes a connection with the blockchain network through the deployed management agent;

[0070] Create a smart contract on the blockchain, which is used to define the communication rules and message format between product supply chain nodes;

[0071] The Web3.js library is deployed in the product production node in the product supply chain node. The product production node interacts with the smart contract in the Ethereum network through the Web3.js library to call the smart contract function. The product production node authenticates other nodes in the same product supply chain through the smart contract function.

[0072] By defining a permission modifier in the smart contract, only the address of the authenticated node can be granted the permission modifier. The authenticated node executes the function in the smart contract by calling the permission modifier and communicates with other authenticated nodes.

[0073] Product supply chain nodes encrypt messages when sending and receiving messages through the deployed management agent, and verify the identity of the product supply chain nodes that send and receive messages.

[0074] Specifically, a multi-agent system refers to a system in which multiple independent agents exist at the same time and can make decisions and take actions independently. Each agent can make individual decisions and actions based on its own goals, knowledge and capabilities, and communicate, coordinate and cooperate with other agents to achieve system-level goals. Multi-agent systems are usually used to deal with complex, distributed and collaborative problems.

[0075] A multi-agent system is formed by deploying a management agent through each product supply chain node, and the Web3.js library is deployed through the product production node in the product supply chain node. The product production node interacts with the smart contract in the Ethereum network through the Web3.js library to call the smart contract function. The product production node authenticates other nodes in the same product supply chain through the smart contract function; product producers can authenticate product supply chain nodes, and other authenticated nodes in the same product supply chain can communicate, so that the information stored in the corresponding edge computing node can be transmitted to each other, which is convenient for each node in the same product supply chain to send and receive messages, and also convenient for nodes to access non-critical product traceability information stored in other nodes in the same product supply chain, and understand various factors in the product supply process.

[0076] The product supply chain node checks the signature of the message and the identity of the sender through the deployed management agent, and ensures that the message has not been tampered with. Through the management agent deployed on the product supply chain node, the node can encrypt the message when sending and receiving the message, and verify the identity of the product supply chain node that sends and receives the message to ensure that only nodes in the same product supply chain can send and receive messages. Through the management agent deployed on the product supply chain node, the node can add a layer of security when sending and receiving messages. The management agent deployed on the product supply chain node can implement some security policies, such as message encryption and identity authentication, to ensure that only legitimate nodes can send and receive messages.

[0077] Embodiment 2

[0078] See also Figure 1-2 As shown, the product tracing method based on the information carried by food packaging includes the following steps:

[0079] S1: Real-time collection of production data during product production and logistics data during transportation;

[0080] S2: Set up product supply chain nodes at the physical locations of each link in the supply chain, deploy edge computing nodes at each product supply chain node, and enable the product supply chain nodes to communicate and connect through the blockchain network;

[0081] S3: The product supply chain node writes the key product traceability information in the production data and logistics data into the blockchain through the data transmission module, and retains the non-key product traceability information in the production data and logistics data in the corresponding edge computing node of the supply chain node;

[0082] S4: The unique traceability code of the product is queried by identifying the RFID chip embedded in the food packaging, and the key information of product traceability is queried.

[0083] In one embodiment of the present invention, step S2 comprises the following steps:

[0084] Set up product supply chain nodes at the physical locations of each link in the supply chain, deploy edge computing nodes at each product supply chain node, and establish a connection between each product supply chain node and the blockchain network through the deployed management agent;

[0085] Create a smart contract on the blockchain, which is used to define the communication rules and message format between product supply chain nodes;

[0086] The Web3.js library is deployed in the product production node in the product supply chain node. The product production node interacts with the smart contract in the Ethereum network through the Web3.js library to call the smart contract function. The product production node authenticates other nodes in the same product supply chain through the smart contract function.

[0087] By defining a permission modifier in the smart contract, only the address of the authenticated node can be granted the permission modifier. The authenticated node executes the function in the smart contract by calling the permission modifier and communicates with other authenticated nodes.

[0088] Specifically, each product supply chain node is deployed through the management Agent, and the Web3.js library is deployed through the product production node in the product supply chain node. The product production node interacts with the smart contract in the Ethereum network through the Web3.js library to call the smart contract function. The product production node authenticates other nodes in the same product supply chain through the smart contract function; product producers can authenticate product supply chain nodes, and other authenticated nodes in the same product supply chain can communicate, so that the information stored in the corresponding edge computing node can be transmitted to each other, which is convenient for each node in the same product supply chain to send and receive messages, and also convenient for nodes to access non-critical product traceability information stored in other nodes in the same product supply chain, and understand various factors in the product supply process.

[0089] In one embodiment of the present invention, step S3 includes the following steps:

[0090] Establish a connection with the blockchain network through the deployed management agent at the product supply chain node;

[0091] The product supply chain node writes the raw material batch data, production batch data and product factory inspection data in the production data, and the location data in the logistics data into the blockchain as key product traceability information through the deployed management agent; the production and packaging equipment operation status, temperature, humidity and shelf life end date data in the production data, and the temperature and humidity of the transit station transportation storage in the logistics data are retained as non-key product traceability information on the corresponding edge computing node of the supply chain node;

[0092] Non-critical product traceability information stored in local edge computing nodes is automatically deleted after the expiration date.

[0093] Specifically, the raw material batch data, production batch data and product factory inspection data in the production data, as well as the location data in the logistics data are important information for product traceability at each link in the process from raw materials to logistics. The entire process of product traceability from the source of raw materials to logistics flow tracking can be monitored, making it easier to fully control multiple links in the product supply chain.

[0094] By automatically deleting non-critical product traceability information stored in the local edge computing node after the expiration date, the storage space of the local edge computing node can be more reasonably utilized, and useless historical data in the local edge computing node can be automatically cleared.

[0095] In the description of the present invention, it should be understood that the terms "upper", "lower", "left", "right", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, and a specific direction structure and operation, and therefore, cannot be understood as a limitation on the present invention. In addition, "first" and "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0096] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. 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 the present invention can be understood according to specific circumstances.

[0097] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A product traceability system based on the information carried by food packaging, characterized by: include: Product data collection module: collects production data in real time during the production process through the MES system and sensor equipment; Transportation management module: used to collect logistics data of products during transportation; Product supply chain nodes: product supply chain nodes are set at the physical locations of each link of the supply chain, and edge computing nodes are deployed at each product supply chain node. The product supply chain node writes the key information of product traceability into the blockchain through the data transmission module, and retains the non-key information of product traceability in the corresponding edge computing node of the supply chain node; Data transmission module: used to enable product supply chain nodes to communicate through the blockchain network; Data query and traceability module: query the unique traceability code of the product by identifying the RFID chip embedded in the food packaging, and query the key product traceability information of the product by entering the unique traceability code of the product in the query platform; The method of enabling product supply chain nodes to communicate and connect via a blockchain network includes the following steps: Each product supply chain node establishes a connection with the blockchain network through the deployed management agent; a smart contract is created on the blockchain, and the smart contract is used to define the communication rules and message formats between the product supply chain nodes; the Web3.js library is deployed in the product production node in the product supply chain node, and the product production node interacts with the smart contract in the Ethereum network through the Web3.js library to call the smart contract function, and the product production node authenticates other nodes in the same product supply chain through the smart contract function; by defining a permission modifier in the smart contract, only the address of the authenticated node can be granted the permission modifier, and the authenticated node executes the function in the smart contract by calling the permission modifier and communicates with other authenticated nodes; the product supply chain node encrypts the message when sending and receiving the message through the deployed management agent, and verifies the identity of the product supply chain node that sends and receives the message.

2. The product tracing system based on the information carried by food packaging according to claim 1 is characterized in that: The product data collection module collects production data in real time during the product production process, including: production and packaging equipment operating status, temperature, humidity, shelf life end date, raw material batch data, production batch data and product factory inspection data.

3. The product tracing system based on the information carried by food packaging according to claim 1 is characterized in that: The transportation management module is set at each transfer station of the product transportation route. The transportation management module collects temperature, humidity, location, and shelf life end date data of the product during transportation and storage at the transfer station as logistics data during product transportation.

4. The product tracing system based on the information carried by food packaging according to claim 1 is characterized in that: The product supply chain nodes are deployed at the physical locations of the production, transportation and sales links of the supply chain. The production link of the supply chain sets the product production workshops and warehouses as product supply chain nodes, the transportation link of the supply chain sets the various transfer stations in the product transportation route as product supply chain nodes, and the sales link of the supply chain sets the places where products are sold as product supply chain nodes.

5. The product tracing system based on the information carried by food packaging according to claim 1 is characterized in that: The product traceability key information includes: raw material batch data, production batch data and product factory inspection data in the production data, and location data in the logistics data; the product traceability non-key information includes: production and packaging equipment operation status, temperature, humidity and shelf life end date data in the production data, and the temperature and humidity of transit station transportation and storage in the logistics data; among them, the product traceability non-key information stored in the local edge computing node is automatically deleted after the shelf life end date.

6. The product tracing system based on the information carried by food packaging according to claim 1 is characterized in that: The data query and traceability module interacts with the blockchain network by inputting the unique traceability code of the product to trace and query the raw material batch data, production batch data and product factory inspection data in the production data of the product, as well as the location data in the logistics data.

7. A product tracing method based on information carried on food packaging, based on the product tracing system based on information carried on food packaging as claimed in claim 1, characterized in that: The following steps are involved: S1: Real-time collection of production data during product production and logistics data during transportation; S2: Set up product supply chain nodes at the physical locations of each link in the supply chain, deploy edge computing nodes at each product supply chain node, and enable the product supply chain nodes to communicate and connect through the blockchain network; S3: The product supply chain node writes the key product traceability information in the production data and logistics data into the blockchain through the data transmission module, and retains the non-key product traceability information in the production data and logistics data in the corresponding edge computing node of the supply chain node; S4: The unique traceability code of the product is queried by identifying the RFID chip embedded in the food packaging, and the key information of product traceability is queried.

8. The product tracing method based on the information carried by food packaging according to claim 7 is characterized in that: The step S2 comprises the following steps: Set up product supply chain nodes at the physical locations of each link in the supply chain, deploy edge computing nodes at each product supply chain node, and establish a connection between each product supply chain node and the blockchain network through the deployed management agent; Creating a smart contract on the blockchain, the smart contract is used to define the communication rules and message formats between product supply chain nodes; The Web3.js library is deployed in the product production node in the product supply chain node. The product production node interacts with the smart contract in the Ethereum network through the Web3.js library to call the smart contract function. The product production node authenticates other nodes in the same product supply chain through the smart contract function. By defining a permission modifier in the smart contract, only the address of the authenticated node can be granted the permission modifier. The authenticated node executes the function in the smart contract by calling the permission modifier and communicates with other authenticated nodes.

9. The product tracing method based on the information carried by food packaging according to claim 7 is characterized in that: The step S3 comprises the following steps: Establish a connection with the blockchain network through the deployed management agent at the product supply chain node; The product supply chain node writes the raw material batch data, production batch data and product factory inspection data in the production data, and the location data in the logistics data into the blockchain as key product traceability information through the deployed management agent; the production and packaging equipment operation status, temperature, humidity and shelf life end date data in the production data, and the temperature and humidity of the transit station transportation storage in the logistics data are retained as non-key product traceability information on the corresponding edge computing node of the supply chain node; Non-critical product traceability information stored in local edge computing nodes is automatically deleted after the expiration date.