CN111639955A - Agricultural product authentication and tracing method based on block chain - Google Patents

Agricultural product authentication and tracing method based on block chain Download PDF

Info

Publication number
CN111639955A
CN111639955A CN202010519279.XA CN202010519279A CN111639955A CN 111639955 A CN111639955 A CN 111639955A CN 202010519279 A CN202010519279 A CN 202010519279A CN 111639955 A CN111639955 A CN 111639955A
Authority
CN
China
Prior art keywords
agricultural product
traceability
information
producer
authentication
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
CN202010519279.XA
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.)
Chengdu Luxin Chain Service Technology Co ltd
Original Assignee
Chengdu Luxin Chain Service 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 Chengdu Luxin Chain Service Technology Co ltd filed Critical Chengdu Luxin Chain Service Technology Co ltd
Priority to CN202010519279.XA priority Critical patent/CN111639955A/en
Publication of CN111639955A publication Critical patent/CN111639955A/en
Pending legal-status Critical Current

Links

Images

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
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention discloses an agricultural product authentication and tracing method based on a block chain, which comprises the following steps: s1: identity registration and login are carried out through a registration terminal of the agricultural product traceability system by a producer; s2: performing chain linking operation on agricultural product information by a logged-in producer, and obtaining a source tracing code of the agricultural product; s3: and verifying the information of the agricultural products by the consumer according to the traceability codes of the agricultural products to finish the agricultural product authentication traceability process based on the block chain. The agricultural product authentication traceability method provided by the invention can be used for solving the problem that consumers are worried about information tampering in the agricultural product traceability system, enabling users to use agricultural product traceability codes to carry out relevant authentication and transaction on a super account book terminal and a mobile terminal deployed in a public environment, effectively preventing the risk that enterprise data of a producer is easily tampered, greatly improving the safety of the traditional centralized traceability system with low cost, and providing convenience for tracing after a service end is tampered.

Description

Agricultural product authentication and tracing method based on block chain
Technical Field
The invention belongs to the technical field of agricultural product traceability, and particularly relates to an agricultural product authentication traceability method based on a block chain.
Background
In recent years, with the improvement of living standard, the safety problem of agricultural products is more and more emphasized, and the traceability of agricultural products becomes an effective way for ensuring the safety of agricultural products. At present, a plurality of novel traceability systems based on electronic tags and two-dimensional codes as data carriers exist. These existing systems solve the problems of data updating, anti-counterfeiting and efficiency to a certain extent, but are still extensions of the traditional centralized traceability system. These systems are still an information island, and the problems of non-tamper property, data sharing difficulty and traceability difficulty still exist. Meanwhile, aiming at the agricultural product tracing mode used by the current consumer, the consumer still worrys that the information obtained by tracing is tampered by a selling enterprise, and the information security of the agricultural product cannot be ensured. The existing agricultural product traceability system is specific to a data center, is easy to suffer from information tampering, is difficult to prevent and treat internal tampering risks, and is poor in safety.
Disclosure of Invention
The invention aims to solve the problem of agricultural product traceability and provides an agricultural product authentication traceability method based on a block chain.
The technical scheme of the invention is as follows: an agricultural product authentication and source tracing method based on a block chain comprises the following steps:
s1: identity registration and login are carried out through a registration terminal of the agricultural product traceability system by a producer;
s2: performing chain linking operation on agricultural product information by a logged-in producer, and obtaining a source tracing code of the agricultural product;
s3: and verifying the information of the agricultural products by the consumer according to the traceability codes of the agricultural products to finish the agricultural product authentication traceability process based on the block chain.
Further, step S1 includes the following sub-steps:
s11: according to the requirement of a producer information acquisition module of the agricultural product traceability system registration terminal, filling producer information in the agricultural product traceability system registration terminal;
s12: storing the filled producer information in a database of a super account book and a server;
s13: registering an intelligent contract according to the producer information, judging whether the producer information exists in the super ledger book, if so, returning to the step S11, otherwise, entering the step S14;
s14: and according to the filled producer information, performing identity registration and login in the super account book.
Further, in step S11, the producer information includes the producer' S name, phone number, detailed address, identification number, user name, email address, and password.
Further, in step S13, the intelligent contract for producer information registration includes two interfaces, where the first interface is an agricultural product uplink interface and is used to store the producer information in the super ledger and the database of the server; the second interface is an agricultural product traceability verification interface and is used for verifying the traceability information of the agricultural product according to traceability codes provided by consumers.
Further, step S2 includes the following sub-steps:
s21: filling agricultural product information by using an agricultural product uplink information acquisition module of an agricultural product traceability system registration terminal through a logged-in producer;
s22: storing agricultural product information into a database of a server by using an agricultural product uplink information acquisition module;
s23: generating a traceability code of agricultural product information by using a traceability code generation module of a registration terminal of an agricultural product traceability system, and sending the traceability code to a super account book through a server;
s24: and receiving and storing the source tracing code of the agricultural product information by using the super account book to complete the chain linking operation of the agricultural product information.
Further, in step S21, the agricultural product information includes a commodity name, a breed name, a place of origin, a grade, and a picture of the agricultural product.
Further, step S3 includes the following sub-steps:
s31: selecting an agricultural product to be purchased by a consumer;
s32: according to the agricultural product information and the traceability code of the agricultural product to be purchased, inquiring the agricultural product information stored in the super account book by using a consumer traceability verification module of the agricultural product traceability verification application terminal;
s33: judging whether the agricultural product information of the agricultural product to be purchased is consistent with the agricultural product information stored in the super account book, if so, entering a step S34, otherwise, ending the agricultural product authentication traceability process;
s34: searching whether the traceability code of the agricultural product passes through by using a one-key identification module of the agricultural product traceability verification application terminal, if so, entering a step S35, otherwise, ending the agricultural product authentication traceability flow;
s35: and informing the consumer that the agricultural product is qualified in traceability, and completing the agricultural product authentication traceability process.
Further, in step S34, the one-key identification module only accepts single agricultural product traceability code retrieval, and does not accept batch traceability code retrieval.
The invention has the beneficial effects that:
(1) the agricultural product authentication traceability method provided by the invention can be used for solving the problem that consumers are worried about information tampering in the agricultural product traceability system, enabling users to use agricultural product traceability codes to carry out relevant authentication and transaction on a super account book terminal and a mobile terminal deployed in a public environment, effectively preventing the risk that enterprise data of a producer is easily tampered, greatly improving the safety of the traditional centralized traceability system with low cost, and providing convenience for tracing after a service end is tampered.
(2) The method and the system meet the user requirements of agricultural product traceability, overcome the defect that a blockchain cannot store a large amount of data, combine the convenience of the traditional agricultural product traceability system with the non-falsification of blockchain data, and provide convenience for tracing the problem found by a user because each operation on the chain can leave a record and is difficult to change.
Drawings
Fig. 1 is a flowchart of an agricultural product authentication tracing method.
Fig. 2 is a flowchart of step S1;
fig. 3 is a flowchart of step S3.
Detailed Description
The embodiments of the present invention will be further described with reference to the accompanying drawings.
As shown in fig. 1, the present invention provides a block chain-based agricultural product authentication and traceability method, including the following steps:
s1: identity registration and login are carried out through a registration terminal of the agricultural product traceability system by a producer;
s2: performing chain linking operation on agricultural product information by a logged-in producer, and obtaining a source tracing code of the agricultural product;
s3: and verifying the information of the agricultural products by the consumer according to the traceability codes of the agricultural products to finish the agricultural product authentication traceability process based on the block chain.
In the embodiment of the present invention, as shown in fig. 1, step S1 includes the following sub-steps:
s11: according to the requirement of a producer information acquisition module of the agricultural product traceability system registration terminal, filling producer information in the agricultural product traceability system registration terminal;
s12: storing the filled producer information in a database of a super account book and a server;
s13: registering an intelligent contract according to the producer information, judging whether the producer information exists in the super ledger book, if so, returning to the step S11, otherwise, entering the step S14;
s14: and according to the filled producer information, performing identity registration and login in the super account book.
In the embodiment of the present invention, as shown in fig. 1, in step S11, the producer information includes a name, a mobile phone number, a detailed address, an identification number, a user name, an email, and a password of the producer.
In the embodiment of the present invention, as shown in fig. 1, in step S13, the producer information registration intelligent contract includes two interfaces, a first interface is an agricultural product uplink interface, and is used to store the producer information in the database of the super ledger book and the server; the second interface is an agricultural product traceability verification interface and is used for verifying the traceability information of the agricultural product according to traceability codes provided by consumers.
In the embodiment of the present invention, as shown in fig. 2, step S2 includes the following sub-steps:
s21: filling agricultural product information by using an agricultural product uplink information acquisition module of an agricultural product traceability system registration terminal through a logged-in producer;
s22: storing agricultural product information into a database of a server by using an agricultural product uplink information acquisition module;
s23: generating a traceability code of agricultural product information by using a traceability code generation module of a registration terminal of an agricultural product traceability system, and sending the traceability code to a super account book through a server;
s24: and receiving and storing the source tracing code of the agricultural product information by using the super account book to complete the chain linking operation of the agricultural product information.
In the embodiment of the present invention, as shown in fig. 2, in step S21, the agricultural product information includes a commodity name, a variety name, a place of origin, a grade, and a picture of the agricultural product.
In the embodiment of the present invention, as shown in fig. 3, step S3 includes the following sub-steps:
s31: selecting an agricultural product to be purchased by a consumer;
s32: according to the agricultural product information and the traceability code of the agricultural product to be purchased, inquiring the agricultural product information stored in the super account book by using a consumer traceability verification module of the agricultural product traceability verification application terminal;
s33: judging whether the agricultural product information of the agricultural product to be purchased is consistent with the agricultural product information stored in the super account book, if so, entering a step S34, otherwise, ending the agricultural product authentication traceability process;
s34: searching whether the traceability code of the agricultural product passes through by using a one-key identification module of the agricultural product traceability verification application terminal, if so, entering a step S35, otherwise, ending the agricultural product authentication traceability flow;
s35: and informing the consumer that the agricultural product is qualified in traceability, and completing the agricultural product authentication traceability process.
In the embodiment of the present invention, as shown in fig. 1, in step S34, the one-key identification module only accepts single agricultural product traceability code retrieval, and does not accept batch traceability code retrieval.
The agricultural product traceability system based on the block chain comprises a producer information acquisition module, a producer agricultural product chaining information acquisition module, an agricultural product traceability code generation module and a consumer traceability verification module, which are respectively deployed in an agricultural product traceability system registration terminal, a super ledger node and application terminal related software based on agricultural product traceability verification.
The working principle and the process of the invention are as follows: firstly, a producer inputs agricultural product information by using an agricultural product information acquisition module; the obtained agricultural product information original data is stored in a database corresponding to the server, the agricultural product information original data is stored in a super ledger network through a producer information registration intelligent contract, and a traceability code generation module is called to extract the agricultural product information to generate a corresponding agricultural product traceability code; and finally, the consumer inquires the original data information of the agricultural product stored in the server according to the agricultural product tracing code given by the producer on the agricultural product package, if the agricultural product information is not modified, the agricultural product authentication is passed, and otherwise, the consumer and the producer are informed to deal with the problem.
The invention has the beneficial effects that: (1) the agricultural product authentication traceability method provided by the invention can be used for solving the problem that consumers are worried about information tampering in the agricultural product traceability system, enabling users to use agricultural product traceability codes to carry out relevant authentication and transaction on a super account book terminal and a mobile terminal deployed in a public environment, effectively preventing the risk that enterprise data of a producer is easily tampered, greatly improving the safety of the traditional centralized traceability system with low cost, and providing convenience for tracing after a service end is tampered.
(2) The method and the system meet the user requirements of agricultural product traceability, overcome the defect that a blockchain cannot store a large amount of data, combine the convenience of the traditional agricultural product traceability system with the non-falsification of blockchain data, and provide convenience for tracing the problem found by a user because each operation on the chain can leave a record and is difficult to change.
It will be appreciated by those of ordinary skill in the art that the embodiments described herein are intended to assist the reader in understanding the principles of the invention and are to be construed as being without limitation to such specifically recited embodiments and examples. Those skilled in the art can make various other specific changes and combinations based on the teachings of the present invention without departing from the spirit of the invention, and these changes and combinations are within the scope of the invention.

Claims (8)

1. An agricultural product authentication and source tracing method based on a block chain is characterized by comprising the following steps:
s1: identity registration and login are carried out through a registration terminal of the agricultural product traceability system by a producer;
s2: performing chain linking operation on agricultural product information by a logged-in producer, and obtaining a source tracing code of the agricultural product;
s3: and verifying the information of the agricultural products by the consumer according to the traceability codes of the agricultural products to finish the agricultural product authentication traceability process based on the block chain.
2. The method for agricultural product authentication tracing based on block chain according to claim 1, wherein said step S1 comprises the following sub-steps:
s11: according to the requirement of a producer information acquisition module of the agricultural product traceability system registration terminal, filling producer information in the agricultural product traceability system registration terminal;
s12: storing the filled producer information in a database of a super account book and a server;
s13: registering an intelligent contract according to the producer information, judging whether the producer information exists in the super ledger book, if so, returning to the step S11, otherwise, entering the step S14;
s14: and according to the filled producer information, performing identity registration and login in the super account book.
3. The agricultural product authentication and traceability method based on the block chain as claimed in claim 2, wherein in the step S11, the producer information comprises a name, a mobile phone number, a detailed address, an identification number, a user name, an email and a password of the producer.
4. The method for agricultural product authentication traceability based on blockchain according to claim 2, wherein in the step S13, the producer information registration intelligent contract comprises two interfaces, a first interface is an agricultural product uplink interface, and is used for storing the producer information in a super ledger and a database of a server; the second interface is an agricultural product traceability verification interface and is used for verifying the traceability information of the agricultural product according to traceability codes provided by consumers.
5. The method for agricultural product authentication tracing based on block chain according to claim 1, wherein said step S2 comprises the following sub-steps:
s21: filling agricultural product information by using an agricultural product uplink information acquisition module of an agricultural product traceability system registration terminal through a logged-in producer;
s22: storing agricultural product information into a database of a server by using an agricultural product uplink information acquisition module;
s23: generating a traceability code of agricultural product information by using a traceability code generation module of a registration terminal of an agricultural product traceability system, and sending the traceability code to a super account book through a server;
s24: and receiving and storing the source tracing code of the agricultural product information by using the super account book to complete the chain linking operation of the agricultural product information.
6. The method for certification and traceability of agricultural products based on block chains as claimed in claim 5, wherein in said step S21, the agricultural product information comprises commodity name, item name, place of origin, grade and picture of agricultural product.
7. The method for agricultural product authentication tracing based on block chain according to claim 1, wherein said step S3 comprises the following sub-steps:
s31: selecting an agricultural product to be purchased by a consumer;
s32: according to the agricultural product information and the traceability code of the agricultural product to be purchased, inquiring the agricultural product information stored in the super account book by using a consumer traceability verification module of the agricultural product traceability verification application terminal;
s33: judging whether the agricultural product information of the agricultural product to be purchased is consistent with the agricultural product information stored in the super account book, if so, entering a step S34, otherwise, ending the agricultural product authentication traceability process;
s34: searching whether the traceability code of the agricultural product passes through by using a one-key identification module of the agricultural product traceability verification application terminal, if so, entering a step S35, otherwise, ending the agricultural product authentication traceability flow;
s35: and informing the consumer that the agricultural product is qualified in traceability, and completing the agricultural product authentication traceability process.
8. The block chain-based agricultural product authentication and traceability method of claim 7, wherein in the step S34, the one-key identification module only accepts a single agricultural product traceability code search and does not accept a batch traceability code search.
CN202010519279.XA 2020-06-09 2020-06-09 Agricultural product authentication and tracing method based on block chain Pending CN111639955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010519279.XA CN111639955A (en) 2020-06-09 2020-06-09 Agricultural product authentication and tracing method based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010519279.XA CN111639955A (en) 2020-06-09 2020-06-09 Agricultural product authentication and tracing method based on block chain

Publications (1)

Publication Number Publication Date
CN111639955A true CN111639955A (en) 2020-09-08

Family

ID=72333089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010519279.XA Pending CN111639955A (en) 2020-06-09 2020-06-09 Agricultural product authentication and tracing method based on block chain

Country Status (1)

Country Link
CN (1) CN111639955A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113177798A (en) * 2021-05-12 2021-07-27 捷佳润科技集团股份有限公司 Agricultural traceability system
CN113610550A (en) * 2021-08-26 2021-11-05 盐城一方信息技术有限公司 Product tracing method and system based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107316239A (en) * 2017-07-14 2017-11-03 众安信息技术服务有限公司 A kind of authentification of message and source tracing method and system based on block chain
CN109191124A (en) * 2018-08-16 2019-01-11 北京京东尚科信息技术有限公司 Block chain network, dispositions method and storage medium
CN109523349A (en) * 2018-10-28 2019-03-26 北京工业大学 A kind of agricultural product electric business platform traced to the source based on block chain and implementation method
CN109785136A (en) * 2019-01-30 2019-05-21 北京京东尚科信息技术有限公司 A kind of transaction processing method of block chain, client and block chain network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107316239A (en) * 2017-07-14 2017-11-03 众安信息技术服务有限公司 A kind of authentification of message and source tracing method and system based on block chain
CN109191124A (en) * 2018-08-16 2019-01-11 北京京东尚科信息技术有限公司 Block chain network, dispositions method and storage medium
CN109523349A (en) * 2018-10-28 2019-03-26 北京工业大学 A kind of agricultural product electric business platform traced to the source based on block chain and implementation method
CN109785136A (en) * 2019-01-30 2019-05-21 北京京东尚科信息技术有限公司 A kind of transaction processing method of block chain, client and block chain network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
禹忠等: ""基于区块链的医药防伪溯源系统研究"", 《计算机工程》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113177798A (en) * 2021-05-12 2021-07-27 捷佳润科技集团股份有限公司 Agricultural traceability system
CN113610550A (en) * 2021-08-26 2021-11-05 盐城一方信息技术有限公司 Product tracing method and system based on block chain

Similar Documents

Publication Publication Date Title
CN202019354U (en) Article identity authenticating and anti-counterfeiting system based on NFC (near field communication) cellphone
US9613154B2 (en) Platform and application method for inter-system data exchange based on data tags
CN102855577B (en) Multiple commodity antifake check method based on cloud computing
CN103123709A (en) Bar-code-based information verification system
CN102737308A (en) Mobile terminal and method and system for inquiring information of intelligent card
CN102436596A (en) Commodity anti-counterfeiting traceability system and method based on active radio frequency identification (RFID) technology
CN107545031A (en) Account comprehensive inquiry service, system and computer-readable recording medium
CN108335237A (en) It puts on record method, terminal and computer readable storage medium
CN203151740U (en) Random code verification system based on mobile terminal
US20150142683A1 (en) Method of anti-counterfeit identification
CN109213758B (en) Data access method, device, equipment and computer readable storage medium
CN111639955A (en) Agricultural product authentication and tracing method based on block chain
CN103218591A (en) Anti-counterfeiting system based on RFID (radio frequency identification), and working method of same
CN104809618A (en) Radio frequency identification tag-based product anti-counterfeiting method
CN103049853A (en) Identifying device and verification method for authenticity of shop
WO2021121133A1 (en) Transaction platform system method based on block chain, terminal, and storage medium
CN103593631A (en) Mobile network digital identity recognition system utilizing NFC (near field communication) technology
CN105719106A (en) Product management method and terminal based on two-dimensional code
CN101118589B (en) Read-write machine dedicated for anti-counterfeit based on radio frequency recognizing technology and management method
CN109376187A (en) A kind of querying method and device based on block chain
CN106022773A (en) Method of binding IC card and bank card together
CN109146523A (en) A kind of commodity counterfeit prevention verification system and method based on block chain
CN109242461A (en) Block chain digital asset method of payment based on cell-phone number
CN113269565B (en) Anti-counterfeiting identification method and device for preventing identification code from being reused and electronic equipment
CN106504007A (en) A kind of commodity counterfeit prevention management system based on NFC electronic tags

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

Application publication date: 20200908

RJ01 Rejection of invention patent application after publication