[0035] In order to better understand the technical content of the present invention, specific embodiments are given together with the attached drawings for description as follows.
[0036] Aspects of the invention are described in this disclosure with reference to the accompanying drawings, which show a number of illustrated embodiments. Embodiments of the present disclosure are not necessarily intended to include all aspects of the invention. It should be appreciated that the various concepts and embodiments described above, as well as those described in more detail below, can be implemented in any of numerous ways, since the concepts and embodiments disclosed herein are not limited to any implementation. In addition, some aspects of the present disclosure may be used alone or in any suitable combination with other aspects of the present disclosure.
[0037] Those skilled in the art will recognize that the various embodiments may be practiced without one or more of the specific details, or with other alternative and/or additional methods, materials, or components. In other instances, well-known structures, materials, or operations are not shown or described in detail so as not to obscure aspects of the various embodiments of the invention. Similarly, for purposes of explanation, specific quantities, materials and configurations are set forth in order to provide a thorough understanding of embodiments of the invention. However, the invention may be practiced without these specific details. Furthermore, it should be understood that the various embodiments shown in the drawings are illustrative representations and are not necessarily drawn to scale.
[0038] A method for traceability of agricultural products based on blockchain, said method realizes the traceability of agricultural products in blockchain nodes by setting public access nodes, the method is as follows:
[0039] Collect agricultural product quality information, and send the collected agricultural product quality information to the quality information node in the blockchain;
[0040] Collect the origin information of agricultural products, and send the collected information on the origin of agricultural products to the origin information node in the blockchain;
[0041] Agricultural product collection information collection, sending the collected agricultural product collection information to the information collection node in the blockchain;
[0042] Collect agricultural product transportation information, and send the collected agricultural product transportation information to the transportation information node in the blockchain;
[0043] The blockchain node receives agricultural product quality information, agricultural product origin information, agricultural product collection information, and agricultural product transportation information, and gives each information a timestamp and signs it before sending it to the blockchain node, and the above-mentioned input information settings cannot be modified.
[0044] Among them, the agricultural product quality information collection module, the agricultural product origin information collection module, the agricultural product collection information collection module, and the agricultural product transportation information collection module set corresponding nodes in the blockchain nodes, and each node is connected through a communication module, making it a A complete data link.
[0045] like figure 2The shown agricultural product quality information collection module is mainly used to collect pesticide spraying information, pesticide components, and fertilization information, wherein the agricultural product quality information collection module includes an information collection unit, an information monitoring unit, an information storage unit, and an information processing unit, wherein the information The collection unit is used to collect pesticide information and fertilizer information, the information monitoring unit is used to monitor pesticide spraying information and fertilization information, and the information processing unit is used to receive and process the information sent by the information collection unit and information monitoring unit to form Word or Excel and other forms of files, and store the files in the information storage unit, where the information storage unit is connected to the corresponding blockchain node.
[0046] like image 3 As shown, wherein the information collection unit includes a camera, an information processor, and a memory, wherein the camera identifies the pesticide and fertilizer information by scanning the two-dimensional code of the pesticide composition or the fertilizer number information code, and the two-dimensional code information or fertilizer information collected by the camera The label information is sent to an information processor, and the information processor is used to match the collected information with the information stored in the memory, and when the collected information matches the information stored in the memory successfully, output the information stored in the memory; When the collected information fails to match the information stored in the memory, the output unknown is given to the information processing unit.
[0047] The information monitoring unit is a camera device installed in the crop production area, which is used to record the status of the agricultural product production process and send it to the information processing unit.
[0048] Furthermore, the aforementioned agricultural product quality information collection, agricultural product origin information collection, agricultural product collection information, and agricultural product transportation information are composed of several participants with different functions, each participant corresponds to a node, and each node has a public key and a private key; The public key is open to all members in the blockchain, and the private key is used as the key to verify identity and information during the transaction process.
[0049] Wherein the private key is a password based on biometric features, such as one or more of fingerprint features, voice features, iris features or facial features.
[0050] The public key can be a digital password or a common unlocking U disk.
[0051] Further, the aforementioned agricultural product origin information includes one or more of production enterprises, bases, plots and geographic location information, and seedling information.
[0052] Among them, the production enterprise information, base, land plot and geographical location information are entered while obtaining the blockchain nodes; the seedling information acquisition method is the same as the agricultural product quality information collection, so it will not be described in detail.
[0053] Further, the aforementioned agricultural product collection information module includes one or more of picking volume, operator and operating time. The amount of agricultural products picked, the operator and the operating time are passed
[0054] Further, the aforementioned agricultural product transportation information includes one or more of shipping time, carrier company and delivery time.
[0055] The agricultural product transportation information module includes a scanning unit, a carrier company information storage unit, and a transportation information processing unit, wherein the scanning unit is used to scan the agricultural product transportation bill, and send the scanned agricultural product transportation bill information to the transportation information processing unit. The information processing unit is used to match the transport information processing unit sent by the scanning unit with the carrier company information storage unit, and when the scanned transport information matches the content stored in the carrier company information processing unit, save the carrier company information in the agricultural product The transport information unit, and the contact information of the recipient of the place of delivery, etc. are also stored in the agricultural product transport information unit. During the transportation process, the change of the transport information is automatically processed by the transport information processing unit and sent to the agricultural product transport information unit. The agricultural product transportation information unit is connected to the corresponding node on the block chain node.
[0056] like figure 1 As shown, on the other hand, the present invention also provides a blockchain-based agricultural product traceability system, which includes:
[0057] An agricultural product quality information collection module, which is configured to send the collected agricultural product quality information to the quality information node module in the block chain;
[0058] The agricultural product origin information collection module is configured to send the collected agricultural product origin information to the origin information node module in the block chain;
[0059] An agricultural product collection information collection module, which is configured to send the collected agricultural product collection information to the information collection node module in the block chain;
[0060] An agricultural product transportation information collection module, which is configured to send the collected agricultural product transportation information to the transportation information node module in the block chain;
[0061] Blockchain node module, which is set to receive agricultural product quality information, agricultural product origin information, agricultural product collection information, agricultural product transportation information, and give each information a time stamp and share it after signing, and the above-mentioned input information settings cannot be modified. ;
[0062] The blockchain node module is connected to the above-mentioned information collection modules respectively, and each information collection module has a private key and a private key; the public key is disclosed to all members in the blockchain, and the private key is used to verify identity and information during the transaction process. The key is that the users of each information collection module enter the traceability system of agricultural products through the private key. The agricultural product information is stored in the storage module, and all members in the blockchain can access it through the public key.
[0063] Further, the aforementioned agricultural product quality information collection module, agricultural product origin information collection module, agricultural product collection information collection module, and agricultural product transportation information collection module correspond to a blockchain node on the blockchain node module.
[0064] The agricultural product quality information collection module mentioned in the present invention, the agricultural product origin information collection module, the agricultural product collection information collection module, and the agricultural product transportation information collection module can also collect the following information (1) base, plot and geographic location information, seedling information, etc. ); (2) growth records (operating time and responsible person for main operations such as seedling raising, sowing, fertilizing, spraying, water spraying, picking, etc.); (3) testing information (testing agency, testing time, testing report and testing results, etc.) ; (4) Fertilization information (fertilizer brand, supplier, amount, operator and operating time, etc.); (5) Spraying (brand, supplier, amount, operator, operating time, etc.): (6) Watering (amount, (operator and operating time, etc.); (7) picking (picking amount, operator and operating time, etc.); (8) other farming information (such as weeding, plowing, etc.).
[0065] Further, the aforementioned block chain node module is connected with a storage module, and the storage module is used for storing the relevant information of agricultural products stored in the block chain node module.
[0066] Further, the aforementioned agricultural product is provided with a two-dimensional code corresponding to the product, and the consumer can call the relevant information of the agricultural product stored in the storage module by scanning the two-dimensional code.
[0067] Those skilled in the art will appreciate that the control signals may be represented using a variety of different techniques and means. For example, the control signals described in the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or magnetic particles, optical fields or optical particles, or any combination thereof.
[0068] Those of skill in the art would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system.
[0069] Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
[0070] The various illustrative logic modules and control circuits described in connection with the embodiments disclosed herein may be implemented using a general purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA), or other programmable Logic control devices (eg, PLCs), discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein are implemented or performed. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in cooperation with a DSP core, or any other such configuration.
[0071] The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of both. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integrated into the processor. The processor and storage medium can reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and storage medium may reside as discrete components in the user terminal.
[0072] In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any other combination. If implemented in software, as a computer program product, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example and not limitation, such computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or other Any other medium that is suitable for program code and can be accessed by a computer. Any connection is also properly termed a computer-readable medium. For example, if the software is transmitted from a web site, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave , then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of media. Disk and disc, as used herein, include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc, where disks are often reproduced magnetically. data, while a disc (disc) uses laser light to reproduce data optically. Combinations of the above should also be included within the scope of computer-readable media.
[0073] The previous description of the invention is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the present invention will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the present invention is not intended to be limited to the examples and designs described in the specification but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0074]From the above technical solutions, it can be seen that: the agricultural product quality information collection module, the agricultural product origin information collection module, the agricultural product collection information collection module, and the agricultural product transportation information collection module can realize the automatic collection of relevant information, avoiding the tampering of data by manual writing, and improving the Authenticity of information.
[0075] The block chain node module is set with the modification authority of each block node. When the information is entered, the block chain node module automatically stamps the time stamp on the writing of each information, which improves the timeliness of information monitoring, and each node The module is automatically set to the non-modifiable mode. After the information is entered, it cannot be modified and adjusted artificially, so as to prevent relevant personnel from modifying product information.
[0076] Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Those skilled in the art of the present invention can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be defined by the claims.