CN109840780A - Agricultural product information maintaining method, apparatus and system - Google Patents

Agricultural product information maintaining method, apparatus and system Download PDF

Info

Publication number
CN109840780A
CN109840780A CN201910114228.6A CN201910114228A CN109840780A CN 109840780 A CN109840780 A CN 109840780A CN 201910114228 A CN201910114228 A CN 201910114228A CN 109840780 A CN109840780 A CN 109840780A
Authority
CN
China
Prior art keywords
agricultural product
node
ownership
recipient
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910114228.6A
Other languages
Chinese (zh)
Other versions
CN109840780B (en
Inventor
李子杨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Golden Nest Network Technology Co Ltd
Original Assignee
Chongqing Golden Nest Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Golden Nest Network Technology Co Ltd filed Critical Chongqing Golden Nest Network Technology Co Ltd
Priority to CN201910114228.6A priority Critical patent/CN109840780B/en
Publication of CN109840780A publication Critical patent/CN109840780A/en
Application granted granted Critical
Publication of CN109840780B publication Critical patent/CN109840780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application provides a kind of agricultural product information maintaining methods, apparatus and system, wherein, belong to recipient's node of agricultural product ownership recipient in block chain after obtaining the intelligent contract for constraining commodities trading, the upload request of the intelligence contract is sent to the block chain, to store the intelligence contract in the block chain after the node in the block chain is verified the intelligence contract;Simultaneously, confirm the agricultural product it is up-to-standard after, it sends contract to the block chain to come into force instruction, which, which comes into force, indicates that the state of the intelligence contract is set active states by the node being used to indicate in the block chain, and records the ownership transfers of the agricultural product to the recipient.The application provides possibility for the agricultural product information of links in reliable supervision Circulation of Agricultural Products, is conducive to the relevant information for reliably obtaining agricultural product.

Description

Agricultural product information maintaining method, apparatus and system
Technical field
This application involves block chain technical field more particularly to a kind of agricultural product information maintaining methods, apparatus and system.
Background technique
With the continuous improvement of people's living standards, people increasingly pay close attention to the correlations such as quality and the safety of agricultural product Agricultural product information.
Wherein, agricultural product may be related to agricultural corporation's plantation, Acquisition Company's buying, carrier from producing to selling Transport and the agricultural product company of selling sell etc. multiple links.And the quality of agricultural product and safety etc. and each link There is relationship, each link, which goes wrong, to cause agricultural product information to change.Therefore, reliable supervision agricultural production how is realized The agricultural product information of links in product circulation is those skilled in the art to be conducive to quality and the safety of raising agricultural product Technical problem in the urgent need to address.
Summary of the invention
In view of this, this application provides a kind of agricultural product information maintaining method, apparatus and system, can reliably obtain The agricultural product information for obtaining links in Circulation of Agricultural Products, is conducive to the agriculture reliably to links during Circulation of Agricultural Products Product information is supervised.
To achieve the above object, this application provides following schemes:
A kind of agricultural product information maintaining method is saved applied to the recipient for belonging to agricultural product ownership recipient in block chain Point, the block chain include at least three nodes, and at least three node includes recipient's node and agricultural product institute It has the right transfer side's node of the side of transfer, which comprises
The intelligent contract for constraining commodities trading is obtained, the intelligence contract, which at least records, to be had: ownership to be transferred The identification informations of agricultural product, the associated agricultural product information of the agricultural product, the agricultural product ownership recipient mark letter Breath and the identification information of agricultural product ownership transfer side;
The upload request of the intelligent contract is sent, to the block chain to remove the recipient in the block chain After other nodes except node and transfer side's node are verified the intelligent contract, in the block chain described in storage Intelligent contract;
Confirm the agricultural product it is up-to-standard after, Xiang Suoshu block chain sends contract and comes into force instruction, and the contract is given birth to The state of the intelligent contract is set active states by the node that effect instruction is used to indicate in the block chain, and described in record The ownership transfer of agricultural product is to the recipient.
Preferably, at least three node further include: the monitoring party node of monitoring party maintenance;
The method also includes:
Confirm the agricultural product it is off quality in the case where, Xiang Suoshu monitoring party node, which is sent, is directed to the agricultural production The instruction off quality of product, so that the monitoring party node is in response to the instruction off quality, from the participation agricultural production In multiple participants of the ownership transfer of product, determine that there are the sides of breaking one's promise of non-honest behavior, and store into the block chain The non-honest record of the side of breaking one's promise, the multiple participant include at least the agricultural product ownership recipient and agricultural product institute Have the right the side of transfer.
Preferably, the associated agricultural product information of the agricultural product include: the agricultural product attribute information and the agriculture The quality information of product;
The intelligence contract, which also records, to be had for constraining the agricultural product ownership recipient and the agricultural product ownership The permission of transfer side provides;
It is described intelligence contract also carry the agricultural product ownership recipient signature and the agricultural product ownership The signature of transfer side, the signature of agricultural product ownership recipient are using the agricultural product ownership recipient in the block chain In private key generate;The signature of the agricultural product ownership transfer side is using the agricultural product ownership transfer side described What the private key in block chain generated.
On the other hand, present invention also provides a kind of agricultural product information maintenance systems, comprising:
The block chain being made of multiple nodes, the multiple node include at least: belonging to agricultural product ownership transfer side Transfer side's node belongs to recipient's node of agricultural product ownership recipient, and, by the monitoring party section of monitoring party organizational maintenance Point;
Wherein, recipient's node and transfer side's node, for obtaining the intelligence for constraining commodities trading Energy contract, the intelligence contract, which at least records, to be had: the identification information of the agricultural product of ownership to be transferred, the agricultural product are associated The identification information of agricultural product information, the identification information of the agricultural product ownership recipient and agricultural product ownership transfer side;
Recipient's node or transfer side's node are also used to send the intelligent contract to the block chain Upload request;
Other nodes in the block chain in addition to recipient's node and transfer side's node, in response to described The upload request of intelligent contract stores the intelligent contract after being verified to the intelligent contract in the block chain;
Recipient's node, be also used to confirm the agricultural product it is up-to-standard after, Xiang Suoshu block chain, which is sent, to be closed About come into force instruction, and the state of the intelligent contract is arranged the contract node that is used to indicate in the block chain of instruction that comes into force For active states, and the ownership transfers of the agricultural product is recorded to the agricultural product ownership recipient.
Preferably, the node in the block chain is also used to, and is come into force after instruction receiving the contract, storage is used for The ownership for recording the agricultural product is transferred to the agricultural product ownership recipient's by the agricultural product ownership transfer side Ownership transfer record.
Preferably, recipient's node, be also used to confirm the agricultural product it is off quality in the case where, to institute The monitoring party node stated in block chain sends the instruction off quality for being directed to the agricultural product;
The monitoring party node is used in response to the instruction off quality, from the ownership for participating in the agricultural product In multiple participants of transfer, determine that there are the sides of breaking one's promise of non-honest behavior, and the side of breaking one's promise described in storage into the block chain Non-honest record, the multiple participant include at least the agricultural product ownership recipient and agricultural product ownership transfer Side.
Preferably, the monitoring party node is in multiple participants from the ownership transfer of the participation agricultural product, really When there is the side of breaking one's promise of non-honest behavior surely, it is specifically used for, is recorded according to the ownership transfer of the agricultural product of storage, is determined Participate in multiple participants of the ownership transfer of the agricultural product;The monitoring party is obtained to examine the quality of the agricultural product The quality measurements of survey;According to the quality measurements, determine that there are non-honest behaviors from the multiple participant The side of breaking one's promise.
Preferably, the block chain includes: to tie up by the monitoring party node of monitoring party organizational maintenance, by agricultural cultivation enterprise Plantation side's node of shield, the buying side's node safeguarded by farm product procurement enterprise, the transporter safeguarded by agricultural product transport enterprise Node and the seller node safeguarded by farm produce sale enterprise;
Wherein, in the case where the agricultural product ownership transfer side is the agricultural cultivation enterprise, the transfer side Node is plantation side's node, and the agricultural product ownership recipient is the farm product procurement enterprise, recipient's section Point is buying side's node;
In the case where the agricultural product ownership transfer side is the farm product procurement enterprise, transfer side's node is Buying side's node, the agricultural product ownership recipient are the agricultural product transport enterprise, and recipient's node is the fortune Defeated side's node;
In the case where the agricultural product ownership transfer side is the agricultural product transport enterprise, transfer side's node is Transporter node, the agricultural product ownership recipient are the farm produce sale enterprise, and recipient's node is the pin Seller's node.
Preferably, further includes: terminal sends information inquiring request, the information for the node into the block chain Inquiry request carries the identification information of target agricultural product to be checked;
Node in the block chain, is also used to when receiving the information inquiring request, according to the target agricultural production The identification information of product obtains the ownership transfer of the associated agricultural product information of the target agricultural product and the target agricultural product Record.
On the other hand, present invention also provides a kind of agricultural product information maintenance device, applied to belonging to agricultural production in block chain Recipient's node of product ownership recipient, the block chain include at least three nodes, and at least three node includes institute Transfer side's node of recipient's node and agricultural product ownership transfer side is stated, described device includes:
Contract obtaining unit, for obtaining the intelligent contract for constraining commodities trading, the intelligence contract is at least remembered Record has: the identification information of the agricultural product of ownership to be transferred, the associated agricultural product information of the agricultural product, the agricultural product are all Weigh the identification information of recipient and the identification information of agricultural product ownership transfer side;
Contract uploading unit, for sending the upload request of the intelligent contract to the block chain, so as in the area After other nodes in block chain in addition to recipient's node and transfer side's node are verified the intelligent contract, in institute It states and stores the intelligent contract in block chain;
Contract validation unit, for confirm the agricultural product it is up-to-standard after, it is raw that Xiang Suoshu block chain sends contract Effect instruction, the contract, which comes into force, indicates that the node being used to indicate in the block chain makes a living the state setting of the intelligent contract Effect state, and the ownership transfers of the agricultural product is recorded to the recipient.
As known from the above, in the embodiment of the present application, during agricultural product ownership transfer occurs, belong in block chain The intelligent contract for constraining commodities trading can be obtained in recipient's node of agricultural product ownership recipient, and to block chain The intelligence contract is uploaded, and other nodes in block chain can just store intelligence conjunction after being verified to the intelligence contract About, so that each node supervises the intelligent contract during agricultural product ownership transfer in block chain, guarantee The safety and reliability of the agricultural product relevant agricultural product information recorded in intelligent contract.
Moreover, recipient's node can confirm the agricultural product it is up-to-standard after, can just trigger the intelligence contract and come into force, And make the transfering state of the nodes records agricultural product ownership in block chain, to advantageously ensure that the peace of agricultural product quality Full property and reliability are also beneficial to securely and reliably obtain the agricultural product information during Circulation of Agricultural Products by block chain And the related datas such as ownership transfer.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only embodiments herein, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to the attached drawing of offer other Attached drawing.
Fig. 1 shows a kind of structure composed schematic diagram of the agricultural product information maintenance system of the embodiment of the present application;
Fig. 2 shows a kind of all transfer schematic diagrames of agricultural product of the embodiment of the present application;
Fig. 3 shows a kind of flow diagram of the agricultural product information maintaining method of the embodiment of the present application;
Fig. 4 shows a kind of process interaction schematic diagram of the agricultural product information maintaining method of the embodiment of the present application;
Fig. 5 shows a kind of process interaction of the agricultural product information maintaining method of the embodiment of the present application in application scenarios and shows It is intended to;
Fig. 6 shows a kind of composed structure schematic diagram of the agricultural product information maintenance device of the embodiment of the present application.
Specific embodiment
The scheme of the application in order to facilitate understanding, the system being first applicable in below the scheme of the application are introduced.Such as, Referring to Fig. 1, it illustrates a kind of a kind of structure composed schematic diagrames of agricultural product information maintenance system of the application.
As seen from Figure 1, which includes: the multiple nodes 101 for constituting block chain.
It is included at least in multiple node: the monitoring party section as the monitoring party unit of information monitoring side in block chain Point, transfer side's node of the current organizational maintenance as agricultural product ownership transfer side, currently receives as agricultural product ownership Recipient's node of the organizational maintenance of side.
Wherein, the unit or enterprise that the maintenance side that monitoring party unit can be multiple node is approved, e.g., monitoring party Unit can be quality monitoring mechanism etc..
Agricultural product ownership transfer side refers to one needed the ownership transfer of agricultural product to other unit or enterprise Side.Agricultural product ownership recipient, which refers to from the agricultural product ownership transfer side, obtains agricultural product, to obtain the institute of the agricultural product The side having the right.Such as, the agricultural product of plantation can be sold and give farm product procurement enterprise by agricultural cultivation enterprise, in the process In, agricultural cultivation enterprise is just used as agricultural product ownership transfer side, and farm product procurement enterprise is exactly agricultural cultivation enterprise The corresponding agricultural product ownership recipient of industry.
It is understood that agricultural product are from plantation or cultivate to involved by the process finally sold to consumer's hand Intermediate links may be different, and therefore, the quantity and type for participating in the participant of Circulation of Agricultural Products would also vary from. Wherein, the node that participant is safeguarded belongs to the node in the block chain, it is seen then that the block chain may include the quantity of node May have multiple, but the difference of the intermediate links according to involved by agricultural product process, the quantity of block chain interior joint also can Difference.
Such as, in a kind of possible situation, agricultural product may be looked forward to from planting or cultivating to selling by agricultural cultivation Industry plantation (or cultivation), farm product procurement enterprise procurement, the transport of agricultural product transport enterprise and the sale of farm produce sale company Etc. multiple links.In that case, which includes at least: by the monitoring party node of monitoring party organizational maintenance, by agricultural production Kind plant enterprise maintenance plantation side's node, safeguarded by farm product procurement enterprise buying side's node, by agricultural product transport enterprise The transporter node of maintenance and the seller node safeguarded by farm produce sale enterprise.
As shown in Fig. 2, it illustrates the schematic diagrames of agricultural product ownership transfer.
In conjunction with Fig. 2 as can be seen that in the case where agricultural product ownership transfer side is agricultural cultivation enterprise, the transfer side Node is plantation side's node.Correspondingly, agricultural cultivation enterprise gives agricultural product ownership transfer to farm product procurement enterprise, because This, agricultural product ownership recipient is farm product procurement enterprise, and recipient's node is buying side's node.
Similar, in the case where agricultural product ownership transfer side is farm product procurement enterprise, which is to adopt Purchaser's node.Correspondingly, the corresponding agricultural product ownership recipient in the agricultural product ownership transfer side is agricultural product transport enterprise, Therefore, recipient's node is the transporter node.
In the case where agricultural product ownership transfer side is agricultural product transport enterprise, which is transporter section Point.Correspondingly, agricultural product ownership recipient is farm produce sale enterprise, and recipient's node is seller node.
It is understood that Fig. 2 is only a kind of possible situation of agricultural product ownership transfer, in practical applications, agriculture It is without restriction to this may to be related to more or less participant, the application than in Fig. 2 during products in circulation.
In the embodiment of the present application, multiple nodes and the monitoring party node constitute alliance's chain in the block chain.It can be with Understand, each node requires to apply for the registration of to the monitoring party node before the block chain is added.Node is to monitoring party When node application for registration block chain, the relevant information that can carry the node owned enterprise is sent to monitoring party node, such as will Enterprise operation situation, quality condition of agricultural product of enterprise operation etc. are sent to monitoring party node.Correspondingly, monitoring party node The enterprise can be assessed and be verified according to the company information that the node of enterprise side is sent, and be closed assessing the enterprise side After lattice, public key and private key of the enterprise side in the block chain are distributed for enterprise side.
Wherein, the public key and private key that monitoring party node enterprise side belonging to different nodes is distributed are all different.
It is understood that the node that monitoring party node is enterprise side generates and sends to the public key and private key of enterprise side Concrete mode can there are many, the application is without restriction to this.
In the embodiment of the present application, each node can record and safeguard that Circulation of Agricultural Products is involved in the process in block chain And the related data of the agricultural product arrived.Such as, phase corresponding to the agricultural product identification information of the agricultural product of record characterization different batches Close data.
It is understood that realizing digital information for the ease of managing the data of the agricultural product of different batches.In this Shen Please be in embodiment, for agricultural product after plantation, which can also be to the every a collection of agricultural production of monitoring party node application The two dimensional code of product identifies.Monitoring party belonging to monitoring party node can by check agricultural cultivation, cultivate device quality, After confirmation meets related specifications condition, two dimensional code mark of agricultural product of respective batch etc. two can be generated by monitoring party node Tie up code information.
Optionally, the agricultural product information maintenance system of the embodiment of the present application can also include: multiple terminals 102, each end End can be connected at least one node in block chain by network.Can install and run in the terminal for realizing The application program for accessing block chain can log in some node in block chain by the application program terminal and access block The data stored in chain, thus the related data during getting Circulation of Agricultural Products.
In the embodiment of the present application, which can be alliance's chain.Correspondingly, each node in block chain be based on The related protocol of alliance's chain stores related data.
In conjunction with the introduction of system above, the agricultural product information maintaining method of the embodiment of the present application is introduced below.It is first The recipient's node side for first belonging to agricultural product ownership recipient from block chain is introduced.
Such as, referring to Fig. 3, it illustrates a kind of signals of the process of agricultural product information maintaining method one embodiment of the application The method of figure, the present embodiment is applied to recipient's node above-mentioned, and this method may include steps of:
S301 obtains the intelligent contract for constraining commodities trading.
Wherein, intelligent contract is a kind of computer protocol for being intended to propagate, verify or execute in a manner of information-based contract.Intelligence Energy contract permission carries out credible transaction in no third-party situation, these transaction are traceable and irreversible.
In the present embodiment, the signing side of the intelligence contract is that agricultural product ownership recipient and agricultural product ownership turn Shifting side.Therefore, intelligent contract can be ultimately generated and be determined based on interacting between recipient's node and transfer side's node.Accordingly , in the embodiment of the present application, obtain the intelligence contract can be acquisition by recipient's node and transfer side's node it is final Determining intelligent contract.
The intelligence contract, which at least records, to be had: the identification information of the agricultural product of ownership to be transferred, the associated agriculture of the agricultural product The identification information of product information, the identification information of agricultural product ownership recipient and agricultural product ownership transfer side.
Wherein, the agricultural product of the ownership to be transferred can be transferred to another enterprise side from an enterprise side for needs A collection of agricultural product.
Wherein, the identification information of the agricultural product is used for the unique identification agricultural product.
Optionally, in the embodiment of the present application, for the ease of supervising to agricultural product, supervision can be passed through by monitoring party Fang Jiedian is that agricultural product distribute two-dimensional barcode information for identifying the agricultural product in advance.
The associated agricultural product information of the agricultural product may include: the attribute information of agricultural product and the quality letter of agricultural product Breath.
Wherein, the attribute information of agricultural product may include plantation side's information of agricultural product, for example, planting the kind of the agricultural product Plant the company information of enterprise;It can also include the information such as the place of production, the planting environment of the agricultural product, certainly, the attribute of the agricultural product The relevant informations such as the effect of information can also include agricultural product, nutritive value.
The quality condition of the agricultural product may include the credit rating etc. of agricultural product.
Certainly, the particular content which is included can also have other possibility, without restriction herein.
The identification information of agricultural product ownership recipient is used for unique identification agricultural product ownership recipient.Such as, agriculture Product ownership recipient is farm produce sale company, then the identification information can be the company name of the farm produce sale company The unique identifications such as title, trade mark.Optionally, it is contemplated that each node can be respectively node affiliated unit distribution block in block chain Public key in chain, therefore, the identification information of agricultural product ownership recipient can be the public affairs of agricultural product ownership recipient Key.
Correspondingly, the identification information of the agricultural product ownership transfer side is used for the unique identification agricultural product ownership transfer Side.Such as, which can be the information such as Business Name, trade mark or public key.
It is understood that intelligent contract is used for some related constraint information in clear agricultural product ownership transfer, because This, in order to be produced in agricultural product ownership recipient and agricultural product ownership transfer side there are dispute when dispute, can be specified Raw responsible party, which, which also records, has for constraining the agricultural product ownership recipient and the agricultural product ownership transfer The permission regulation of side.Such as, which provides to may include punitive measures and articles of law of promise breaking etc..
Optionally, in order to guarantee to sign intelligent contract both sides identity reality and reliability, intelligent contract Also carry the signature of agricultural product ownership recipient and the signature of the agricultural product ownership transfer side.Wherein, agricultural product The signature of ownership recipient is that the private key using the agricultural product ownership recipient in block chain generates;The agricultural product institute The have the right signature of the side of transfer is to be generated using private key of the agricultural product ownership transfer side in the block chain.
Wherein, the private key of agricultural product ownership recipient and agricultural product ownership transfer side is that the agricultural product ownership connects It is this two side point by the monitoring party node of monitoring party when block chain is added in the node of debit and the agricultural product ownership transfer side The private key not distributed.Carrying out signature by private key can be forged to avoid signature, to guarantee the reliability and authenticity of signature.
S302 sends the upload request of the intelligence contract to the block chain, to remove recipient's node in block chain After being verified with other nodes except transfer side's node to the intelligence contract, the intelligence is stored in the block chain and is closed About.
Wherein, which stores the intelligence contract into block chain for requesting.
In the embodiment of the present application, intelligent contract needs to formulate intelligence conjunction in block chain before storing to block chain Other nodes except node about verify the intelligence contract, to guarantee that the information truth recorded in intelligent contract is effective Property, and advantageously ensure that agricultural product quality.
Correspondingly, recipient's node can only into block chain except recipient's node and transfer side's node its His node sends the upload request.Certainly, which can also send the upload request by all nodes into block chain, But after transfer side's node receives the upload request, then it not will do it respective handling.
Wherein, for recipient's node in block chain and any one node except transfer side's node, the section Point stores intelligence in the block chain and closes in response to the upload request of the intelligent contract after being verified to intelligent contract About.
Specifically, verification tip can be exported after receiving the upload request for uploading the intelligence contract in the node, with Prompt user verifies the intelligence contract.Such as, enterprise side or monitoring party belonging to node can be in the intelligence contracts Agricultural product information and quality are verified, and verification result is uploaded in node, so that node obtains verification result.
In view of each node is the storing data into block chain based on common recognition mechanism in block chain.Therefore, in this Shen Please be in embodiment, node can store the intelligence into the block chain based on common recognition mechanism after being verified to the intelligence contract It can contract.
It in the embodiment of the present application, can for recipient's node in block chain and other nodes except transfer side's node To carry out common recognition verifying to intelligent contract, if confirmation is verified the quantity or ratio of this node in other all nodes Example is more than preset threshold, then other all nodes are reached common understanding, to can make every other node that can also store the intelligence Contract.
In the present embodiment, common recognition verifying can be with are as follows: using the common recognition verifying of ballot.Specifically, each node is right After intelligent contract verifying, the node can send ballot instruction, the throwing to other nodes except the node if the verification passes Ticket instruction is verified intelligent contract for characterizing the node.Correspondingly, if the quantity for the ballot instruction that node receives Ratio with node total number amount is more than preset threshold, then it is assumed that is verified, on this basis, each node in block chain is equal The intelligence contract can be stored.
Optionally, if other nodes in for block chain except recipient's node and transfer side's node are based on altogether Knowledge mechanism confirms that the intelligence contract is verified in underproof situation, and the monitoring party node in the block chain is tested in the intelligent contract of confirmation It demonstrate,proves in underproof situation, can also indicate that monitoring party carries out case study to the intelligence contract, so that monitoring party node can be with The analysis of monitoring party input is obtained as a result, and uploading to analysis result in block chain.
Wherein, which can be is detected by the quality of the intelligence contract and agricultural product, from the agricultural production In all participants involved by product ownership transfer, determine that there are the sides of breaking one's promise of non-honest behavior, and will the side of breaking one's promise with And the non-honest behavior of the side of breaking one's promise uploads in block chain.
It should be noted that the embodiment of the present application is to be asked with recipient's node to the upload that block chain sends the intelligence contract Illustrate for asking, but it is understood that, due to all having the intelligence contract in recipient's node and transfer side's node, because This, in the embodiment of the present application, is also possible to transfer side's node and sends the upload request for uploading the intelligence contract to the block chain. In that case, the treatment process of block chain interior joint is similar, specifically may refer to the introduction of step S302, no longer superfluous herein It states.
S303, confirmation agricultural product it is up-to-standard after, send contract to the block chain and come into force instruction.
Wherein, contract is sent to block chain come into force indicate to be actually each node transmission contract life into block chain Effect instruction.
Wherein, which, which comes into force, indicates that the node being used to indicate in the block chain makes a living the state setting of the intelligence contract Effect state, and the ownership transfers of the agricultural product is recorded to the recipient.
It is understood that when intelligent contract uploads to block chain, the intelligence contract and Pending The Entry Into Force, only in the agricultural production Product ownership recipient it is qualified to the quality verifications of agricultural product and indicate recipient's node agricultural product it is up-to-standard after, this connects Debit's node just confirms that the intelligence contract comes into force, while confirming the reception agricultural product, realizes being transferred to for agricultural product ownership The recipient of the agricultural product ownership.
Correspondingly, block chain interior joint is also used to, comes into force after instruction, stored for recording the agriculture receiving the contract The ownership of product is recorded by the ownership transfer that the agricultural product ownership transfer side is transferred to agricultural product ownership recipient. Such as, agricultural product M ownership is transferred to enterprise B from enterprise A, then ownership transfer record will record: agricultural product M: enterprise A is transferred to Enterprise B.Therefore, it is recorded by inquiring the transfer of the available ownership to agricultural product of block chain.
It is understood that being received when the ownership of each agricultural product shifts it can be seen from the embodiment of the present application Recipient's node of the agricultural product ownership all can be by intelligent contract involved during this ownership transfer and institute Transinformation of having the right is stored into block chain.In this way, can store in block chain involved by each ownership transfer of agricultural product Information, thus by inquiry block chain it is available to the quality of the agricultural product of links, institute during Circulation of Agricultural Products It has the right recipient etc. relevant information.
As it can be seen that in the embodiment of the present application, during agricultural product ownership transfer occurs, belonging to agricultural production in block chain Recipient's node of product ownership recipient can obtain the intelligent contract for constraining commodities trading, and uploading to block chain should Intelligent contract, and other nodes in block chain can just store the intelligence contract after being verified to the intelligence contract, thus So that each node supervises the intelligent contract during agricultural product ownership transfer in block chain, intelligent conjunction ensure that The safety and reliability of the relevant agricultural product information of agricultural product recorded in about.
Moreover, recipient's node can confirm the agricultural product it is up-to-standard after, can just trigger the intelligence contract and come into force, And make the transfering state of the nodes records agricultural product ownership in block chain, to advantageously ensure that the peace of agricultural product quality Full property and reliability are also beneficial to securely and reliably obtain the agricultural product information during Circulation of Agricultural Products by block chain And the related datas such as ownership transfer.
In addition, since the node in block chain is during verifying intelligent contract, alsos relate to treat and turn The verifying for moving the quality of the agricultural product of ownership, can just upload intelligent contract, to be further ensured that only after being verified The safety and reliability of agricultural product quality.
It is understood that determination leads to agricultural production in time in order in the case where there is the underproof situation of agricultural product quality The underproof responsible party of quality, recipient's node determine the agricultural product it is off quality in the case where, the recipient Node can also send the instruction off quality for being directed to the agricultural product to the monitoring party node in block chain.The quality does not conform to Lattice instruction is used to indicate the quality of the agricultural product of the ownership to be transferred through disqualified upon inspection.
Correspondingly, the monitoring party node can turn in response to the instruction off quality from the ownership for participating in the agricultural product In the multiple participants moved, determine that there are the sides of breaking one's promise of non-honest behavior, and the non-honest of the side of breaking one's promise is stored into block chain Record.
Wherein, multiple participant includes at least the agricultural product ownership recipient and agricultural product ownership transfer side.It can With understanding, during Circulation of Agricultural Products, the agricultural product ownership recipient of different links and agricultural product ownership transfer Side is all different.Therefore, if deposited between the agricultural product ownership recipient in some part and agricultural product ownership transfer side In non-honest behavior, cause agricultural product quality undesirable, then subsequent agricultural product ownership occurs in transfer process, next The agricultural product ownership recipient of link also will detect that agricultural product quality is unqualified, and in that case, there are non-honest rows For the side of breaking one's promise be possible to agricultural product ownership recipient and agricultural product institute not necessarily in this ownership transfer link Have the right the side of transfer.
Such as, referring to fig. 4, it illustrates a kind of a kind of processes of agricultural product information maintenance system of the application to interact schematic diagram, The present embodiment may include steps of:
Recipient's node of S401, agricultural product ownership recipient are obtained for constraining agricultural product ownership recipient and agriculture The intelligent contract of commodities trading between product ownership transfer side.
The intelligence contract can recorde the identification information of agricultural product to be transferred, e.g., the two-dimensional barcode information of agricultural product;Also It can recorde the relevant agricultural product information of the agricultural product such as the attribute information of the agricultural product, quality information of agricultural product.Meanwhile it should Intelligent contract also records the mark letter of the identification information and agricultural product ownership transfer side that have agricultural product ownership recipient Breath.
Certainly, which can be with quality between agricultural product ownership recipient and agricultural product ownership transfer side Constraint rule utilizes the signature for the agricultural product ownership recipient that the private key of agricultural product ownership recipient generates, Yi Jili With the signature etc. for the agricultural product ownership transfer side that the private key of the agricultural product ownership transfer side generates.It specifically may refer to front The related introduction of embodiment, details are not described herein.
S402, recipient's node send the upload request for uploading the intelligence contract to block chain.
S403, node in block chain in addition to recipient's node and sender's node in response to the upload request, After being verified to the intelligence contract, belongs in the storage region of block chain in the node and store the intelligence contract.
Wherein, the operation of step S402 and step S403 may refer to the related introduction of preceding embodiment, herein no longer It repeats.
S404, recipient's node obtains the quality verification of the agricultural product of ownership to be transferred as a result, if quality verification knot Fruit characterizes the up-to-standard of the agricultural product, thens follow the steps S405;If not, thening follow the steps S407.
Wherein, the quality verification result that recipient's node obtains can be passed through by agricultural product ownership recipient to agricultural production The quality of product tests to determine, specific implementation process the application is without restriction.Wherein, which can be with table Levy agricultural product quality it is whether qualified, either, characterize the agricultural product quality whether with require or retouch in the intelligence contract The uniform quality etc. stated.
It is understood that confirming the up-to-standard of the agricultural product in recipient's node, then the confirmation of recipient's node is to agriculture The quality verification of product passes through, and in that case, then can trigger intelligent contract and come into force, and complete the ownership of the agricultural product Transfer.
, whereas if recipient's node confirms the off quality of the agricultural product, then recipient's node will not then touch It sends out intelligent contract to come into force, be damaged to avoid to agricultural product ownership recipient.In that case.Recipient's node The instruction off quality to the monitoring party node feeding back of monitoring party is needed, also so that finally determination leads to quality to monitoring party node Underproof concrete reason, and determine to cause responsible party off quality.
S405, recipient's node confirm agricultural product it is up-to-standard in the case where, each node hair into the block chain Contract is sent to come into force instruction.
S406, node in block chain come into force instruction receiving the contract, the state setting of the intelligence contract are made a living Effect state, and store in the storage region for belonging to block chain for recording the ownership of the agricultural product by the agricultural product ownership Transfer side is transferred to the ownership transfer record of agricultural product ownership recipient.
It is understood that recipient's node confirm agricultural product it is up-to-standard in the case where, recipient's node Also active states can be set by the intelligence contract recorded in the storage region for belonging to block chain in itself, and records the agricultural production The ownership of product is transferred to agricultural product ownership recipient from the agricultural product ownership transfer side.
Above step S405 and S406 be recipient's node confirm agricultural product it is up-to-standard in the case where, required execution Operation, which also may refer to the related introduction of front.
S407, recipient's node confirm the agricultural product it is off quality in the case where, supervision into the block chain Fang Jiedian sends the instruction off quality for being directed to the agricultural product.
S408, monitoring party node is in response to the instruction off quality, from the more of the ownership transfer for participating in the agricultural product In a participant, determine that there are the sides of breaking one's promise of non-honest behavior, and the non-honest record of the side of breaking one's promise is stored into the block chain.
Wherein, multiple participant includes at least the agricultural product ownership recipient and agricultural product ownership transfer side.
In one implementation, monitoring party node can be recorded according to the ownership transfer of the agricultural product of storage, really Surely multiple participants of the ownership transfer of the agricultural product are participated in;Then, monitoring party is obtained to examine the quality of the agricultural product The quality measurements of survey;According to the quality measurements, breaking one's promise there are non-honest behavior is determined from multiple participant Side.
It is understood that stored in block chain intelligence contract caused by the ownership transfer of each agricultural product and The transfer side of agricultural product ownership and recipient, therefore, based on the ownership transfer record recorded in block chain, monitoring party can be with The multiple participants for participating in the ownership transfer of the agricultural product are inquired from block chain.Then, all in conjunction with each agricultural product Which quality testing of the intelligent contract and the monitoring party signed in power transfer process to the agricultural product, can go out with comprehensive analysis There is exception in the intelligent contract of link, alternatively, there is agricultural product quality etc. in which agricultural product ownership transfer link Deng to finally determine that there are the sides of breaking one's promise of non-honest behavior from multiple participant.
Such as, the ownership of agricultural product is first transferred to enterprise S2 from agricultural cultivation enterprise S1, and enterprise S2 needs should The ownership transfer of agricultural product gives enterprise S3, if the agricultural product that enterprise S2 detection enterprise S1 is transferred the possession of are there are quality problems and not It points out, then during agricultural product are transferred to enterprise S3 by enterprise S2, if enterprise S3 detects quality problems, still Instruction off quality can be sent to the monitoring party node of monitoring party with the node of enterprise S3, so that monitoring party can basis The quality measurements of the intelligent contract and enterprise S2 signed between enterprise S1 and enterprise S2, determine enterprise S1 and enterprise S2 Between there are non-honest behaviors.
It is understood that in the application above embodiments, in order to enable consumer can inquire bought agricultural production The details of product, so as to the quality and safety of the timely learning agricultural product, in the embodiment of the present application, which can also be to area Node in block chain sends information inquiring request, which carries the mark letter of target agricultural product to be checked Breath.
Such as, in the case where identifying agricultural product by two-dimensional barcode information, terminal can be by scanning the two of target agricultural product Code information is tieed up, and sends the information inquiring request for carrying the two-dimensional barcode information to block chain node.
Correspondingly, the node in block chain is when receiving the information inquiring request, according to the mark of the target agricultural product Information (such as two-dimensional barcode information), the ownership for obtaining the associated agricultural product information of target agricultural product and the target agricultural product turn Record is moved, and the associated agricultural product information of target agricultural product and ownership transfer record are sent to the terminal.
Certainly, the node in block chain can also send the target agricultural product during each ownership transfer to terminal The information such as quality measurements.
As it can be seen that consumer is had sent using the two dimensional code on terminal scanning agricultural product or by other means to block chain After the identification information for the agricultural product for needing to inquire, can be obtained from block chain the quality during the Circulation of Agricultural Products with And ownership transfer information, to be conducive to provide reliable information for user, advantageously allow user be commercially available safety, Reliable agricultural product.
In order to make it easy to understand, below with the agricultural product that agricultural product are by planting, and assume agricultural product from plantation to circulation It has passed through and illustrate for agricultural cultivation, farm product procurement, agricultural product transport and several links such as farm produce sale.
In that case, which may include: by the monitoring party node of monitoring party organizational maintenance, by agricultural production Kind plant enterprise maintenance plantation side's node, safeguarded by farm product procurement enterprise buying side's node, by agricultural product transport enterprise The transporter node of maintenance and the seller node safeguarded by farm produce sale enterprise.
It is right below by taking the ownership of agricultural product is from the process that agricultural cultivation enterprise is transferred to farm product procurement enterprise as an example A kind of agricultural product information maintaining method of the embodiment of the present application is introduced.Such as, shown in Fig. 5, the interaction flow of the present embodiment can To include the following:
S501 is generated between agricultural cultivation enterprise and farm product procurement enterprise by plantation side's node and buying side's node The corresponding intelligent contract of the agricultural product of ownership to be transferred, and the intelligence contract is stored in plantation side's node and buying side's node.
Such as, intelligent contract may include: the two-dimensional barcode information of the agricultural product of ownership to be transferred, the agricultural product attribute with And quality information, the public key of the agricultural cultivation enterprise, the public key of the farm product procurement enterprise, agricultural cultivation enterprise utilization The signature for the agricultural cultivation enterprise that the private key of the agricultural cultivation enterprise generates and the farm product procurement enterprise utilize should The signature etc. for the farm product procurement enterprise that the private key of farm product procurement enterprise generates.
S502, buying side's node are sent on into block chain to monitoring party node, transporter node and seller node Pass the upload request of the intelligence contract.
Wherein, which is also possible to be completed by plantation side's node, and specific implementation process and front upload intelligent contract Process is similar, and details are not described herein.
S503, monitoring party node, transporter node and seller node are based on common recognition mechanism and carry out to the intelligence contract Ballot, and in the case where the node ratio of confirmation ballot is more than 2/3, the intelligence contract is stored in block chain.
Wherein, ballot herein, which can be understood as sending to other nodes, is verified instruction, specific as previously described, This is repeated no more.
Such as, if there is at least two nodes to refer in monitoring party node, transporter node and seller node by ballot Show and the intelligence contract is verified, then can trigger these three nodes and store the intelligence contract respectively, so that in block chain Store the intelligence contract.
S503, buying side's node confirm the agricultural product of the ownership to be transferred it is up-to-standard in the case where, to the supervision Fang Jiedian, transporter node, seller node and plantation side's node send contract and come into force instruction, each in block chain to indicate The state of the intelligence contract is set active states by a node, and records the ownership of the agricultural product from agricultural cultivation enterprise It is transferred to the farm product procurement enterprise.
S504, monitoring party node, transporter node, seller node and plantation side's node set the intelligence contract to Active states generate and are transferred to farm product procurement enterprise from enterprise, agricultural cultivation side for recording the ownership of the agricultural product Ownership transfer record, and the corresponding ownership transfer record of the agricultural product is stored in block chain.
It is understood that confirming the situation off quality of the agricultural product of the ownership to be transferred in buying side's node Under, which equally can send instruction off quality to monitoring party node, and monitoring party node is in response to the quality Unqualified instruction equally can determine whether responsible party.Since the transfer of the ownership of agricultural product in the present embodiment is only to be related to agricultural production Kind plants enterprise and farm product procurement enterprise, and therefore, which only needs from the agricultural cultivation enterprise and agricultural production Product, which are purchased in enterprise, determines that there are the responsible parties of non-honest behavior.
Such as, in the case where monitoring party node receives instruction off quality, whether monitoring party can detect the agricultural product Off quality, if the agricultural product is off quality, the agricultural product for illustrating that the agricultural cultivation enterprise provides are unqualified, There are non-honest behaviors for the agricultural cultivation enterprise;If the agricultural product is up-to-standard, illustrate the farm product procurement enterprise In the presence of behaviors such as malice false accusations, then confirm that there are non-honest behaviors for the farm product procurement enterprise.
It is understood that the embodiment of the present application is the agriculture using agricultural cultivation enterprise as agricultural product ownership transfer side Product purchasing enterprise be agricultural product ownership recipient for be illustrated, but it is understood that, when agricultural product ownership Transfer side is farm product procurement enterprise, and agricultural product ownership recipient is agricultural product transport enterprise;Alternatively, agricultural product ownership Transfer side is agricultural product transport enterprise, and in the case that agricultural product ownership recipient is farm produce sale enterprise, agricultural product institute Having the right the operation of the side of transfer can be similar to the operation of plantation side's node of agricultural cultivation enterprise of the present embodiment, and agricultural product The operation of ownership transfer side can be similar to the operation of buying side's node of farm product procurement enterprise in the present embodiment, herein not It repeats again.
A kind of agricultural product information maintaining method of corresponding the application, present invention also provides a kind of maintenances of agricultural product information to fill It sets.
Such as, referring to Fig. 6, it illustrates a kind of a kind of composed structure schematic diagram of agricultural product maintenance device of the application, this realities The device for applying example is applied to belong to recipient's node of agricultural product ownership recipient in block chain, and the block chain includes at least Three nodes, at least three node include the transfer Fang Jie of recipient's node and agricultural product ownership transfer side Point, described device include:
Contract obtaining unit 601, for obtaining the intelligent contract for constraining commodities trading, the intelligence contract is at least Record has: the identification information of the agricultural product of ownership to be transferred, the associated agricultural product information of the agricultural product, agricultural product institute It has the right the identification information of recipient and the identification information of agricultural product ownership transfer side;
Contract uploading unit 602, for sending the upload request of the intelligent contract to the block chain, so as to described After other nodes in block chain in addition to recipient's node and transfer side's node are verified the intelligent contract, The intelligent contract is stored in the block chain;
Contract validation unit 603, for confirm the agricultural product it is up-to-standard after, Xiang Suoshu block chain sends contract Come into force instruction, and the contract, which comes into force, indicates that the node being used to indicate in the block chain sets the state of the intelligent contract to Active states, and the ownership transfers of the agricultural product is recorded to the recipient.
Optionally, at least three node further include: the monitoring party node of monitoring party maintenance;
The device can also include:
Unqualified indicating unit, for confirm the agricultural product it is off quality in the case where, Xiang Suoshu monitoring party Node sends the instruction off quality for being directed to the agricultural product, so that the monitoring party node is in response to described off quality Instruction determines that there are the sides of breaking one's promise of non-honest behavior from the multiple participants of ownership transfer for participating in the agricultural product, and The non-honest record of the side of breaking one's promise described in storage into the block chain, the multiple participant are all including at least the agricultural product Weigh recipient and agricultural product ownership transfer side.
Optionally, the associated agricultural product information packet of agricultural product described in the intelligent contract that the contract obtaining unit obtains It includes: the quality information of the attribute information of the agricultural product and the agricultural product;
The intelligence contract, which also records, to be had for constraining the agricultural product ownership recipient and the agricultural product ownership The permission of transfer side provides;
It is described intelligence contract also carry the agricultural product ownership recipient signature and the agricultural product ownership The signature of transfer side, the signature of agricultural product ownership recipient are using the agricultural product ownership recipient in the block chain In private key generate;The signature of the agricultural product ownership transfer side is using the agricultural product ownership transfer side described What the private key in block chain generated.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or equipment for including element.
The foregoing description of the disclosed embodiments makes those skilled in the art can be realized or use the application.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the application, to realize in other embodiments.Therefore, the application will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.
The above is only the preferred embodiments of the application, it is noted that those skilled in the art are come It says, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications also should be regarded as The protection scope of the application.

Claims (10)

1. a kind of agricultural product information maintaining method, which is characterized in that applied to belonging to agricultural product ownership recipient in block chain Recipient's node, the block chain includes at least three nodes, at least three node include recipient's node with And transfer side's node of agricultural product ownership transfer side, which comprises
The intelligent contract for constraining commodities trading is obtained, the intelligence contract, which at least records, to be had: the agriculture of ownership to be transferred The identification information of product, the associated agricultural product information of the agricultural product, the agricultural product ownership recipient identification information with And the identification information of agricultural product ownership transfer side;
The upload request of the intelligent contract is sent, to the block chain to remove recipient's node in the block chain After being verified with other nodes except transfer side's node to the intelligent contract, the intelligence is stored in the block chain Contract;
Confirm the agricultural product it is up-to-standard after, Xiang Suoshu block chain sends contract and comes into force instruction, and the contract comes into force finger Show that the state of the intelligent contract is set active states by the node being used to indicate in the block chain, and records the agricultural production The ownership transfer of product is to the recipient.
2. agricultural product information maintaining method according to claim 1, which is characterized in that at least three node also wraps It includes: the monitoring party node of monitoring party maintenance;
The method also includes:
Confirm the agricultural product it is off quality in the case where, Xiang Suoshu monitoring party node is sent for the agricultural product Instruction off quality, so that the monitoring party node is in response to the instruction off quality, from the participation agricultural product In multiple participants of ownership transfer, determine that there are the sides of breaking one's promise of non-honest behavior, and into the block chain described in storage The non-honest record for the side of breaking one's promise, the multiple participant include at least the agricultural product ownership recipient and agricultural product ownership Transfer side.
3. agricultural product information maintaining method according to claim 1, which is characterized in that the associated agricultural product of agricultural product Information includes: the attribute information of the agricultural product and the quality information of the agricultural product;
The intelligence contract, which also records, to be had for constraining the agricultural product ownership recipient and the agricultural product ownership transfer The permission regulation of side;
The intelligence contract also carries the signature and the agricultural product ownership transfer of the agricultural product ownership recipient The signature of side, the signature of agricultural product ownership recipient are to utilize the agricultural product ownership recipient in the block chain What private key generated;The signature of the agricultural product ownership transfer side is using the agricultural product ownership transfer side in the block What the private key in chain generated.
4. a kind of agricultural product information maintenance system characterized by comprising
The block chain being made of multiple nodes, the multiple node include at least: belonging to the transfer of agricultural product ownership transfer side Fang Jiedian belongs to recipient's node of agricultural product ownership recipient, and, by the monitoring party node of monitoring party organizational maintenance;
Wherein, recipient's node and transfer side's node, for obtaining the intelligence conjunction for constraining commodities trading About, the intelligent contract at least records and has: the identification information of the agricultural product of ownership to be transferred, the associated agricultural production of the agricultural product The identification information of product information, the identification information of the agricultural product ownership recipient and agricultural product ownership transfer side;
Recipient's node or transfer side's node are also used to send the upload of the intelligent contract to the block chain Request;
Other nodes in the block chain in addition to recipient's node and transfer side's node, in response to the intelligence The upload request of contract stores the intelligent contract after being verified to the intelligent contract in the block chain;
Recipient's node, be also used to confirm the agricultural product it is up-to-standard after, it is raw that Xiang Suoshu block chain sends contract Effect instruction, the contract, which comes into force, indicates that the node being used to indicate in the block chain makes a living the state setting of the intelligent contract Effect state, and the ownership transfers of the agricultural product is recorded to the agricultural product ownership recipient.
5. agricultural product information maintenance system according to claim 4, which is characterized in that the node in the block chain is also used In coming into force after instruction, stored for recording the ownership of the agricultural product by the agricultural product institute receiving the contract Have the right the side of transfer be transferred to the agricultural product ownership recipient ownership transfer record.
6. agricultural product information maintenance system according to claim 5, which is characterized in that recipient's node is also used to Confirm the agricultural product it is off quality in the case where, the monitoring party node in Xiang Suoshu block chain, which is sent, is directed to the agriculture The instruction off quality of product;
The monitoring party node is used in response to the instruction off quality, from the ownership transfer for participating in the agricultural product Multiple participants in, determine there are the sides of breaking one's promise of non-honest behavior, and into the block chain storage described in the side of breaking one's promise not Sincerity record, the multiple participant include at least the agricultural product ownership recipient and agricultural product ownership transfer side.
7. agricultural product information maintenance system according to claim 6, which is characterized in that the monitoring party node is from participation In multiple participants of the ownership transfer of the agricultural product, determines there are when the side of breaking one's promise of non-honest behavior, be specifically used for, root According to the ownership transfer record of the agricultural product of storage, the multiple participations for participating in the ownership transfer of the agricultural product are determined Side;Obtain the quality measurements that the monitoring party detects the quality of the agricultural product;According to the quality testing knot Fruit determines that there are the sides of breaking one's promise of non-honest behavior from the multiple participant.
8. according to the described in any item agricultural product information maintenance systems of claim 4 to 7, which is characterized in that the block chain packet It includes: by the monitoring party node of monitoring party organizational maintenance, the plantation side's node safeguarded by agricultural cultivation enterprise, by farm product procurement It buying side's node of enterprise's maintenance, the transporter node safeguarded by agricultural product transport enterprise and is safeguarded by farm produce sale enterprise Seller node;
Wherein, in the case where the agricultural product ownership transfer side is the agricultural cultivation enterprise, transfer side's node For plantation side's node, the agricultural product ownership recipient is the farm product procurement enterprise, and recipient's node is Buying side's node;
In the case where the agricultural product ownership transfer side is the farm product procurement enterprise, transfer side's node is buying Fang Jiedian, the agricultural product ownership recipient are the agricultural product transport enterprise, and recipient's node is the transporter Node;
In the case where the agricultural product ownership transfer side is the agricultural product transport enterprise, transfer side's node is transport Fang Jiedian, the agricultural product ownership recipient are the farm produce sale enterprise, and recipient's node is the seller Node.
9. agricultural product information maintenance system according to claim 5, which is characterized in that further include: terminal is used for described Node in block chain sends information inquiring request, and the information inquiring request carries the mark of target agricultural product to be checked Information;
Node in the block chain, is also used to when receiving the information inquiring request, according to the target agricultural product Identification information obtains the ownership transfer note of the associated agricultural product information of the target agricultural product and the target agricultural product Record.
10. a kind of agricultural product information maintenance device, which is characterized in that applied to belonging to agricultural product ownership recipient in block chain Recipient's node, the block chain includes at least three nodes, at least three node include recipient's node with And transfer side's node of agricultural product ownership transfer side, described device include:
Contract obtaining unit, for obtaining the intelligent contract for constraining commodities trading, the intelligence contract, which at least records, to be had: The identification information of the agricultural product of ownership to be transferred, the associated agricultural product information of the agricultural product, the agricultural product ownership connect The identification information of debit and the identification information of agricultural product ownership transfer side;
Contract uploading unit, for sending the upload request of the intelligent contract to the block chain, so as in the block chain In after other nodes in addition to recipient's node and transfer side node are verified the intelligence contract, in the area The intelligent contract is stored in block chain;
Contract validation unit, for confirm the agricultural product it is up-to-standard after, Xiang Suoshu block chain sends contract and comes into force finger Show, the contract, which comes into force, indicates that the state of the intelligent contract is set the shape that comes into force by the node being used to indicate in the block chain State, and the ownership transfers of the agricultural product is recorded to the recipient.
CN201910114228.6A 2019-02-14 2019-02-14 Agricultural product information maintenance method, device and system Active CN109840780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910114228.6A CN109840780B (en) 2019-02-14 2019-02-14 Agricultural product information maintenance method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910114228.6A CN109840780B (en) 2019-02-14 2019-02-14 Agricultural product information maintenance method, device and system

Publications (2)

Publication Number Publication Date
CN109840780A true CN109840780A (en) 2019-06-04
CN109840780B CN109840780B (en) 2023-04-18

Family

ID=66884743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910114228.6A Active CN109840780B (en) 2019-02-14 2019-02-14 Agricultural product information maintenance method, device and system

Country Status (1)

Country Link
CN (1) CN109840780B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519274A (en) * 2019-08-28 2019-11-29 腾讯科技(深圳)有限公司 Block chain information transmission method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107103473A (en) * 2017-04-27 2017-08-29 电子科技大学 A kind of intelligent contract implementation method based on block chain
AU2018101016A4 (en) * 2018-07-23 2018-08-23 Aussie Food To You Pty Ltd AgriGate Supply Chain System
WO2018172439A1 (en) * 2017-03-22 2018-09-27 NEC Laboratories Europe GmbH Method for operating a blockchain
CN108681943A (en) * 2018-05-18 2018-10-19 百度在线网络技术(北京)有限公司 A kind of data processing method, device, equipment and the storage medium of block chain network
CN108985936A (en) * 2018-07-09 2018-12-11 北京中电普华信息技术有限公司 A kind of auditing method and system based on intelligent contract
CN109087104A (en) * 2018-08-29 2018-12-25 北京京东尚科信息技术有限公司 Block chain intelligence contract administration method and system, computer readable storage medium
CN109191154A (en) * 2018-09-30 2019-01-11 陕西艺霖信息科技有限公司 The full industrial chain information tracing method and system of agricultural product based on block chain
CN109214750A (en) * 2018-08-14 2019-01-15 广东博云公共平台网络科技有限公司 A kind of method and system based on Internet of Things and block chain technical management agricultural product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018172439A1 (en) * 2017-03-22 2018-09-27 NEC Laboratories Europe GmbH Method for operating a blockchain
CN107103473A (en) * 2017-04-27 2017-08-29 电子科技大学 A kind of intelligent contract implementation method based on block chain
CN108681943A (en) * 2018-05-18 2018-10-19 百度在线网络技术(北京)有限公司 A kind of data processing method, device, equipment and the storage medium of block chain network
CN108985936A (en) * 2018-07-09 2018-12-11 北京中电普华信息技术有限公司 A kind of auditing method and system based on intelligent contract
AU2018101016A4 (en) * 2018-07-23 2018-08-23 Aussie Food To You Pty Ltd AgriGate Supply Chain System
CN109214750A (en) * 2018-08-14 2019-01-15 广东博云公共平台网络科技有限公司 A kind of method and system based on Internet of Things and block chain technical management agricultural product
CN109087104A (en) * 2018-08-29 2018-12-25 北京京东尚科信息技术有限公司 Block chain intelligence contract administration method and system, computer readable storage medium
CN109191154A (en) * 2018-09-30 2019-01-11 陕西艺霖信息科技有限公司 The full industrial chain information tracing method and system of agricultural product based on block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WILLIAM MESSNER: "Agricultural Applications", 《IEEE》 *
浦东平: "基于区块链视角的电商平台体系构建及应用", 《中国流通经济》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519274A (en) * 2019-08-28 2019-11-29 腾讯科技(深圳)有限公司 Block chain information transmission method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109840780B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
Malik et al. Productchain: Scalable blockchain framework to support provenance in supply chains
US20200043001A1 (en) Pet Food Traceability System and Method Therefor
CN111062730B (en) Pork information management method and system based on Internet of things and blockchain
CN111429162A (en) Energized block chain agricultural product quality credible traceability system based on nondestructive detection technology
CN109190881B (en) Data asset management method, system and equipment
CN107835166A (en) A kind of high value crystal retroactive method and device based on block chain
Kerr et al. Treet: the trust and reputation experimentation and evaluation testbed
Suhail et al. Orchestrating product provenance story: When IOTA ecosystem meets electronics supply chain space
CN106878396A (en) The processing method of trade information, device and system
CN110826903A (en) Enterprise credibility assessment method based on block chain
CN106600296B (en) Anti-counterfeiting traceability method and system based on total amount control
CN109816532B (en) Asset digital anchoring system based on block chain technology
CN108830463B (en) Evaluation record storage method, device, storage medium and system
CN109377338A (en) Financial product processing method and processing device based on block chain
CN108876419A (en) A kind of industrial products supply chain retroactive method and system based on Internet of Things and block chain
Liu et al. Supply chain decision model based on blockchain: a case study of fresh food E-commerce supply chain performance improvement
CN112632186A (en) Block chain consensus method, computer equipment and block chain system
CN103632228A (en) Target safety monitoring system and method
CN110490640A (en) Method, apparatus and system for object distribution processor
CN108846557A (en) A kind of data capture method based on block chain, device, storage medium, terminal device and system
CN111414434A (en) Block chain-based data transaction management network, transaction device and storage medium
Bapatla et al. PharmaChain: A blockchain to ensure counterfeit‐free pharmaceutical supply chain
CN110838067B (en) Real estate transaction data processing method, device, server and storage medium
CN109284333A (en) Industrial chain data maintaining method and platform based on block chain
CN108537065A (en) Reference information processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant