CN109615401A - A kind of source tracing method and device of agricultural product information - Google Patents

A kind of source tracing method and device of agricultural product information Download PDF

Info

Publication number
CN109615401A
CN109615401A CN201811525025.8A CN201811525025A CN109615401A CN 109615401 A CN109615401 A CN 109615401A CN 201811525025 A CN201811525025 A CN 201811525025A CN 109615401 A CN109615401 A CN 109615401A
Authority
CN
China
Prior art keywords
inspection
agricultural product
inspection task
information
execution information
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.)
Pending
Application number
CN201811525025.8A
Other languages
Chinese (zh)
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.)
Heilongjiang Beidahuang District Chain Digital Agriculture Co Ltd
Original Assignee
Heilongjiang Beidahuang District Chain Digital Agriculture 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 Heilongjiang Beidahuang District Chain Digital Agriculture Co Ltd filed Critical Heilongjiang Beidahuang District Chain Digital Agriculture Co Ltd
Priority to CN201811525025.8A priority Critical patent/CN109615401A/en
Publication of CN109615401A publication Critical patent/CN109615401A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6272Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database by registering files or documents with a third party
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Mining

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Animal Husbandry (AREA)
  • Primary Health Care (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Mining & Mineral Resources (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Resources & Organizations (AREA)
  • Computer Hardware Design (AREA)
  • Agronomy & Crop Science (AREA)
  • Bioethics (AREA)
  • Tourism & Hospitality (AREA)
  • Databases & Information Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application provides a kind of source tracing methods of agricultural product information, are applied to block chain server, create corresponding production plan to be planted in different types of agricultural product of different geographical, and each stage in each production plan creates inspection task;Each stage in each production plan receives the inspection task execution information that mobile terminal is sent, and carries out Hash calculation to inspection task execution information and obtains a unique cryptographic Hash, and by cryptographic Hash storage into block chain;For the corresponding agricultural product of each production plan, when completing Operational preparation factory, a graphic code is generated for it according to trace to the source address of the agricultural product in block chain, consumer obtains each inspection task execution information of agricultural product by scanning figure shape code access region block chain.The present invention, using the tamper-resistance properties of block chain, realizes the security traceability of agricultural product data by the way that the inspection task execution information in stage each in agricultural product production process to be stored in block chain.

Description

A kind of source tracing method and device of agricultural product information
Technical field
The present invention relates to block chain technical fields, more particularly to the source tracing method and device of a kind of agricultural product information.
Background technique
In recent years, food-safety problem takes place frequently, and more known in terms of agricultural product is exactly " grain in storage for years " " grain in storage for years " The problems such as " aflatoxins ".These agricultural product are by seeming similar with new grain after special processing and packing, but these grains Food is harmful to body, and masses are difficult to distinguish under normal circumstances, go for the producer in packaging bag and are likely to can not find, most Health is influenced eventually and also can not find person liable.
As the concern of the food-safe problem of consumer can trace back at present there is an urgent need for the traceable of agricultural product information is realized The agricultural product information in source is very single, and such as the production batch number of agricultural product, consumer only can inquire this according to production batch number The date of production of batch agricultural product, but agricultural product be when in, planting process experienced which stage, each stage Agricultural product information, consumer can not learn.
It can be seen that presently, there are the agricultural product information traced to the source it is single, and be easily tampered, consumer is unable to get agricultural product Comprehensive believable information of tracing to the source.
Summary of the invention
In view of this, the present invention provides a kind of source tracing method of agricultural product information and device, by agricultural product production process In the inspection task execution information in each stage be stored in block chain, using the tamper-resistance properties of block chain, realize agricultural product The security traceability of data.
In order to achieve the above-mentioned object of the invention, specific technical solution provided by the invention is as follows:
A kind of source tracing method of agricultural product information is applied to block chain server, which comprises
Corresponding production plan is created to be planted in different types of agricultural product of different geographical, and each described Each stage in production plan creates inspection task;
Each stage in each production plan receives the inspection task execution information that mobile terminal is sent, right The inspection task execution information carries out Hash calculation and obtains a unique cryptographic Hash, and the cryptographic Hash is stored to block In chain;
For the corresponding agricultural product of each production plan, when completing Operational preparation factory, according to agricultural product in block chain In address of tracing to the source generate a graphic code for it, consumer accesses block chain by scanning the graphic code and obtains agricultural product Each inspection task execution information.
Optionally, the inspection task includes executor's information, in each rank in each production plan After section creation inspection task, the method also includes:
The authentication information that mobile terminal is sent is received, the authentication information includes inspection task mark and executes People's information;
The authentication information is verified, is appointed after being verified to mobile terminal push and described examine Business identifies corresponding inspection task information;
Before the inspection task execution information that the reception mobile terminal is sent, the method also includes:
The authentication information that mobile terminal is sent is received, the authentication information includes inspection task mark and executes People's information;
The authentication information is verified, the inspection that the reception mobile terminal is sent is executed after being verified Task execution information.
Optionally, described that a unique cryptographic Hash is obtained to inspection task execution information progress Hash calculation, it wraps It includes:
To in the inspection task execution information inspection task title, checked object, executor's information, each inspection in The GPS information of mobile terminal carries out Hash calculation as a whole when holding corresponding inspection result and examining, and obtains one Unique cryptographic Hash.
Optionally, the method also includes:
When consumer is by scanning the graphic code, is obtained in block chain and deposited according to the address of tracing to the source in the graphic code Each inspection task execution information of the agricultural product of storage;
To the mobile terminal of consumer push each inspection task of agricultural product in the corresponding inspection result of each inspection content, And examine when mobile terminal GPS information.
Optionally, the inspection task execution information includes the inspection task received in the different time of same stage Execution information, it is described that a unique cryptographic Hash is obtained to inspection task execution information progress Hash calculation, comprising:
According to the receiving time of each inspection task execution information in the inspection task execution information, successively to each institute State inspection task title, checked object, the executor's information, the corresponding inspection of each inspection content in inspection task execution information As a result and Check-Out Time carries out Hash calculation as a whole, and it is corresponding to obtain each inspection task execution information One unique cryptographic Hash.
Optionally, the method also includes:
When consumer is by scanning the graphic code, is obtained in block chain and deposited according to the address of tracing to the source in the graphic code Each inspection task execution information of the agricultural product of storage;
Letter is executed to the corresponding each inspection task of the mobile terminal of the consumer push each inspection task of agricultural product The corresponding inspection result of each inspection content and Check-Out Time in breath.
Optionally, described that a unique cryptographic Hash is obtained to inspection task execution information progress Hash calculation, it wraps It includes:
To in the inspection task execution information inspection task title, checked object, executor's information, each inspection in Hold corresponding inspection result, each corresponding inspection result of quality restriction content and examine when mobile terminal GPS information and Check-Out Time carries out Hash calculation as a whole, obtains a unique cryptographic Hash.
Optionally, the method also includes:
When consumer is by scanning the graphic code, is obtained in block chain and deposited according to the address of tracing to the source in the graphic code Each inspection task execution information of the agricultural product of storage;
To the mobile terminal of consumer push each inspection task of agricultural product in the corresponding inspection result of each inspection content, The GPS information of mobile terminal and Check-Out Time when each corresponding inspection result of quality restriction content and inspection.
Optionally, the address of tracing to the source according to agricultural product in block chain generates a graphic code for it, comprising:
A random number is generated for each agricultural product;
According to trace to the source address and random number of the agricultural product in block chain, a unique graphic code is generated.
A kind of device of tracing to the source of agricultural product information, is applied to block chain server, and described device includes:
Inspection task creating unit creates corresponding for different types of agricultural product to be planted in different geographical Production plan, and each stage in each production plan creates inspection task;
Execution information storage unit receives mobile terminal and sends for each stage in each production plan Inspection task execution information, to the inspection task execution information carry out Hash calculation obtain a unique cryptographic Hash, and By cryptographic Hash storage into block chain;
Graphic code generation unit, for being directed to the corresponding agricultural product of each production plan, when completing Operational preparation factory, A graphic code is generated for it according to trace to the source address of the agricultural product in block chain, consumer is by scanning the graphic code access Each inspection task execution information of block chain acquisition agricultural product.
Optionally, described device further include:
First identity authenticating unit, for receiving the authentication information of mobile terminal transmission, the authentication information Including inspection task mark and executor's information;The authentication information is verified, to the shifting after being verified Dynamic terminal pushes inspection task information corresponding with inspection task mark;
Second identity authenticating unit, for receiving the authentication information of mobile terminal transmission, the authentication information Including inspection task mark and executor's information;The authentication information is verified, after being verified described in triggering Execution information storage unit.
Optionally, the execution information storage unit, specifically for appointing to the inspection in the inspection task execution information The GPS of mobile terminal when business title, checked object, executor's information, the corresponding inspection result of each inspection content and inspection Information carries out Hash calculation as a whole, obtains a unique cryptographic Hash.
Optionally, described device further include:
Agricultural product information push unit is used for when consumer is by scanning the graphic code, according in the graphic code Address of tracing to the source obtain each inspection task execution information of agricultural product stored in block chain;It is pushed away to the mobile terminal of consumer The GPS information of mobile terminal when sending the corresponding inspection result of each inspection content in each inspection task of agricultural product and examining.
Optionally, the execution information storage unit is specifically used for according to each inspection in the inspection task execution information The receiving time of task execution information is tested, successively to the inspection task title in each inspection task execution information, inspection Object, executor's information, the corresponding inspection result of each inspection content and Check-Out Time carry out Hash meter as a whole It calculates, obtains the corresponding unique cryptographic Hash of each inspection task execution information.
Optionally, described device further include:
Agricultural product information push unit is used for when consumer is by scanning the graphic code, according in the graphic code Address of tracing to the source obtain each inspection task execution information of agricultural product stored in block chain;It is pushed away to the mobile terminal of consumer Send the corresponding inspection of each inspection content in the corresponding each inspection task execution information of each inspection task of agricultural product And Check-Out Time as a result.
Optionally, the execution information storage unit, specifically for appointing to the inspection in the inspection task execution information Title, checked object, executor's information, the corresponding inspection result of each inspection content, each the quality restriction content of being engaged in are corresponding The GPS information of mobile terminal and Check-Out Time carry out Hash calculation as a whole when inspection result and inspection, obtain one A unique cryptographic Hash.
Optionally, described device further include:
Agricultural product information push unit is used for when consumer is by scanning the graphic code, according in the graphic code Address of tracing to the source obtain each inspection task execution information of agricultural product stored in block chain;It is pushed away to the mobile terminal of consumer Send the corresponding inspection result of each inspection content in each inspection task of agricultural product, each quality restriction content corresponding inspection knot The GPS information of mobile terminal and Check-Out Time when fruit and inspection.
Optionally, the graphic code generation unit is specifically used for generating a random number for each agricultural product;According to agricultural production Trace to the source address and random number of the product in block chain generate a unique graphic code.
Compared with the existing technology, beneficial effects of the present invention are as follows:
The source tracing method and device of a kind of agricultural product information disclosed by the invention, for the variety classes for being planted in different geographical Agricultural product formulate reasonable production plan, and reasonable inspection task, guarantee are formulated in each calculatings in each production plan The science of agricultural product production and inspection task.Meanwhile the real-time reception inspection task in the implementation procedure of inspection task Execution information, and generate corresponding cryptographic Hash and be stored in block chain, using the tamper-resistance properties of block chain, it ensure that agricultural product number According to it is secure and trusted.When agricultural product complete Operational preparation factory, given birth to according to trace to the source address of the agricultural product in block chain for it At a graphic code, letter is executed by each inspection task that scanning figure shape code access region block chain obtains agricultural product convenient for consumer Breath, the information for realizing agricultural product all round process is traceable, and not needing to be implanted into seed stage does not influence to grow and use Special carrier, which reduces information, can be traced the production cost of agricultural product.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of source tracing method flow diagram of agricultural product information disclosed by the embodiments of the present invention;
Fig. 2 is a kind of apparatus structure schematic diagram of tracing to the source of agricultural product information disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, it is applied to block chain server present embodiment discloses a kind of source tracing method of agricultural product information, This method specifically includes the following steps:
S101: corresponding production plan is created to be planted in different types of agricultural product of different geographical, and every Each stage in a production plan creates inspection task;
Different geographical refers specifically to the different region of different snow change or soil property.
The agricultural product production plan that the present embodiment is formulated using expert according to the different types of agricultural product of different geographical, In, production plan includes the planting scheme of agricultural product, fabrication plan, completes agricultural product full production plan from seed to product.
Each stage in production plan creates inspection task, and inspection task information includes: inspection task title, examines Object, executor's information, the corresponding inspection result of each inspection content, each corresponding inspection result of quality restriction content, with And examine when mobile terminal GPS information and in Check-Out Time any several information combination.
S102: each stage in each production plan receives the inspection task that mobile terminal is sent and executes letter Breath carries out Hash calculation to the inspection task execution information and obtains a unique cryptographic Hash, and the cryptographic Hash is stored Into block chain;
Executor's hand-held mobile terminal, in the implementation procedure of inspection task, real-time records tests task execution information, inspection Testing task execution information has writing record class, records of values class and picture record class etc..
The inspection task execution information that block chain server real-time reception executor's mobile terminal is sent, holds inspection task Row information carries out Hash calculation and obtains a unique cryptographic Hash, and by cryptographic Hash storage into block chain.
In order to guarantee the safety of inspection task execution information, need to carry out authentication to the mobile terminal of executor, Specifically, after each stage in each production plan creates inspection task, the method also includes:
The authentication information that mobile terminal is sent is received, the authentication information includes inspection task mark and executes People's information;
The authentication information is verified, is appointed after being verified to mobile terminal push and described examine Business identifies corresponding inspection task information;
Before the inspection task execution information that the reception mobile terminal is sent, the method also includes:
The authentication information that mobile terminal is sent is received, the authentication information includes inspection task mark and executes People's information;
The authentication information is verified, the inspection that the reception mobile terminal is sent is executed after being verified Task execution information.
Wherein, authentication can be a variety of verification modes, one of optional verification mode are as follows: block chain server By the inspection task mark recorded in the inspection task mark and executor's information and block chain of mobile terminal transmission and executor Information is matched, and authentication passes through if successful match.
S103: being directed to the corresponding agricultural product of each production plan, when completing Operational preparation factory, according to agricultural product in area Address of tracing to the source in block chain generates a graphic code for it, and consumer accesses block chain acquisition agricultural production by scanning the graphic code Each inspection task execution information of product.
Specifically, generating a random number for each agricultural product;According to agricultural product in block chain trace to the source address and with Machine number generates a unique graphic code.It include trace to the source address and random number of the agricultural product in block chain i.e. in graphic code.
Graphic code can be two dimensional code or bar code etc..
A kind of source tracing method of agricultural product information disclosed in the present embodiment, for the different types of agriculture for being planted in different geographical Product formulates reasonable production plan, and reasonable inspection task is formulated in each calculating in each production plan, ensure that agriculture The science of production and inspection task.Meanwhile real-time reception inspection task executes in the implementation procedure of inspection task Information, and generate corresponding cryptographic Hash and be stored in block chain, using the tamper-resistance properties of block chain, it ensure that agricultural product data It is secure and trusted.When agricultural product complete Operational preparation factory, one is generated for it according to trace to the source address of the agricultural product in block chain A graphic code obtains each inspection task execution information of agricultural product convenient for consumer by scanning figure shape code access region block chain, The information for realizing agricultural product all round process is traceable, do not need seed stage be implanted into do not influence to grow and use it is special Carrier, which reduces information, can be traced the production cost of agricultural product.
It should be noted that according to different needs, the cryptographic Hash of inspection task execution information can there are many forms, such as Geography stamp, timestamp and quality stamp etc., are illustrated below.
One, geographical stamp
To in the inspection task execution information inspection task title, checked object, executor's information, each inspection in The GPS information of mobile terminal carries out Hash calculation as a whole when holding corresponding inspection result and examining, and obtains one Unique cryptographic Hash, the cryptographic Hash are geographical stamp.
Wherein, inspection content may include: kind, Pesticide use object, Pesticide use amount, water temperature, soil element detection, water Source state-detection etc..
The mobile terminal of executor needs GPS positioning function, can will examine when uploading inspection task execution information When mobile terminal GPS information upload block chain server in real time.
On this basis, it when consumer is by scanning the graphic code, is obtained according to the address of tracing to the source in the graphic code Take each inspection task execution information of the agricultural product stored in block chain;It is each to the mobile terminal of consumer push agricultural product In inspection task the corresponding inspection result of each inspection content and examine when mobile terminal GPS information.
Due to the GPS information of mobile terminal when executor will upload inspection when executing inspection task every time, increase The cost of fraud ensure that the authenticity of inspection task execution information.
Two, timestamp
According to the receiving time of each inspection task execution information in the inspection task execution information, successively to each institute State inspection task title, checked object, the executor's information, the corresponding inspection of each inspection content in inspection task execution information As a result and Check-Out Time carries out Hash calculation as a whole, and it is corresponding to obtain each inspection task execution information One unique cryptographic Hash, the cryptographic Hash are timestamp.
On this basis, it when consumer is by scanning the graphic code, is obtained according to the address of tracing to the source in the graphic code Take each inspection task execution information of the agricultural product stored in block chain;It is each to the mobile terminal of consumer push agricultural product The corresponding inspection result of each inspection content and inspection in the corresponding each inspection task execution information of inspection task Time.
Such as with Rice Cropping jointing-booting stage, one month or so by a definite date, the inspection task executable time was 1 month.It holds For pedestrian using mobile terminal by the temporal frequency of inspection task requirement, which was within 1 month executable time with 5 days The frequency of data is uploaded for unit.
Due to executor every time execute inspection task when will upload inspection when Check-Out Time, increase fraud at This, ensure that the authenticity of inspection task execution information.
Three, quality is stabbed
To in the inspection task execution information inspection task title, checked object, executor's information, each inspection in Hold corresponding inspection result, each corresponding inspection result of quality restriction content and examine when mobile terminal GPS information and Check-Out Time carries out Hash calculation as a whole, obtains a unique cryptographic Hash, which is quality stamp.
Wherein, quality restriction content includes: mouth feel values, heavy metal-polluted soil detection, Pesticide-Polluted Soil detection, irrigation water weight Metal detection, crop heavy metal detection, aflatoxins goes B1 content detection, straight in crops Detecting Pesticide, agricultural product The quality information of the dimensions such as chain starch, sugariness, nutritive value may be implemented more due to using the quality restriction content of various dimensions The quality of dimensional analysis agricultural product.
On this basis, it when consumer is by scanning the graphic code, is obtained according to the address of tracing to the source in the graphic code Take each inspection task execution information of the agricultural product stored in block chain;It is each to the mobile terminal of consumer push agricultural product The corresponding inspection result of each inspection content, each corresponding inspection result of quality restriction content and inspection in inspection task When mobile terminal GPS information and Check-Out Time.
It should be noted that the quality stamp of agricultural product is the identity card and acceptance value of agricultural product, pass through the product to agricultural product Matter information is traced, the quality information in available agricultural product each stage in all round process.
The source tracing method of disclosed agricultural product information based on the above embodiment, the present embodiment correspondence disclose a kind of agricultural product The device of tracing to the source of information, referring to Fig. 2, the device of tracing to the source of the agricultural product information, is applied to block chain server, specifically includes:
Inspection task creating unit 201, it is right with it to create for different types of agricultural product to be planted in different geographical The production plan answered, and each stage in each production plan creates inspection task;
Execution information storage unit 202 receives mobile terminal hair for each stage in each production plan The inspection task execution information sent carries out Hash calculation to the inspection task execution information and obtains a unique cryptographic Hash, And by cryptographic Hash storage into block chain;
Graphic code generation unit 203 is dispatched from the factory for being directed to the corresponding agricultural product of each production plan when completing Operational preparation When, a graphic code is generated for it according to trace to the source address of the agricultural product in block chain, consumer is by scanning the graphic code Access each inspection task execution information that block chain obtains agricultural product.
Optionally, described device further include:
First identity authenticating unit, for receiving the authentication information of mobile terminal transmission, the authentication information Including inspection task mark and executor's information;The authentication information is verified, to the shifting after being verified Dynamic terminal pushes inspection task information corresponding with inspection task mark;
Second identity authenticating unit, for receiving the authentication information of mobile terminal transmission, the authentication information Including inspection task mark and executor's information;The authentication information is verified, after being verified described in triggering Execution information storage unit.
Optionally, the execution information storage unit, specifically for appointing to the inspection in the inspection task execution information The GPS of mobile terminal when business title, checked object, executor's information, the corresponding inspection result of each inspection content and inspection Information carries out Hash calculation as a whole, obtains a unique cryptographic Hash.
Optionally, described device further include:
Agricultural product information push unit is used for when consumer is by scanning the graphic code, according in the graphic code Address of tracing to the source obtain each inspection task execution information of agricultural product stored in block chain;It is pushed away to the mobile terminal of consumer The GPS information of mobile terminal when sending the corresponding inspection result of each inspection content in each inspection task of agricultural product and examining.
Optionally, the execution information storage unit is specifically used for according to each inspection in the inspection task execution information The receiving time of task execution information is tested, successively to the inspection task title in each inspection task execution information, inspection Object, executor's information, the corresponding inspection result of each inspection content and Check-Out Time carry out Hash meter as a whole It calculates, obtains the corresponding unique cryptographic Hash of each inspection task execution information.
Optionally, described device further include:
Agricultural product information push unit is used for when consumer is by scanning the graphic code, according in the graphic code Address of tracing to the source obtain each inspection task execution information of agricultural product stored in block chain;It is pushed away to the mobile terminal of consumer Send the corresponding inspection of each inspection content in the corresponding each inspection task execution information of each inspection task of agricultural product And Check-Out Time as a result.
Optionally, the execution information storage unit, specifically for appointing to the inspection in the inspection task execution information Title, checked object, executor's information, the corresponding inspection result of each inspection content, each the quality restriction content of being engaged in are corresponding The GPS information of mobile terminal and Check-Out Time carry out Hash calculation as a whole when inspection result and inspection, obtain one A unique cryptographic Hash.
Optionally, described device further include:
Agricultural product information push unit is used for when consumer is by scanning the graphic code, according in the graphic code Address of tracing to the source obtain each inspection task execution information of agricultural product stored in block chain;It is pushed away to the mobile terminal of consumer Send the corresponding inspection result of each inspection content in each inspection task of agricultural product, each quality restriction content corresponding inspection knot The GPS information of mobile terminal and Check-Out Time when fruit and inspection.
Optionally, the graphic code generation unit is specifically used for generating a random number for each agricultural product;According to agricultural production Trace to the source address and random number of the product in block chain generate a unique graphic code.
A kind of device of tracing to the source of agricultural product information disclosed in the present embodiment, for the different types of agriculture for being planted in different geographical Product formulates reasonable production plan, and reasonable inspection task is formulated in each calculating in each production plan, ensure that agriculture The science of production and inspection task.Meanwhile real-time reception inspection task executes in the implementation procedure of inspection task Information, and generate corresponding cryptographic Hash and be stored in block chain, using the tamper-resistance properties of block chain, it ensure that agricultural product data It is secure and trusted.When agricultural product complete Operational preparation factory, one is generated for it according to trace to the source address of the agricultural product in block chain A graphic code obtains each inspection task execution information of agricultural product convenient for consumer by scanning figure shape code access region block chain, The information for realizing agricultural product all round process is traceable, do not need seed stage be implanted into do not influence to grow and use it is special Carrier, which reduces information, can be traced the production cost of agricultural product.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of source tracing method of agricultural product information, which is characterized in that be applied to block chain server, which comprises
Corresponding production plan is created to be planted in different types of agricultural product of different geographical, and in each production Each stage in the works creates inspection task;
Each stage in each production plan receives the inspection task execution information that mobile terminal is sent, to described Inspection task execution information carries out Hash calculation and obtains a unique cryptographic Hash, and the cryptographic Hash is stored to block chain In;
For the corresponding agricultural product of each production plan, when completing Operational preparation factory, according to agricultural product in block chain Address is traced to the source as its one graphic code of generation, consumer accesses each of block chain acquisition agricultural product by scanning the graphic code Inspection task execution information.
2. the method according to claim 1, wherein the inspection task includes executor's information, it is described After creation of each stage inspection task in each production plan, the method also includes:
The authentication information that mobile terminal is sent is received, the authentication information includes inspection task mark and executor's letter Breath;
The authentication information is verified, to mobile terminal push and the inspection task mark after being verified Sensible corresponding inspection task information;
Before the inspection task execution information that the reception mobile terminal is sent, the method also includes:
The authentication information that mobile terminal is sent is received, the authentication information includes inspection task mark and executor's letter Breath;
The authentication information is verified, the inspection task that the reception mobile terminal is sent is executed after being verified Execution information.
3. the method according to claim 1, wherein described carry out Hash meter to the inspection task execution information Calculation obtains a unique cryptographic Hash, comprising:
To the inspection task title in the inspection task execution information, checked object, executor's information, each inspection content pair The GPS information of mobile terminal carries out Hash calculation as a whole when the inspection result and inspection answered, obtains one uniquely Cryptographic Hash.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
When consumer is by scanning the graphic code, according to what is stored in the address acquisition block chain of tracing to the source in the graphic code Each inspection task execution information of agricultural product;
To the mobile terminal of consumer push each inspection task of agricultural product in the corresponding inspection result of each inspection content and The GPS information of mobile terminal when inspection.
5. the method according to claim 1, wherein the inspection task execution information includes in same stage The inspection task execution information received in different time, it is described that inspection task execution information progress Hash calculation is obtained One unique cryptographic Hash, comprising:
According to the receiving time of each inspection task execution information in the inspection task execution information, successively to each inspection Test inspection task title, checked object, the executor's information, the corresponding inspection knot of each inspection content in task execution information Fruit and Check-Out Time carry out Hash calculation as a whole, obtain each inspection task execution information corresponding one A unique cryptographic Hash.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
When consumer is by scanning the graphic code, according to what is stored in the address acquisition block chain of tracing to the source in the graphic code Each inspection task execution information of agricultural product;
Into the corresponding each inspection task execution information of the mobile terminal of the consumer push each inspection task of agricultural product The corresponding inspection result of each inspection content and Check-Out Time.
7. the method according to claim 1, wherein described carry out Hash meter to the inspection task execution information Calculation obtains a unique cryptographic Hash, comprising:
To the inspection task title in the inspection task execution information, checked object, executor's information, each inspection content pair The GPS information and inspection of mobile terminal when inspection result, each corresponding inspection result of quality restriction content and the inspection answered Time carries out Hash calculation as a whole, obtains a unique cryptographic Hash.
8. the method according to the description of claim 7 is characterized in that the method also includes:
When consumer is by scanning the graphic code, according to what is stored in the address acquisition block chain of tracing to the source in the graphic code Each inspection task execution information of agricultural product;
To the mobile terminal of consumer push each inspection task of agricultural product in the corresponding inspection result of each inspection content, each The GPS information of mobile terminal and Check-Out Time when the corresponding inspection result of quality restriction content and inspection.
9. the method according to claim 1, wherein the address of tracing to the source according to agricultural product in block chain is It generates a graphic code, comprising:
A random number is generated for each agricultural product;
According to trace to the source address and random number of the agricultural product in block chain, a unique graphic code is generated.
10. a kind of device of tracing to the source of agricultural product information, which is characterized in that be applied to block chain server, described device includes:
Inspection task creating unit, for creating corresponding production for different types of agricultural product for being planted in different geographical Plan, and each stage in each production plan creates inspection task;
Execution information storage unit receives the inspection that mobile terminal is sent for each stage in each production plan Task execution information is tested, Hash calculation is carried out to the inspection task execution information and obtains a unique cryptographic Hash, and by institute Cryptographic Hash storage is stated into block chain;
Graphic code generation unit, for being directed to the corresponding agricultural product of each production plan, when completing Operational preparation factory, according to Trace to the source address of the agricultural product in block chain generates a graphic code for it, and consumer accesses block by scanning the graphic code Each inspection task execution information of chain acquisition agricultural product.
CN201811525025.8A 2018-12-13 2018-12-13 A kind of source tracing method and device of agricultural product information Pending CN109615401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811525025.8A CN109615401A (en) 2018-12-13 2018-12-13 A kind of source tracing method and device of agricultural product information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811525025.8A CN109615401A (en) 2018-12-13 2018-12-13 A kind of source tracing method and device of agricultural product information

Publications (1)

Publication Number Publication Date
CN109615401A true CN109615401A (en) 2019-04-12

Family

ID=66008210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811525025.8A Pending CN109615401A (en) 2018-12-13 2018-12-13 A kind of source tracing method and device of agricultural product information

Country Status (1)

Country Link
CN (1) CN109615401A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110189149A (en) * 2019-05-30 2019-08-30 北京慧眼智行科技有限公司 The determination method and system of agricultural product information
CN111031475A (en) * 2019-12-19 2020-04-17 达闼科技成都有限公司 Method for collecting terminal position information, terminal, position collecting terminal and storage medium
CN112232840A (en) * 2020-10-29 2021-01-15 中山大学 Agricultural product block chain tracing method and system combining Beidou system
US11195015B2 (en) * 2019-05-13 2021-12-07 Bao Tran IoT-based farming and plant growth ecosystem

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009151668A (en) * 2007-12-21 2009-07-09 Hitachi Ltd Agricultural product traceability system, agricultural product traceability method, agricultural product traceability program, and retail dealer terminal
CN107704493A (en) * 2017-08-23 2018-02-16 中链科技有限公司 It is a kind of to be used to provide the method and system that product is traced to the source
CN108256875A (en) * 2018-04-09 2018-07-06 王先笨 A kind of safe traceability system based on product supply chain
CN108599963A (en) * 2018-05-11 2018-09-28 招商局重庆交通科研设计院有限公司 A kind of detection data based on block chain technology is traced to the source verification method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009151668A (en) * 2007-12-21 2009-07-09 Hitachi Ltd Agricultural product traceability system, agricultural product traceability method, agricultural product traceability program, and retail dealer terminal
CN107704493A (en) * 2017-08-23 2018-02-16 中链科技有限公司 It is a kind of to be used to provide the method and system that product is traced to the source
CN108256875A (en) * 2018-04-09 2018-07-06 王先笨 A kind of safe traceability system based on product supply chain
CN108599963A (en) * 2018-05-11 2018-09-28 招商局重庆交通科研设计院有限公司 A kind of detection data based on block chain technology is traced to the source verification method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11195015B2 (en) * 2019-05-13 2021-12-07 Bao Tran IoT-based farming and plant growth ecosystem
CN110189149A (en) * 2019-05-30 2019-08-30 北京慧眼智行科技有限公司 The determination method and system of agricultural product information
CN111031475A (en) * 2019-12-19 2020-04-17 达闼科技成都有限公司 Method for collecting terminal position information, terminal, position collecting terminal and storage medium
CN112232840A (en) * 2020-10-29 2021-01-15 中山大学 Agricultural product block chain tracing method and system combining Beidou system

Similar Documents

Publication Publication Date Title
CN109615401A (en) A kind of source tracing method and device of agricultural product information
CN109544193A (en) Agricultural product source tracing method, system and data processing server
Grassini et al. How good is good enough? Data requirements for reliable crop yield simulations and yield-gap analysis
Geng et al. Agricultural drought hazard analysis during 1980–2008: a global perspective
Mihailović et al. Climate change effects on crop yields in Serbia and related shifts of Köppen climate zones under the SRES‐A1B and SRES‐A2
Tao et al. Global warming, rice production, and water use in China: developing a probabilistic assessment
Tubiello et al. Developing climate change impact metrics for agriculture
Ruane et al. Multi-wheat-model ensemble responses to interannual climate variability
CN107194822A (en) A kind of agricultural data shared system and method based on block chain
CN106461807A (en) Generating an agriculture prescription
CN104933584A (en) Traceability system and traceability method for agricultural product based on cloud platform
US20060015374A1 (en) Risk management on the application of crop inputs
Burke et al. An in‐depth examination of maize yield response to fertilizer in Central Malawi reveals low profits and too many weeds
CN113129038B (en) Green food evaluation system based on block chain
Anderson et al. Characterising the spatial and temporal activities of free-ranging cows from GPS data
Di Falco et al. Peer effects and the choice of adaptation strategies
US20060015253A1 (en) Risk management on the application of crop inputs
Henryson et al. Accounting for long-term soil fertility effects when assessing the climate impact of crop cultivation
Piikki et al. Improvement of spatial modelling of crop suitability using a new digital soil map of Tanzania
Malherbe et al. Seasonal forecasts of the SINTEX‐F coupled model applied to maize yield and streamflow estimates over north‐eastern S outh A frica
Baumbach et al. Regional adaptation of European beech (Fagus sylvatica) to drought in Central European conditions considering environmental suitability and economic implications
Durand et al. Agroecological transition: A viability model to assess soil restoration
Coughlan de Perez et al. Potential for surprising heat and drought events in wheat-producing regions of USA and China
Iizumi et al. Aligning the harvesting year in global gridded crop model simulations with that in census reports is pivotal to national-level model performance evaluations for rice
Soltani et al. Model suitability to assess regional potato yield patterns in northern Ecuador

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190412