Visual identification traceability system and method based on block chain
Through a visual identification and traceability system based on blockchain, the incomplete information and security problems of traditional traceability methods are solved, real-time, comprehensive traceability and anti-counterfeiting verification of food safety are realized, and a credible traceability system is established.
Patent Information
- Application Number
- CN202510448423.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2025-07-18
AI Technical Summary
Traditional traceability methods rely on paper records and manual query, resulting in incomplete information and cannot meet consumers' efficient, real-time and comprehensive needs for food safety information. The information is easily tampered with, and there is a security risk in data centralized storage, and data cannot interact between systems, forming an information island.
A visual identification traceability system based on blockchain is adopted, including data collection, traceability management and reporting and feedback modules. Through P2P network connection, it collects and analyzes the entire process of product data, generates traceability code, and adds traceability information to the product, and uses visual identification algorithms to perform anti-counterfeiting verification.
An effective and trustworthy traceability system has been established to ensure food safety, prevent sellers from inventory, exchange of goods and using inferior products as good ones, solve the problems of incomplete and unreliable information in the traditional traceability system, and realize real-time and comprehensive traceability and anti-counterfeiting verification of product information.
Smart Images

Figure CN120338826A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a visual recognition traceability system and method based on blockchain, belonging to the technical field of product traceability. Background Art
[0002] In recent years, with the continuous improvement of people's living standards, people's attention to food safety has also increased day by day. However, food safety issues in our country have always been at the forefront. Therefore, in order to ensure food safety and effective product traceability, a visual recognition traceability system based on blockchain is proposed.
[0003] There are many problems with traditional traceability methods. The traditional traceability mode relies on paper records, manual queries and other means, making it difficult to record and update information in real time and comprehensively, resulting in incomplete information and unable to meet consumers' efficient, real-time and comprehensive requirements for food safety information. Moreover, there are many information transmission links, and data is centrally stored in centralized data information systems, which is easily attacked by hackers, damaged, lost or tampered with artificially, thus losing transparency and credibility. In addition, data between different traceability management systems cannot be exchanged, forming information islands, and information verification between systems is cumbersome and complex. For example, the crab buckle traceability mode of Yangcheng Lake hairy crabs; although the number of crab buckles sold each year is limited, there are still problems such as reselling and secondary use of crab buckles. Another example is traditional two-dimensional code traceability. After scanning, information such as the origin of the product can be seen, but it is still not intuitive from the visual experience and difficult to distinguish between true and false, which greatly impacts the authenticity and reliability of traceability information. Summary of the Invention
[0004] In view of the above problems, the present invention provides a visual recognition traceability system and method based on blockchain to solve the problems existing in traditional traceability methods.
[0005] The technical solution of the present invention is: a visual recognition traceability system based on blockchain, the system includes:
[0006] A data collection module, a traceability management module and a reporting and feedback module; the data collection module is respectively connected to the traceability management module and the reporting and feedback module through a P2P network, and the traceability management module and the reporting and feedback module are also connected through a P2P network;
[0007] The data collection module is used to collect production data of products, product processing data, supply chain transportation data and comprehensive information of retailers; collect video images of the whole process of products and perform data screening;
[0008] The traceability management module is used to monitor the production process, processing process, supply chain transportation process and sales process of products, input the filtered product production data, product processing data, supply chain transportation data and comprehensive information of the seller into the traceability code, analyze and judge the production data, processing data, supply chain transportation data and comprehensive information of the seller, judge whether the seller passes off inferior goods as good ones or sells fake and shoddy products, and send the judgment information to the reporting and feedback module;
[0009] The reporting and feedback module is used to trace the whole process of the production process, processing process, supply chain transportation process and sales process of products through the user terminal and feedback the traceability results.
[0010] Further, the traceability management module includes a product monitoring module and a product traceability module, and the product monitoring module is connected to the product traceability module;
[0011] The product monitoring module includes: a product production information module, a product processing information module, a product transportation supply chain module, and a product sales information module;
[0012] The product production information module is used to construct a traceability code for the product, record the product production data and input it into the traceability code;
[0013] The product processing information module is used to record the information during the product processing process and input it into the traceability code;
[0014] The product transportation supply chain module is used to record the supply chain data of each detail during the transportation process of the product in the supply chain and input it into the traceability code;
[0015] The product sales information module is used to analyze and monitor whether the seller passes off inferior goods as good ones or engages in cross-region sales behavior, and record the comprehensive information of the seller and input it into the traceability code.
[0016] Further, the product traceability module is divided into an inventory detection unit and a transfer tracking unit;
[0017] The inventory detection unit establishes a dynamic early warning model through in-depth analysis of the product inventory data of the seller; the inventory detection unit identifies the abnormal business behaviors of the seller, including but not limited to hoarding and stockpiling phenomena beyond a reasonable range, and the situation of product circulation and sales through unauthorized sales channels; the inventory detection unit conducts multi-dimensional cross-verification on the purchase volume, inventory volume and sales volume of the seller by setting detailed parameters such as inventory turnover thresholds and regional sales quotas, so as to discover potential channel violations;
[0018] The goods transfer tracking unit conducts a full-link analysis of the traceability code information of the products output by the seller based on blockchain technology. The goods transfer tracking unit establishes a goods transfer behavior identification algorithm by comparing the product sales area code, the seller's authorized sales scope, and logistics trajectory data; when it is found that the actual sales area of the product does not match the authorized area, the goods transfer tracking unit quickly locks the goods transfer node, and through the visual recognition algorithm, determines whether the goods are produced by the company, and compares the production batches, and traces the original shipment source of the product through the traceability code, forming a functional supervision closed loop of detection, verification, and traceability, to assist the brand in building a full-channel visual product circulation supervision system.
[0019] Furthermore, the reporting feedback module includes an automatic identification reporting module, an active reporting module and a user tracing module;
[0020] The automatic identification and reporting module uses the visual traceability system to identify the operating steps of product production, the processing flow, and whether there are any illegal operations during the supply chain transportation process, and regularly conducts sampling inspections to provide feedback to the active reporting module;
[0021] The active reporting module reflects the judgment information output by the traceability management module and the feedback information of the automatic identification reporting module to the stage leader, assisting the stage leader to check the work process of the previous stage, whether the sampled products have reached the work goals of this stage, and actively report if the products are unqualified;
[0022] The user tracing module is used to process user tracing requests and provide feedback on user complaints and usage suggestions.
[0023] The present invention also provides a visual identification and tracing method based on blockchain, the method comprising:
[0024] By collecting video data and product data from the product's production process, processing process, and supply chain transportation process, as well as the seller's distribution data, sales data, and sales cycle data;
[0025] The collected data are stored in the data collection module and sent to the traceability management module after screening;
[0026] After data collection is completed, the traceability management module starts product monitoring and detects and judges the data in the data management module; after the data in the data management module is detected and judged to be complete and correct, the traceability code of each stage is generated and stored in the blockchain;
[0027] During the product sales process, the reporting and feedback module is connected to the traceability management module to conduct a comprehensive analysis of the seller's distribution data and sales behavior. Based on the analysis results, it is determined whether the seller has abnormal sales behavior, and the abnormal situation is traced back to each distribution node and sales source;
[0028] When users scan the QR code of the traceability box or the product traceability code, they can query the comprehensive information of the whole process of the product and also give feedback on the existing problems of the product.
[0029] Furthermore, the specific steps of the method are as follows:
[0030] Step1. Deploy a YOLO-based visual recognition system at the product production site, record the whole process of product production, conduct a sampling test on the product, collect and record the data information of the product, upload the production data to the data collection module, and encapsulate the production information into the traceability management module after preliminary identification and screening;
[0031] Step2. After the preliminary production of the product is completed, it is transported to the product processing site, and a YOLO-based visual recognition system is deployed inside the transportation container; the transportation person in charge signs the responsibility transfer after checking that the preliminarily produced product is correct; then it starts to be transported to the product processing site; the transportation process data is transmitted to the data collection module and is encapsulated into the traceability management module after preliminary identification and screening;
[0032] Step3. After the transportation work in the first stage is completed, the product processing person in charge checks the goods, and after confirming that they are correct, transfers the container to the product processing workshop. A visual recognition system is deployed in the workshop. The trained visual recognition system can identify the workshop engineering process and the worker operation process. After the preliminary processing is completed, a sampling test of the product is carried out, and the data is uploaded to the data collection module. After preliminary screening and being correct, the data is encapsulated into the traceability management module; since the traceable product has high economic value and market value, after the processing is completed, the traceability management module generates the traceability code of this batch and pastes it on the surface of the product. The traceability code numbers of this batch of products are integrated to generate the traceability code of the traceability box; the products after preliminary processing repeat the above steps and are put back into the transportation line again; if secondary processing is required, it is carried out in the above process until it reaches the last processing procedure;
[0033] Step4. After the processing in the last stage is completed, a general sampling inspection is carried out. After the comprehensive data of the product is qualified, the data is uploaded to the data collection module, and under the monitoring of the visual recognition system, the product is encapsulated into the traceability sales box. The data produced in the whole process of product production is encapsulated into the traceability management module. The traceability management module summarizes the information of each stage to generate the total traceability code and generates the product ID of this batch. The product ID corresponds to the traceability sales box one by one; then the traceability sales box is transported to the traceability container; the last step of the transportation work is completed;
[0034] Step 5. The transportation person in charge of the last step transports the goods to the product distributor. The general product distributor checks the whole process of product production, processing and transportation. If the product is confirmed to be correct and no person in charge reports problems during the whole process, the general person in charge of this product is confirmed to receive it, and the general person in charge of the product also confirms completion. At the same time, the information of the distributor is recorded in the information collection module;
[0035] Step 6. After the general product distributor receives the goods, the traceability sales boxes are distributed to each sales site, or transported to all parts of the country by express;
[0036] The seller scans the code to open the box, and the opening time will be recorded in the data collection module. When consumers make a purchase, they can first scan the code to view the opening time of the product. The traceability code can present the product origin, production process, transportation process, processing process, and even reach the general distributor through video and data;
[0037] It can also view the qualification information of the manufacturer and distributor; the production data of the product at each stage, and the final product nutritional components;
[0038] Consumers can intuitively see each process and have a more comprehensive and detailed understanding of all aspects of the product;
[0039] Users can put forward suggestions for the product or report that the product is unqualified in the reporting and feedback module; after the sales cycle of the products in the same batch ends, the general person in charge will summarize and refine to improve the comprehensive quality of the product, so as to achieve a closed-loop of product quality improvement and consumer satisfaction;
[0040] Step 7. After the consumer scans the code to confirm the purchase and completes the payment, scanning the code again will show that the product has been sold; the traceability box is recycled for the second time.
[0041] The beneficial effects of the present invention are:
[0042] 1. Based on blockchain technology, the present invention uploads traceability information for each product in the product production and supply link, and adds a traceability code to the traceability box. The traceability code can not only accurately obtain various information of the product, but also perform anti-counterfeiting verification, thereby establishing an effective and credible traceability system. Through the one-to-one correspondence between the product ID and the traceability box, it immediately shows that the product has been sold after purchase, thus avoiding problems such as distributors' inventory, product exchange, and passing off inferior goods as good ones; to ensure food safety and solve problems such as incomplete supply chain information and unreliable traceability information in the traditional traceability system;
[0043] 2. Based on blockchain technology, the present invention uploads traceability information for various products in the product supply chain link, and adds a traceability code containing traceability information to the corresponding traceability sales box before the product is sold. The traceability code can not only accurately obtain various information of the product, but also perform anti-counterfeiting verification, thereby assisting in establishing an effective and trustworthy traceability system to ensure food safety and solve problems such as incomplete supply chain information and unreliable traceability information in the traditional traceability system. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a flowchart of the product traceability method based on blockchain technology in the present invention;
[0045] Figure 2 It is a framework diagram of the product traceability system based on blockchain technology in the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0046] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with 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 of 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 belong to the scope of protection of the present invention.
[0047] Embodiment 1: As Figure 1 - Figure 2 shown, a vision recognition traceability system based on blockchain, the system includes:
[0048] A data collection module, a traceability management module, and a reporting and feedback module; the data collection module is respectively connected to the traceability management module and the reporting and feedback module through a P2P network, and the traceability management module and the reporting and feedback module are also connected through a P2P network;
[0049] The data collection module is used to collect the production data of the product, the product processing data, the supply chain transportation data, and the comprehensive information of the distributor; collect the video images of the whole process of the product, and perform data screening;
[0050] The traceability management module is used to monitor the production process, processing process, supply chain transportation process, and sales process of the distributor of the product, enter the screened product production data, product processing data, supply chain transportation data, and comprehensive information of the distributor into the traceability code, analyze and judge the production data, processing data, supply chain transportation data, and comprehensive information of the distributor, judge whether the distributor is selling inferior products as high-quality products or selling fake and shoddy products, and send the judgment information to the reporting and feedback module;
[0051] The reporting and feedback module is used to trace the whole process of the production process, processing process, supply chain transportation process, and sales process of the product through the user terminal, and feedback the traceability result.
[0052] Further, the traceability management module includes a product monitoring module and a product traceability module, and the product monitoring module is interconnected with the product traceability module;
[0053] The product monitoring module includes: a product production information module, a product processing information module, a product transportation supply chain module, and a product sales information module;
[0054] The product production information module is used to construct a traceability code for the product, record the product production data and input it into the traceability code;
[0055] The product processing information module is used to record the information during the product processing and input it into the traceability code;
[0056] The product transportation supply chain module is used to record the supply chain data of each detail during the transportation of the product in the supply chain and input it into the traceability code;
[0057] The product sales information module is used to analyze and monitor whether the seller sells inferior products as good ones or engages in cross-region sales, and record the comprehensive information of the seller and input it into the traceability code.
[0058] Further, the product traceability module is divided into an inventory detection unit and a goods transfer tracking unit;
[0059] The inventory detection unit deeply analyzes the product inventory data of the seller to establish a dynamic early warning model; the inventory detection unit identifies the abnormal business behaviors of the seller, including but not limited to hoarding goods beyond a reasonable range and the situation of product circulation and sales through unauthorized sales channels; the inventory detection unit conducts multi-dimensional cross-verification on the purchase volume, inventory volume, and sales volume of the seller by setting detailed parameters such as inventory turnover thresholds and regional sales quotas, so as to discover potential channel violations;
[0060] The goods transfer tracking unit conducts a full-link analysis on the traceability code information of the products output by the seller based on blockchain technology. The goods transfer tracking unit establishes a goods transfer behavior recognition algorithm by comparing the product sales area code, the authorized sales scope of the seller, and the logistics track data; when it is found that the actual sales area of the product does not match the authorized area, the goods transfer tracking unit quickly locks the goods transfer and cross-region sales nodes, and determines whether the goods are produced by the company itself through a visual recognition algorithm, compares the production batches, and traces the original shipping source of the product through the traceability code, forming a functional supervision closed-loop of detection, verification, and traceability, and assisting the brand side to construct a visualized product circulation supervision system for the whole channel.
[0061] Further, the reporting and feedback module includes an automatic recognition reporting module, an active reporting module, and a user traceability module;
[0062] The automatic identification and reporting module identifies the operation steps of product production, the processing flow, and whether there are any illegal operations during the supply chain transportation process by the visual traceability system, and regularly samples and checks to feed back to the active reporting module;
[0063] The active reporting module reflects the judgment information output by the traceability management module and the feedback information of the automatic identification and reporting module to the stage person in charge, assisting the stage person in charge to check the work process of the previous stage, whether the sampled products meet the work objectives of this stage, and if the products are unqualified, actively report;
[0064] The user traceability module is used to process the user's traceability requests, and feedback the user's complaint opinions and usage suggestions.
[0065] The present invention also provides a blockchain-based visual recognition traceability method, and the method includes:
[0066] By collecting the video data and product data of the product production process, processing process, and supply chain transportation process, as well as the comprehensive information of the distributor data, sales data, and sales cycle data of the distributor;
[0067] The collected data are all stored in the data collection module, and after being screened, they are sent to the traceability management module;
[0068] After the data collection is completed, the traceability management module starts product monitoring, detects and judges the data in the data management module; after detecting and judging the data in the data management module to be complete and error-free, generates the traceability codes of each stage and stores them in the blockchain;
[0069] During the product sales process, the reporting and feedback module connects to the traceability management module, comprehensively analyzes the distributor data of the distributor and the sales behavior of the distributor, judges whether the distributor has abnormal sales behavior according to the analysis results, and traces the abnormal situation, tracing each distribution node and sales source;
[0070] When the user scans the traceability box or product traceability code, the user can query the comprehensive information of the whole process of the product, and can also feedback the existing problems of the product.
[0071] Further, the specific steps of the method are as follows:
[0072] Step1. Deploy a YoLo-based visual recognition system at the product production site, record the whole process of product production, conduct sampling tests on the products, collect and record the data information of the products, upload the production data to the data collection module, and encapsulate the production information into the traceability management module after preliminary identification and screening;
[0073] Step 2. After the initial production of the product is completed, it is transported to the product processing site, and a YoLo-based visual recognition system is deployed inside the transportation container; the transportation person in charge signs the transfer of responsibility after checking that the initially produced product is correct; then the transportation to the product processing site begins; the transportation process data is transmitted to the data collection module, and after preliminary identification and screening, the data is packaged and transmitted to the traceability management module;
[0074] Step 3. After the transportation work in the first stage is completed, the product processing person in charge checks the goods. After confirming that they are correct, the container is transferred to the product processing workshop, and a visual recognition system is deployed in the workshop. The trained visual recognition system can recognize the workshop engineering process and the worker operation process. After the preliminary processing is completed, product sampling tests are carried out, and the data is uploaded to the data collection module. After preliminary screening and being correct, the data is packaged into the traceability management module; since the traceable products have high economic value and market value, after the processing is completed, the traceability management module generates the traceability code for this batch and pastes it on the surface of the product. The traceability code numbers of this batch of products are integrated to generate the traceability code of the traceability box; the products after preliminary processing repeat the above steps and are put back into the transportation line again; if secondary processing is required, it is carried out as in the above process until the last processing procedure is reached;
[0075] Step 4. After the processing in the last stage is completed, a general sampling inspection is carried out. After the comprehensive product data is qualified, the data is uploaded to the data collection module, and under the monitoring of the visual recognition system, the product is packaged into the traceability sales box. The data generated throughout the production process of the product is packaged into the traceability management module. The traceability management module summarizes the information of each stage to generate the total traceability code and generates the product ID of this batch. The product ID corresponds one-to-one with the traceability sales box; then the traceability sales box is transported to the traceability container; the last step of the transportation work is completed;
[0076] Step 5. The person in charge of the last step of transportation transports the goods to the product distributor. The general product distributor checks the entire process of product production, processing, and transportation. After confirming that the product is correct and there are no reports from the person in charge throughout the process, it confirms the receipt with the general person in charge of this product. The general person in charge of the product also confirms the completion. At the same time, the information of the distributor is also recorded in the information collection module;
[0077] Step 6. After the general product distributor receives the goods, it distributes the traceability sales boxes to each sales site, or transports them to all parts of the country by express delivery;
[0078] The seller scans the code to open the box, and the opening time will be recorded in the data collection module. When consumers make a purchase, they can first scan the code to view the opening time of this product. The traceability code can present the product origin, production process, transportation process, processing process, and up to the general distributor through videos and data;
[0079] It can also view the qualification information of the manufacturer and the seller; the production data of products at each stage, and the final product nutritional components;
[0080] Consumers can intuitively see each process and have a more comprehensive and detailed understanding of all aspects of the product;
[0081] Users can put forward suggestions for the product or report that the product is unqualified in the reporting and feedback module; after the sales cycle of products in the same batch ends, the general person in charge will summarize and refine, improving the comprehensive quality of the product to achieve a closed-loop of product quality improvement and consumer satisfaction;
[0082] Step7. After the consumer scans the code to confirm the purchase and completes the payment, scanning the code again will show that the product has been sold; the traceability box is recycled for the second time.
[0083] The data collection module is used to collect the production data, processing data, and supply chain transportation data of the product, enter the comprehensive data of the supplier brand of the product into the data collection module, and the data collection module comprehensively regularizes the data and enters the useful information into the traceability management module for users to view; the entire supply chain is based on visual recognition, and the trained large model will automatically submit the illegal video data to the reporting and feedback module when it recognizes items other than this product or informal operation processes in the visible screen; all data will be chained and cannot be changed after verification and acceptance;
[0084] The data collection module comprehensively collects the production, processing, and transportation information of the product and conducts preliminary extraction and screening, sorts out the whole process of product production, generates production, processing, and transportation modules, and collects and records the product information such as energy, protein, and fat content in each process;
[0085] The traceability management module regularizes the data at each stage to generate a traceability information code, submits it after the work at each stage is completed, and can be accepted after checking that the previous stage work is correct, that is, the stage responsible person transfers it. During the subsequent viewing process by users, they can also understand the details of the product in stages;
[0086] The reporting and feedback module is divided into two parts. First is the visual recognition analysis module, which conducts real-time analysis of the networked data of the visual screen data of the data collection module. When other products or improper operations appear, the system automatically reports, and the reported data will be submitted to the person in charge of this stage and the person in charge of the next stage. Second is the manual reporting. During the stage acceptance work, the stage responsible person needs to check the product status and the product data of the previous stage, sign for it after confirming that it is correct, and can report if problems are found. The reported data is submitted to the system, and the general person in charge of this product will handle it. Finally, the data of each module is chained after stage acceptance, and finally the full supply blockchain of this product is generated. Users can view the detailed work conditions of each process.
[0087] In summary, the present invention uploads traceability information for each product in the product supply chain based on blockchain technology, and adds the traceability code containing the traceability information to the traceability box and the product surface before the product is sold. The traceability code can not only accurately obtain the product's information at each stage, the seller's information, and the product's comprehensive nutritional value. It can also perform anti-counterfeiting verification, thereby establishing an effective and reliable traceability system to ensure product safety. It solves the problems of incomplete supply chain information and unreliable traceability information in the traditional traceability system.
[0088] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention.
[0089] From any point of view, the embodiments should be regarded as illustrative and non-restrictive. The scope of the present invention is limited by the claims rather than the above description. Therefore, it is intended that all changes within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved.
[0090] It should be noted that, in this article, the traceability code of the traceability box and the product traceability code refer to the same thing, and relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0091] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A blockchain-based visual recognition traceability system, characterized in that, The system includes: a data collection module, a traceability management module, and a reporting and feedback module; the data collection module is connected to the traceability management module and the reporting and feedback module respectively through a P2P network, and the traceability management module and the reporting and feedback module are also connected through a P2P network; The data collection module is used to collect the production data of products, product processing data, supply chain transportation data, and comprehensive information of retailers; collect video images of the entire process of products and perform data screening; The traceability management module is used to monitor the production process, processing process, supply chain transportation process, and sales process of products, enter the screened product production data, product processing data, supply chain transportation data, and comprehensive information of retailers into the traceability code, analyze and judge the production data, processing data, supply chain transportation data, and comprehensive information of retailers, judge whether the retailer passes off inferior goods as good ones or sells fake and shoddy products, and send the judgment information to the reporting and feedback module; The reporting and feedback module is used to trace the entire process of the production process, processing process, supply chain transportation process, and sales process of products through the user terminal and feedback the traceability results.
2. The visual recognition traceability system based on blockchain according to claim 1, wherein The traceability management module includes a product monitoring module and a product traceability module, and the product monitoring module is connected to the product traceability module; The product monitoring module includes: a product production information module, a product processing information module, a product transportation supply chain module, and a product sales information module; The product production information module is used to construct a traceability code for the product and record the product production data and enter it into the traceability code; The product processing information module is used to record the information during the processing process of the product and enter it into the traceability code; The product transportation supply chain module is used to record the supply chain data of each detail during the transportation process of the product in the supply chain and enter it into the traceability code; The product sales information module is used to analyze and monitor whether the retailer passes off inferior goods as good ones or engages in cross-region sales when selling goods, and record the comprehensive information of the retailer and enter it into the traceability code.
3. The visual recognition traceability system based on blockchain according to claim 2, wherein The product traceability module is divided into an inventory detection unit and a transfer tracking unit; The inventory detection unit establishes a dynamic warning model through in-depth analysis of the product inventory data of the retailer; the inventory detection unit identifies the abnormal business behaviors of the retailer, including but not limited to hoarding and stockpiling phenomena beyond a reasonable range, and the situation of product circulation and sales through unauthorized sales channels; the inventory detection unit conducts multi-dimensional cross-verification on the purchase volume, inventory volume, and sales volume of the retailer by setting detailed parameters such as inventory turnover thresholds and regional sales quotas, so as to discover potential channel violations; The goods transfer tracking unit conducts a full-link analysis of the traceability code information of the products output by the seller based on blockchain technology. The goods transfer tracking unit establishes a goods transfer behavior identification algorithm by comparing the product sales area code, the seller's authorized sales scope, and logistics trajectory data; when it is found that the actual sales area of the product does not match the authorized area, the goods transfer tracking unit quickly locks the goods transfer node, and through the visual recognition algorithm, determines whether the goods are produced by the company, and compares the production batches, and traces the original shipment source of the product through the traceability code, forming a functional supervision closed loop of detection, verification, and traceability, to assist the brand in building a full-channel visual product circulation supervision system.
4. According to claim 1, a visual identification and traceability system based on blockchain is characterized in that: The reporting feedback module includes an automatic identification reporting module, an active reporting module and a user tracing module; The automatic identification and reporting module uses the visual traceability system to identify the operating steps of product production, the processing flow and whether there are any illegal operations during the supply chain transportation process, and regularly conducts sampling inspections to provide feedback to the active reporting module; The active reporting module reflects the judgment information output by the traceability management module and the feedback information of the automatic identification reporting module to the stage leader, assisting the stage leader to check the work process of the previous stage, whether the sampled products have reached the work goals of this stage, and actively report if the products are unqualified; The user tracing module is used to process user tracing requests and provide feedback on user complaints and usage suggestions.
5. A blockchain-based visual recognition traceability method, characterized in that: The method comprises: By collecting video data and product data from the product's production process, processing process, and supply chain transportation process, as well as the seller's distribution data, sales data, and sales cycle data; The collected data are stored in the data collection module and sent to the traceability management module after screening; After data collection is completed, the traceability management module starts product monitoring and detects and judges the data in the data management module; after the data in the data management module is detected and judged to be complete and correct, the traceability code of each stage is generated and stored in the blockchain; During the product sales process, the reporting and feedback module is connected to the traceability management module to conduct a comprehensive analysis of the seller's distribution data and sales behavior. Based on the analysis results, it is determined whether the seller has abnormal sales behavior, and the abnormal situation is traced back to each distribution node and sales source; When users scan the traceability box or product traceability code, they can query the comprehensive information of the product throughout the entire process, and can also provide feedback on current problems with the product.
6. The visual recognition traceability method based on blockchain according to claim 5, characterized in that: The specific steps of the method are as follows: Step 1. Deploy a YoLo-based visual recognition system at the product production site, record the entire process of product production, conduct sample tests on products, collect and record product data information, upload production data to the data collection module, and encapsulate production information into the traceability management module after preliminary identification and screening; Step 2: After the initial production of the product is completed, it is transported to the product processing site and a YoLo-based visual recognition system is deployed in the transport container; The person in charge of transportation signs the responsibility transfer after checking that the initially produced products are correct; then starts transporting them to the product processing site; the data during transportation is transmitted to the data collection module, and after preliminary identification and screening, the data is packaged and transmitted to the traceability management module; Step 3: After the transportation work in the first stage is completed, the person in charge of product processing checks the goods. After confirming that they are correct, the container is transferred to the product processing workshop. A visual recognition system is deployed in the workshop. The trained visual recognition system can recognize the workshop engineering process and the worker operation process. After the preliminary processing is completed, product sampling tests are carried out, and the data is uploaded to the data collection module. After preliminary screening and being correct, the data is packaged into the traceability management module; Since the traceable products have high economic value and market value, after the processing is completed, the traceability management module generates the traceability code for this batch and pastes it on the surface of the product. The traceability code numbers of this batch of products are integrated to generate the traceability code of the traceability box; The products after preliminary processing repeat the above steps and are put back into the transportation line again; If secondary processing is required, it will go through the above process until it reaches the last processing procedure; Step 4: After the processing in the last stage is completed, a general sampling inspection is carried out. After the comprehensive product data is qualified, the data is uploaded to the data collection module. Under the monitoring of the visual recognition system, the products are packaged into traceability sales boxes. The data generated throughout the production process of the products is packaged into the traceability management module. The traceability management module summarizes the information of each stage to generate the general traceability code and generates the product ID of this batch. The product ID corresponds to the traceability sales box one by one; Then the traceability sales box is transported to the traceability container; The last transportation work is completed; Step 5: The person in charge of transportation in the last step transports the goods to the product distributor. The general product distributor checks the entire process of product production, processing, and transportation. After confirming that the products are correct and there are no reports from the person in charge throughout the process, it confirms the receipt with the general person in charge of this product. The general person in charge of the product also confirms the completion. At the same time, the information of the distributor is also recorded in the information collection module; Step 6: After the general product distributor receives the goods, it distributes the traceability sales boxes to each sales site, or transports them to all parts of the country by express; The seller scans the code to open the box, and the opening time will be recorded in the data collection module. When consumers make a purchase, they can first scan the code to view the opening time of this product. The traceability code can present the product origin, production process, transportation process, processing process, until the general distributor through video and data; It can also view the qualification information of the manufacturer and distributor; The production data of products at each stage, and the final product nutritional components; Consumers can intuitively see each process and have a more comprehensive and detailed understanding of all aspects of the product; Users can put forward suggestions for this product or report that the product is unqualified in the reporting and feedback module; After the sales cycle of products in the same batch ends, the general person in charge will summarize and refine it again to improve the comprehensive quality of the product, so as to achieve a closed-loop of product quality improvement and consumer satisfaction; Step 7: After consumers scan the code to confirm the purchase and complete the payment, scanning the code again will show that this product has been sold; The traceability box is recycled for the second time.