CN-121981479-A - Drug online transaction instant distribution system based on prescription intelligent verification
Abstract
The invention discloses an on-line trading instant delivery system for medicines based on prescription intelligent verification, which relates to the technical field of on-line trading and logistics delivery, and the invention adopts a medicine order splitting and merging optimization model of an improved greedy algorithm through a built-in order scheduling core module, combines a medicine priority dynamic grading mechanism and a splitting and merging threshold dynamic adjustment mechanism, so as to realize intelligent analysis on prescription orders passing verification, the model can calculate the splitting quantity and the goods dispatching cost of orders combined by different stores, generate an optimal store combination scheme for minimizing splitting, and merge a plurality of prescription orders submitted by the same user, and simultaneously, a path planning module plans the shortest medicine taking delivery path according to the optimal store combination scheme or store distribution of merged orders, thereby greatly shortening delivery time.
Inventors
- PENG YI
- ZHANG PENG
- LU CHANG
Assignees
- 武汉小药药医药科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260126
Claims (10)
- 1. The on-line trading instant delivery system for the medicine based on the prescription intelligent verification is characterized by comprising the following components of a prescription intelligent verification module, an order scheduling core module, an inventory data acquisition module, a path planning module and an order exception processing module; The prescription intelligent verification module is used for executing a multi-level verification process on the prescriptions uploaded by the user; The order scheduling core module is in communication connection with the prescription intelligent verification module, is internally provided with a medicine order splitting and merging optimization model for improving a greedy algorithm, is provided with a medicine priority dynamic grading mechanism and a splitting and merging threshold dynamic adjusting mechanism, and is used for intelligently analyzing the inventory distribution of medicines in a single prescription passing verification, calculating the splitting quantity and the goods dispatching cost of orders of different store combinations, generating an optimal store combination scheme for minimizing splitting, simultaneously merging a plurality of prescription orders submitted by the same user and marking a combined medicine total list and corresponding stores; the inventory data acquisition module is in butt joint with a management system of a cooperative pharmacy in an area, and adopts a dynamic layering acquisition mechanism to acquire medicine inventory data, medicine expiration date data and store position information of each pharmacy in real time; The path planning module is linked with the order scheduling core module, constructs a real-time dynamic path optimization model, and plans the shortest medicine taking and distributing path according to an optimal store combination scheme or store distribution of combined orders; The order exception handling module is in communication connection with the order dispatching core module and the inventory data acquisition module, and is used for configuring a multi-level standby store matching mechanism and handling abnormal situations such as store inventory shortage and the like.
- 2. The on-line transaction instant distribution system based on the prescription intelligent verification is characterized in that the multi-level verification process set by the prescription intelligent verification module comprises the steps of firstly, an OCR recognition unit adopts a deep learning recognition model based on an attention mechanism to extract key information of a medicine name, a specification, a dosage, a doctor name and a medical institution name in a prescription, simultaneously collects stroke trend and pressure distribution characteristics of prescription handwriting to form handwriting feature vectors, secondly, a blockchain verification unit carries out comparison on the extracted doctor name and medical institution name and electronic signature information stored in a blockchain in an electronic signature system of the medical institution in a butting area, simultaneously matches the handwriting feature vectors with handwriting samples stored in a blockchain, double verifies the prescription, thirdly, a medicine contraindication comparison unit links an electronic medical record database of a patient with a national medicine adverse reaction monitoring database, carries out cross comparison on medical history, allergy history and past medicine records of the patient, simultaneously carries out combined medication contraindication between the medical records and a medical institution, carries out verification on the medical institution name and medical institution, and medical institution name of the doctor and the electronic signature information of the doctor are matched with the handwriting sample stored in the blockchain, and a specific medicine is generated through a verification code of the prescription, and a specific label is passed through a verification end, and a specific label is passed through the prescription label.
- 3. The drug online transaction instant delivery system based on prescription intelligent verification of claim 1, wherein a drug order splitting and merging optimization model of an improved greedy algorithm in the order scheduling core module constructs a multi-objective optimization function, and the expression of the function is: wherein For the number of sub-orders split for a single prescription, As a total distribution cost for the sub-orders, For the average delivery duration of the sub-orders, For the drug priority adaptation coefficients, 、 、 、 Is a weight coefficient.
- 4. The on-line trading instant distribution system based on prescription intelligent verification according to claim 1 is characterized in that a dynamic grading mechanism of medicine priority is set by an order scheduling core module, and the dynamic grading mechanism comprises the steps of constructing a medicine priority evaluation index system comprising four primary indexes of clinical application, medication urgency, temperature sensitive property and storage condition of medicines, setting 3-4 secondary indexes under each primary index, determining weights of the indexes by adopting a hierarchical analysis method, constructing a judgment matrix, determining weight values of the indexes after consistency verification, grading each prescription medicine according to the evaluation index system and the weight values, and dividing the prescription medicines into special grade, primary grade, secondary grade and tertiary grade according to grading results, wherein the special grade priority comprises first-aid medicines, special management medicines, the primary grade priority comprises chronic disease common medicines and temperature sensitive medicines, and in the order splitting and combining process, the system guarantees the resources of special grade and primary grade priority medicines to ensure that the medicines can be matched with a nearest store in priority and distribution distance.
- 5. The on-line trading instant distribution system based on prescription intelligent verification according to claim 1 is characterized in that a split and combination threshold dynamic adjustment mechanism set by an order scheduling core module comprises the steps of presetting an initial threshold of split and combination of orders, including a maximum sub-order number threshold of split of a single prescription, a minimum medicine number threshold of combination of multiple prescriptions and a maximum distribution radius threshold of combination orders, counting order distribution cost, distribution timeliness and user satisfaction data under different thresholds in real time by the system to construct a threshold optimization evaluation model, adjusting the weight of the evaluation model according to an operation strategy of a platform, increasing the weight of the distribution cost in the model when the platform is stressed, increasing the weight of the distribution timeliness and user satisfaction in the model when the platform is stressed, and dynamically adjusting the threshold once every 7 days by the system to calculate an optimal threshold combination through the evaluation model.
- 6. The on-line trading instant distribution system of medicines based on prescription intelligent verification according to claim 1 is characterized in that a dynamic hierarchical acquisition mechanism constructed by an inventory data acquisition module comprises the steps of firstly classifying medicines of a cooperated pharmacy in an area, dividing the medicines into three layers according to the use frequency and the emergency degree of prescription medicines into three layers, namely a high-frequency emergency class, a high-frequency non-emergency class and a low-frequency class, wherein the high-frequency emergency class comprises first-aid medicines and chronic-disease common medicines, the high-frequency non-emergency class comprises common cold and gastrointestinal discomfort common-disease medicines, the low-frequency class comprises rare-disease medicines and special medicines, secondly setting differentiated data acquisition frequencies for medicines of different layers, synchronously acquiring inventory data, thirdly establishing an inventory data abnormal early warning mechanism, and automatically pushing a replenishment reminder to a medicine store when the inventory number of a certain medicine is lower than a preset safety inventory threshold.
- 7. The drug online transaction instant delivery system based on prescription intelligent verification of claim 1, wherein the real-time dynamic path optimization model constructed by the path planning module has the formula: wherein In order to take the number of medical stores, From the current position to the first position for the dispatcher The base distance of the individual store is determined, Is the first Real-time traffic congestion coefficients for the road segments where the individual stores are located, For the traffic congestion weight, The store is weighted for the drug delivery latency, Is the first Average drug delivery waiting time for individual stores.
- 8. The on-line trading instant distribution system of medicines based on prescription intelligent verification according to claim 1, wherein the multi-stage spare shop matching mechanism constructed by the order anomaly processing module comprises the steps of firstly, feeding abnormal information back to the order anomaly processing module in real time when a temporary shortage or sudden closing situation occurs in a certain shop in an optimal shop combination scheme, secondly, immediately starting the first-stage spare shop matching, screening out the medicine shops with shortage medicine stock in a 1 km radiation range of the shop, preferentially matching the medicine shops with the same chain brand with the original shop, thirdly, starting the second-stage spare shop matching, expanding the radiation range to 3 km, screening the medicine shops with other chain brands in an area, calculating the distribution cost and the distribution duration of the second-stage spare shop, and thirdly, if the second-stage spare shop still has no storage with the requirement, starting the third-stage spare scheme, pushing the information of medicines to a dispatching center of the area, and synchronously dispatching the medicine shops with the emergency end by a dispatching center.
- 9. The on-line trading instant distribution system of medicines based on prescription intelligent verification according to claim 1 is characterized by further comprising a closed loop optimization mechanism of user medication feedback, wherein the system comprises the steps of firstly automatically pushing medication feedback questionnaires to a user terminal after the user signs medicines, wherein the questionnaires comprise multiple dimensions of medicine distribution timeliness, medicine package integrity, medicine expiration date and medication guidance service quality, secondly classifying and sorting information fed back by the user, pushing feedback data related to medicine distribution timeliness to a path planning module and an order scheduling core module, pushing feedback data related to medicine package and expiration date to an inventory data acquisition module and a pharmacy terminal, pushing feedback data related to medication guidance service quality to a pharmacist service module, thirdly, performing targeted optimization according to the user feedback data, and thirdly, periodically feeding an optimization result to the user terminal by the system.
- 10. The on-line trading instant distribution system based on prescription intelligent verification according to claim 1 is characterized by further comprising a built full-flow data security encryption mechanism, and the method comprises the steps of firstly conducting encryption processing on sensitive information such as prescription data, patient health data and pharmacy inventory data, conducting encryption storage on the data through an asymmetric encryption algorithm, secondly setting a data access authority hierarchical management mechanism, dividing system users into five grades of super administrators, system operators, pharmacy administrators, distribution operators and common users, enabling users with different grades to have different data access authorities, thirdly establishing a data operation log recording mechanism, conducting detailed records on access, modification and deletion operation of each data, including operators, operation time and operation content information, enabling log data to be stored through a block chain technology, and fourthly conducting security vulnerability scanning and penetration testing on the system regularly, and timely finding and repairing potential safety hazards of the system.
Description
Drug online transaction instant distribution system based on prescription intelligent verification Technical Field The invention relates to the technical field of drug online transaction and logistics distribution, in particular to a drug online transaction instant distribution system based on prescription intelligent verification. Background With the rapid development of internet technology and the popularization of electronic commerce, on-line transaction of medicines is one of the important ways for patients to acquire medicines, however, medicines are different from general commodities, and the transaction process is required to strictly comply with national laws and regulations, so that medication safety and compliance are ensured. Meanwhile, in the aspects of order scheduling and delivery path planning, the traditional technology often lacks intelligent analysis capability, cannot dynamically adjust a delivery scheme according to factors such as real-time inventory data, traffic conditions and the like, so that the delivery efficiency is low, the user experience is poor, and particularly when the traditional technology faces emergency situations such as store inventory shortage and the like, the traditional technology lacks an effective coping mechanism, so that order performance is easy to fail, and the user experience is further damaged. Aiming at the problems of low auditing efficiency, poor distribution efficiency, weak capability of coping with emergency, insufficient data safety and privacy protection and the like in the traditional drug online transaction technology, it is particularly important to develop a drug online transaction instant distribution system based on prescription intelligent verification. Disclosure of Invention The invention aims to make up the defects of the prior art, provides an on-line transaction instant delivery system for medicines based on intelligent verification of prescriptions, and can realize the automation and the intellectualization of prescription verification, the optimization of order scheduling and the real-time dynamic planning of delivery paths by introducing intelligent technical means. The invention provides a drug online transaction instant distribution system based on prescription intelligent verification, which comprises a prescription intelligent verification module, an order dispatch core module, an inventory data acquisition module, a path planning module and an order exception processing module; The prescription intelligent verification module is used for executing a multi-level verification process on the prescription uploaded by the user to realize the verification of the authenticity of the prescription and the rationality of the medication; The order scheduling core module is in communication connection with the prescription intelligent verification module, is internally provided with a medicine order splitting and merging optimization model for improving a greedy algorithm, is provided with a medicine priority dynamic grading mechanism and a splitting and merging threshold dynamic adjusting mechanism, and is used for intelligently analyzing the inventory distribution of medicines in a single prescription passing verification, calculating the splitting quantity and the goods dispatching cost of orders of different store combinations, generating an optimal store combination scheme for minimizing splitting, simultaneously merging a plurality of prescription orders submitted by the same user and marking a combined medicine total list and corresponding stores; the inventory data acquisition module is in butt joint with a management system of a cooperative pharmacy in an area, and adopts a dynamic layering acquisition mechanism to acquire medicine inventory data, medicine expiration date data and store position information of each pharmacy in real time; The path planning module is linked with the order scheduling core module, constructs a real-time dynamic path optimization model, and plans the shortest medicine taking and distributing path according to an optimal store combination scheme or store distribution of combined orders; The order exception handling module is in communication connection with the order dispatching core module and the inventory data acquisition module, and is used for configuring a multi-level standby store matching mechanism and handling abnormal situations such as store inventory shortage and the like. The method comprises the steps of setting a prescription intelligent verification module, setting a multi-level verification process, wherein the prescription intelligent verification module is used for setting up a prescription intelligent verification module, and comprises the steps of firstly, adopting an attention mechanism-based deep learning recognition model by an OCR recognition unit, extracting key information of a medicine name, a specification, a dosage and a doctor name and a medical institution name in a prescr