Decentralized drug circulation management system and method thereof
By adopting decentralized storage and generation of circulation supervision data in the drug circulation management system, the problems of high cost of circulation management and poor data security in the existing technology of medicines are solved, and effective monitoring and management of the drug circulation process is achieved.
Patent Information
- Application Number
- CN202111605244.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-25
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2041-12-25
AI Technical Summary
The current technology of traditional Chinese medicine circulation management relies on centralized methods, which leads to high costs and poor data security, making it difficult to effectively supervise the circulation process of drugs.
Adopt a decentralized drug circulation management system to generate circulation supervision data through the channel subsystem and perform decentralized storage in the channel subsystem to ensure the security and integrity of the data.
It realizes monitoring and management of drug flow processes, ensures data security, avoids data loss or tampering, and realizes complete supervision of drug flow processes.
Smart Images

Figure CN114240515B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of drug circulation management, and in particular to a decentralized drug circulation management system and method thereof. Background Art
[0002] Drug safety is related to people's life safety and social stability. Drug safety issues such as fake drugs, inferior drugs, expired drugs, and illegal drug trafficking will have a very bad impact on people's life and health and national development. Therefore, drugs need to be highly regulated. Drug safety involves all aspects of drug production, circulation, and sales. Any problem in any link will lead to drug safety issues, so supervision is very difficult. At present, drugs are mainly marked by electronic drug supervision codes, and then the relevant data in the drug circulation process is managed and stored in a centralized manner, which is costly and has poor data security. Summary of the invention
[0003] In order to address the deficiencies in the prior art, the present invention provides a decentralized drug circulation management system and method thereof, which utilizes a channel subsystem to generate circulation supervision data, and then utilizes the circulation supervision data to record the circulation process of drugs, so as to realize the monitoring and management of the drug circulation process, and the circulation supervision data is stored in the channel subsystem in a decentralized manner, which can ensure the security of the data and avoid data loss or tampering.
[0004] In order to achieve the above-mentioned purpose, the specific scheme adopted by the present invention is: a decentralized drug circulation management system, comprising:
[0005] Coding subsystem, used to set electronic supervision codes on drugs;
[0006] The channel subsystem is used to generate circulation supervision data based on the electronic supervision code during the drug circulation process, and to build a circulation supervision network based on the circulation supervision data;
[0007] The sales subsystem is used to generate terminal sales data based on the electronic supervision code and input the terminal sales data into the circulation supervision network.
[0008] As a further optimization of the above-mentioned centralized drug circulation management system: the coding subsystem includes multiple coding devices, and the coding devices are correspondingly set up in drug manufacturers;
[0009] The channel subsystem includes multiple channel hosts, which are set up in drug distribution merchants. The distribution supervision network depends on the channel hosts.
[0010] The sales subsystem includes multiple sales hosts, which are set up in drug sales stores and connected to the circulation supervision network.
[0011] A decentralized drug circulation management method, based on the above-mentioned decentralized drug circulation management system, comprises the following steps:
[0012] S1. Drug manufacturers use coding equipment to set electronic supervision codes on drugs during the production process;
[0013] S2. When drugs are sold from drug manufacturers to drug distributors, the channel host obtains the electronic supervision code and generates circulation supervision data based on the electronic supervision code. After the circulation supervision data is generated, it is transmitted in the circulation supervision network;
[0014] S3. When drugs are transferred between drug distributors or between drug distributors and drug sales outlets, the drug distributors that transfer out drugs update the circulation supervision data, and the updated circulation supervision data is transmitted in the circulation supervision network;
[0015] S4. When drugs are sold from drug sales outlets, the sales host generates terminal sales data based on the electronic supervision code and transmits the terminal sales data to the circulation supervision network.
[0016] As a further optimization of the above-mentioned decentralized drug circulation management method: in S2, after the channel host obtains the electronic supervision code of the drug, it combines the electronic supervision code with the merchant identification code of the drug circulation merchant where it is located to generate circulation supervision data.
[0017] As a further optimization of the above-mentioned decentralized drug circulation management method: in S2 and S3, after the circulation supervision data is generated or updated, if the network status of the channel host is connected, the channel host broadcasts the circulation supervision data in the circulation supervision network; if the network status of the channel host is disconnected, the channel host encrypts the circulation supervision data, and waits for the network status to be restored to connected before broadcasting the circulation supervision data in the circulation supervision network.
[0018] As a further optimization of the above-mentioned decentralized drug circulation management method: in S4, the sales host combines the electronic supervision code with the store identification code of the drug sales store where it is located to generate terminal sales data.
[0019] As a further optimization of the above decentralized drug circulation management method: the method further includes the following steps:
[0020] S5. After receiving the terminal sales data, the channel host searches the circulation supervision data stored in itself based on the electronic supervision code, and establishes a mapping relationship between the retrieved circulation supervision data and the terminal sales data.
[0021] As a further optimization of the above decentralized drug circulation management method: the method further includes the following steps:
[0022] S6. When the storage time of the terminal sales data in the channel host exceeds the life cycle, the channel host packages the circulation supervision data and the terminal sales data as data to be checked based on the mapping relationship.
[0023] Beneficial effects: The present invention utilizes the channel subsystem to generate circulation supervision data, and then utilizes the circulation supervision data to record the circulation process of drugs, so as to realize the monitoring and management of the circulation process of drugs, and the circulation supervision data is stored in the channel subsystem in a decentralized manner, which can ensure the security of the data and avoid data loss or tampering. In addition, the present invention also generates terminal sales data through the sales subsystem, and utilizes the terminal sales data to terminate the circulation supervision data, so as to realize the complete supervision of the circulation process of drugs. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a structural block diagram of the circulation management system of the present invention;
[0025] Figure 2 It is a flow chart of the circulation management method of the present invention DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] See also Figure 1 , a decentralized drug circulation management system, including coding subsystem, channel subsystem and sales subsystem.
[0028] The coding subsystem is used to set the electronic supervision code on the medicine. The coding subsystem includes multiple coding devices, which are set up in the drug manufacturer. The electronic supervision code is used to mark the medicine. The electronic supervision code and the coding device are both conventional means in this field and will not be described here.
[0029] The channel subsystem is used to generate circulation supervision data based on the electronic supervision code during the drug circulation process, and to build a circulation supervision network based on the circulation supervision data. The channel subsystem includes multiple channel hosts, which are correspondingly set in drug circulation merchants, and the circulation supervision network depends on the construction of the channel hosts. The circulation supervision data is used to record the circulation of drugs between drug circulation merchants and between drug circulation merchants and drug sales stores. Because the circulation supervision data is generated based on the electronic supervision code, the circulation supervision data has the same function of marking drugs as the electronic supervision code. The circulation supervision network is used to transmit circulation supervision data. The decentralized storage of circulation supervision data can be realized through the circulation supervision network to improve data security. Specifically, the circulation supervision data is stored in each channel host in the circulation supervision network.
[0030] The sales subsystem is used to generate terminal sales data based on the electronic supervision code and input the terminal sales data into the circulation supervision network. The sales subsystem includes multiple sales hosts, which are set up in drug sales stores and connected to the circulation supervision network. After the terminal sales data is input into the circulation supervision network, it can be paired with the circulation supervision data to process the circulation supervision data according to the terminal sales data, thereby terminating the circulation process of the drug.
[0031] The present invention utilizes the channel subsystem to generate circulation supervision data, and then utilizes the circulation supervision data to record the circulation process of drugs, so as to realize the monitoring and management of the circulation process of drugs, and the circulation supervision data is stored in the channel subsystem in a decentralized manner, which can ensure the security of the data and avoid data loss or tampering. In addition, the present invention also generates terminal sales data through the sales subsystem, and utilizes the terminal sales data to terminate the circulation supervision data, so as to realize the complete supervision of the circulation process of drugs.
[0032] The circulation management system also includes an external supervision subsystem, which includes multiple external supervision hosts. The external supervision hosts are set up in drug supervision and administration bureaus at all levels. All external supervision hosts build an external supervision network, and the channel hosts are connected to the external supervision network. The circulation supervision network and the external supervision network are parallel. When problems occur in the circulation supervision network, the channel host sends a warning to the external supervision network.
[0033] In the present invention, both the channel host and the sales host can be implemented using computers based on X86 processors or ARM processors. Because the channel host needs to be used to store circulation supervision data, its data storage pressure is greater, so it has higher requirements for processing performance, storage load capacity and network load capacity, while the sales host has lower requirements for these performances. The appropriate model and specifications can be selected according to the actual situation, which will not be elaborated here.
[0034] See also Figure 2 The present invention also provides a decentralized drug circulation management method. Based on the above-mentioned decentralized drug circulation management system, the method includes S1 to S4.
[0035] S1. Drug manufacturers use coding equipment to set electronic supervision codes on drugs during the production process. Electronic supervision codes can be set one for each drug. One can be a box, a bottle, or a pill, etc., which can reduce the use of electronic supervision codes, and then reduce the data size of electronic supervision codes, and ultimately reduce the storage load of the channel host.
[0036] S2. When drugs are sold from drug manufacturers to drug distributors, the channel host obtains the electronic supervision code and generates circulation supervision data based on the electronic supervision code. After the circulation supervision data is generated, it is transmitted in the circulation supervision network. In S2, after the channel host obtains the electronic supervision code of the drug, it combines the electronic supervision code with the merchant mark code of the drug distributor where it is located to generate circulation supervision data. The merchant mark code is used to mark the drug distributor. The merchant mark code can be generated based on the unified credit society code of the drug distributor and the regional code of the drug distributor. When the merchant has business premises in multiple regions at the same time, an independent internal identification code can be set for each business premises. When generating circulation supervision data, the regional code of the registered place of the drug distributor is combined with the internal identification code and the unified credit society code to generate circulation supervision data. The regional code can use the current administrative region code. At present, the regional codes of districts and counties usually use six digits. In order to facilitate drug distributors to set internal identification codes, the regional code can be extended backward to ten digits, and the newly added four digits are used to store the internal identification code. The merchant marking code can be stored in the form of [unified credit society code, regional code, internal identification code]. The merchant marking code has a high degree of specificity and can efficiently mark the drug distributors involved in the drug circulation process to avoid confusion. The circulation supervision data can be in the form of [electronic supervision code, circulation time, merchant marking code], so as to effectively record at what time the drug circulated to which drug distributor, which is more convenient for management.
[0037] S3, when the drug is transferred between drug distributors and when the drug distributors and drug sales stores are transferred, the drug distributors who transfer out the drug update the circulation supervision data, and the updated circulation supervision data are transmitted in the circulation supervision network. Because the sales host does not need to store the circulation supervision data, and the equipment performance is limited by the operating cost, when the circulation supervision data is transferred from the drug distributor to the drug sales store, the channel host of the drug distributor who transfers out the drug updates the circulation supervision data, and transmits the circulation supervision data in the circulation supervision network, so that the sales host does not need to participate in the circulation process of the circulation supervision data, reducing the pressure of the sales host. Correspondingly, when the circulation supervision data circulates between drug distributors, the channel host of the drug distributor who transfers out the drug also updates the circulation supervision data, so that the update process of the drug supervision code remains consistent, so as to reduce the complexity of the method. Because the circulation supervision data is generated based on the combination of the electronic supervision code and the merchant mark code, when updating the circulation supervision data, the channel host of the drug distributor who transfers out the drug integrates the merchant mark code of the drug distributor who receives the drug or the store mark code of the drug sales store into the current circulation supervision data to complete the update. Considering that many drug sales stores are chain operations, in this case, the unified credit society code of the drug sales store head office can be combined with the store code of the drug sales store to form a store mark code for updating the circulation supervision data. The specific update method can be to integrate the merchant mark code and circulation time of the drug distribution merchant that receives the drug into the existing circulation supervision data. For example, when the drug is transferred from drug distribution merchant 1 to drug distribution merchant 2, the circulation supervision data can be updated in the form of [electronic supervision code, circulation time, merchant mark code 1, circulation time, merchant mark code 2]. When the drug is transferred from the drug distribution merchant to the drug sales store, the circulation supervision data can be updated in the form of [electronic supervision code, circulation time, merchant mark code, circulation time, store mark code]. With the continuous circulation of drugs, the amount of circulation supervision data will continue to increase. It can be stored in a compressed manner. When updating, it is first decompressed and then recompressed, thereby reducing the storage pressure of the channel host. The store mark code can be in the same form as the merchant mark code, which will not be repeated here.
[0038] In order to prevent drug distributors from blocking the transmission of circulation supervision data in the circulation supervision network by cutting off the network and tampering with the circulation supervision data locally, in S2 and S3, after the circulation supervision data is generated or updated, if the network status of the channel host is connected, the channel host broadcasts the circulation supervision data in the circulation supervision network; if the network status of the channel host is disconnected, the channel host encrypts the circulation supervision data and waits for the network status to recover to be connected before broadcasting the circulation supervision data in the circulation supervision network. When the channel host monitors that the network is disconnected, the circulation supervision data is protected by encryption to prevent the circulation supervision data from being tampered with locally by drug distributors, thereby ensuring the correctness of the circulation supervision data, and then ensuring that the circulation process of drugs can be supervised by the circulation supervision data. In order to further improve the security of circulation supervision data, when the channel host monitors that the network is disconnected, the current time is recorded and the network interruption duration is recorded. The timing can be realized by the clock circuit inside the channel host. When the network interruption duration exceeds the set first threshold, the channel host terminates the transmission process of the circulation supervision data. At this time, the encrypted circulation supervision data is stored locally. When the network condition is restored, the encrypted circulation supervision data is sent to the external supervision network. An external supervision host with the closest communication distance to the channel host receives and stores the encrypted circulation supervision data. The specific encryption method and key can be generated by the external supervision host through negotiation in the external supervision network, and input into the circulation supervision network through one of the external supervision hosts. A channel host with the closest communication distance to the external supervision host receives the encryption method and key and broadcasts it in the circulation supervision network. The encryption method and key can be updated regularly. When an external supervision host receives the encrypted circulation supervision data, it uses all the generated encryption methods and keys to try to decrypt, so as to decrypt the circulation supervision data. When an external supervision host receives the encrypted circulation supervision data, it indicates that the drug circulation merchant where the channel host is located may have operating problems, and a warning message is generated so that the Drug Supervision and Administration Bureau can verify it in time to ensure the security of the drug circulation process. When the network interruption duration exceeds the set second threshold, the channel host exits the circulation supervision network. At the same time, the remaining channel hosts cannot communicate with the channel host smoothly within the duration of the second threshold, so an alarm message is generated and sent to the external supervision network, so that the Drug Supervision and Administration Bureau can quickly respond to the inspection of drug distribution merchants. During the inspection, a mobile storage device with all historical encryption methods and keys can be carried, and the mobile storage device can be connected to the channel host. After the channel host verifies the encryption method and key stored in the mobile storage device, it can send the encrypted circulation supervision data stored in itself to the mobile storage device for the Drug Supervision and Administration Bureau to view. Obviously, the second threshold should be greater than the first threshold.In order to avoid adverse consequences caused by network fluctuations, drug distribution merchants should set up multiple network connection methods for channel hosts, such as wired network connection, mobile network connection and satellite network connection. Different network connection methods can complement each other to ensure that the channel host has a good network condition, and set up emergency power supply to ensure that various network connection methods can be implemented normally. In order to ensure that the remaining channel hosts can accurately find the channel host that has withdrawn from the circulation supervision network, the channel host should periodically broadcast a connection confirmation message in the circulation supervision network. The connection confirmation message includes the connection time and the physical address of the channel host. When the remaining channel hosts still do not receive a connection confirmation message sent by a certain channel host after exceeding the second threshold, it can be determined that the channel host has withdrawn from the circulation supervision network. When a new channel host is connected to the circulation supervision network, the existing channel host can also discover itself by broadcasting a connection confirmation message to realize the access process. The encryption method and key can have an effective period. When the encryption method and key are stored in the channel host or the external supervision host for a period of time, the channel host and the external supervision host delete the encryption method and key to avoid long-term and large-scale storage of the encryption method and key, resulting in excessive storage load on the channel host and the external supervision host.
[0039] S4. When the drug is sold from the drug sales store, the sales host generates terminal sales data based on the electronic supervision code and transmits the terminal sales data to the circulation supervision network. The terminal sales data is used to record the final sales of the drug. For prescription drugs, when the drug purchaser chooses to use mobile payment methods such as Alipay or WeChat, the identity information of the account used can be extracted. When the drug purchaser chooses to use cash payment, the identity information of the drug purchaser can be collected by reading the drug purchaser's ID card. The identity information can be the drug purchaser's ID number. After the identity information is obtained, the sales host packages the identity information with the drug's electronic supervision code and sales time as terminal sales data, and then transmits it to the circulation supervision network. The channel host with the closest communication distance to the sales host receives the terminal sales data and broadcasts it in the circulation supervision network; for over-the-counter drugs, the identity information of the drug purchaser can be not collected, and the electronic supervision code and sales time can be directly packaged as terminal sales data and transmitted to the circulation supervision network. The channel host with the closest communication distance to the sales host receives the terminal sales data and broadcasts it in the circulation supervision network.
[0040] In order to record the final sales of drugs in more detail, in S4, the sales host combines the electronic supervision code with the store identification code of the drug sales store where it is located to generate terminal sales data.
[0041] S5. After the channel host receives the terminal sales data, it searches the circulation supervision data stored in itself based on the electronic supervision code, and establishes a mapping relationship between the retrieved circulation supervision data and the terminal sales data. Due to the special nature of drugs, drugs cannot be returned or exchanged after sales are completed. Therefore, drugs will lose their circulation among drug distributors after they are sold. At this time, the circulation supervision data in the circulation supervision network cannot be updated. By establishing a mapping relationship between the circulation supervision data and the terminal data, it is convenient to synchronously process the circulation supervision data and terminal sales data corresponding to a drug in the later stage to reduce the storage load of the channel host.
[0042] S6. When the storage time of the terminal sales data in the channel host exceeds the life cycle, the channel host packages the circulation supervision data and the terminal sales data as data to be checked based on the mapping relationship. Because the drug itself has an expiration date, the drug that exceeds the expiration date cannot be used. Therefore, after the drug is sold, the life cycle of the drug can be obtained based on the expiration date and sales time of the drug. When the storage time of the terminal sales data in the channel host exceeds the life cycle, it can be considered that the drug has expired, and the corresponding circulation supervision data and terminal sales data have also lost their timeliness. Therefore, it is packaged as data to be checked and cold backup is performed to reduce the storage load of the channel host. At the same time, it can also be used as backup data for the Drug Supervision and Administration Bureau to view. Because the expiration date of the drug has been determined when it leaves the factory, the expiration date of the drug can be integrated into the electronic supervision code. Specifically, the electronic supervision code is extended backward by n bits, and the initial two bits of the extended n bits are used to separate the electronic supervision code and the expiration date, and the remaining n-2 bits are used to store the expiration date. The expiration date can be stored in the form of the last day.
[0043] Because when drugs are transferred from drug distributors to drug sales stores, the updated circulation supervision data includes the store identification code of the drug sales store, and the terminal sales data also includes the store identification code. Therefore, after the channel host receives the terminal sales data, it can verify the terminal sales data with the circulation supervision data. If the store identification codes in the two are consistent, it means that the final sales method of the drug is legal, and then the circulation supervision data and the terminal sales data are packaged as data to be checked. If the store identification codes in the two are inconsistent, it means that the final sales method of the drug is illegal, and then the channel host generates an illegal warning message containing the circulation supervision data and the final sales data, and transmits the illegal warning message to the external supervision network to issue a warning to the Drug Supervision and Administration Bureau.
[0044] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one 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 rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A decentralized drug circulation management method, based on a decentralized drug circulation management system, characterized in that: The system comprises: Coding subsystem, used to set electronic supervision codes on drugs; The channel subsystem is used to generate circulation supervision data based on the electronic supervision code during the drug circulation process, and to build a circulation supervision network based on the circulation supervision data; The sales subsystem is used to generate terminal sales data based on the electronic supervision code and input the terminal sales data into the circulation supervision network; The method comprises the following steps: S1. Drug manufacturers use coding equipment to set electronic supervision codes on drugs during the production process; S2. When drugs are sold from drug manufacturers to drug distributors, the channel host obtains the electronic supervision code and generates circulation supervision data based on the electronic supervision code. After the circulation supervision data is generated, it is transmitted in the circulation supervision network; S3. When drugs are transferred between drug distributors or between drug distributors and drug sales outlets, the drug distributors that transfer out drugs update the circulation supervision data, and the updated circulation supervision data is transmitted in the circulation supervision network; In S2 and S3, after the circulation supervision data is generated or updated, if the network status of the channel host is connected, the channel host broadcasts the circulation supervision data in the circulation supervision network; if the network status of the channel host is disconnected, the channel host encrypts the circulation supervision data and waits for the network status to recover to be connected before broadcasting the circulation supervision data in the circulation supervision network; When the channel host monitors that the network is disconnected, it records the current time and starts to record the duration of the network interruption. When the duration of the network interruption exceeds the set first threshold, the channel host terminates the process of sending the circulation supervision data. At this time, the encrypted circulation supervision data is stored locally. When the network condition is restored, the encrypted circulation supervision data is sent to the external supervision network. An external supervision host with the closest communication distance to the channel host receives and stores the encrypted circulation supervision data. The encryption method and key are generated by the external supervision host through negotiation in the external supervision network and updated regularly, and are input into the circulation supervision network through one of the external supervision hosts. A channel host with the closest communication distance to the external supervision host receives the encryption method and key, and broadcasts it in the circulation supervision network. When a certain external supervision host receives the encrypted circulation supervision data, it uses all the generated encryption methods and keys to decrypt the circulation supervision data. S4. When drugs are sold from drug sales outlets, the sales host generates terminal sales data based on the electronic supervision code and transmits the terminal sales data to the circulation supervision network.
2. The method according to claim 1, characterized in that: The coding subsystem includes multiple coding devices, which are correspondingly set up in drug manufacturers; The channel subsystem includes multiple channel hosts, which are set up in drug distribution merchants. The distribution supervision network depends on the channel hosts. The sales subsystem includes multiple sales hosts, which are set up in drug sales stores and connected to the circulation supervision network.
3. The method according to claim 1, characterized in that In S2, after the channel host obtains the electronic supervision code of the drug, it combines the electronic supervision code with the merchant identification code of the drug distributor where it is located to generate circulation supervision data.
4. The method according to claim 1, characterized in that In S4, the sales host combines the electronic supervision code with the store identification code of the drug sales store where it is located to generate terminal sales data.
5. The method according to claim 4, characterized in that The method further comprises the steps of: S5. After receiving the terminal sales data, the channel host searches the circulation supervision data stored in itself based on the electronic supervision code, and establishes a mapping relationship between the retrieved circulation supervision data and the terminal sales data.
6. The method according to claim 5, characterized in that The method further comprises the steps of: S6. When the storage time of the terminal sales data in the channel host exceeds the life cycle, the channel host packages the circulation supervision data and the terminal sales data as data to be checked based on the mapping relationship.
Citation Information
Patent Citations
Digital currency double offline payment realization method, device and apparatus and storage medium
CN111144862A
Drug traceability method and device based on blockchain, server and medium
CN112163869A