Blockchain and video storage-based agricultural product whole-chain right confirmation and traceability system
Patent Information
- Application Number
- CN202610981551.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-02
- Publication Date
- 2026-10-30
AI Technical Summary
[0005]本发明的目的在于提供基于区块链与视频存证的农产品全链条确权溯源系统,解决现有农产品溯源系统数据无可视化凭证、易篡改、无确权体系、权责模糊、无司法效力的技术问题
(1)本发明实现农产品六大流通环节的全程视频实时采集、碎片化加密存证,通过双重哈希、时间戳、隐形水印多重加密技术,固化可视化作业凭证,彻底解决溯源数据虚假、无法直观核验的问题,视频存证数据可对接司法平台,具备法定举证效力。以动态视频存证为核心溯源凭证,替代传统静态文本数据,可视化还原农产品全流程生产流通过程,杜绝数据造假、虚假溯源问题。
Smart Images

Figure CN123015039A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of agricultural product traceability technology, and in particular to a full-chain traceability system for agricultural products based on blockchain and video evidence. Background Technology
[0002] With the continuous improvement of the food safety supervision system and the upgrading of consumers' demand for quality consumption, agricultural product traceability has become a core necessity for the digital development of agriculture. Currently, most mainstream agricultural product traceability systems on the market are built on centralized servers, using structured static data such as text and numerical values as the core traceability basis. This has many industry shortcomings and seriously restricts the credibility and practicality of agricultural product traceability.
[0003] Existing traceability data suffers from several shortcomings. First, it is limited in format and lacks visualization. Traditional traceability systems record only static text data such as planting parameters, quality inspection results, and logistics trajectories, lacking real-time video evidence. This makes data authenticity difficult to verify, leading to issues like data falsification, multiple codes for the same product, and false traceability. Consumers struggle to verify the true production and distribution process of agricultural products. Second, data storage is insecure and easily tampered with. In centralized storage models, traceability data is controlled by a single enterprise or platform, posing risks of backend tampering, deletion, and loss. Furthermore, there are no comprehensive anti-tampering or traceability mechanisms, and traceability data lacks legal validity, leaving no effective evidence in cases of quality disputes or ownership controversies. Third, a comprehensive ownership confirmation system is lacking. Current technologies only provide traceability query functions and do not design a layered ownership confirmation mechanism tailored to the multi-stage circulation characteristics of agricultural products. From planting to sales, agricultural products involve multiple stakeholders, resulting in ambiguous ownership transfers and unclear responsibilities. In the event of quality or infringement issues, it is difficult to accurately pinpoint the responsible party, making dispute resolution challenging. Finally, traceability and ownership confirmation have low levels of automation. Traditional systems rely on manual data entry and manual updates of traceability information, resulting in high data lag and error rates. They cannot achieve fully automated data collection, on-chain processing, rights confirmation, and early warning, leading to low regulatory efficiency.
[0004] The existing limited blockchain-based agricultural product traceability technologies only achieve structured data on-chain, without combining video dynamic evidence storage technology, lacking visual and credible credentials, and failing to address the core pain points of multi-entity hierarchical rights confirmation and ownership transfer evidence storage, thus failing to meet the multiple needs of modern agriculture for high-precision traceability, accurate rights confirmation, and judicial evidence storage. Summary of the Invention
[0005] The purpose of this invention is to provide a full-chain traceability system for agricultural products based on blockchain and video evidence, which solves the technical problems of existing agricultural product traceability systems, such as lack of visual evidence, susceptibility to tampering, lack of a clear ownership system, ambiguous rights and responsibilities, and lack of judicial validity.
[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows: The agricultural product full-chain ownership confirmation and traceability system based on blockchain and video evidence includes a full-chain data collection terminal, a video data processing and encryption unit, an IoT data collection unit, a consortium blockchain on-chain unit, a hierarchical ownership confirmation unit, a smart contract management unit, and a traceability query and verification unit. The full-chain data collection terminal is connected to the video data processing and encryption unit. The video data processing and encryption unit and the IoT data collection unit are both connected to the consortium blockchain on-chain unit. The consortium blockchain on-chain unit is connected to the hierarchical ownership confirmation unit. The hierarchical ownership confirmation unit is connected to the smart contract management unit. The smart contract management unit is connected to the traceability query and verification unit. The front-end data acquisition terminal is used to collect real-time operational video images of agricultural products at all stages of their entire life cycle; The video encryption and evidence storage unit is used to perform fragmented interception, dynamic hash encryption, timestamp binding, and watermark embedding on the acquired real-time video stream to generate a unique video evidence fingerprint, while simultaneously completing the desensitization and trusted solidification of the original video data. The Internet of Things (IoT) data acquisition unit is used to synchronously collect structured traceability data such as agricultural product planting environment data, processing parameters, storage temperature and humidity, logistics trajectory, and quality inspection reports. The consortium blockchain's on-chain unit is used to package encrypted video evidence fingerprints, structured traceability data, subject identity information, and operation time information onto the blockchain, achieving decentralized data storage, immutability, and full traceability based on the consortium blockchain's distributed ledger; The hierarchical ownership confirmation unit is used to divide primary ownership, processing ownership, distribution ownership, and terminal ownership according to the operating entities, operating contents, and circulation status of agricultural products in each circulation link, and to complete the digital ownership registration and confirmation publicity of the entities at each stage; The smart contract management unit is used to deploy customized traceability and rights confirmation smart contracts, automatically triggering mechanisms for data on-chaining, ownership transfer, anomaly warning, and traceability information update, achieving fully automated management and control without manual intervention; The traceability and verification unit provides multi-channel traceability query, data verification, video evidence retrieval, and ownership information verification services to regulators, enterprises, and consumers.
[0007] Furthermore, the entire data collection chain includes monitoring cameras at planting bases, handheld harvesting cameras, high-definition recorders in processing workshops, panoramic cameras in warehouses, vehicle-mounted cameras in logistics vehicles, and video acquisition equipment at sales terminals. The monitoring cameras at planting bases are installed within the agricultural product planting area to collect video of the entire growth or production process from planting to harvesting. The handheld harvesting cameras are worn by harvesters to collect video of the harvesting process in real time. Simultaneously, the monitoring cameras at the planting bases combine the video of the harvesters with the video from the handheld cameras to create a mother-child video feed. The high-definition recorders in the processing workshops record the process video. The panoramic cameras in the warehouses record the harvesting and storage process video. The vehicle-mounted cameras in logistics vehicles collect video of the finished product transportation process. Finally, the video acquisition equipment at sales terminals collects video data of the sales process.
[0008] Furthermore, the video data processing and encryption unit includes a video stream fragmentation module, an upstream video QR code extraction and new QR code generation module, a dynamic hash encryption module, a timestamp binding module, a watermark embedding processing module, and a unique video fingerprint generation module. The video stream fragmentation module is used to segment the real-time acquired video stream into fragments of fixed duration, generating multiple independent video fragments. The upstream video QR code extraction and new QR code generation module is used to convert video fragments at specific times into labeled QR codes. The video at the next specific time point then obtains the recognition parts of the four corners from the labeled QR code at the previous time point and merges them to generate the identification QR code for the video at the next time point. The identification component acts as a mapping between adjacent time points in the video. The dynamic hash encryption module is used to hash and encrypt each video fragment to generate a unique hash fingerprint. The timestamp binding module is used to bind each video fragment with a blockchain standard timestamp, a unique ID of the acquisition terminal device, and an identity ID of the operating entity. The watermark embedding processing module is used to embed an invisible traceability watermark and an ownership identification watermark. The watermark information includes information on the agricultural product batch, circulation process, and ownership entity. The unique video evidence fingerprint generation module packages the hash fingerprint of the video fragment, watermark information, and timestamp information and uploads them to the consortium blockchain. The original video fragments are encrypted and stored on a distributed cloud server, realizing a hierarchical storage mode of on-chain evidence storage and off-chain data storage.
[0009] Furthermore, the IoT data acquisition unit includes a planting environment data acquisition module, a processing technology parameter acquisition module, a storage temperature and humidity acquisition module, a logistics trajectory acquisition module, and a quality inspection report acquisition module. The planting environment data acquisition module collects environmental data of the agricultural product planting site, and merges it with the planting video using the collection time as the link to obtain traceable planting video data. The processing technology parameter acquisition module is used to collect process data in real time during the processing of agricultural products, and further merges the process data with the collected processing video to obtain traceable processing video data. The storage temperature and humidity acquisition module is used to collect temperature and humidity data during the storage of agricultural products, and merges it with the agricultural product storage video to obtain traceable storage video data. The logistics trajectory acquisition module is used to collect the trajectory data of transport vehicles in real time, and merges the collected trajectory data with the transport video data to obtain traceable transport video data. The quality inspection report acquisition module is used to collect the quality inspection report data of agricultural products, and further merges the collected report data with the video data of the inspection process to obtain traceable inspection video data.
[0010] Furthermore, the tiered ownership confirmation unit includes a phased ownership confirmation module, an ownership transfer module, an ownership publicity module, and an objection appeal module. The phased ownership confirmation module is used to complete the initial ownership confirmation for farmers in the planting and harvesting stage, the processing ownership confirmation for enterprises in the processing stage, the distribution ownership confirmation for the warehousing and logistics stage, and the ownership confirmation for end merchants in the sales stage. The ownership transfer module is used to automatically identify agricultural product transfer nodes based on smart contracts, automatically update ownership entity information, generate ownership transfer records and store them on the blockchain to prevent ownership tampering and fraudulent transfers. The ownership disclosure module is used to publicly disclose the ownership confirmation information and transfer records at each stage, supporting full network search and full process verification. The objection appeal module is used to retrieve on-chain video evidence and traceability data as judicial evidence in ownership dispute scenarios to complete ownership dispute verification and adjudication.
[0011] Furthermore, the smart contract control unit includes a data on-chain trigger module, an ownership change trigger module, a data anomaly trigger module, and an expiration warning trigger module. When agricultural products are detected to enter a new circulation link, the ownership transfer smart contract is automatically triggered to update the ownership information and generate a circulation log. When traceability data is missing, video recording is interrupted, or parameters are abnormal, the warning contract is automatically triggered to push abnormal information to the regulatory terminal.
[0012] Furthermore, the specific workflow of the system is as follows: real-time operation videos of the entire process of agricultural product planting, harvesting, processing, warehousing, logistics, and sales are collected through several front-end terminals. Simultaneously, structured data on environment, process, trajectory, and quality inspection are collected through IoT devices. The collected video streams are fragmented and encrypted, double hashed, timestamped, and watermarked to generate video evidence certificates, completing the visualization and solidification of data. The video evidence fingerprints, structured traceability data, entity identity data, and operation data are packaged, encrypted, and uploaded to the consortium blockchain distributed ledger to achieve tamper-proof data storage. According to the stage of agricultural product circulation, the system automatically completes the stage-by-stage ownership confirmation of each entity through smart contracts, records the entire process of ownership transfer, generates a complete ownership confirmation chain, and opens traceability query interfaces to several end users. By retrieving on-chain data and video evidence through agricultural product batch codes, QR codes, and traceability codes, the system completes authenticity verification, ownership verification, and full-process traceability. The present invention, by adopting the above-described technical solution, has the following beneficial effects: (1) This invention enables real-time video collection and fragmented encrypted storage of evidence throughout the six major circulation stages of agricultural products. Through multiple encryption technologies such as dual hashing, timestamps, and invisible watermarks, it solidifies visual operational vouchers, completely solving the problems of false traceability data and inability to be intuitively verified. The video evidence data can be connected to judicial platforms and has legal evidentiary effect. Using dynamic video evidence as the core traceability voucher, it replaces traditional static text data, visually restoring the entire production and circulation process of agricultural products, and eliminating data fraud and false traceability issues.
[0013] (2) Based on the distributed ledger storage of core data in the consortium blockchain, combined with hash encryption and timestamp solidification technologies, all traceability, evidence storage, and rights confirmation data are fully traceable and tamper-proof, with security far exceeding that of centralized storage systems. The hierarchical rights confirmation system covers the entire circulation process, accurately delineating the ownership and responsibilities of each participating entity, and ensuring full traceability of ownership transfer, effectively resolving disputes over agricultural product quality and ownership. It provides agricultural regulatory departments with comprehensive data monitoring, anomaly warning, and traceability verification capabilities, assisting in the digital supervision of agricultural product quality and safety and improving the industry's standardization level. Attached Figure Description
[0014] Figure 1 This is a block diagram of the principle of the rights confirmation and traceability system of this invention; Figure 2 This is a block diagram of the entire data acquisition terminal module of the present invention; Figure 3 This is a block diagram of the video data processing and encryption unit module of the present invention; Figure 4 This is a block diagram of the IoT data acquisition unit module of the present invention; Figure 5 This is a block diagram of the hierarchical ownership confirmation unit module of the present invention; Figure 6 This is a block diagram of the smart contract management unit module of the present invention. Detailed Implementation
[0015] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and preferred embodiments. However, it should be noted that many details listed in the specification are merely to provide the reader with a thorough understanding of one or more aspects of the present invention, and these aspects of the invention can be implemented even without these specific details.
[0016] like Figure 1 As shown, the agricultural product full-chain ownership confirmation and traceability system based on blockchain and video evidence includes a full-chain data collection terminal, a video data processing and encryption unit, an IoT data collection unit, a consortium blockchain on-chain unit, a hierarchical ownership confirmation unit, a smart contract management unit, and a traceability query and verification unit. The full-chain data collection terminal is connected to the video data processing and encryption unit. Both the video data processing and encryption unit and the IoT data collection unit are connected to the consortium blockchain on-chain unit. The consortium blockchain on-chain unit is connected to the hierarchical ownership confirmation unit. The hierarchical ownership confirmation unit is connected to the smart contract management unit. The smart contract management unit is connected to the traceability query and verification unit.
[0017] The front-end data acquisition terminal is used to collect real-time video footage of agricultural products throughout their entire lifecycle. The video encryption and evidence preservation unit performs fragmented extraction, dynamic hash encryption, timestamp binding, and watermark embedding on the collected real-time video streams to generate unique video evidence fingerprints, while simultaneously desensitizing and solidifying the original video data. The IoT data acquisition unit synchronously collects structured traceability data such as agricultural planting environment data, processing parameters, storage temperature and humidity, logistics trajectories, and quality inspection reports. The consortium blockchain on-chain unit packages and uploads the encrypted video evidence fingerprints, structured traceability data, entity identity information, and operation time information to the blockchain, achieving decentralized storage, immutability, and full traceability based on the consortium blockchain's distributed ledger. The hierarchical ownership confirmation unit classifies ownership into primary, processing, distribution, and terminal ownership based on the operating entities, content, and circulation status of each stage of agricultural product circulation, completing the digital ownership registration and confirmation publicity for each stage's entities. The smart contract management unit is used to deploy customized traceability and rights confirmation smart contracts, automatically triggering mechanisms for data on-chaining, ownership transfer, anomaly alerts, and traceability information updates, achieving fully automated management and control without manual intervention. The traceability query and verification unit provides multi-channel traceability query, data verification, video evidence retrieval, and ownership information verification services to regulators, enterprises, and consumers.
[0018] Addressing the multi-entity, multi-stage circulation characteristics of agricultural products, a phased, hierarchical rights confirmation model is designed. This model distinguishes between four ownership stages: planting, processing, distribution, and end-user, accurately defining the rights and responsibilities of each entity. Smart contracts automatically complete ownership transfer, rights confirmation registration, and full-process traceability, resolving the industry pain points of traditional traceability systems that lack ownership definition and accountability. Overcoming the limitations of blockchain storage capacity, video hash fingerprints, core traceability data, and rights confirmation information are uploaded to the blockchain for tamper-proof protection. The original, massive video data is encrypted and stored in a distributed cloud, ensuring data immutability and verifiability while significantly reducing blockchain storage pressure, balancing security and operational efficiency. Customized deployment of four types of smart contracts—traceability, rights confirmation, early warning, and circulation—enables automatic data upload to the blockchain, automatic ownership updates, automatic anomaly warnings, and automatic log retention, all without manual intervention. This solves the problems of slow manual data entry and high error rates in traditional systems, achieving full-process digital, automated, and intelligent management.
[0019] This integrated technical architecture, encompassing front-end full-domain data collection, encrypted video storage, distributed blockchain uploading, layered intelligent rights confirmation, and multi-terminal traceability verification, covers the entire agricultural product supply chain, from planting and harvesting to processing, storage, logistics, and sales. It collects dynamic video footage and structured traceability data in real-time from various terminal devices. Through fragmented encryption, double hash verification, and timestamp watermarking, it achieves reliable video storage. Core evidence data and traceability information are uploaded to the consortium blockchain for decentralized, tamper-proof storage. Simultaneously, a layered rights confirmation model is built based on smart contracts, completing phased ownership confirmation and automatic transfer records for participating entities at each stage of agricultural product circulation, forming a complete ownership traceability chain. Finally, through a multi-terminal query platform, it provides regulatory authorities, enterprises, and consumers with visualized traceability, ownership verification, data validation, and judicial evidence retrieval services.
[0020] In embodiments of the present invention, such as Figure 2As shown, the entire data collection chain includes monitoring cameras at the planting base, handheld harvesting cameras, high-definition recorders in the processing workshop, panoramic cameras in the warehouse, vehicle-mounted cameras in logistics, and video acquisition equipment at the sales terminal. The monitoring cameras at the planting base are installed within the agricultural product planting area to collect video of the entire growth or production process from planting to harvesting. The handheld harvesting cameras are worn by harvesters to collect video of the harvesting process in real time. Simultaneously, the monitoring cameras at the planting base combine the video of the harvesters with the video from the handheld cameras to create a master-slave video feed. The high-definition recorders in the processing workshop record video of the processing process. The panoramic cameras in the warehouse record video of the harvesting and storage process. The vehicle-mounted cameras in the logistics vehicle collect video of the finished product transportation process. The video acquisition equipment at the sales terminal collects video data of the sales process. The high-definition monitoring at the planting base, the handheld harvesting recorders, the cameras in the processing workshop, the panoramic equipment in the warehouse, the vehicle-mounted cameras in the logistics vehicle, and the video acquisition equipment at the sales terminal provide comprehensive coverage for collecting video data at each stage. Combined with IoT sensors, it collects structured data such as temperature and humidity, soil parameters, processing temperature, logistics location, and quality inspection indicators, achieving multi-dimensional data collection.
[0021] In embodiments of the present invention, such as Figure 3 As shown, the video data processing and encryption unit includes a video stream fragmentation module, an upstream video QR code extraction and new QR code generation module, a dynamic hash encryption module, a timestamp binding module, a watermark embedding module, and a unique video fingerprint generation module. The video stream fragmentation module segments the real-time acquired video stream into multiple independent video fragments based on a fixed duration. The upstream video QR code extraction and new QR code generation module converts video fragments at specific times into labeled QR codes. The video at the next specific time point then extracts the corresponding four corner recognition portions from the labeled QR code at the previous time point and fuses them to generate the identifier QR code for the next time point's video. The other part serves as a mapping of videos at adjacent time points. The dynamic hash encryption module is used to hash and encrypt each video fragment to generate a unique hash fingerprint. The timestamp binding module is used to bind each video fragment with a blockchain standard timestamp, a unique ID of the acquisition terminal device, and an identity ID of the operating entity. The watermark embedding processing module is used to embed an invisible traceability watermark and an ownership identification watermark. The watermark information includes information on the agricultural product batch, circulation process, and ownership entity. The unique video evidence fingerprint generation module packages the video fragment hash fingerprint, watermark information, and timestamp information and uploads them to the consortium blockchain. The original video fragments are encrypted and stored on a distributed cloud server, realizing a hierarchical storage mode of on-chain evidence storage and off-chain data storage.
[0022] In embodiments of the present invention, such as Figure 4As shown, the IoT data acquisition unit includes a planting environment data acquisition module, a processing technology parameter acquisition module, a storage temperature and humidity acquisition module, a logistics trajectory acquisition module, and a quality inspection report acquisition module. The planting environment data acquisition module collects environmental data of the agricultural product planting site, and merges it with the planting video using the collection time as the link to obtain traceable planting video data. The processing technology parameter acquisition module is used to collect process data in real time during the processing of agricultural products, and further merges the process data with the collected processing video to obtain traceable processing video data. The storage temperature and humidity acquisition module is used to collect temperature and humidity data during the storage of agricultural products, and merges it with the agricultural product storage video to obtain traceable storage video data. The logistics trajectory acquisition module is used to collect the trajectory data of transportation vehicles in real time, and merges the collected trajectory data with the transportation video data to obtain traceable transportation video data. The quality inspection report acquisition module is used to collect the quality inspection report data of agricultural products, and further merges the collected report data with the video data of the inspection process to obtain traceable inspection video data.
[0023] In embodiments of the present invention, such as Figure 5 As shown, the hierarchical ownership confirmation unit includes a phased ownership confirmation module, an ownership transfer module, an ownership publicity module, and an objection appeal module. The phased ownership confirmation module is used to complete the initial ownership confirmation for farmers in the planting and harvesting stage, the processing ownership confirmation for enterprises in the processing stage, the circulation ownership confirmation for the warehousing and logistics stage, and the ownership confirmation for end merchants in the sales stage. The ownership transfer module is used to automatically identify the circulation nodes of agricultural products based on smart contracts, automatically update the ownership subject information, generate ownership transfer records and store them on the blockchain to prevent ownership tampering and false circulation. The ownership publicity module is used to publicly disclose the ownership confirmation information and circulation records at each stage, supporting full network search and full process verification. The objection appeal module is used to retrieve on-chain video evidence and traceability data as judicial evidence in the case of ownership disputes, and complete the verification and adjudication of ownership disputes.
[0024] Videos and planting data of the entire process of product sowing, growth, and harvesting are uploaded to the blockchain. The system automatically confirms ownership of the product to the planting farmers / production bases, generates a primary ownership certificate, and publishes it on the blockchain.
[0025] Ownership confirmation during processing: After agricultural products enter the processing workshop, the processing equipment, operation process, and quality inspection videos are recorded throughout the process. The smart contract automatically changes the ownership, confirming ownership to the processing enterprise and recording the processing technology and quality inspection information.
[0026] Warehousing and logistics ownership confirmation: Video and trajectory data of agricultural products entering the warehouse, storage and transportation are stored and recorded on the blockchain, and ownership is transferred to the warehousing and logistics entities, recording the warehousing environment, logistics trajectory and preservation parameters.
[0027] Terminal sales ownership confirmation: After agricultural products enter sales terminals such as supermarkets and e-commerce platforms, sales registration, display videos, and transaction data are uploaded to the blockchain, and ownership is confirmed to belong to the sales entity.
[0028] The entire ownership transfer process is traceable: Every ownership change is automatically triggered by a smart contract, generating a transfer log and transfer certificate, which are permanently stored on the blockchain, allowing for full traceability of the ownership change process.
[0029] In embodiments of the present invention, such as Figure 6 As shown, the smart contract control unit includes a data on-chain trigger module, an ownership change trigger module, a data anomaly trigger module, and an expiration warning trigger module. When agricultural products are detected to have entered a new circulation link, the ownership transfer smart contract is automatically triggered to update the ownership information and generate a circulation log. When traceability data is missing, video recording is interrupted, or parameters are abnormal, the warning contract is automatically triggered to push abnormal information to the regulatory terminal.
[0030] The system's specific workflow is as follows: Real-time video recordings of the entire agricultural product planting, harvesting, processing, storage, logistics, and sales process are collected via several front-end terminals. Simultaneously, structured data on the environment, processes, trajectories, and quality inspection are collected through IoT devices. The collected video streams are fragmented and encrypted, undergo double hash verification, timestamp binding, and watermark embedding to generate video evidence certificates, thus solidifying the visualized data. The video evidence fingerprints, structured traceability data, entity identity data, and operational data are packaged, encrypted, and uploaded to the consortium blockchain distributed ledger, ensuring immutable data storage. Based on the agricultural product circulation stages, smart contracts automatically complete the phased ownership confirmation for each entity, recording the entire ownership transfer process and generating a complete ownership confirmation chain. A traceability query interface is provided to several end-users, allowing them to retrieve on-chain data and video evidence through agricultural product batch codes, QR codes, and traceability codes to complete authenticity verification, ownership verification, and full-process traceability. Consumers can easily access video evidence, traceability data, and ownership information throughout the entire product lifecycle via QR codes and traceability codes on agricultural product packaging, allowing them to directly verify product authenticity and the entire production and distribution process. Regulatory authorities can monitor the entire supply chain in real time through the backend system. When issues such as interrupted video recordings, missing data, abnormal parameters, or abnormal ownership transfers occur, the system automatically triggers alerts and pushes abnormal information and supporting documentation. Regulatory personnel can then rely on the on-chain evidence to complete verification and enforcement actions. Simultaneously, all evidence can be directly connected to a judicial evidence platform, serving as direct evidence in cases of quality disputes or infringement disputes.
[0031] The system is applicable to fruits and vegetables, and can collect video data on planting, harvesting, sorting and packaging. It can also be used to record evidence of the entire process of drying, processing, storage and transportation of grains and oils. For livestock, poultry and aquatic products, it can cover the entire process of breeding, slaughtering, processing and cold chain logistics with full visual traceability. It has strong versatility and adaptability.
[0032] Matters not covered in this invention are common knowledge.
[0033] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A blockchain-based, video-based agricultural product whole-chain ownership confirmation and traceability system, characterized by: It includes a full-chain data collection terminal, a video data processing and encryption unit, an IoT data collection unit, a consortium blockchain on-chain unit, a hierarchical ownership confirmation unit, a smart contract management and control unit, and a traceability and verification unit. The full-chain data collection terminal is connected to the video data processing and encryption unit. The video data processing and encryption unit and the IoT data collection unit are both connected to the consortium blockchain on-chain unit. The consortium blockchain on-chain unit is connected to the hierarchical ownership confirmation unit. The hierarchical ownership confirmation unit is connected to the smart contract management and control unit. The smart contract management and control unit is connected to the traceability and verification unit. The front-end data acquisition terminal is used to collect real-time video footage of agricultural products at all stages of their entire life cycle. The video encryption and evidence storage unit is used to perform fragmented interception, dynamic hash encryption, timestamp binding, and watermark embedding on the acquired real-time video stream to generate a unique video evidence fingerprint, while simultaneously completing the desensitization and trusted solidification of the original video data. The Internet of Things (IoT) data acquisition unit is used to synchronously collect structured traceability data such as agricultural product planting environment data, processing parameters, storage temperature and humidity, logistics trajectory, and quality inspection reports. The consortium blockchain's on-chain unit is used to package encrypted video evidence fingerprints, structured traceability data, subject identity information, and operation time information onto the blockchain, achieving decentralized data storage, immutability, and full traceability based on the consortium blockchain's distributed ledger; The hierarchical ownership confirmation unit is used to divide primary ownership, processing ownership, distribution ownership, and terminal ownership according to the operating entities, operating contents, and circulation status of agricultural products in each circulation link, and to complete the digital ownership registration and confirmation publicity of the entities at each stage; The smart contract management unit is used to deploy customized traceability and rights confirmation smart contracts, automatically triggering mechanisms for data on-chaining, ownership transfer, anomaly warning, and traceability information update, achieving fully automated management and control without manual intervention; The traceability and verification unit provides multi-channel traceability query, data verification, video evidence retrieval, and ownership information verification services to regulators, enterprises, and consumers.
2. The agricultural product whole-chain ownership confirmation and traceability system based on blockchain and video evidence storage as described in claim 1, characterized in that: The entire data collection chain includes monitoring cameras at planting bases, handheld harvesting cameras, high-definition recorders in processing workshops, panoramic cameras in warehouses, vehicle-mounted cameras in logistics vehicles, and video acquisition equipment at sales terminals. The monitoring cameras at planting bases are installed within the agricultural product planting areas to collect video of the entire growth or production process from planting to harvesting. The handheld harvesting cameras are worn by harvesters to capture video of the harvesting process in real time. Simultaneously, the monitoring cameras at the planting bases combine the video of the harvesters with the video from the handheld cameras to create a master-slave video feed. The high-definition recorders in the processing workshops record the process video. The panoramic cameras in the warehouses record the harvesting and storage process video. The vehicle-mounted cameras in logistics vehicles capture video of the finished product transportation process. Finally, the video acquisition equipment at sales terminals collects video data of the sales process.
3. The agricultural product whole-chain ownership confirmation and traceability system based on blockchain and video evidence storage as described in claim 1, characterized in that: The video data processing and encryption unit includes a video stream fragmentation module, an upstream video QR code extraction and new QR code generation module, a dynamic hash encryption module, a timestamp binding module, a watermark embedding module, and a unique video fingerprint generation module. The video stream fragmentation module segments the real-time acquired video stream into multiple independent video fragments based on a fixed duration. The upstream video QR code extraction and new QR code generation module converts video fragments at specific times into labeled QR codes. The video at the next specific time point then extracts the corresponding four corner recognition portions from the labeled QR code at the previous time point and fuses them to generate the identification QR code for the next time point's video. Partially serving as a mapping of videos at adjacent time points, the dynamic hash encryption module is used to hash and encrypt each video fragment, generating a unique hash fingerprint. The timestamp binding module is used to bind each video fragment with a blockchain standard timestamp, a unique ID of the acquisition terminal device, and an identity ID of the operating entity. The watermark embedding processing module is used to embed an invisible traceability watermark and an ownership identification watermark. The watermark information includes information on the agricultural product batch, circulation process, and the entity confirming the ownership. The unique video evidence fingerprint generation module packages the video fragment hash fingerprint, watermark information, and timestamp information and uploads them to the consortium blockchain. The original video fragments are encrypted and stored on a distributed cloud server, realizing a hierarchical storage mode of on-chain evidence storage and off-chain data storage.
4. The agricultural product whole-chain ownership confirmation and traceability system based on blockchain and video evidence storage as described in claim 1, characterized in that: The IoT data acquisition unit includes a planting environment data acquisition module, a processing parameter acquisition module, a storage temperature and humidity acquisition module, a logistics trajectory acquisition module, and a quality inspection report acquisition module. The planting environment data acquisition module collects environmental data from the agricultural product planting site, using the collection time as a link, and merges it with planting videos to obtain traceable planting video data. The processing parameter acquisition module collects process data during the processing of agricultural products in real time, and further merges the process data with the collected processing videos to obtain traceable processing video data. The storage temperature and humidity acquisition module collects temperature and humidity data during the storage process of agricultural products, and merges it with agricultural product storage videos to obtain traceable storage video data. The logistics trajectory acquisition module collects trajectory data of transport vehicles in real time, and merges the collected trajectory data with transport video data to obtain traceable transport video data. The quality inspection report acquisition module collects agricultural product quality inspection report data, and further merges the collected report data with the inspection process video data to obtain traceable inspection video data.
5. The agricultural product whole-chain ownership confirmation and traceability system based on blockchain and video evidence storage as described in claim 1, characterized in that: The tiered ownership confirmation unit includes a phased ownership confirmation module, an ownership transfer module, an ownership publicity module, and an objection appeal module. The phased ownership confirmation module is used to complete the initial ownership confirmation for farmers in the planting and harvesting stage, to complete the processing ownership confirmation for enterprises in the processing stage, to complete the distribution ownership confirmation in the warehousing and logistics stage, and to complete the ownership confirmation for end merchants in the sales stage. The ownership transfer module is used to automatically identify agricultural product transfer nodes based on smart contracts, automatically update ownership entity information, generate ownership transfer records and store them on the blockchain to prevent ownership tampering and fraudulent transfers. The ownership disclosure module is used to publicly disclose the ownership confirmation information and transfer records at each stage, supporting full network search and full process verification. The objection appeal module is used to retrieve on-chain video evidence and traceability data as judicial evidence in ownership dispute scenarios to complete ownership dispute verification and adjudication.
6. The agricultural product whole-chain ownership confirmation and traceability system based on blockchain and video evidence storage as described in claim 1, characterized in that: The smart contract management unit includes a data on-chain trigger module, an ownership change trigger module, a data anomaly trigger module, and an expiration warning trigger module. When agricultural products are detected to have entered a new circulation link, the ownership transfer smart contract is automatically triggered to update the ownership information and generate a circulation log. When traceability data is missing, video recording is interrupted, or parameters are abnormal, the warning contract is automatically triggered to push abnormal information to the regulatory terminal.
7. The agricultural product whole-chain ownership confirmation and traceability system based on blockchain and video evidence storage as described in claim 1, characterized in that, The specific workflow of the system is as follows: By collecting real-time video footage of the entire process of agricultural product planting, harvesting, processing, storage, logistics, and sales through multiple front-end terminals, and simultaneously collecting structured data on environment, processes, trajectories, and quality inspection through IoT devices, the collected video streams are fragmented and encrypted, double-hash verified, timestamped, and watermarked to generate video evidence certificates, thus completing the visualization and solidification of data. The video evidence fingerprints, structured traceability data, entity identity data, and operational data are packaged and encrypted and uploaded to the consortium blockchain distributed ledger to achieve tamper-proof data storage. According to the stage of agricultural product circulation, smart contracts automatically complete the stage-by-stage ownership confirmation of each entity, record the entire process of ownership transfer, and generate a complete ownership confirmation chain. Traceability query interfaces are opened to several end users, who can retrieve on-chain data and video evidence through agricultural product batch codes, QR codes, and traceability codes to complete authenticity verification, ownership verification, and full-process traceability.
