The invention relates to the technical field of
blockchain traceability, in particular to a
blockchain-based
drug storage
traceability and search
system, which comprises an identification information generation module, an on-chain
drug identification module, a lattice mapping reading module, a state field
verification module and a chain log right confirmation module. According to the method, the
drug approval number, the drug general name code and the GTIN code are spliced into the unified identification reference string and are subjected to code
verification, and the drug attributes are extracted and consistent matching is completed in combination with an on-chain data positioning mechanism, so that the accuracy of drug identity tracing is effectively guaranteed; the method comprises the following steps: extracting an inventory grid position state, screening legal storage information to realize real-time state
verification and available grid position identification, establishing a current binding relationship through terminal number cross comparison and state field verification, realizing
dynamic management of an actual storage state of a
medicine, enhancing
traceability, verifiability and right verifiability of the
medicine in a storage link, and improving the efficiency of the
medicine storage. And the transparency and accuracy of the whole medicine storage and search process are improved.