Anesthetic traceability supervision method and system and readable storage medium

By acquiring and analyzing the data of narcotic drugs, performing unique identification code marking and topological analysis, identifying hub points and steps, and reconstructing the flow step chain, the problems of low efficiency of traceability supervision of narcotic drugs and data sharing obstacles in the existing technology are solved, and the problem of low efficiency of traceability supervision and data sharing obstacles is realized. Efficient and accurate traceability supervision ensures drug safety and regulatory effectiveness.

CN119228404AInactive Publication Date: 2024-12-31SHANGHAI YISHANG BIOTECHNOLOGY CO LTD +2
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411754982.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2024-12-31
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology for traceability supervision of narcotic drugs is inefficient, data interaction and information sharing are hindered, and the full traceability is not possible, and the application cost is high and there is a lack of unified standards.

Method used

By obtaining narcotic drug data and historical supervision data, unique identification code marking and topological analysis are carried out, hub points and steps are identified, flow step chains are reconstructed, and chain heads and post-update update mechanisms are adopted to achieve timely updates of data and consistency of the entire process. , provide traceability supervision methods and systems.

Benefits of technology

It has improved the timeliness and accuracy of the traceability supervision of narcotic drugs, achieved full-link coverage, ensured the safety of drug use, prevented drug abuse, and improved the accuracy, timeliness and operability of supervision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119228404A_ABST
    Figure CN119228404A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of narcotic drug supervision, in particular to a narcotic drug traceability supervision method and system and a readable storage medium. The method comprises the following steps: establishing a traceable data basis by collecting narcotic drug data and historical supervision data; carrying out unique identification code marking on the data, carrying out circulation topology analysis on historical data, and generating a basic circulation process of the narcotic drugs; key hub nodes and basic steps are identified, a basic circulation process is reconstructed, and a standardized circulation step chain is formed; a chain head updating and post-updating mechanism is adopted, and head data and full-process data are updated in time; the head update identifier and the post update identifier are utilized to grasp the circulation condition of each medicine in real time and quickly discover abnormity; according to the invention, through data management, process analysis and traceability technologies, full-link coverage of narcotic drug supervision is realized, and the accuracy, timeliness and operability of supervision are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of narcotic drug supervision, and in particular to a method, system and readable storage medium for narcotic drug traceability supervision. Background Art

[0002] At first, the traceability supervision of narcotic drugs relied entirely on manual recording and registration of drug flow information. Due to low efficiency and prone to errors, it is difficult to ensure the accuracy and completeness of the data, and it is difficult to achieve the goal of full traceability. In addition, it relies on manual processing, which is labor-intensive and costly, making it difficult to cope with the increasing regulatory needs. Subsequently, an electronic information system was introduced to register and manage drug flow data. This has improved data management efficiency to a certain extent, but each system is relatively independent, and there are still obstacles to data interaction and information sharing. It is also impossible to achieve full traceability. Information management is still limited to a single entity, and there is a lack of information connectivity throughout the entire chain, making it impossible to achieve full traceability. In recent years, with the application of the Internet of Things and big data technologies, intelligent monitoring and automated tracing of the entire circulation process have been realized. However, the application cost of this emerging technology is high, and it is not well connected with the existing manual management process. There are still certain obstacles in practical application, lack of unified technical standards and specifications, and certain differences in application models in various places. Summary of the invention

[0003] Based on this, it is necessary to provide a method, system and readable storage medium for narcotic drug traceability supervision to solve at least one of the above-mentioned technical problems.

[0004] To achieve the above purpose, a method for tracing and supervising the source of narcotic drugs comprises the following steps: Step S1: Acquire narcotic drug data and historical narcotic drug supervision data; mark the narcotic drug data with a unique identification code to obtain uniquely identified narcotic drug data; perform narcotic drug flow topology analysis on the historical narcotic drug supervision data to generate a basic narcotic drug flow process; Step S2: Identify the hub points of the basic circulation process of narcotic drugs and generate the head basic steps; reconstruct the basic hub links of the basic circulation process of narcotic drugs based on the head basic steps to obtain the basic circulation step chain; Step S3: Based on the head basic step, the chain head contact update is performed on the unique identification narcotic drug data to generate the head update identification data; according to the basic flow step chain, the post-contact update is performed on the head update identification data to generate the post-update identification data; Step S4: Based on the header update identification data and the post-update identification data, the narcotic drug data is traced and supervised to obtain the current circulation data of the narcotic drugs to implement the narcotic drug traceability supervision method.

[0005] The present invention lays a solid foundation for subsequent analysis and traceability by acquiring comprehensive narcotic drug data and historical regulatory data, marks narcotic drug data with a unique identification code, and establishes a traceable data system. Topological analysis of historical regulatory data is performed to discover the basic circulation process of narcotic drugs, identify key hub nodes and key steps, and reconstruct the standardized basic circulation step chain, which provides a standardized process basis for subsequent dynamic traceability supervision. The "chain head update" and "post-update" mechanisms are adopted to quickly update the header data and ensure the consistency of the whole process data, thereby improving the timeliness and accuracy of traceability supervision. By making full use of the header update mark and the post-update mark, the circulation of each drug can be grasped in real time, and abnormal situations can be quickly discovered, which has good application prospects in preventing drug abuse and improving regulatory efficiency. Therefore, the present method makes full use of data management, process analysis and traceability technology, realizes full-link coverage of narcotic drug supervision, and improves the accuracy, timeliness and operability of supervision. The benefits of these steps are that they can more effectively supervise the entire life cycle of narcotic drugs, ensure drug safety, and prevent drug abuse.

[0006] In this specification, a system for tracing and supervising the source of narcotic drugs is provided, which is used to execute the method for tracing and supervising the source of narcotic drugs as described above, and the system for tracing and supervising the source of narcotic drugs includes: The data flow module is used to obtain narcotic drug data and historical narcotic drug supervision data; mark the narcotic drug data with a unique identification code to obtain uniquely identified narcotic drug data; perform narcotic drug flow topology analysis on historical narcotic drug supervision data to generate a basic narcotic drug flow process; The basic hub analysis module is used to identify the hub points of the basic circulation process of narcotic drugs and generate the head basic steps; based on the head basic steps, the basic hub link of the basic circulation process of narcotic drugs is reconstructed to obtain the basic circulation step chain; A supervision mode construction module is used to perform a chain head contact update on the uniquely identified narcotic drug data based on the head basic step to generate head update identification data; perform a post contact update on the head update identification data according to the basic flow step chain to generate post update identification data; The supervision and traceability module is used to perform traceability supervision on narcotic drug data based on the header update identification data and the post-update identification data, obtain the current circulation data of narcotic drugs, and implement the narcotic drug traceability supervision method.

[0007] The benefit of the present invention is that by adding a unique identification code to the original narcotic drug data, the standardization and traceability of the data are achieved, the historical supervision data is analyzed for the topological flow, and the basic flow process of narcotic drugs is generated, which lays the foundation for the subsequent steps. The key hubs in the basic flow process are identified, the "head basic steps" are determined, the important control points in the whole process are highlighted, and the whole flow process is reconstructed based on the head basic steps, and a clearer and more orderly "basic flow step chain" is generated. The head basic steps are used to achieve timely update of the unique identification data, generate "head update identification data", and further according to the basic flow step chain, the head update identification data is subsequently continuously updated to generate "post-update identification data". The integration of the head update identification data and the post-update identification data is applied to the supervision execution, and the current circulation of narcotic drugs is fully grasped. Through this method, the traceability supervision of narcotic drugs can be continuously and effectively performed, and the dynamic supervision and control of the entire life cycle can be realized. Therefore, the present method makes full use of data management, process analysis and traceability technology, realizes the full-link coverage of narcotic drug supervision, and improves the accuracy, timeliness and operability of supervision. The benefit of these steps is that they can more effectively regulate the entire life cycle of narcotic drugs, ensure drug safety, and prevent drug abuse.

[0008] The present invention also provides a computer-readable storage medium having a computer program stored thereon, for implementing any one of the methods for tracing and supervising narcotic drugs as described above when the computer program is executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 A schematic diagram of a process flow for tracing and supervising the source of narcotic drugs; Figure 2 for Figure 1 Detailed implementation steps of step S2 in the flowchart; Figure 3 for Figure 1 Detailed implementation steps of step S3 in FIG.

[0010] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0011] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.

[0012] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.

[0013] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.

[0014] To achieve this, please refer to Figures 1 to 3 , a method for tracing and supervising the source of narcotic drugs, comprising the following steps: Step S1: Acquire narcotic drug data and historical narcotic drug supervision data; mark the narcotic drug data with a unique identification code to obtain uniquely identified narcotic drug data; perform narcotic drug flow topology analysis on the historical narcotic drug supervision data to generate a basic narcotic drug flow process; Step S2: Identify the hub points of the basic circulation process of narcotic drugs and generate the head basic steps; reconstruct the basic hub links of the basic circulation process of narcotic drugs based on the head basic steps to obtain the basic circulation step chain; Step S3: Based on the head basic step, the chain head contact update is performed on the unique identification narcotic drug data to generate the head update identification data; according to the basic flow step chain, the post-contact update is performed on the head update identification data to generate the post-update identification data; Step S4: Based on the header update identification data and the post-update identification data, the narcotic drug data is traced and supervised to obtain the current circulation data of the narcotic drugs to implement the narcotic drug traceability supervision method.

[0015] The present invention lays a solid foundation for subsequent analysis and traceability by acquiring comprehensive narcotic drug data and historical regulatory data, marks narcotic drug data with a unique identification code, and establishes a traceable data system. Topological analysis of historical regulatory data is performed to discover the basic circulation process of narcotic drugs, identify key hub nodes and key steps, and reconstruct the standardized basic circulation step chain, which provides a standardized process basis for subsequent dynamic traceability supervision. The "chain head update" and "post-update" mechanisms are adopted to quickly update the header data and ensure the consistency of the whole process data, thereby improving the timeliness and accuracy of traceability supervision. By making full use of the header update mark and the post-update mark, the circulation of each drug can be grasped in real time, and abnormal situations can be quickly discovered, which has good application prospects in preventing drug abuse and improving regulatory efficiency. Therefore, the present method makes full use of data management, process analysis and traceability technology, realizes full-link coverage of narcotic drug supervision, and improves the accuracy, timeliness and operability of supervision. The benefits of these steps are that they can more effectively supervise the entire life cycle of narcotic drugs, ensure drug safety, and prevent drug abuse.

[0016] In the embodiment of the present invention, reference Figure 1 The above is a schematic diagram of the steps of a method for tracing the source of narcotic drugs in the present invention. In this example, the method for tracing the source of narcotic drugs includes the following steps: Step S1: Acquire narcotic drug data and historical narcotic drug supervision data; mark the narcotic drug data with a unique identification code to obtain uniquely identified narcotic drug data; perform narcotic drug flow topology analysis on the historical narcotic drug supervision data to generate a basic narcotic drug flow process; In the embodiment of the present invention, narcotic drug data including detailed attributes of narcotic drug code, name, specification, production batch number, and flow information are collected from relevant compliance channels, and historical narcotic drug supervision data are collected through compliance means, including inspection records of narcotic drug flow by regulatory authorities, transportation records of logistics companies, and purchase and sales records of hospitals / pharmacies. Based on the variety, specification, and production batch number attributes of narcotic drugs, a unique identification code is generated for each narcotic drug, and the 128-bit UUID standard is used to establish an association between the unique identification code and the detailed attribute information of narcotic drugs, which is stored as "uniquely identified narcotic drug data". The narcotic drug flow information in the historical supervision data is extracted, and a narcotic drug circulation network topology diagram including production, wholesale, and retail links is constructed. The topology structure is analyzed, and the key nodes and flow change characteristics of each circulation link are identified to form a "basic circulation process of narcotic drugs".

[0017] Step S2: Identify the hub points of the basic circulation process of narcotic drugs and generate the head basic steps; reconstruct the basic hub links of the basic circulation process of narcotic drugs based on the head basic steps to obtain the basic circulation step chain; In the embodiment of the present invention, the whole process of narcotic drugs from production to final consumption is divided into several sub-links, such as production, wholesale, transportation, storage, and retail. Each sub-link is deeply analyzed to determine the key indicators of the number of drug flows, the flow time, and the number of drug varieties involved. According to these indicators, the key control nodes in the flow process are screened out, such as manufacturers, distribution centers, and large hospitals. These key nodes are summarized and summarized to determine the production link as the head basic step of the basic flow of narcotic drugs. The production step is the chain head of the entire flow process and is the basis of other steps. With the production step as the chain head, the entire flow process is refined and divided in comparison with other key nodes to form 10-15 ordered basic steps, each basic step contains drug number, flow unit, flow time, and specific attribute information of the flow quantity. These basic steps are linked together to form a complete narcotic drug flow chain from production to final consumption, reflecting the whole process trajectory of drug flow, with the production step as the chain head, connecting the key nodes of the entire flow process in series.

[0018] Step S3: Based on the head basic step, the chain head contact update is performed on the unique identification narcotic drug data to generate the head update identification data; according to the basic flow step chain, the post-contact update is performed on the head update identification data to generate the post-update identification data; In the embodiment of the present invention, the unique identification code is associated with the production step as the header basic step to establish the identification data of the narcotic drug production link. For each batch of narcotic drugs, its unique identification code, production time, and key attribute information of the manufacturer are recorded to construct the header update identification data. These header update identification data use the production step as the chain head to provide basic data for the identification update of the subsequent circulation link. According to the aforementioned established basic circulation step chain, the flow direction and circulation status of narcotic drugs in each link are tracked one by one. In the subsequent steps of wholesale, transportation, storage, and retail, the unique identification code of the drug is associated with the corresponding step attribute information to generate post-update identification data. The post-update identification data includes the drug number, flow unit, circulation time, and circulation quantity information, which can fully reflect the trajectory of the entire circulation process. These updated identification data use the production step as the chain head to constitute the unique identification chain of narcotic drugs in the entire process.

[0019] Step S4: Based on the header update identification data and the post-update identification data, the narcotic drug data is traced and supervised to obtain the current circulation data of the narcotic drugs to implement the narcotic drug traceability supervision method.

[0020] In the embodiment of the present invention, combined with the clues of narcotic drug production mastered by the regulatory authorities, the identification data of the production link is used to quickly lock the source of the drug, find suspicious links, and for suspicious production links, deeply analyze the unique identification code and production batch information in the header update identification data to find abnormal situations. Through the traceability analysis of the header update identification data, the whole process trajectory of narcotic drugs from production to the first flow can be quickly located. The wholesale, transportation, storage, and retail link information in the post-update identification data is extracted as the key node data of the flow of narcotic drugs. Combined with the traceability analysis results of the production link, the post-identification data is used to track the subsequent circulation process of the drug. Through the analysis of the post-update identification data, abnormal situations in the circulation of drugs, such as abnormal flow and missing quantity, can be found. The traceability analysis results of the two types of identification data, the header and the post-identification data, are integrated to fully grasp the whole process trajectory of narcotic drugs from production to terminal sales.

[0021] Preferably, step S1 comprises the following steps: Step S11: Obtain narcotic drug data through legal channels; obtain historical narcotic drug supervision data; Step S12: Encoding the narcotic drug with a unique identification code using the narcotic drug data to generate a narcotic drug unique identification code; Step S13: marking the narcotic drug data based on the narcotic drug unique identification code to obtain unique identification narcotic drug data; Step S14: Mapping the circulation process of historical narcotic drug supervision data to obtain a schematic diagram of the entire drug circulation process; Step S15: dividing the drug circulation process diagram into circulation links and generating independent circulation links; Step S16: Use the schematic diagram of the entire drug circulation process to sort the basic processes of independent circulation links and generate a basic circulation process for narcotic drugs.

[0022] The invention is beneficial in that narcotic drug data and historical regulatory data are obtained through legal channels, the legitimacy and reliability of the data source are ensured, the original narcotic drug data is encoded with a unique identification code, and uniquely identified narcotic drug data is generated, which lays the foundation for subsequent data tracking and tracing. These preprocessing steps ensure the data basis for subsequent analysis and regulatory work, and improve the standardization and reliability of the entire process. Based on historical regulatory data, the entire process of narcotic drug circulation is mapped and visualized, and a schematic diagram of the entire process of drug circulation is obtained. By analyzing the process diagram, independent circulation links are identified and divided, laying the foundation for subsequent basic process sorting and reconstruction, and the independent links are sorted using the process diagram to generate a complete narcotic drug basic circulation process. This provides a basis for the identification and process reconstruction of key links in subsequent steps. Effective management and preprocessing of original data, as well as comprehensive analysis and modeling of the entire drug circulation process, are achieved, laying a solid foundation for subsequent key link identification, process reconstruction and traceability supervision. These steps ensure the reliability and operability of the entire regulatory method, and provide solid data support for subsequent more advanced analysis and decision-making.

[0023] In the embodiment of the present invention, the production, circulation and sales of narcotic drugs are obtained from relevant compliance channels, and historical data of various inspections, investigations and supervision activities carried out by drug regulatory authorities in previous years in the circulation of narcotic drugs are collected through legal channels. The acquired narcotic drug data and historical supervision data are summarized and collated to ensure the integrity and consistency of the information. According to the key information of the name, dosage form, specification, batch number and production date of the collected narcotic drugs, a unique identification code coding rule that meets the national drug standards is designed, and the whole chain data is converted into a unique identification code to ensure that each narcotic drug has a unique coding identification, and establish a corresponding relationship between the unique identification code of narcotic drugs and product information, so as to provide a basis for subsequent data marking and flow analysis. The unique identification code of each narcotic drug is associated with its product information and flow information data to ensure that the production, wholesale, transportation and retail information of each narcotic drug can correspond to its unique identification code, and the marked narcotic drug data is summarized and collated to form a traceable full-chain information database. The information on the circulation links of narcotic drugs involved in the collected historical regulatory data is sorted and organized. According to the time sequence and correlation of each circulation link, a full process diagram of narcotic drugs from production to sales is drawn. The full process diagram of drug circulation is analyzed and divided into independent production, wholesale, transportation, and retail circulation links to ensure that each independent link can reflect the specific circulation situation and characteristics of narcotic drugs in this link. The divided independent links are coded and identified to provide a basis for subsequent process sorting and analysis. Combined with the full process diagram of drug circulation, the independent circulation links are arranged in chronological order to ensure that the correlation and dependence between each link can be reflected, forming a complete basic circulation process, and the sorted basic circulation process is standardized and organized to provide a unified reference basis for subsequent regulatory analysis.

[0024] Preferably, step S2 comprises the following steps: Step S21: clustering independent circulation steps of the basic circulation process of narcotic drugs to obtain independent circulation step groups; Step S22: grouping the independent circulation steps based on the basic circulation process of narcotic drugs to identify the head steps and generate the head basic steps; Step S23: extracting basic step groups from the basic circulation process of narcotic drugs according to the independent circulation step grouping to generate basic step groups; Step S24: reconstruct the basic hub link of the basic step group based on the head basic step to obtain the basic flow step chain.

[0025] The benefit of the present invention lies in that each independent step in the process is grouped by clustering the independent circulation steps of the basic circulation process of narcotic drugs. This is conducive to the subsequent more accurate identification of key nodes and steps. Based on the circulation process, these independent steps are grouped for head step identification, and the head basic steps are generated. These head steps represent the key nodes or influencing points of the entire process. According to the independent step grouping, each basic step group is extracted from the basic circulation process. This lays the foundation for the subsequent analysis and reconstruction of key links and their connections. Based on the head basic step, the basic step group is reconstructed, and a complete basic circulation step chain is generated. This step can help identify the key nodes and links in the entire circulation process, and provide an important basis for subsequent traceability supervision. Through the reconstruction and combing of the basic step chain, the context and key links of the entire circulation process can be more clearly understood, and support is provided for the formulation of targeted regulatory measures. Through the identification, grouping and head step identification of independent steps, the key nodes and links of the entire narcotic drug circulation process are gradually and deeply analyzed. Finally, through the reconstruction of the basic step chain, a clear flow chart spectrum is formed, which provides a solid foundation for subsequent traceability supervision. These steps have greatly improved the accuracy and pertinence of the analysis, laying the foundation for formulating more effective regulatory policies.

[0026] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes: Step S21: clustering independent circulation steps of the basic circulation process of narcotic drugs to obtain independent circulation step groups; In the embodiment of the present invention, each independent step in the basic circulation process of narcotic drugs is analyzed and sorted out one by one, and according to the internal connection and logical relationship of these steps, the steps with the same or similar characteristics are classified into the same group, thereby obtaining independent circulation step groups. For example, the steps related to collection, distribution, and storage can be classified into a "logistics management" group; the steps related to registration, review, and archiving can be classified into an "information management" group. Through this clustering grouping, the entire process can be divided into several relatively independent step groups, laying the foundation for subsequent optimization and improvement.

[0027] Step S22: grouping the independent circulation steps based on the basic circulation process of narcotic drugs to identify the head steps and generate the head basic steps; In an embodiment of the present invention, each independent step in the basic circulation process of narcotic drugs is divided into different functional blocks, such as purchase application, approval, acceptance and storage, and registration and issuance. Based on the business attributes and information transmission relationship between these functional blocks, a two-dimensional process block spectrum matrix is ​​constructed. The rows and columns of the matrix represent each functional block respectively, and the matrix cells record the previous and next associations and dependencies between them. By analyzing the aforementioned process block spectrum matrix using a graph theory algorithm, the hierarchical relationship between each functional block can be identified. For example, the purchase application is at the highest level, and the acceptance and storage and issuance registration are at the next level, forming a clear functional block hierarchy system. These hierarchical relationship data provide an important basis for the identification of subsequent head steps. Considering the status, role and information flow of each functional block in the process, the key links at the highest level are selected from the hierarchical relationship data as the head step set. These head steps usually represent the starting point of the entire process, such as a purchase application. Based on the head step set, the independent steps in the entire process are grouped and reorganized. The specific approach is to take each head step as the head of a step chain, and connect its subordinate related sub-steps in series to form an independent head basic step.

[0028] Step S23: extracting basic step groups from the basic circulation process of narcotic drugs according to the independent circulation step grouping to generate basic step groups; In the embodiment of the present invention, through the investigation and analysis of the narcotic drug management practices of medical institutions, the key independent steps in the whole process of narcotic drugs from procurement, warehousing, issuance, use to loss reporting are sorted out, such as purchase application, bidding procurement, acceptance and warehousing, inventory management, issuance and use, use registration, and loss reimbursement. The key independent steps are classified and grouped according to their functional attributes and operating characteristics to form basic step groups of procurement, acceptance, issuance, use management, and recycling. Each group contains multiple interrelated and relatively independent specific operating steps. The sequence, operating requirements, and responsible parties of each step are clarified to form a flowchart or a tabular basic step group.

[0029] Step S24: reconstruct the basic hub link of the basic step group based on the head basic step to obtain the basic flow step chain.

[0030] In an embodiment of the present invention, in the basic step group, the functional positioning and information transmission relationship of each step are carefully analyzed to identify key basic steps, such as application approval, acceptance into the warehouse, and issuance registration. These steps will serve as important hub nodes of the basic circulation step chain. Starting from the head basic step, the aforementioned key basic steps are connected in series according to the business logic order to form a basic hub link. The link organically connects each basic step group to ensure the smooth flow of information and goods. On the basis of constructing the basic hub link, the key nodes in the link are optimized in combination with the actual application scenarios. For example, information feedback, authority control, and exception handling function modules are added to further improve the standardization and intelligence level of the link.

[0031] Preferably, step S22 includes the following steps: Step S221: constructing a process block spectrum for the basic circulation process of narcotic drugs to generate a process block spectrum matrix; Step S222: performing topological structure decomposition on the process block spectrum matrix to obtain process hierarchical relationship data; Step S223: Based on the process hierarchical relationship data, the head process of the basic circulation process of narcotic drugs is identified to generate a head step set; Step S224: group the independent flow steps according to the head step set, perform head step cutting, and generate head basic steps.

[0032] The benefit of the present invention lies in that a process block spectrum matrix is ​​generated by constructing a process block spectrum for the basic circulation process of narcotic drugs. This helps to more clearly represent and analyze the topological structure and hierarchical relationship of the entire circulation process, and the process block spectrum matrix is ​​topologically decomposed to obtain process hierarchical relationship data. This provides important basic data support for subsequent head process identification and head step cutting. Based on the process hierarchical relationship data, the head process of the basic circulation process of narcotic drugs is identified, and a head step set is generated. These head steps represent the key nodes or control points in the entire circulation process and have an important impact on the entire process. Identifying the head step set helps to further focus and analyze the key links of the entire circulation process, and provide more targeted support for subsequent traceability supervision. According to the identified head step set, the head step cutting is performed on the independent circulation step grouping, and the head basic step is generated. This step helps to more clearly divide the key nodes and key links in the entire circulation process, and lays the foundation for the reconstruction of the basic circulation step chain in the next step. Through the cutting of the head basic step, the key nodes and control points of the entire circulation process can be grasped more accurately, providing a more powerful basis for formulating targeted regulatory measures. Through the construction of the process block spectrum and topological structure analysis, the key nodes and hierarchical relationships of the entire narcotic drug circulation process were deeply identified. On this basis, the head process and head basic steps were further identified, laying a solid foundation for the subsequent reconstruction of the basic circulation step chain. These steps help to more accurately grasp the key links of the entire circulation process and provide important support for the formulation of targeted regulatory measures.

[0033] In an embodiment of the present invention, each independent step in the basic circulation process of narcotic drugs is divided into different functional blocks, such as purchase application, approval, acceptance and storage, and registration and issuance. Based on the business attributes and information transmission relationship between these functional blocks, a two-dimensional process block spectrum matrix is ​​constructed. The rows and columns of the matrix represent each functional block respectively, and the matrix cells record the previous and next associations and dependencies between them. By analyzing the aforementioned process block spectrum matrix using a graph theory algorithm, the hierarchical relationship between each functional block can be identified. For example, the purchase application is at the highest level, and the acceptance and storage and issuance registration are at the next level, forming a clear functional block hierarchy system. These hierarchical relationship data provide an important basis for the identification of subsequent head steps. Considering the status, role and information flow of each functional block in the process, the key links at the highest level are selected from the hierarchical relationship data as the head step set. These head steps usually represent the starting point of the entire process, such as a purchase application. Based on the head step set, the independent steps in the entire process are grouped and reorganized. The specific approach is to take each head step as the head of a step chain, and connect its subordinate related sub-steps in series to form an independent head basic step.

[0034] Preferably, step S3 comprises the following steps: Step S31: extract step features of the head basic steps to obtain head step feature data; Step S32: performing a chain head contact update on the unique identification narcotic drug data based on the head step feature data to generate head update identification data; Step S33: remove the head of the basic flow step chain according to the head basic step to obtain the post-attachment step chain; Step S34: Perform a post-contact update on the head update identification data based on the post-attachment step chain to generate post-update identification data.

[0035] The benefit of the present invention lies in that by extracting the features of the head basic steps, the head step feature data is obtained. These feature data include time, place, and key information of the participating entities, which helps to more accurately describe and identify the key nodes in the entire circulation process. Obtaining the head step feature data provides an important basis for subsequent unique identification data updates and circulation process tracking. Based on the head step feature data, the unique identification narcotic drug data is updated with the chain head contact, and the head update identification data is generated. This step ensures that the unique identification information of the key node (chain head) can be updated and maintained in time during the entire circulation process of narcotic drugs. The accurate head update identification data provides reliable data support for subsequent circulation process tracking and supervision. According to the head basic steps, the chain head of the basic circulation step chain is removed to obtain the post-attachment step chain. This step helps to separate the key node (head) in the entire circulation process from the basic step chain to form a relatively independent post-attachment step chain. This separation is conducive to more clear identification and analysis of the key links and secondary links in the entire circulation process, and provides a basis for formulating targeted regulatory measures. Based on the reconstructed post-attachment step chain, the head update identification data is post-contact updated to generate post-update identification data. This step ensures that in the entire circulation process, in addition to the key nodes (chain heads), the unique identification information of other links can also be updated and maintained in a timely manner. The complete identification data update helps to provide comprehensive data support for the subsequent overall circulation process tracking and traceability supervision. By extracting the features of the head steps, updating the unique identification data, and reconstructing the basic step chain, it is ensured that the identification data of the key nodes and secondary links in the entire circulation process can be maintained in a timely manner. This lays a solid data foundation for the next step of circulation process tracking and traceability supervision, which helps to more accurately grasp the overall picture of the entire circulation chain and formulate more targeted supervision measures.

[0036] As an example of the present invention, refer to Figure 3 As shown, in this example, step S3 includes: Step S31: extract step features of the head basic steps to obtain head step feature data; In an embodiment of the present invention, the head basic step of the process is accurately located, and the operational process of the specific execution of the basic step is described in detail, including the action details of each link, and the estimated execution time and actual execution time of the basic step are recorded in working days. The roles of the personnel involved in the basic step, as well as the equipment and system resource information used are listed, and the input information required for the step is listed, such as raw material information and customer orders. The output information generated by the step is listed, such as product delivery notes and sales reports. The quality-related data such as the pass rate and error rate of the step are counted, and the logical relationship between the step and the previous and next steps, as well as the position and function in the entire process are described. The obtained feature data is organized into a table or document form to build a complete head step feature database.

[0037] Step S32: performing a chain head contact update on the unique identification narcotic drug data based on the head step feature data to generate head update identification data; In the embodiment of the present invention, the key fields of the drug number, batch number, and production date constituting the unique identification are accurately extracted from the various attribute data of the narcotic drug, and these key fields are combined into a standardized string format as the identification format data of the narcotic drug. The identification format data should comply with the established data specifications, such as length and character type restrictions, to ensure the consistency and readability of the data. The key fields in the identification format data are correspondingly associated with the operation parameters and inspection index characteristic data of the head step (chain head), and the identification format data is converted into the characteristic data format required by the head step (chain head) according to the predetermined data conversion rules. The converted characteristic data should comply with the input requirements of the head step (chain head) to provide standardized input for the subsequent step execution. The standardized characteristic conversion data is rewritten into the unique identification data of the narcotic drug. The updated head update identification data not only contains the basic identification of the drug, but also records the execution information of the head step (chain head). This head update identification data can provide a comprehensive traceability basis for the subsequent step execution, ensuring the safety and controllability of the circulation of narcotic drugs.

[0038] Step S33: remove the head of the basic flow step chain according to the head basic step to obtain the post-attachment step chain; In an embodiment of the present invention, a basic step chain of the entire process is extracted. This step chain contains all the basic operation steps from the start to the end of the process, which are connected in series in chronological order. Combined with the characteristic data of the head step, the key nodes in the basic step chain, that is, the key head basic steps, are accurately located. For the identified head basic steps, they are removed from the basic step chain to form a "head-less" step chain. This is equivalent to extracting the key starting step in the process. The "post-stage" step chain formed after removing the head step (chain head) is reorganized into an independent process link. This step chain can be regarded as a "hook-up" process that revolves around the head step (chain head), providing the head step with all kinds of support required.

[0039] Step S34: Perform a post-contact update on the head update identification data based on the post-attachment step chain to generate post-update identification data.

[0040] In an embodiment of the present invention, the unique identification information of the narcotic drug is extracted from the header update identification data, and the corresponding basic circulation step chain is searched based on the unique identification information, and the specific step currently located is determined, and the various operation parameters and inspection index data of the current step are extracted as the current step data. According to the position information of the current step in the basic circulation step chain, the data of the previous step is forward calculated, and the various operation parameters and inspection index data of the preceding step are extracted as the preceding step data. From the preceding step data, the characteristic parameters that are key to the post-attachment step are identified, and these key characteristic parameters are extracted and combined into standardized preceding step characteristic data. The preceding step characteristic data should meet the input requirements of the post-attachment step. The preceding step characteristic data is compared and analyzed with the preceding step information recorded in the header update identification data, and the proportion of the preceding step characteristics in the header update identification data is calculated as the preceding feature content, and the preceding feature content reflects the degree of influence of the preceding step on the post-attachment step. A reasonable threshold value of the pre-feature content is set as the safety control standard for the post-attachment step. When the pre-feature content is lower than the threshold, early warning information is intuitively fed back to the operator through graphics and text, and an alarm is generated to remind the operator to pay attention to the potential risks of the pre-step. The various operating parameters and inspection index data of the current step are written into the header update identification data. The updated post-update identification data not only records the information of the previous steps, but also supplements the execution status of the current step. This post-update identification data provides a comprehensive traceability certificate for the entire circulation process.

[0041] Preferably, updating the chain head mark of the uniquely identified narcotic drug data based on the head step feature data includes: When the narcotic drugs flow to the head basic step, the identification format is extracted from the unique identification narcotic drug data to generate identification format data; Normalize the head step feature data according to the identification format data to obtain feature conversion data; The feature conversion data is used to update the head step mark of the uniquely identified narcotic drug data to generate head update identification data.

[0042] The benefit of the present invention lies in that at the chain head step of the circulation of narcotic drugs, the format of the unique identification data is extracted to generate identification format data. This step ensures that the unique identification information format of narcotic drugs can be accurately obtained for the starting node (chain head step) of the entire circulation chain, and the identification format data provides the necessary input for subsequent data normalization and chain head step mark update. According to the identification format data obtained in the previous step, the characteristic data (such as time, place, and participating subjects) of the chain head step are normalized to obtain characteristic conversion data. This step ensures that the characteristic data of the chain head step can match the format of the unique identification data, and the characteristic conversion data provides standardized input for the subsequent chain head update identification data. Using the aforementioned generated characteristic conversion data, the unique identification narcotic drug data is updated in the chain head step mark to generate chain head update identification data. This step ensures that at the starting node (chain head step) of the entire circulation chain, the unique identification information of narcotic drugs can be updated and maintained in a timely and accurate manner. The chain head update identification data provides a reliable data basis for the entire traceability supervision process, which helps to track and analyze the entire circulation process more accurately. Focusing on the starting node (chain head step) of the entire circulation chain, ensure that at this key node, the unique identification information of narcotic drugs can be accurately formatted and standardized, and finally generate reliable chain head update identification data. These data provide a more detailed and standardized basis for the subsequent tracking and tracing analysis of the entire circulation process, which helps to improve the accuracy and reliability of the entire regulatory system.

[0043] In the embodiment of the present invention, the key fields of the drug number, batch number, and production date constituting the unique identification are accurately extracted from the various attribute data of the narcotic drug, and these key fields are combined into a standardized string format as the identification format data of the narcotic drug. The identification format data should comply with the established data specifications, such as length and character type restrictions, to ensure the consistency and readability of the data. The key fields in the identification format data are correspondingly associated with the operation parameters and inspection index characteristic data of the head step (chain head), and the identification format data is converted into the characteristic data format required by the head step (chain head) according to the predetermined data conversion rules. The converted characteristic data should comply with the input requirements of the head step (chain head) to provide standardized input for the subsequent step execution. The standardized characteristic conversion data is rewritten into the unique identification data of the narcotic drug. The updated head update identification data not only contains the basic identification of the drug, but also records the execution information of the head step (chain head). This head update identification data can provide a comprehensive traceability basis for the subsequent step execution, ensuring the safety and controllability of the circulation of narcotic drugs.

[0044] Preferably, performing post-contact updating on the head update identification data based on the post-attachment step chain includes: When the narcotic drugs flow to the post-attachment step chain, the post-attachment step chain is located at the current step according to the basic flow step chain to obtain the current step data; Locate the previous step of the current step data to obtain the previous step data; Extracting features from the preceding step data to generate preceding step feature data; Using the feature data of the preceding step to perform a preceding feature scan on the head update identification data, generating a preceding feature content; When the pre-characteristic content is less than the preset characteristic content threshold, a visual early warning is performed on the pre-characteristic content and an alarm is generated; When the preceding feature content is greater than a preset feature content threshold, a post-contact update is performed on the head update identification data based on the current step data to generate post-update identification data.

[0045] The invention is beneficial in that, according to the basic circulation step chain, the narcotic drugs currently in the post-hanging step chain are located and the relevant data of the current step are obtained. This step ensures that the current circulation step can be accurately identified, and provides basic data for the subsequent positioning and feature extraction of the previous step. The current step data is the key input for subsequent analysis. Based on the current step data, the previous step of the step is located and the relevant data of the previous step is obtained. This step helps to track the complete chain of drug circulation and understand the relationship between the current step and the previous step. The previous step data provides a basis for subsequent feature extraction and head data scanning. Feature extraction is performed on the data of the previous step to generate the feature data of the previous step. This step aims to extract key feature information that can be used for analysis and early warning from the previous step. The feature data of the previous step provides input for subsequent head data scanning and early warning. Using the feature data of the previous step, the head update identification data is scanned to generate the pre-feature content. When the pre-feature content is lower than the preset threshold, a visual early warning is triggered and an alarm is generated. This step helps to timely discover potential abnormal situations and provides a basis for subsequent post-contact updates. When the preceding characteristic content is higher than the preset threshold, the head update identification data is post-contact updated based on the current step data to generate post-update identification data. This step ensures that the identification data of the head step is updated and maintained in a timely and accurate manner throughout the entire circulation chain. The post-update identification data provides a reliable data basis for the entire traceability supervision process. Throughout the entire circulation chain, the data of the current step, the preceding step, and the head step (chain head) are comprehensively analyzed and updated. This not only helps to track the complete chain of drug circulation, but also can promptly detect abnormal situations and conduct targeted early warnings and processing, further improving the accuracy and effectiveness of the entire traceability supervision system.

[0046] In an embodiment of the present invention, the unique identification information of the narcotic drug is extracted from the header update identification data, and the corresponding basic circulation step chain is searched based on the unique identification information, and the specific step currently located is determined, and the various operation parameters and inspection index data of the current step are extracted as the current step data. According to the position information of the current step in the basic circulation step chain, the data of the previous step is forward calculated, and the various operation parameters and inspection index data of the preceding step are extracted as the preceding step data. From the preceding step data, the characteristic parameters that are key to the post-attachment step are identified, and these key characteristic parameters are extracted and combined into standardized preceding step characteristic data. The preceding step characteristic data should meet the input requirements of the post-attachment step. The preceding step characteristic data is compared and analyzed with the preceding step information recorded in the header update identification data, and the proportion of the preceding step characteristics in the header update identification data is calculated as the preceding feature content, and the preceding feature content reflects the degree of influence of the preceding step on the post-attachment step. A reasonable threshold value of the pre-feature content is set as the safety control standard for the post-attachment step. When the pre-feature content is lower than the threshold, early warning information is intuitively fed back to the operator through graphics and text, and an alarm is generated to remind the operator to pay attention to the potential risks of the pre-step. The various operating parameters and inspection index data of the current step are written into the header update identification data. The updated post-update identification data not only records the information of the previous steps, but also supplements the execution status of the current step. This post-update identification data provides a comprehensive traceability certificate for the entire circulation process.

[0047] Preferably, step S4 comprises the following steps: Step S41: performing drug circulation positioning on the anesthetic drug data based on the header update identification data and the post-update identification data to obtain the drug current location data; Step S42: tracing the narcotic drug data according to the current location data of the drug to generate the current circulation data of the narcotic drug; Step S43: Real-time supervision is performed on the current circulation data of narcotic drugs to implement the narcotic drug traceability supervision method.

[0048] The benefit of the present invention lies in that the current position of the narcotic drugs is accurately located by combining the header update identification data and the post-update identification data. The header data represents the key information of the entire circulation chain, and the post-update data provides an instant circulation status update. Through this step, the system can accurately grasp the real-time circulation position of each batch of narcotic drugs, providing a basis for subsequent traceability records and supervision. According to the acquired current position data of the drugs, the entire circulation process of the narcotic drugs is traced and recorded. This step establishes a complete historical data of the circulation of narcotic drugs, providing comprehensive information support for subsequent real-time supervision. Accurate traceability records help to better understand and analyze the circulation path of drugs and discover potential abnormalities. Real-time supervision of the current circulation data of narcotic drugs is carried out to implement a more effective traceability supervision method. This step can dynamically grasp the latest circulation of narcotic drugs, timely discover and handle abnormal situations, and real-time supervision helps to improve the responsiveness and control efficiency of the entire traceability supervision system, ensuring the safe circulation of narcotic drugs. Through each step, it is closely linked to each other, forming a complete narcotic drug traceability supervision process. Among them, the header data, as the key information of the entire circulation chain, forms an organic combination with the real-time update of the post-data, ensuring the accurate positioning of each batch of drugs and the traceability of the entire chain. Based on this, the system can conduct comprehensive and real-time supervision, discover and prevent potential problems, thereby effectively maintaining the safe circulation of narcotic drugs and providing strong support for the entire supervision system.

[0049] In the embodiment of the present invention, the unique identification information of the narcotic drug is extracted from the header update identification data, and the corresponding post-update identification data is searched according to the unique identification information to determine the specific step position of the drug at present, and the step information, time information, and geographical location information of the drug at present are combined into the current location data of the drug, and the current location data of the drug can accurately locate the specific location of the drug in the entire circulation process. According to the current location data of the drug, the complete circulation history of the drug from the initial receipt to the final use is traced back, and the key information of the drug in each circulation step is extracted, including the operation time, the operator, and the operation location. These key information are integrated into standardized current circulation data of narcotic drugs, and the current circulation data of narcotic drugs can fully record the whole process information of the drug from production to final use. The current circulation data of narcotic drugs is transmitted to the information management system of the regulatory department in real time. The system of the regulatory department will perform intelligent analysis and continuous monitoring on these circulation data. Once any abnormal situation is found, such as the missing circulation step and the abnormal time interval, the early warning mechanism will be triggered immediately. The regulatory department can quickly lock the problem and take targeted regulatory measures. This real-time supervision mechanism ensures the traceability of the entire circulation process of narcotic drugs.

[0050] In this specification, a system for tracing and supervising the source of narcotic drugs is provided, which is used to execute the method for tracing and supervising the source of narcotic drugs as described above, and the system for tracing and supervising the source of narcotic drugs includes: The data flow module is used to obtain narcotic drug data and historical narcotic drug supervision data; mark the narcotic drug data with a unique identification code to obtain uniquely identified narcotic drug data; perform narcotic drug flow topology analysis on historical narcotic drug supervision data to generate a basic narcotic drug flow process; The basic hub analysis module is used to identify the hub points of the basic circulation process of narcotic drugs and generate the head basic steps; based on the head basic steps, the basic hub link of the basic circulation process of narcotic drugs is reconstructed to obtain the basic circulation step chain; A supervision mode construction module is used to perform a chain head contact update on the uniquely identified narcotic drug data based on the head basic step to generate head update identification data; perform a post contact update on the head update identification data according to the basic flow step chain to generate post update identification data; The supervision and traceability module is used to perform traceability supervision on narcotic drug data based on the header update identification data and the post-update identification data, obtain the current circulation data of narcotic drugs, and implement the narcotic drug traceability supervision method.

[0051] The benefit of the present invention is that by adding a unique identification code to the original narcotic drug data, the standardization and traceability of the data are achieved, the historical supervision data is analyzed for the topological flow, and the basic flow process of narcotic drugs is generated, which lays the foundation for the subsequent steps. The key hubs in the basic flow process are identified, the "head basic steps" are determined, the important control points in the whole process are highlighted, and the whole flow process is reconstructed based on the head basic steps, and a clearer and more orderly "basic flow step chain" is generated. The head basic steps are used to achieve timely update of the unique identification data, generate "head update identification data", and further according to the basic flow step chain, the head update identification data is subsequently continuously updated to generate "post-update identification data". The integration of the head update identification data and the post-update identification data is applied to the supervision execution, and the current circulation of narcotic drugs is fully grasped. Through this method, the traceability supervision of narcotic drugs can be continuously and effectively performed, and the dynamic supervision and control of the entire life cycle can be realized. Therefore, the present method makes full use of data management, process analysis and traceability technology, realizes the full-link coverage of narcotic drug supervision, and improves the accuracy, timeliness and operability of supervision. The benefit of these steps is that they can more effectively regulate the entire life cycle of narcotic drugs, ensure drug safety, and prevent drug abuse.

[0052] The present invention also provides a computer-readable storage medium having a computer program stored thereon, for implementing any one of the methods for tracing and supervising narcotic drugs as described above when the computer program is executed.

[0053] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.

[0054] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A method for tracing the source of narcotic drugs, characterized in that: The following steps are involved: Step S1: Acquire narcotic drug data and historical narcotic drug supervision data; mark the narcotic drug data with a unique identification code to obtain uniquely identified narcotic drug data; perform narcotic drug flow topology analysis on the historical narcotic drug supervision data to generate a basic narcotic drug flow process; Step S2: Identify the hub points of the basic circulation process of narcotic drugs and generate the head basic steps; Based on the head basic steps, the basic hub link of the basic circulation process of narcotic drugs is reconstructed to obtain the basic circulation step chain; Step S3: Based on the head basic step, the chain head contact update is performed on the unique identification narcotic drug data to generate the head update identification data; according to the basic flow step chain, the post-contact update is performed on the head update identification data to generate the post-update identification data; Step S4: Based on the header update identification data and the post-update identification data, the narcotic drug data is traced and supervised to obtain the current circulation data of the narcotic drugs to implement the narcotic drug traceability supervision method.

2. The method for tracing and supervising narcotic drugs according to claim 1, characterized in that: Step S1 includes the following steps: Step S11: Obtain narcotic drug data through legal channels; obtain historical narcotic drug supervision data; Step S12: Encoding the narcotic drug with a unique identification code using the narcotic drug data to generate a narcotic drug unique identification code; Step S13: marking the narcotic drug data based on the narcotic drug unique identification code to obtain unique identification narcotic drug data; Step S14: Mapping the circulation process of historical narcotic drug supervision data to obtain a schematic diagram of the entire drug circulation process; Step S15: dividing the drug circulation process diagram into circulation links and generating independent circulation links; Step S16: Use the schematic diagram of the entire drug circulation process to sort the basic processes of independent circulation links and generate a basic circulation process for narcotic drugs.

3. The method for tracing and supervising narcotic drugs according to claim 1, characterized in that: Step S2 includes the following steps: Step S21: clustering independent circulation steps of the basic circulation process of narcotic drugs to obtain independent circulation step groups; Step S22: grouping the independent circulation steps based on the basic circulation process of narcotic drugs to identify the head steps and generate the head basic steps; Step S23: extracting basic step groups from the basic circulation process of narcotic drugs according to the independent circulation step grouping to generate basic step groups; Step S24: reconstruct the basic hub link of the basic step group based on the head basic step to obtain the basic flow step chain.

4. The method for tracing and supervising narcotic drugs according to claim 3 is characterized in that: Step S22 includes the following steps: Step S221: constructing a process block spectrum for the basic circulation process of narcotic drugs to generate a process block spectrum matrix; Step S222: performing topological structure decomposition on the process block spectrum matrix to obtain process hierarchical relationship data; Step S223: Based on the process hierarchical relationship data, the head process of the basic circulation process of narcotic drugs is identified to generate a head step set; Step S224: group the independent flow steps according to the head step set, perform head step cutting, and generate head basic steps.

5. The method for tracing the source of narcotic drugs according to claim 1 is characterized in that: Step S3 includes the following steps: Step S31: extract step features of the head basic steps to obtain head step feature data; Step S32: performing a chain head contact update on the unique identification narcotic drug data based on the head step feature data to generate head update identification data; Step S33: remove the head of the basic flow step chain according to the head basic step to obtain the post-attachment step chain; Step S34: Perform a post-contact update on the head update identification data based on the post-attachment step chain to generate post-update identification data.

6. The method for tracing and supervising narcotic drugs according to claim 5 is characterized in that: The chain head tag update of the uniquely identified narcotic drug data based on the head step feature data includes: When the narcotic drugs flow to the head basic step, the identification format is extracted from the unique identification narcotic drug data to generate identification format data; Normalize the head step feature data according to the identification format data to obtain feature conversion data; The feature conversion data is used to update the head step mark of the uniquely identified narcotic drug data to generate the head update identification data.

7. The method for tracing and supervising narcotic drugs according to claim 5, characterized in that: The post-contact update of the head update identification data based on the post-attachment step chain includes: When the narcotic drugs flow to the post-attachment step chain, the post-attachment step chain is located at the current step according to the basic flow step chain to obtain the current step data; Locate the previous step of the current step data to obtain the previous step data; Extracting features from the preceding step data to generate preceding step feature data; Using the feature data of the preceding step to perform a preceding feature scan on the head update identification data, generating a preceding feature content; When the pre-characteristic content is less than the preset characteristic content threshold, a visual early warning is performed on the pre-characteristic content and an alarm is generated; When the preceding feature content is greater than a preset feature content threshold, a post-contact update is performed on the head update identification data based on the current step data to generate post-update identification data.

8. The method for tracing and supervising narcotic drugs according to claim 1, characterized in that: Step S4 includes the following steps: Step S41: performing drug circulation positioning on the anesthetic drug data based on the header update identification data and the post-update identification data to obtain the drug current location data; Step S42: tracing the narcotic drug data according to the current location data of the drug to generate the current circulation data of the narcotic drug; Step S43: Real-time supervision is performed on the current circulation data of narcotic drugs to implement the narcotic drug traceability supervision method.

9. A narcotic drug traceability supervision system, characterized in that: Used to execute the method for tracing and supervising the source of narcotic drugs as claimed in claim 1, the system for tracing and supervising the source of narcotic drugs comprises: The data flow module is used to obtain narcotic drug data and historical narcotic drug supervision data; mark the narcotic drug data with a unique identification code to obtain uniquely identified narcotic drug data; perform narcotic drug flow topology analysis on historical narcotic drug supervision data to generate a basic narcotic drug flow process; The basic hub analysis module is used to identify the hub points of the basic circulation process of narcotic drugs and generate the head basic steps; based on the head basic steps, the basic hub link of the basic circulation process of narcotic drugs is reconstructed to obtain the basic circulation step chain; A supervision mode construction module is used to perform a chain head contact update on the uniquely identified narcotic drug data based on the head basic step to generate head update identification data; perform a post contact update on the head update identification data according to the basic flow step chain to generate post update identification data; The supervision and traceability module is used to perform traceability supervision on narcotic drug data based on the header update identification data and the post-update identification data, obtain the current circulation data of narcotic drugs, and implement the narcotic drug traceability supervision method.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the method for tracing and supervising the source of narcotic drugs as described in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Medical insurance drug traceability supervision method and system based on identifier analysis and block chain

    CN114202348A

  • Supply chain tracing method and system

    CN116258506A

  • Whole-cycle traceability management platform for traditional Chinese medicine formula granules

    CN117422482A

  • Staged data life cycle safety assessment method and system

    CN118569655A

  • Intelligent anesthesiology medicine distribution charging method and system

    CN118969224A