CN113222616A - Chinese-medicinal material traceability system based on block chain - Google Patents
Chinese-medicinal material traceability system based on block chain Download PDFInfo
- Publication number
- CN113222616A CN113222616A CN202110211256.7A CN202110211256A CN113222616A CN 113222616 A CN113222616 A CN 113222616A CN 202110211256 A CN202110211256 A CN 202110211256A CN 113222616 A CN113222616 A CN 113222616A
- Authority
- CN
- China
- Prior art keywords
- block chain
- medicinal material
- traceability
- traditional chinese
- data
- 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.)
- Withdrawn
Links
- 239000000463 material Substances 0.000 title claims abstract description 91
- 239000003814 drug Substances 0.000 claims abstract description 47
- 238000000034 method Methods 0.000 claims abstract description 28
- 238000003860 storage Methods 0.000 claims abstract description 25
- 238000004519 manufacturing process Methods 0.000 claims abstract description 23
- 230000008569 process Effects 0.000 claims abstract description 16
- 238000013461 design Methods 0.000 claims abstract description 14
- 238000012545 processing Methods 0.000 claims abstract description 8
- 238000007726 management method Methods 0.000 claims description 24
- 241000411851 herbal medicine Species 0.000 claims description 16
- 238000012546 transfer Methods 0.000 claims description 13
- 238000012163 sequencing technique Methods 0.000 claims description 11
- 238000012423 maintenance Methods 0.000 claims description 9
- 238000004891 communication Methods 0.000 claims description 6
- 230000002452 interceptive effect Effects 0.000 claims description 5
- 230000007246 mechanism Effects 0.000 claims description 5
- 238000009826 distribution Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 claims description 4
- 238000007689 inspection Methods 0.000 claims description 4
- 238000003032 molecular docking Methods 0.000 claims description 4
- 230000003993 interaction Effects 0.000 claims description 3
- 230000004044 response Effects 0.000 claims description 3
- 238000012384 transportation and delivery Methods 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims 1
- 229940126680 traditional chinese medicines Drugs 0.000 abstract description 12
- 238000011161 development Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013479 data entry Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 229940079593 drug Drugs 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000003337 fertilizer Substances 0.000 description 1
- 238000003306 harvesting Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 239000000575 pesticide Substances 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 239000002994 raw material Substances 0.000 description 1
- 238000011218 seed culture Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000013068 supply chain management Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
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
- G06Q30/0185—Product, service or business identity fraud
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
-
- 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/42—Confirmation, e.g. check or permission by the legal debtor of payment
-
- 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Databases & Information Systems (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Technology Law (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The invention discloses a Chinese medicinal material traceability system based on a block chain, which comprises Chinese medicinal material traceability based on the block chain, Chinese medicinal material traceability storage design based on the block chain and a Chinese medicinal material traceability business process based on the block chain. The invention belongs to the technical field of traditional Chinese medicines, in particular to a traditional Chinese medicine traceability system based on a block chain, which is designed and realized to ensure data safety, non-falsification and traceability, solves the quality traceability problem of high-quality traditional Chinese medicines, effectively collects the objective quality data of the traditional Chinese medicines in the links of planting, storage, processing, logistics, sale and the like, and ensures that the data is not falsified through a block chain platform; and establishing codes of different links according to the production, processing and circulation processes based on batches, and establishing association among the codes to ensure that quality information of each link is traced.
Description
Technical Field
The invention belongs to the technical field of traditional Chinese medicines, and particularly relates to a block chain-based traditional Chinese medicine traceability system.
Background
The traditional Chinese medicine is a treasure of Chinese civilization, and makes prominent contribution to the health of Chinese people. The traditional Chinese medicinal materials are the source of the traditional Chinese medicine industry and the material basis for the development of the traditional Chinese medicine industry. The development of traditional Chinese medicine is important, and traditional Chinese medicines are the key. With the continuous development of the traditional Chinese medicine industry, the demand of the society for the traditional Chinese medicines is increasingly expanded, but the quality qualification rate of the traditional Chinese medicines in the market is about 70 percent at present. The quality problem of Chinese medicinal materials has become an important factor for restricting the development of Chinese medicinal and pharmaceutical industry and industry in China.
Although the establishment of a traditional Chinese medicine traceability system has been proposed for several years, the traditional Chinese medicine traceability system is still not established completely in China at present, a supervision system is still not perfect, and the quality of the traditional Chinese medicine still has a plurality of problems: the seed culture lacks standardization and standardization, the pesticide and fertilizer are abused, the harvesting and the initial processing of the producing area are not standardized, and the market of the traditional Chinese medicinal materials is good for times, is full of false, is fake and sold, and the like. These problems seriously affect the quality safety of the traditional Chinese medicinal materials.
At present, Chinese traditional medicine material tracing has two modes, namely a drug enterprise self-construction tracing system and a tracing service provided by a third-party platform. Traditional chinese-medicinal material system of traceing back includes: chinese medicinal material identification, data acquisition and centralized database. The traditional Chinese medicine identification adopts technical means such as bar codes, two-dimensional codes or electronic tags to uniformly identify the traditional Chinese medicines, each traditional Chinese medicine has a traditional Chinese medicine tracing code, and nodes at the downstream of a supply chain also identify, read and record data of the traditional Chinese medicines through unique codes on the traditional Chinese medicines. Data acquisition refers to the acquisition of data by various acquisition devices, such as: a code scanning gun, an electronic tag reading and writing device and the like upload Chinese medicinal material data to a centralized database after the Chinese medicinal material data are collected. When the traditional Chinese medicinal materials flow to a certain enterprise node on the supply chain, the node is responsible for recording related traditional Chinese medicinal material data into a central database, a traditional Chinese medicinal material tracing system is established based on the database, and medicine enterprises or consumers on the supply chain perform query operation through unique codes on the traditional Chinese medicinal materials. Due to the characteristics of relatively complex Chinese herbal medicine supply chain and the limitation of a tracing mode, tracing data are mainly completed by pharmaceutical enterprises in the acquisition process, and downstream nodes of the Chinese herbal medicine supply chain are difficult to participate in data entry. The traditional Chinese medicine information inquired by a traceability system is mainly data of a traditional Chinese medicine production link.
Disclosure of Invention
Aiming at the situation and overcoming the defects of the prior art, the invention provides a traditional Chinese medicine traceability system based on a block chain, which designs and realizes a traditional Chinese medicine traceability system capable of ensuring data safety, tampering resistance and traceability, solves the quality traceability problem of high-quality traditional Chinese medicines, effectively collects the objective quality data of the traditional Chinese medicines in the links of planting, storage, processing, logistics, sale and the like, and ensures that the data is not tampered through a block chain platform; and establishing codes of different links according to the production, processing and circulation processes based on batches, and establishing association among the codes to ensure that quality information of each link is traced.
The technical scheme adopted by the invention is as follows: the traditional Chinese medicinal material traceability system based on the block chain comprises traditional Chinese medicinal material traceability based on the block chain, a traditional Chinese medicinal material traceability storage design based on the block chain and a traditional Chinese medicinal material traceability business process based on the block chain, wherein the traditional Chinese medicinal material traceability based on the block chain is connected with the traditional Chinese medicinal material traceability storage design based on the block chain, and the traditional Chinese medicinal material traceability business process based on the block chain is connected with the traditional Chinese medicinal material traceability storage design based on the block chain.
Further, the traditional Chinese medicinal material source tracing based on the block chain comprises the following steps:
1) the CouchDB database management system is used as a distributed shared account book storage system, the non-falsification of the medicinal material information is realized through security and password service, and the upper layer finishes the maintenance of account book data and a state database through an application program programming interface;
2) the sequencing service is connected with the peer nodes through a communication protocol, the task of data distribution synchronization from a source node to all the nodes is efficiently completed, the management and maintenance of member information are completed by using a management service provider, and the members are determined to be in a normal state or a fault state;
3) the method comprises the steps that digital signatures are carried out on results through analog execution by using endorsement management system chain codes and returned to an application program, after the application program confirms that the execution results of all endorsement nodes are completely consistent, a transaction proposal, proposal response and endorsement signatures are packaged to generate transaction broadcast to a sequencing node, the sequencing node puts transactions into a message queue, packages the transactions into blocks according to the transaction sequence, and broadcasts the blocks to peer nodes to verify the validity of the transactions;
4) realizing intelligent contracts through chain codes to complete service logic operation;
5) the method comprises the steps that a mobile internet manufacturer is used as a service enabling RESTful interface to complete service processing on a front end part, a rear end part completes user management and medicinal material management, communication is carried out by means of a software development kit and a block chain network provided by a super book architecture of a block chain, and meanwhile a service layer can also carry out data interaction with other service systems;
6) the page interactive operation is provided for the user by taking the hypertext markup language, the cascading style sheet and the Angular.js frame as front-end frames, the user part is completed by being built in the bottom layer, and only the login and logout operation is provided for the user.
Further, the block chain-based traditional Chinese medicine traceability storage design comprises traditional Chinese medicine production information, traditional Chinese medicine component information and traditional Chinese medicine transfer information, wherein the traditional Chinese medicine production information is a unique identification code, a name, specification, production date, quality guarantee period, product batch number, production license number, manufacturer name, production location and delivery price; the Chinese medicinal material component information is a unique identification code, a component unique code and a component name; the medicinal material transfer information comprises a unique identification code, departure time, arrival time, storage/transportation, departure place, destination, seller, storage time, transportation mode, name of logistics company and transfer cost; the block chain system is used for tracing the source of the related information of the Chinese medicinal materials, so that the quality inspection mechanism can conveniently inspect the production information of the Chinese medicinal materials, transparent and reassuring detailed information of the Chinese medicinal materials can be provided for consumers and manufacturers, and a basis required by examination can be provided for a supervision department.
Further, the traditional Chinese medicine material traceability business process based on the block chain comprises the following steps:
1) the method comprises the steps of docking system access traceability related data of each participant, wherein the data comprises two types, one type is core data necessary for medicinal material traceability, and the medicinal material data are stored on a block chain and used for traceability query; the other type is non-core data, and the data are stored in a database and used for auxiliary functions such as system management, operation and maintenance management, other transaction information inquiry and the like;
2) establishing tracing nodes of all participants for a core tracing data uplink of an access platform, and confirming transactions when the transactions occur on a common chain to form complete tracing information for external calling, inquiry and display, wherein the part is core content of block chain tracing;
3) the traditional Chinese medicine traceability result is visually displayed at the front end of the system for inquiry;
4) when the tracing query result is inconsistent with the product description result, the clear text source of the product mark is different from the query source, and the source of the medicinal material is determined to be a problem, and the problem is fed back to a supervisor.
The invention with the structure has the following beneficial effects: the invention relates to a traditional Chinese medicine traceability system based on a block chain, which solves the problems of authentication of multi-party participation identities and multi-party data mutual authentication by using a block chain technology, because the block chain in the form of an alliance chain can authenticate the identities of participants through a certificate authority certificate, each transaction can be confirmed through a signature in the transaction process, thereby confirming the legality and authenticity of each transaction, when each transaction is generated, each participant confirms the transaction according to an intelligent contract to form a transaction block, the block is confirmed through a common identification mechanism, once uplink data has undetachable modification, the authenticity of raw material, transportation, production and sales data in supply chain management can be proved, thereby ensuring the trueness and effectiveness of multi-party data, in addition, in order to ensure the traceability of traditional Chinese medicine data, in the structural body of each transaction block on the block chain, the transaction information of each link participant is recorded, the safety and the reliability of inquiring and tracing the source of the traditional Chinese medicinal materials are ensured.
Drawings
FIG. 1 is a block chain-based architecture diagram of a Chinese medicinal material traceability system of the present invention;
FIG. 2 is an architecture diagram of the block chain-based traceability system and method for Chinese herbal medicines of the present invention;
fig. 3 is a system service flow chart of the Chinese herbal medicine traceability system based on the block chain.
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments; all other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1 to 3, the Chinese herbal medicine traceability system based on the block chain comprises Chinese herbal medicine traceability based on the block chain, a Chinese herbal medicine traceability storage design based on the block chain and a Chinese herbal medicine traceability business process based on the block chain, wherein the Chinese herbal medicine traceability based on the block chain is connected with the Chinese herbal medicine traceability storage design based on the block chain, and the Chinese herbal medicine traceability business process based on the block chain is connected with the Chinese herbal medicine traceability storage design based on the block chain.
The Chinese herbal medicine source tracing based on the block chain comprises the following steps:
1) the CouchDB database management system is used as a distributed shared account book storage system, the non-falsification of the medicinal material information is realized through security and password service, and the upper layer finishes the maintenance of account book data and a state database through an application program programming interface;
2) the sequencing service is connected with the peer nodes through a communication protocol, the task of data distribution synchronization from a source node to all the nodes is efficiently completed, the management and maintenance of member information are completed by using a management service provider, and the members are determined to be in a normal state or a fault state;
3) the method comprises the steps that digital signatures are carried out on results through analog execution by using endorsement management system chain codes and returned to an application program, after the application program confirms that the execution results of all endorsement nodes are completely consistent, a transaction proposal, proposal response and endorsement signatures are packaged to generate transaction broadcast to a sequencing node, the sequencing node puts transactions into a message queue, packages the transactions into blocks according to the transaction sequence, and broadcasts the blocks to peer nodes to verify the validity of the transactions;
4) realizing intelligent contracts through chain codes to complete service logic operation;
5) the method comprises the steps that a mobile internet manufacturer is used as a service enabling RESTful interface to complete service processing on a front end part, a rear end part completes user management and medicinal material management, communication is carried out by means of a software development kit and a block chain network provided by a super book architecture of a block chain, and meanwhile a service layer can also carry out data interaction with other service systems;
6) the page interactive operation is provided for the user by taking the hypertext markup language, the cascading style sheet and the Angular.js frame as front-end frames, the user part is completed by being built in the bottom layer, and only the login and logout operation is provided for the user.
The traditional Chinese medicine traceability storage design based on the block chain comprises traditional Chinese medicine production information, traditional Chinese medicine component information and traditional Chinese medicine transfer information, wherein the traditional Chinese medicine production information is a unique identification code, a name, a specification, a production date, a quality guarantee period, a product batch number, a production license number, a manufacturer name, a production place and a delivery price; the Chinese medicinal material component information is a unique identification code, a component unique code and a component name; the medicinal material transfer information comprises a unique identification code, departure time, arrival time, storage/transportation, departure place, destination, seller, storage time, transportation mode, name of logistics company and transfer cost; the block chain system is used for tracing the source of the related information of the Chinese medicinal materials, so that the quality inspection mechanism can conveniently inspect the production information of the Chinese medicinal materials, transparent and reassuring detailed information of the Chinese medicinal materials can be provided for consumers and manufacturers, and meanwhile, the basis required by the examination can be provided for the supervision department.
The traditional Chinese medicine material traceability business process based on the block chain comprises the following steps:
1) the method comprises the steps of docking system access traceability related data of each participant, wherein the data comprises two types, one type is core data necessary for medicinal material traceability, and the medicinal material data are stored on a block chain and used for traceability query; the other type is non-core data, and the data are stored in a database and used for auxiliary functions such as system management, operation and maintenance management, other transaction information inquiry and the like;
2) establishing tracing nodes of all participants for a core tracing data uplink of an access platform, and confirming transactions when the transactions occur on a common chain to form complete tracing information for external calling, inquiry and display, wherein the part is core content of block chain tracing;
3) the traditional Chinese medicine traceability result is visually displayed at the front end of the system for inquiry;
4) when the tracing query result is inconsistent with the product description result, the clear text source of the product mark is different from the query source, and the source of the medicinal material is determined to be a problem, and the problem is fed back to a supervisor.
As shown in fig. 2, tracing traditional Chinese medicinal materials based on a blockchain mainly comprises the following steps:
1) storing the production information, the component information and the transfer information of the traditional Chinese medicinal materials into a system to complete complex business query;
2) carrying out point-to-point distribution on data such as account book information, state information, member information and the like of the medicinal material traceability system;
3) sending a transaction proposal to a endorsement node according to a specified endorsement strategy;
4) initiating a medicinal material endorsement, a medicinal material component information endorsement, a transfer information endorsement, medicinal material information inquiry, component information inquiry, transfer information inquiry and the like;
5) the producer completes the information release of the medicinal materials, the writing of the component information and the updating of the transfer information of the medicinal materials; the consumer, the quality inspection mechanism and the supervisor realize the functions of inquiring, checking and the like of the medicinal material information;
6) and carrying out interactive operation through the front page, wherein the interactive operation comprises user operation and business operation.
As shown in fig. 3, the herbal medicine traceability business process based on the block chain mainly includes the following steps:
1) the user applies for registration with the certificate issuing server and generates a registration certificate:
initializing a certificate issuing server;
setting a local storage directory of the certificate;
a client initiates a registration request to a server;
the server side returns the certificate to the client side.
2) And (3) the user registers, and if the user successfully registers, the password is returned:
a user initiates a registration request to a government issuing client;
the client returns the registration password of the user.
3) And (3) docking system access traceability related data of each participant:
one type is tracing core data such as origin, enterprise name, code and the like necessary for tracing the source of the medicinal material;
the other is non-core data, such as pharmaceutical enterprise business data, user registration information, transaction assistance data, and the like.
4) Releasing Chinese medicinal material information for testing, and transmitting related parameters through an intelligent contract interface:
filling the information of the traditional Chinese medicinal materials in a front-end interface by a user, and clicking to release the information;
a transaction proposal containing the information of the Chinese medicinal materials is sent to an endorsement node through a software development kit;
after the transaction proposal is endorsed, the transaction proposal is sent to a sequencing service node;
returning the transaction unique code, and packaging the transaction into blocks by the sequencing service node;
confirming that the node updates the account book, and writing the transaction information into the block chain account book;
and if the transaction is successful, returning the unique transaction code.
5) Inquiring the private data contract test, and inquiring the hash value, the block number and the transaction number of the private data:
initiating private data transaction at nodes in the same channel;
transmitting the unique code of the traditional Chinese medicine into a private data contract interface;
querying the private database and the data in the channel;
and returning the inquired private data or the hash value thereof.
6) The user inquires the Chinese medicinal material information and returns Chinese medicinal material tracing data:
a user inputs a medicine number on a front-end page and clicks for searching;
the unique code of the traditional Chinese medicine is used as a parameter and is transmitted into a contract interface, and account book data is inquired;
successfully returning the Chinese medicinal material tracing data corresponding to the unique code of the Chinese medicinal material.
7) User verification of the results of the query:
whether the plaintext source of the Chinese medicinal material mark is the same as the query source or not;
feedback is made to the supervisor.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
The present invention and its embodiments have been described above, and the description is not intended to be limiting, and the drawings are only one embodiment of the present invention, and the actual structure is not limited thereto. In summary, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (4)
1. The utility model provides a chinese-medicinal material traceability system based on block chain which characterized in that: the Chinese medicinal material traceability system comprises a Chinese medicinal material traceability based on a block chain, a Chinese medicinal material traceability storage design based on the block chain and a Chinese medicinal material traceability business process based on the block chain, wherein the Chinese medicinal material traceability based on the block chain is connected with the Chinese medicinal material traceability storage design based on the block chain, and the Chinese medicinal material traceability business process based on the block chain is connected with the Chinese medicinal material traceability storage design based on the block chain.
2. The herbal medicine traceability system based on block chain as claimed in claim 1, wherein the herbal medicine traceability system based on block chain comprises the following steps:
1) the CouchDB database management system is used as a distributed shared account book storage system, the non-falsification of the medicinal material information is realized through security and password service, and the maintenance of account book data and a state database is completed through an application program programming interface on the upper layer;
2) the sequencing service is connected with the peer nodes through a communication protocol, the task of data distribution synchronization from a source node to all the nodes is efficiently completed, the management and maintenance of member information are completed by using a management service provider, and the members are determined to be in a normal state or a fault state;
3) the method comprises the steps that digital signatures are carried out on results through analog execution by using endorsement management system chain codes and returned to an application program, after the application program confirms that the execution results of all endorsement nodes are completely consistent, transaction proposals, proposal responses and endorsement signatures are packaged to generate transaction broadcasts to a sequencing node, the sequencing node puts transactions into a message queue, packages the transactions into blocks according to transaction sequences, and broadcasts to peer nodes to verify the validity of the transactions;
4) realizing intelligent contracts through chain codes to complete service logic operation;
5) the method comprises the steps that a mobile internet manufacturer is used as a service enabling RESTful interface to complete service processing on a front end part, a rear end part completes user management and medicinal material management, communication is conducted through a software development kit and a block chain network provided by a super account book architecture of a block chain, and meanwhile a service layer can also perform data interaction with other service systems;
6) the page interactive operation is provided for the user by taking the hypertext markup language, the cascading style sheet and the Angular.js frame as front-end frames, the user part is completed by being built in the bottom layer, and only the login and logout operation is provided for the user.
3. The blockchain-based traditional Chinese medicine material traceability system according to claim 2, wherein: the traditional Chinese medicine traceability storage design based on the block chain comprises traditional Chinese medicine production information, traditional Chinese medicine component information and traditional Chinese medicine transfer information, wherein the traditional Chinese medicine production information is unique identification codes, names, specifications, production dates, quality guarantee periods, product batch numbers, production license numbers, manufacturer names, production locations and delivery prices; the Chinese medicinal material component information is a unique identification code, a component unique code and a component name; the medicinal material transfer information comprises a unique identification code, departure time, arrival time, storage/transportation, departure place, destination, seller, storage time, transportation mode, name of logistics company and transfer cost; the block chain system is used for tracing the source of the related information of the Chinese medicinal materials, so that the quality inspection mechanism can conveniently inspect the production information of the Chinese medicinal materials, transparent and reassuring detailed information of the Chinese medicinal materials can be provided for consumers and manufacturers, and a basis required by examination can be provided for a supervision department.
4. The system of claim 3, wherein the traceability system of traditional Chinese medicine based on block chain comprises the following steps:
1) the method comprises the steps of docking system access traceability related data of each participant, wherein the data comprises two types, one type is core data necessary for medicinal material traceability, and the medicinal material data are stored on a block chain and used for traceability query; the other type is non-core data, and the data are stored in a database and used for auxiliary functions such as system management, operation and maintenance management, other transaction information inquiry and the like;
2) establishing tracing nodes of all participants for a core tracing data uplink of an access platform, and confirming transactions when the transactions occur on a common chain to form complete tracing information for external calling, inquiry and display, wherein the part is core content of block chain tracing;
3) the traditional Chinese medicine traceability result is visually displayed at the front end of the system for inquiry;
4) when the tracing query result is inconsistent with the product description result, the clear text source of the product mark is different from the query source, and the source of the medicinal material is determined to be problematic, so that the problem is fed back to a monitoring party.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110211256.7A CN113222616A (en) | 2021-02-25 | 2021-02-25 | Chinese-medicinal material traceability system based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110211256.7A CN113222616A (en) | 2021-02-25 | 2021-02-25 | Chinese-medicinal material traceability system based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113222616A true CN113222616A (en) | 2021-08-06 |
Family
ID=77084675
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110211256.7A Withdrawn CN113222616A (en) | 2021-02-25 | 2021-02-25 | Chinese-medicinal material traceability system based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113222616A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113726525A (en) * | 2021-09-09 | 2021-11-30 | 国网电子商务有限公司 | Energy industry cloud network data tracing method and device |
CN114819996A (en) * | 2022-04-29 | 2022-07-29 | 昆明理工大学 | Chinese-medicinal material goods traceability system based on block chain |
-
2021
- 2021-02-25 CN CN202110211256.7A patent/CN113222616A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113726525A (en) * | 2021-09-09 | 2021-11-30 | 国网电子商务有限公司 | Energy industry cloud network data tracing method and device |
CN114819996A (en) * | 2022-04-29 | 2022-07-29 | 昆明理工大学 | Chinese-medicinal material goods traceability system based on block chain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102254920B1 (en) | Method for security serialization of supply chain product units | |
RU2639015C1 (en) | Authenticity and quality control procedure of production in the process of manufacture and implementation | |
CN110992068B (en) | Vaccine full life cycle management method and system based on block chain | |
US20220027992A1 (en) | Non-fungible cryptographic tokens for tracking trees | |
US20190342085A1 (en) | System and method for tracking product and providing verified product information and consumer rewards | |
CN109727134A (en) | A kind of copyright trading method and device of picture | |
CN111177275A (en) | Block chain-based management method, terminal, device and storage medium | |
CN101510290A (en) | Electronic interactive method and system for attracting tender | |
CN113222616A (en) | Chinese-medicinal material traceability system based on block chain | |
CN109670750A (en) | Credible logistics ordering system and method based on block chain technology | |
CN112330345A (en) | Traceability management system for wine industry supply chain based on block chain | |
CN101510288A (en) | Electronic contract operation system based on digital property right certificate | |
US11516001B2 (en) | Method and system for generalized provenance solution for blockchain supply chain applications | |
CN107977845A (en) | Food traceability system and method based on label information | |
CN110570323A (en) | method and device for recording plant supply chain | |
CN113657911A (en) | Safe and efficient traceability system based on block chain | |
US20200210946A1 (en) | Manufacturing Procurement Process Enabling Part Certification, Verification, Tracking, Storage, Part Tokenization, and Facilitating Audit, Traceability, Recall and Anti-Fraud Measures Using Blockchain Technology. | |
CN116823417A (en) | Block chain supply chain financial risk control method, system, storage medium and electronic terminal based on federal learning | |
CN116385023A (en) | Drug traceability system and method based on blockchain | |
CN114723462A (en) | Chinese herbal medicine storage quality management system based on block chain technology | |
Kshetri et al. | SugarChain: Blockchain technology meets Agriculture--The case study and analysis of the Indian sugarcane farming | |
CN109784936A (en) | The implementation method of Shou Ying enterprise and first battalion's kind buying audit based on block chain | |
CN115375337B (en) | Gem and jade tracing method and system based on material evidence integration | |
CN111460507A (en) | Block chain-based security service system and application thereof in autonomous community | |
CN114819996A (en) | Chinese-medicinal material goods traceability system based on block chain |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20210806 |