A food information traceability method based on the Internet
By setting up segmented verification nodes in the unique basic identification code of pork food and using node verification code to verify step by step, the problem of food information being easily tampered with during the circulation process is solved, and the reliability and accuracy of traceability are improved.
Patent Information
- Application Number
- CN202111502690.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-09
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2041-12-09
AI Technical Summary
During the traceability process of existing pork food information, food information is easily tampered with during the circulation process, resulting in poor inaccuracy and reliability of traceability results.
The Internet-based food information traceability method is adopted, and segmented verification nodes are set in the unique basic identification code, and node verification codes are automatically formed during all the circulation stages of food from raw materials to processing and leaving the factory stage. The segmented verification nodes are verified step by step by step to avoid food information being tampered with in a certain circulation stage.
It improves the reliability and accuracy of food information traceability and ensures the integrity and safety of food information throughout the circulation process.
Smart Images

Figure CN114187016B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of traceability, and in particular to a food information traceability method based on the Internet. Background Art
[0002] In recent years, due to the frequent occurrence of food safety crises (food poisoning, mad cow disease, foot-and-mouth disease, avian influenza and other livestock and poultry diseases, serious agricultural product drug residues, and a surge in imported food materials, etc.), which have seriously affected people's health and attracted widespread attention from all over the world, how to effectively track and trace food has become an extremely urgent global issue;
[0003] In the current pork food information traceability process, part of the food information stored in the pork food during the circulation process is easily tampered with, resulting in users being unable to correctly identify the authenticity of the pork food information traceability results, and the reliability of the entire traceability process is poor. Therefore, the present invention proposes a food information traceability method based on the Internet to solve the shortcomings of the prior art; Therefore, the present invention proposes a food information traceability method based on the Internet to solve the shortcomings of the prior art. Summary of the invention
[0004] In view of the above problems, the purpose of the present invention is to provide a food information traceability method based on the Internet. By setting segmented verification nodes in the unique basic identification code, automatically forming node verification codes in all circulation stages of food from the raw material production stage to the processing and delivery stage, and verifying the segmented verification nodes step by step by using the node verification codes, the problem of inaccurate food information traceability results caused by food information tampering at a certain circulation stage can be avoided, thereby ensuring the high reliability of the food information traceability process.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] The present invention discloses a food information tracing method based on the Internet, comprising the following steps:
[0007] Step 1: All basic information of food from the raw material production stage to the processing and delivery stage is stored using a unique basic identification code, and the flow information of food from the processing and delivery stage to the sales stage is stored using a unique flow identification code. The unique basic identification code and the unique flow identification code are stored in the blockchain;
[0008] Step 2: Process the unique basic identification code of the food and set a segmented verification node in the unique basic identification code;
[0009] Step 3: Automatically generate node verification codes in all the circulation stages of food from the raw material production stage to the processing and delivery stage, identify the node verification code generated in the food processing and delivery stage as the initial verification code, and identify the node verification code generated from the raw material production stage as the terminal verification code;
[0010] Step 4: Before the food leaves the factory, the initial verification code is printed on the food packaging bag, and the initial verification code is encrypted. Then, the basic information of the food during the processing and leaving the factory is clearly marked on the food packaging bag as an intermediate verification password;
[0011] Step 5: Use the code recognition device to identify the unique circulation identification code. When the unique circulation identification code is successfully recognized and verified, the code recognition device and the node verification code are used together to perform food traceability operations on the unique basic identification code of the food. If any segment verification node fails to verify, it is determined that the traceability has failed and there are product safety issues with the food.
[0012] A further improvement is that in step one, the process from raw material production to processing and delivery includes at least three stages: pig breeding, pig slaughtering and pork processing; the process from processing and delivery to sales includes at least three stages: distribution and purchase of pork food, transportation of pork food and market sales of pork food.
[0013] A further improvement is that when a segmented verification node is set in the unique basic identification code, the segmented verification node corresponds to the number of circulation stages of the food before it is processed and shipped. When the food goes through N stages of circulation before it is processed and shipped, N segmented verification nodes need to be set in the unique basic identification code.
[0014] A further improvement is that the node verification code is formed by the management level settings of multiple links that the food passes through from the raw material production stage to the processing and delivery stage. The processes of forming multiple node verification codes are independent of each other. After the current node verification code is independently formed, it needs to form a relationship chain with the previous node verification code and the next node verification code.
[0015] A further improvement is that the node verification code includes basic information contained in the current segment verification node food and basic information contained in all segment verification node foods before the current segment verification node.
[0016] A further improvement is that the node verification codes formed in multiple circulation stages for the same type of food in the same batch are the same, and the node verification codes formed in multiple circulation stages for the same type of food between different batches are different.
[0017] A further improvement is that the specific method of encrypting the initial verification code is to cover the initial verification code with screen ink to form an encryption coating, and the user obtains the initial verification code by scraping the encryption coating formed by the screen ink when obtaining the initial verification.
[0018] A further improvement is that when the code recognition device is used to identify the unique circulation identification code in step five, when the circulation information recognized by the code recognition device contains the basic information of the food printed on the food packaging bag at the processing and factory stage, that is, it contains the intermediate verification password, then the unique circulation identification code recognition and verification is determined to be successful; otherwise, the unique circulation identification code recognition and verification is determined to have failed, and the food information traceability process is ended.
[0019] Further improvements are: when the code recognition device and the node verification code are used together to perform food traceability operations on the unique basic identification code of the food, if the segment verification node verification of the current node verification code is successful, the node verification code of the next segment verification node will be automatically displayed on the display terminal of the code recognition device for the user to perform the next stage of food information traceability. If any segment verification node verification fails, the traceability is determined to have failed and there is an information security problem with the food.
[0020] The beneficial effects of the present invention are as follows: the method of the present invention stores all the information of food by using a unique basic identification code and a unique circulation identification code, and the food information traceability is divided into two stages. If the traceability of the current stage fails, the traceability process can be terminated, so that the traceability process is fast and the cycle is short;
[0021] By setting segmented verification nodes in the unique basic identification code, automatically generating node verification codes in all circulation stages of food from the raw material production stage to the processing and delivery stage, and verifying the segmented verification nodes step by step by using the node verification codes, it is possible to avoid the problem of food information being tampered with at a certain circulation stage, resulting in inaccurate food information traceability results, and ensure the high reliability of the food information traceability process. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a schematic diagram of the framework of the method of the present invention;
[0023] Figure 2 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0024] In order to deepen the understanding of the present invention, the present invention will be further described in detail below in conjunction with examples. The examples are only used to explain the present invention and do not constitute a limitation on the protection scope of the present invention. Example
[0025] according to Figure 1As shown, this embodiment proposes a food information traceability method based on the Internet, comprising the following steps:
[0026] Step 1: All basic information of food from the raw material production stage to the processing and delivery stage is stored using a unique basic identification code, and the circulation information of food from the processing and delivery stage to the sales stage is stored using a unique circulation identification code. The unique basic identification code and the unique circulation identification code are stored in the blockchain. The unique basic identification code and the unique circulation identification code can be a QR code or a barcode. From the raw material production stage to the processing and delivery stage, food includes at least three stages: pig breeding, pig slaughtering and pork processing; from the processing and delivery stage to the sales stage, food includes at least three stages: distribution and procurement of pork food, transportation of pork food and market sales of pork food;
[0027] Step 2: Process the unique basic identification code of the food and set a segmented verification node in the unique basic identification code;
[0028] Step 3: Automatically generate node verification codes in all the circulation stages of food from the raw material production stage to the processing and delivery stage. Identify the node verification code generated in the food processing and delivery stage as the initial verification code, and identify the node verification code generated in the raw material production stage as the terminal verification code. When the traceability process is correct throughout, the raw material supplier information corresponding to the food can be verified through the terminal verification code at the end of the traceability process.
[0029] Step 4: Before the food leaves the factory, the initial verification code is printed on the food packaging bag, and the initial verification code is encrypted. The specific method of encrypting the initial verification code is: the initial verification code is covered with screen ink to form an encrypted coating. When the user obtains the initial verification, the initial verification code is obtained by scraping the encrypted coating formed by the screen ink; then the basic information of the food at the processing and factory stage is clearly marked on the food packaging bag as an intermediate verification password;
[0030] Step 5: Use the code recognition device to identify the unique circulation identification code. When the unique circulation identification code is successfully recognized and verified, the code recognition device and the node verification code are used together to perform food traceability operations on the unique basic identification code of the food. If any segment verification node fails to verify, it is determined that the traceability has failed and there are product safety issues with the food.
[0031] By storing all food information together using a unique basic identification code and a unique circulation identification code, food information traceability is divided into two steps, which can improve the efficiency and accuracy of food information traceability. Example
[0032] according to Figure 1 , 2As shown, this embodiment proposes a food information traceability method based on the Internet. When a segmented verification node is set in a unique basic identification code, the segmented verification node corresponds to the number of circulation stages of the food before it is processed and shipped. When the food passes through N stages before it is processed and shipped, N segmented verification nodes need to be set in the unique basic identification code;
[0033] For example, before the sale stage, finished pork products go through 11 circulation links, including pig breeding (raw material production), pig slaughtering, pork sales, pork cold chain transportation, processing enterprises purchasing pork and warehousing, pork out of the warehouse, pork processing, pork finished product inspection, distributors ordering finished pork products, pork finished product distribution and transportation, and pork finished product entering the market for sale. Among them, the information generated in the eight stages of pig breeding (raw material production), pig slaughtering, pork sales, pork cold chain transportation, processing enterprises purchasing pork and warehousing, pork out of the warehouse, pork processing, and pork finished product inspection is basic information, which is stored using a unique basic identification code;
[0034] The information generated during the three stages of distributors ordering finished pork products, distribution and transportation of finished pork products, and the sale of finished pork products on the market is considered circulation information, which is stored using a unique circulation identification code.
[0035] When setting the node verification code, the eight stages of pig breeding (raw material production), pig slaughtering, pork sales, pork cold chain transportation, pork purchase and warehousing by processing companies, pork delivery, pork processing, and pork food product inspection each represent a segmented verification node. In these eight stages, the respective management levels set the node verification code for the food in this stage.
[0036] The node verification code is formed by the management layer settings of multiple links that the food passes through from the raw material production stage to the processing and delivery stage. The processes of forming multiple node verification codes are independent of each other. After the current node verification code is independently formed, it needs to form a relationship chain with the previous node verification code and the next node verification code. In this embodiment, the current node verification code includes the node verification code corresponding to the next segment verification node. Through this setting, when the user scans the node verification code corresponding to a segment verification node, the judgment standard of whether the code recognition device can recognize the next node verification code can be used to determine whether the current segment verification node is successfully verified.
[0037] The node verification code includes the basic information contained in the food of the current segment verification node and the basic information contained in the food of all segment verification nodes before the current segment verification node. For example, the node verification code of the pork selling stage needs to include all the basic information generated when the pork is sold, and also all the basic information generated in the pig breeding (raw material production) and pig slaughtering stages.
[0038] The node verification codes formed by the same type of food in the same batch at multiple circulation stages are the same, and the node verification codes formed by the same type of food from different batches at multiple circulation stages are different. Setting the node verification code in this way can save resource consumption generated in the process of setting the node verification code.
[0039] By setting segmented verification nodes in the unique basic identification code, automatically generating node verification codes in all circulation stages of food from the raw material production stage to the processing and delivery stage, and verifying the segmented verification nodes step by step by using the node verification codes, it is possible to avoid the problem of food information being tampered with at a certain circulation stage, resulting in inaccurate food information traceability results, and ensure the high reliability of the food information traceability process. Example
[0040] according to Figure 2 As shown, this embodiment proposes a food information traceability method based on the Internet. When a code recognition device is used to identify a unique circulation identification code, when the circulation information recognized by the code recognition device contains basic information of the food printed on the food packaging bag at the processing and factory stage, that is, it contains an intermediate verification password, then it is determined that the unique circulation identification code recognition and verification is successful, otherwise it is determined that the unique circulation identification code recognition and verification fails, and the food information traceability process is ended.
[0041] When the code recognition device and the node verification code are used together to perform food traceability operations on the unique basic identification code of the food, if the segment verification node verification of the current node verification code is successful, the node verification code of the next segment verification node will be automatically displayed on the display terminal of the code recognition device for the user to perform the next stage of food information traceability. If any segment verification node verification fails, the traceability is determined to have failed and there is an information security problem with the food.
[0042] In this embodiment, the code recognition device is any device that can recognize a QR code or a barcode.
[0043] The tracing process can be ended when the current tracing fails, making the tracing process quick and short.
[0044] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A food information traceability method based on the Internet, characterized in that: The following steps are involved: Step 1: All basic information of food from the raw material production stage to the processing and delivery stage is stored using a unique basic identification code, and the flow information of food from the processing and delivery stage to the sales stage is stored using a unique flow identification code. The unique basic identification code and the unique flow identification code are stored in the blockchain; Step 2: Process the unique basic identification code of the food and set a segmented verification node in the unique basic identification code; Step 3: Automatically generate node verification codes in all the circulation stages of food from the raw material production stage to the processing and delivery stage, identify the node verification code generated in the food processing and delivery stage as the initial verification code, and identify the node verification code generated from the raw material production stage as the terminal verification code; Step 4: Before the food leaves the factory, the initial verification code is printed on the food packaging bag, and the initial verification code is encrypted. Then, the basic information of the food during the processing and leaving the factory is clearly marked on the food packaging bag as an intermediate verification password; Step 5: Use the code recognition device to identify the unique circulation identification code. When the unique circulation identification code is successfully recognized and verified, the code recognition device and the node verification code are used together to perform food traceability operations on the unique basic identification code of the food. If any segment verification node fails to verify, it is determined that the traceability has failed and there are product safety issues with the food.
2. The method for tracing food information based on the Internet according to claim 1, characterized in that: In step one, the process from raw material production to processing and delivery includes at least three stages: pig breeding, pig slaughtering and pork processing; the process from processing and delivery to sales includes at least three stages: distribution and purchase of pork food, transportation of pork food and market sales of pork food.
3. The method for tracing food information based on the Internet according to claim 1, characterized in that: When a segmented verification node is set in the unique basic identification code, the segmented verification node corresponds to the number of circulation stages of the food before processing and shipment. When the food goes through N stages of circulation before processing and shipment, N segmented verification nodes need to be set in the unique basic identification code.
4. The method for tracing food information based on the Internet according to claim 1, characterized in that: The node verification code is formed by the management settings of multiple links that the food passes through from the raw material production stage to the processing and delivery stage. The processes of forming multiple node verification codes are independent of each other. After the current node verification code is independently formed, it needs to form a relationship chain with the previous node verification code and the next node verification code.
5. The method for tracing food information based on the Internet according to claim 4, characterized in that: The node verification code includes basic information contained in the current segment verification node food and basic information contained in all segment verification node foods before the current segment verification node.
6. The method for tracing food information based on the Internet according to claim 1, characterized in that: The node verification codes formed by the same type of food from the same batch in multiple circulation stages are the same, and the node verification codes formed by the same type of food from different batches in multiple circulation stages are different.
7. The method for tracing food information based on the Internet according to claim 1, characterized in that: The specific method of encrypting the initial verification code is: covering the initial verification code with screen ink to form an encryption coating, and the user obtains the initial verification code by scraping the encryption coating formed by the screen ink when obtaining the initial verification.
8. The method for tracing food information based on the Internet according to claim 1, characterized in that: When the unique circulation identification code is identified by the code recognition device in step five, when the circulation information recognized by the code recognition device contains the basic information of the food printed on the food packaging bag at the processing and factory stage, that is, it contains the intermediate verification password, then the unique circulation identification code recognition and verification is determined to be successful; otherwise, the unique circulation identification code recognition and verification is determined to have failed, and the food information traceability process is ended.
9. The method for tracing food information based on the Internet according to claim 1, characterized in that: When the code recognition device and the node verification code are used together to perform food traceability operations on the unique basic identification code of the food, if the segment verification node verification of the current node verification code is successful, the node verification code of the next segment verification node will be automatically displayed on the display terminal of the code recognition device for the user to perform the next stage of food information traceability. If any segment verification node verification fails, the traceability is determined to have failed and there is an information security problem with the food.
Citation Information
Patent Citations
Blockchain-based grain and oil food full supply chain credible tracing model based on block chain and construction method
CN110516965A
Blockchain-based enterprise authentication method, apparatus, and device, and blockchain-based authentication traceability method, apparatus, and device
US20200244649A1