CN108960867B - Block chain-based soy quality authentication method - Google Patents
Block chain-based soy quality authentication method Download PDFInfo
- Publication number
- CN108960867B CN108960867B CN201810779567.1A CN201810779567A CN108960867B CN 108960867 B CN108960867 B CN 108960867B CN 201810779567 A CN201810779567 A CN 201810779567A CN 108960867 B CN108960867 B CN 108960867B
- Authority
- CN
- China
- Prior art keywords
- authentication
- information
- soy
- quality
- basic 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 235000013555 soy sauce Nutrition 0.000 claims abstract description 33
- 238000004519 manufacturing process Methods 0.000 claims abstract description 14
- 235000010469 Glycine max Nutrition 0.000 claims description 64
- 244000068988 Glycine max Species 0.000 claims description 17
- 238000001514 detection method Methods 0.000 claims description 13
- 235000013305 food Nutrition 0.000 claims description 6
- 238000004806 packaging method and process Methods 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 3
- 230000002708 enhancing effect Effects 0.000 abstract description 3
- 238000003326 Quality management system Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 229910003460 diamond Inorganic materials 0.000 description 1
- 239000010432 diamond Substances 0.000 description 1
- 230000009261 transgenic effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/018—Certifying business or products
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Entrepreneurship & Innovation (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Accounting & Taxation (AREA)
- Marketing (AREA)
- Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Soy Sauces And Products Related Thereto (AREA)
Abstract
The invention discloses a soy quality authentication method based on a blockchain, which comprises information creation, information addition and information inquiry; the invention also discloses a soy quality authentication system based on the blockchain, which comprises an information creation module, an information addition module and an information query module; the invention has the beneficial effects that the whole soy sauce manufacturing process is under strict supervision and authentication, the authentication information of each step is recorded by using the blockchain technology, and can not be tampered after being recorded, and all operation marks are reserved, thereby objectively improving the transparency of the soy sauce manufacturing and selling process and enhancing the reliability of a quality authentication system of the soy sauce.
Description
Technical Field
The invention relates to the technical field of logistics, in particular to a soy quality authentication method and system based on a blockchain.
Background
The current food safety problem becomes an increasingly focused problem for society, especially the discussion about the transgenic food safety problem is still quite hot, but the soy sauce products on the market at present are licensed for food production and are authenticated by the ISO9001 quality management system, but the whole production process of the soy sauce is not transparently provided for consumer supervision, so that if the quality detection is unqualified, the problem that the problem is at the stage and the loss and responsibility are borne by the unit is difficult to determine.
The blockchain has the characteristics of traceability, tamper resistance, decentralization and the like, and has application scenes in the aspects of intelligent asset management, transaction tracing and the like. Currently, blockchains are widely applied to scenes such as diamond quality authentication, artwork copyright authentication, transaction traceability, academic traceability authentication and the like.
Disclosure of Invention
The purpose of the invention is that: the soy quality authentication method and system based on the blockchain are provided, and from soybean planting, soy brewing, soy bottling, soy transportation and sales, traceability, tamper resistance and decentralization of soy quality authentication are realized, so that the reliability of soy quality authentication is improved.
In order to achieve the above object, the technical scheme of the present invention is as follows: a soy quality authentication method based on block chain comprises the following steps:
s1, creating information;
s2, information addition;
and S3, inquiring information.
Step S1 comprises the steps of:
step S11, extracting basic information of soy sauce;
step S12, extracting scanning authentication basic information of the planted soybeans;
s13, extracting scanning authentication basic information after brewing is completed;
step S14, extracting scanning authentication basic information in the transportation process;
step S15, extracting scanning authentication basic information in the sales process;
s16, creating an information account of the soy sauce in the step S11 in a blockchain, and inputting and storing the basic information of the soy sauce extracted in the steps S11, S12, S13, S14 and S15 and the basic information of scanning authentication of the planted soybeans, after brewing, in the transportation process and in the sales process;
step S17, generating a unique identifier corresponding to soy sauce in the blockchain;
s18, manufacturing a two-dimensional code for scanning soy quality authentication, and attaching the two-dimensional code outside soy packaging;
step S2 includes the steps of:
step S21, additionally planting soybeans, brewing, transporting and selling quality certification;
step S22, performing authentication information addition of soy sauce through the additional quality authentication;
step S23, adding a write block chain to the information in the step S22, and storing;
step S3 includes the steps of:
s31, inquiring quality authentication of planted soybeans, brewing, transportation and sales;
step S32, returning the quality authentication information of the soy sauce after passing the additional quality authentication;
step S33, the inquiry is exited.
The above-mentioned soy quality authentication method based on blockchain, wherein the basic information of soy described in step S11 includes one or more of a food name, a code number, a manufacturer, and a storage condition.
The above-mentioned soy quality authentication method based on blockchain, wherein the basic information of scan authentication of the planted soybeans in step S12 includes one or more of production units and quality detection units.
The above-mentioned soy quality authentication method based on blockchain, wherein the basic information of scan authentication after the brewing in step S13 includes one or more of processing units and quality detection units.
The above-mentioned soy quality authentication method based on blockchain, wherein the basic information of scan authentication of the transportation process in step S14 includes one or more of transportation unit and quality detection unit.
The above-mentioned soy quality authentication method based on blockchain, wherein the scan authentication basic information of the sales process described in step S15 includes one or more of sales units and quality detection units.
The invention also discloses a soy quality authentication system based on the blockchain, which comprises an information creation module, an information addition module and an information query module; the information inquiry module is connected with the information creation module and the information addition module through a cloud network.
The soy quality authentication system based on the blockchain comprises an information creation module, a soy quality authentication module and a soy quality authentication module, wherein the information creation module comprises a creation processor, a creation input device and a storage; the creation processor is respectively connected with the creation input device and the storage; the creation processor is connected with the information inquiry module through a cloud network.
The soy quality authentication system based on the blockchain comprises an information adding module, a soy quality authentication module and a soy quality authentication module, wherein the information adding module comprises an adding processor, adding input equipment and a quality detector; the additional processor is respectively connected with the additional input equipment and the quality detector; the additional processor is connected with the information inquiry module through a cloud network.
In summary, the invention has the beneficial effects that the whole soy sauce manufacturing process is under strict supervision and authentication, the authentication information of each step is recorded by using the blockchain technology, and can not be tampered after being recorded, and all operation marks are reserved, thereby objectively improving the transparency of the soy sauce manufacturing and sales process and enhancing the reliability of the quality authentication system of the soy sauce.
Drawings
Fig. 1 is a flowchart of a soy quality authentication method based on a blockchain in accordance with the present invention.
Fig. 2 is a flowchart of a block chain-based soy quality authentication method step S1 according to the present invention.
Fig. 3 is a flowchart of a block chain-based soy quality authentication method step S2 according to the present invention.
Fig. 4 is a flowchart of a block chain-based soy quality authentication method step S3 according to the present invention.
Fig. 5 is a system diagram of a soy quality certification system based on a blockchain in accordance with the present invention.
Detailed Description
Embodiments of the present invention are further described below with reference to the accompanying drawings.
The invention will be described in further detail with reference to fig. 1 to 5: a soy quality authentication method based on block chain comprises the following steps:
s1, creating information;
s2, information addition;
s3, inquiring information;
the step S1 includes the steps of:
step S11, extracting basic information of soy sauce;
step S12, extracting scanning authentication basic information of the planted soybeans;
s13, extracting scanning authentication basic information after brewing is completed;
step S14, extracting scanning authentication basic information in the transportation process;
step S15, extracting scanning authentication basic information in the sales process;
step S16, creating an information account of the soy sauce described in the step S11 in a blockchain, wherein the user set of the blockchain information is defined as U= { S a ,S},S a Is the producer of the soy block chain information, S is the authenticator set of the soy block chain information, and has S= (S) 1 ,S 2 ,...,S i ,...,S n )。
Wherein S is i Expressing the ith user in the block chain information authentication party set, and meeting the requirement that i is more than or equal to 1 and less than or equal to n;
the blockchain information producer S a Using the private key to perform the steps S11, S12, S13, S14,The basic information of the soy sauce extracted in S15 and the scanning authentication basic information of the planted soybeans, after brewing, in the transportation process and in the sales process are signed, and the signed soy sauce information is added to the main chain of the blockchain by miners as a block BC, wherein the task of the quality authentication of the soy sauce information is recorded as T= (T) 1 ,t 2 ,...,t i ,...,t n )。
Wherein t is k Representing the kth subtask, and satisfying k is more than or equal to 1 and less than or equal to n;
step S17, generating a unique identifier corresponding to soy sauce in the blockchain;
s18, manufacturing a two-dimensional code for scanning soy quality authentication, and attaching the two-dimensional code outside soy packaging;
preferably, the step S2 of information addition includes an information independent addition step S21 and an information joint addition step S22, wherein the step S21 includes the steps of:
step S212, defining the number of blocks on the blockchain branch starting from the block BC as k, and initializing k=0;
step S212, the ith user scans the soy quality certification two-dimensional code to expect to complete a plurality of subtasks in the certification tasks, the ith user S i Inquiring whether a termination block exists on a block chain branch taking the block BC as a starting point, if so, indicating that the quality authentication task is finished, and if not, executing step S213;
step S213, initializing k=1;
step S214, by the ith user S i Marking the completion willingness state of the kth subtask in the tasksWhen->Time-of-day represents the ith user S i It is expected to complete the kth subtask t k Quality certification of>Time-of-day represents the ith user S i Undesired completion of the kth subtask t k Quality authentication of (a);
step S215, after assigning k+1 to k, returning to step S211 until k=n, thereby obtaining the ith user S i Completion willingness status for all subtasks
Step S216, judging whether k=1 is satisfied, if so, indicating that the ith user desires and can independently complete all authentication subtasks, so that after authentication is performed according to the quality authentication requirements related to planting soybeans, brewing, transportation and sales, executing step S217, otherwise executing step S218;
step S217, the soy block chain information producer S a And the ith user S i Respectively carrying out joint signature on related soy quality authentication information, then, adding the soy information with joint signature as a block to a main chain of a blockchain by a miner, and adding a termination block on a blockchain branch taking the block BC as a starting point by the miner;
step S218, ith user S i Signing the completion willingness state of each subtask in the authentication task, adding all signed completion willingness states to a branched chain of a blockchain by a miner, and assigning k+1 to k;
step 22 comprises the steps of:
step S221, defining all users on the branches of the soy block chain as (S 1 ,S 2 ,...,S r ,...,S m ),S r Representing the r-th user on the branch, and satisfying r is more than or equal to 1 and less than or equal to m; definition of the p-th subtask t p The set of the participating users is S p Satisfies that p is more than or equal to 1 and less than or equal to n, and further initializes t p =null,p=1;
Step S222, r=1;
step S223, judgingWhether or not it is true, if so, adding S 1 To S p And is combined withAnd p=p+1, return to step S222 until p=n; otherwise, r=r+1, returning to S223, r=r+1, until r=m;
step S224, initializing p=1;
step S225, judging S p Whether null is established, if so, it means that there is an authentication subtask without a party, and it is necessary to wait for other users to apply for a completion intention and return to step S222; if not, p=p+1, and returning to step S225 until p=n;
step S226, all authentication subtasks are completed, so that quality authentication involving planting soybeans, brewing, transportation and sales is completed;
step S227, the soy sauce information producer S a And all users participating in the authentication subtask respectively carry out joint signature on the participated quality authentication, and the mineworker adds the blocks after joint signature to the main chain of the blockchain, and the mineworker adds a termination block on the blockchain branch taking the block BC as a starting point.
Step S3 includes the steps of:
s31, inquiring quality authentication of planted soybeans, brewing, transportation and sales;
step S32, returning the quality authentication information of the soy sauce after passing the additional quality authentication;
step S33, the inquiry is exited.
Preferably, the basic information of the soy sauce in step S11 includes one or more of a food name, a code number, a manufacturer, and a storage condition.
Preferably, the scanning authentication basic information of the planted soybeans in step S12 includes one or more of a production unit and a quality detection unit.
Preferably, the basic information of scanning authentication after the brewing is completed in step S13 includes one or more of a processing unit and a quality detection unit.
Preferably, the scan authentication basic information of the transportation process in step S14 includes one or more of a transportation unit and a quality detection unit.
Preferably, the scan authentication basic information of the sales process in step S15 includes one or more of sales units and quality detection units.
The invention also discloses a soy quality authentication system based on the blockchain, which comprises an information creation module 1, an information addition module 2 and an information query module 3; the information inquiry module 3 is connected with the information creation module 1 and the information addition module 2 through a cloud network.
Preferably, the information creation module 1 includes a creation processor 101, a creation input device 102, and a storage 103; the creation processor 101 is connected with the creation input device 102 and the storage 103 respectively; the creation processor 101 is connected with the information inquiry module 3 through a cloud network.
Preferably, the information adding module 2 includes an adding processor 201, an adding input device 202 and a quality detector 203; the additional processor 201 is connected to the additional input device 202 and the quality detector 203, respectively; the additional processor 201 is connected to the information query module 3 through a cloud network.
In summary, the invention has the beneficial effects that the whole soy sauce manufacturing process is under strict supervision and authentication, the authentication information of each step is recorded by using the blockchain technology, and can not be tampered after being recorded, and all operation marks are reserved, thereby objectively improving the transparency of the soy sauce manufacturing and sales process and enhancing the reliability of the quality authentication system of the soy sauce.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the invention, and all equivalent structural changes made by the content of the present invention or technical fields directly or indirectly attached to other related products are included in the scope of the present invention.
Claims (5)
1. A soy quality authentication method based on block chain is characterized in that: the method comprises the following steps:
s1, creating information;
s2, information addition;
s3, inquiring information;
step S1 comprises the steps of:
step S11, extracting basic information of soy sauce;
step S12, extracting scanning authentication basic information of the planted soybeans;
s13, extracting scanning authentication basic information after brewing is completed;
step S14, extracting scanning authentication basic information in the transportation process;
step S15, extracting scanning authentication basic information in the sales process;
s16, creating an information account of the soy sauce in the step S11 in a blockchain, and inputting and storing the basic information of the soy sauce extracted in the steps S11, S12, S13, S14 and S15 and the basic information of scanning authentication of the planted soybeans, after brewing, in the transportation process and in the sales process;
step S17, generating a unique identifier corresponding to soy sauce in the blockchain;
s18, manufacturing a two-dimensional code for scanning soy quality authentication, and attaching the two-dimensional code outside soy packaging;
step S2 includes the steps of:
step S21, additionally planting soybeans, brewing, transporting and selling quality certification;
step S22, performing authentication information addition of soy sauce through the additional quality authentication;
step S23, adding a write block chain to the information in the step S22, and storing;
step S3 includes the steps of:
s31, inquiring quality authentication of planted soybeans, brewing, transportation and sales;
step S32, inquiring authentication information of the soy sauce after the additional quality authentication;
step S33, exiting the inquiry;
the basic information of the soy sauce described in step S11 includes one or more of a food name, a code number, a manufacturer, and a storage condition.
2. The blockchain-based soy quality authentication method of claim 1, wherein: the scanning authentication basic information of the planted soybeans described in step S12 includes one or more of a production unit and a quality detection unit.
3. The blockchain-based soy quality authentication method of claim 1, wherein: the basic information of scanning authentication after the brewing is completed in step S13 includes one or more of a processing unit and a quality detection unit.
4. The blockchain-based soy quality authentication method of claim 1, wherein: the scan authentication basic information of the transportation process described in step S14 includes one or more of a transportation unit and a quality detection unit.
5. The blockchain-based soy quality authentication method of claim 1, wherein: the scan authentication basic information of the sales process described in step S15 includes one or more of sales units and quality detection units.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810779567.1A CN108960867B (en) | 2018-07-16 | 2018-07-16 | Block chain-based soy quality authentication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810779567.1A CN108960867B (en) | 2018-07-16 | 2018-07-16 | Block chain-based soy quality authentication method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108960867A CN108960867A (en) | 2018-12-07 |
CN108960867B true CN108960867B (en) | 2024-02-13 |
Family
ID=64495650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810779567.1A Active CN108960867B (en) | 2018-07-16 | 2018-07-16 | Block chain-based soy quality authentication method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108960867B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111626535B (en) * | 2019-12-18 | 2022-05-17 | 北京航天智造科技发展有限公司 | Quality authentication system and method based on block chain |
US11856109B2 (en) | 2020-02-06 | 2023-12-26 | International Business Machines Corporation | Entity certification management |
US11683185B2 (en) | 2020-02-06 | 2023-06-20 | International Business Machines Corporation | Entity certification management |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107944719A (en) * | 2017-11-30 | 2018-04-20 | 郑州笨农农业科技有限公司 | Food supply and quality surveillance traceability system |
CN107944892A (en) * | 2017-12-28 | 2018-04-20 | 上海唯链信息科技有限公司 | A kind of milk supply traceability system based on block chain technology |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103942671A (en) * | 2014-04-28 | 2014-07-23 | 深圳市检验检疫科学研究院 | Visual RFID (Radio Frequency Identification Devices) food logistics supply chain management and risk control method |
KR101780636B1 (en) * | 2016-05-16 | 2017-09-21 | 주식회사 코인플러그 | Method for issuing certificate information and blockchain-based server using the same |
CN108073639B (en) * | 2016-11-16 | 2020-07-31 | 北京物资学院 | Commodity information storage system based on block chain |
CN107563776A (en) * | 2017-09-17 | 2018-01-09 | 曾正全 | False proof and traceability system based on asymmetric signature |
CN108197952A (en) * | 2017-12-28 | 2018-06-22 | 上海唯链信息科技有限公司 | A kind of anti-fake and traceability system of the red wine based on block chain technology |
-
2018
- 2018-07-16 CN CN201810779567.1A patent/CN108960867B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107944719A (en) * | 2017-11-30 | 2018-04-20 | 郑州笨农农业科技有限公司 | Food supply and quality surveillance traceability system |
CN107944892A (en) * | 2017-12-28 | 2018-04-20 | 上海唯链信息科技有限公司 | A kind of milk supply traceability system based on block chain technology |
Also Published As
Publication number | Publication date |
---|---|
CN108960867A (en) | 2018-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Westerkamp et al. | Blockchain-based supply chain traceability: Token recipes model manufacturing processes | |
CN108960867B (en) | Block chain-based soy quality authentication method | |
CN112132292A (en) | Block chain-based longitudinal federated learning data processing method, device and system | |
Mahyuni et al. | Mapping the potentials of blockchain in improving supply chain performance | |
CN109829726B (en) | Block chain-based drug information management method and system | |
CN111368901A (en) | Multi-party combined modeling method, device and medium based on federal learning | |
EP3411840B1 (en) | Computer-implemented system and method for determining the state of a machine executable contract implemented using a blockchain | |
CN110490282A (en) | Source tracing method, device of tracing to the source, traceability system and storage medium | |
EP3540662A1 (en) | Computer implemented method for supply chain management and provenance in a data processing network | |
CN112199709A (en) | Multi-party based privacy data joint training model method and device | |
CN109544341B (en) | Digital detection method and device based on block chain | |
CN112417178B (en) | Document template definition-based on-chain contract processing method and device and electronic equipment | |
CN107563733A (en) | A kind of oversea talent mass-rent, many wound platforms and system | |
CN106453213B (en) | Call method and device between a kind of system | |
CN111178912A (en) | Grain quality tracing method and system based on block chain | |
US20190279136A1 (en) | Method and system for selective data visualization and posting of supply chain information to a blockchain | |
CN115330400A (en) | Block chain tracing method, device, system, computing equipment and storage medium | |
CN115393086A (en) | Digital Tibetan right confirming and trading method based on block chain and meta universe | |
CN115033218A (en) | NFT work right-determining circulation platform based on block chain | |
Karumanchi et al. | Blockchain enabled supply chain using machine learning for secure cargo tracking | |
CN112529102B (en) | Feature expansion method, device, medium and computer program product | |
CN110069937A (en) | Data source tracing method, system and device based on block chain | |
CN113722753A (en) | Privacy data processing method, device and system based on block chain | |
CN113240442A (en) | Agricultural Internet of things agricultural product quality safety tracing method and system | |
CN107274194A (en) | A kind of product back-tracing management 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 |