CN-121352826-B - Full-period circulation traceability management system for fentanyl medicines
Abstract
The invention provides a full-period circulation traceability management system for fentanyl medicines, which relates to the technical field of data traceability and comprises a batch coding module, a blockchain certification module and a block chain certification module, wherein the batch coding module is used for distributing unique batch numbers for each medicine batch according to standardized data to form medicine traceability data blocks, the block chain certification module is used for uploading the medicine traceability data blocks to a blockchain network for distributed storage through a consensus mechanism, generating unique hash values and time stamps for each data block, and mapping key space-time attributes of each data block into circular geometric features. The invention realizes the safe tamper-proof, associated credible and quick positioning inquiry of the full-period circulation data of the fentanyl medicine through unique batch coding, block chain distributed certificate storage, geometric characteristic association verification and hierarchical spherical space index construction, and provides high-efficiency and reliable support for the full-life period tracing of the medicine.
Inventors
- CHEN QIZHEN
- ZHENG GUOSHEN
- GUO QIUCHENG
- HUANG SHENG
- CHEN QIYANG
- SONG LINGHUI
- CHEN QIJIE
Assignees
- 夏芮智能科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251217
Claims (8)
- 1. The utility model provides a fentanyl class medicine full cycle circulation traceability management system which characterized in that includes: The batch coding module is used for distributing a unique batch number to each medicine batch according to the standardized data to form a medicine traceability data block; the system comprises a block chain certification module, a block chain storage module, a round geometric feature and a data block management module, wherein the block chain certification module is used for uploading medicine traceability data blocks to a block chain network for distributed storage through a consensus mechanism, and generating a unique hash value and a time stamp for each data block; The association verification module is used for calculating common strings among different circular geometric features based on a position relation judging principle among circles so as to establish a strong association verification layer among the data blocks, and carrying out cross verification and association reinforcement on the data blocks by analyzing the relative position relation among the circular geometric features to obtain blockchain tracing data with enhanced tamper resistance and association verification capability, and the blockchain tracing data comprises the steps of acquiring the circular geometric features corresponding to a plurality of data blocks, wherein the circular geometric features comprise circle center coordinates and radius parameters of each circle; the method comprises the steps of calculating the center distance between any two circles based on the geometric features of the circles, judging the intersecting state between the two circles according to the relationship between the center distance and the radius of the two circles, calculating a public chord formed by intersecting the two circles when judging that the two circles are in the intersecting state, establishing a strong correlation verification layer between corresponding data blocks based on the public chord, and executing a cross verification operation on the corresponding data blocks by analyzing the relative position relationship between the geometric features of the circles to obtain a cross verification result; the index construction module is used for organizing the traceable data points of each link into a spherical space index structure with a hierarchical structure based on the blockchain traceable data, wherein the spherical space index is composed of a plurality of spherical nodes; The intelligent query module is used for receiving the medicine serial number or vehicle VIN code data, rapidly positioning the most relevant data set with the query condition based on the spherical space index, searching the corresponding relevant full life cycle standardized data in a cross-link manner, and generating a full chain traceability report of the medicine components through integration to complete the full life cycle traceability query of the medicine components, and comprises the steps of receiving the medicine serial number or vehicle VIN code data input by a user as the query condition, determining an initial query position in the spherical space index based on the query condition, and calculating the space distance between a query point and each spherical node through a spherical nearest neighbor search principle to obtain a space distance sequencing result; the method comprises the steps of obtaining a space distance sorting result, locating a data set matched with a query condition to obtain a located data set, searching corresponding associated full life cycle standardized data across links based on the located data set to generate a full chain traceability report of the fentanyl medicine, and outputting the full chain traceability report to finish full life cycle traceability query of the fentanyl medicine.
- 2. The fentanyl drug full cycle flow traceability management system of claim 1, wherein the standardized data is obtained by: The method comprises the steps of collecting multi-source heterogeneous data of fentanyl medicines in raw material purchasing, production and processing, warehouse management, transportation and distribution, clinical use and recovery and destruction links; and carrying out standardization processing on the multi-source heterogeneous data to generate standardized data.
- 3. The system for full-cycle flow-through traceability management of fentanyl-based agents of claim 2, wherein each drug lot is assigned a unique lot number according to standardized data to form a drug traceability data block, comprising: Based on the standardized data, extracting material identification information of each medicine batch, and distributing a corresponding unique batch number for each medicine batch according to the material identification information; raw material component data, storage environment data, transportation track information and various data of recovery processing results corresponding to each medicine batch are screened out from the standardized data; binding the screened various data with the corresponding unique batch number by performing data association operation to form a bound data set; And based on the bound data set, establishing a structured medicine traceability data block.
- 4. The system of claim 3, wherein uploading the drug traceable data blocks to the blockchain network for distributed storage via a consensus mechanism, generating unique hash values and timestamps for each data block, mapping key spatiotemporal attributes of each data block to circular geometric features, comprises: Based on the medicine tracing data block, performing blockchain network access operation, and uploading the medicine tracing data block to a blockchain network through a consensus mechanism to complete distributed storage; After the distributed storage is completed, generating a corresponding unique hash value and a time stamp for each successfully stored data block; Extracting key space-time attribute data from the stored data blocks based on the corresponding unique hash values and the time stamps; and constructing a circular boundary by calculating the distance relation between the circular center point and each space-time data point so as to map the discrete space-time attribute data into circular geometric features with definite geometric features.
- 5. The system of claim 4, wherein the system organizes the trace data points of each link into a spherical spatial index structure with a hierarchical structure based on blockchain trace data, wherein the spherical spatial index is composed of a plurality of spherical nodes, and the system comprises: Based on the block chain tracing data, extracting space-time coordinate information of tracing data points of each link; Constructing an initial spherical space node according to the space-time coordinate information; after the initial spherical space node construction is completed, dividing the data space into a plurality of mutually related spherical areas based on a spherical space division principle; calculating space-time boundary information of data points contained in each spherical region to obtain a space containing relation between the spherical regions; and establishing a layered spherical spatial index structure according to the spatial inclusion relation between the spherical areas.
- 6. The system for full-cycle flow traceability management of a fentanyl drug according to claim 5, wherein outputting a full-chain traceability report to complete a full-life-cycle traceability query of the fentanyl drug comprises: based on the full-chain traceability report, verifying the integrity and consistency of report data to obtain a full-chain traceability report passing verification; Converting the full-chain traceability report passing verification into a specified output format, and generating a formatted full-chain traceability report; and pushing the formatted full-chain traceability report to the user side through a preset output interface, and displaying the full-chain traceability report on the user interface after pushing the full-chain traceability report to the user side so as to finish the full-life-cycle traceability query of the fentanyl medicine.
- 7. A computing device comprising a memory and a processor; wherein one or more computer programs are stored in the memory, the one or more computer programs comprising instructions, which when executed by the processor, cause the computing device to perform the system of any of claims 1-6.
- 8. A computer readable storage medium for storing a computer program for executing the system according to any one of claims 1 to 6.
Description
Full-period circulation traceability management system for fentanyl medicines Technical Field The invention relates to the technical field of data tracing, in particular to a full-period circulation tracing management system for fentanyl medicines. Background In the circulation supervision of special management medicines such as fentanyl medicines, the establishment of a trusted whole-course traceability system has important significance, the existing technical schemes generally adopt a centralized database or utilize a blockchain to independently store and verify the data of a single link, however, the schemes have certain limitations in the aspect of realizing the association verification of the data of the cross-link, the system is mainly focused on recording single events, the association relation among the events is relatively independent, and a built-in and computable verification mechanism is lacked to strengthen the integrity of the whole data chain. For example, in a drug transportation link, an existing system may generate independent data records with time stamps for two operations, namely "warehouse leaving" and "transport vehicle receiving", and although each record may have tamper-proof characteristics, the space-time logical consistency between the two records is mostly difficult to be automatically and efficiently verified by the system, if the data in the transportation link are inconsistent, the discovery and verification process of such relevance anomaly may be complex, which may affect the efficiency and reliability of trusted tracing of the flow path to some extent. Disclosure of Invention The technical problem to be solved by the invention is to provide a fentanyl medicine full-period circulation traceability management system, so that the credibility and the safety of traceability data are improved. In order to solve the technical problems, the technical scheme of the invention is as follows: In a first aspect, a fentanyl class drug full cycle flow traceability management system includes: The batch coding module is used for distributing a unique batch number to each medicine batch according to the standardized data to form a medicine traceability data block; the system comprises a block chain certification module, a block chain storage module, a round geometric feature and a data block management module, wherein the block chain certification module is used for uploading medicine traceability data blocks to a block chain network for distributed storage through a consensus mechanism, and generating a unique hash value and a time stamp for each data block; the association verification module is used for calculating common strings among different circular geometric features based on a position relation judging principle among the circles so as to establish a strong association verification layer among the data blocks, and carrying out cross verification and association reinforcement on the data blocks by analyzing the relative position relation among the circular geometric features to obtain blockchain tracing data with enhanced tamper resistance and association verification capability; the index construction module is used for organizing the traceable data points of each link into a spherical space index structure with a hierarchical structure based on the blockchain traceable data, wherein the spherical space index is composed of a plurality of spherical nodes; And the intelligent query module is used for receiving the drug serial number or vehicle VIN code data, rapidly positioning the data set most relevant to the query condition based on the spherical spatial index, searching the corresponding associated full life cycle standardized data across links, and integrating and generating a full chain traceability report of the drug component so as to complete the full life cycle traceability query of the drug component. In a second aspect, a computing device includes: one or more processors; And a storage device for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the system. In a third aspect, a computer readable storage medium has a program stored therein, which when executed by a processor, implements the system. The scheme of the invention at least comprises the following beneficial effects: By collecting multi-link multi-source heterogeneous data and completing standardized processing, each medicine batch is assigned with a unique batch number, and the design enables original scattered raw material information, production data, warehouse records and the like to form an organic whole, so that the problem of traceability failure caused by data confusion is avoided from the source; the method comprises the steps of distributing and storing tracing data blocks in a blockchain network through a consensus mechanism, wherein unique hash values and time stamps generated by each data block are distributed and stored i