Data synchronization method and system based on drug circulation

By detecting and matching in-store and out-of-store requests in drug circulation data, verifying the data table and using cache synchronization server and QR code for permission management, the problem of data update efficiency and effectiveness verification in medical circulation data management is solved. Data consistency and accuracy are achieved.

CN119166720AInactive Publication Date: 2024-12-20SHANGHAI PHARMA PHARMA TECH CONSULTING
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The prior art lacks effective methods in the management of medical circulation data to process and verify the update of transmitted data, especially in the data transmission, processing and application links, making it difficult to achieve data consistency and validity verification.

Method used

Through a data synchronization method based on drug circulation, the drug data associated with inbound and outbound requests are detected, the requests and data tables of the same drug are matched, and the data tables are verified and updated. The cache synchronization server and QR code are used for permission management Check with data to ensure accurate updates and validity of data.

Benefits of technology

It improves the update efficiency of data transmitted in the pharmaceutical circulation process, and conducts accurate and validity verification of the transmitted data to ensure data consistency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166720A_ABST
    Figure CN119166720A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of medicine circulation data management, in particular to a data synchronization method and system based on medicine circulation, and the method comprises the steps: detecting obtained medicine data and real-time storage data associated with a storage request when the storage request transmitted by a medicine storage end is obtained; when the medicine does not accord with the non-circulation type, transmitting the data table verification set to the medicine storage end transmitting the warehousing request, and matching and associating the warehouse-out request of the same medicine data; when a warehouse-out request is obtained, detecting the obtained associated drug data, and matching a warehouse-in request associated with the same drug data; transmitting the data table verification set to the medicine storage end transmitting the ex-warehouse request when the data table verification set is successfully matched with the ex-warehouse request; and after the data of the screening data table is obtained, opening the warehouse-out authority of the cache synchronization server, associated with the data of the screening data table, of the medicine storage end. According to the invention, the updating efficiency of the transmission data in the medicine circulation link can be improved, and the validity verification of the transmitted data is accurately updated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of drug circulation data management, and in particular to a data synchronization method and system based on drug circulation. Background Art

[0002] The three core links of the pharmaceutical distribution chain are: upstream production enterprises (hereinafter referred to as pharmaceutical enterprises), midstream pharmaceutical distribution enterprises, and downstream pharmaceutical terminals, such as hospitals and pharmacies. Pharmaceutical distribution enterprises purchase products from pharmaceutical enterprises or other pharmaceutical distribution enterprises and sell them to pharmaceutical terminals or other pharmaceutical distribution enterprises. Pharmaceutical enterprises need to collect various types of distribution data such as procurement, sales, and inventory from pharmaceutical distribution enterprises that operate their products in order to analyze product sales, and pharmaceutical enterprises can only collect distribution data for their own products.

[0003] In the field of data collection and subsequent links of pharmaceutical distribution enterprises, when data is transmitted in the collection, transmission, processing and application links, the current technology mainly focuses on whether the data is updated in the transmission link. This is a means to ensure data consistency, but there is a lack of effective methods for manual updates by the operation team in the processing and application links. On the other hand, the means to improve the data update in the transmission link are mainly regular increments, full updates and other methods, and there is a lack of effective synchronous update methods to verify the validity of the data transmitted back. Summary of the invention

[0004] To achieve the above objectives, this application provides the following technical solutions:

[0005] According to a first aspect of the present invention, the present invention claims a data synchronization method based on drug circulation, comprising the steps of:

[0006] When a storage request transmitted by the drug storage end is obtained, the drug data associated with the obtained storage request and its real-time storage data are detected, and the real-time storage data includes uncirculated types and circulated types;

[0007] When the drugs in the uncirculated type are not met in real time, the data table check set is transmitted to the drug storage end that transmits the input request, so as to prepare for screening the input data table, and matching the outbound request associated with the same drug data based on the drug data associated with the input request;

[0008] When an outbound request transmitted by the drug storage end is obtained, the drug data associated with the obtained outbound request is detected, and an inbound request associated with the same drug data is matched based on the drug data associated with the outbound request;

[0009] When the inbound request and outbound request associated with the same drug data are successfully matched, the data table check set is transmitted to the drug storage end that transmits the outbound request for preparation of screening the outbound data table;

[0010] When the outbound data table transmitted by the drug warehouse end is obtained, a verification directory is obtained, and the verification directory is transmitted to the drug warehouse end that transmits the outbound request. The verification directory includes multiple data tables located between the outbound data table and the inbound data table and satisfying the cache synchronization server;

[0011] After obtaining the screening data table data fed back by the drug warehouse, the outbound permission of the cache synchronization server associated with the screening data table data of the drug warehouse is opened.

[0012] Furthermore, a QR code is associated with each drug. When a delivery request transmitted by the drug storage end is obtained, the drug data associated with the acquired delivery request is detected, and after the step of matching the drug data associated with the delivery request with the incoming request associated with the same drug data, the following steps are performed:

[0013] If the matching of the incoming request with the same drug data associated with the outgoing request fails within the preset period, the outgoing permission of the drug storage end that transmits the outgoing request is opened;

[0014] When a first matching instruction including the patient attribute data and the QR code data transmitted by the cache synchronization server is obtained, the patient attribute data and the QR code data are checked;

[0015] When both the patient attribute data and the QR code data are successfully verified, an opening request is transmitted to the cache synchronization server that transmits the first matching instruction to schedule the opening of its medicine shelf.

[0016] Furthermore, when both the patient attribute data and the QR code data are successfully verified, after the step of transmitting the opening request to the cache synchronization server that transmits the first matching instruction to schedule the opening of its medicine shelf, the following steps are performed:

[0017] After obtaining the outbound instruction transmitted by the cache synchronization server, a closing request is transmitted to the cache synchronization server that transmitted the outbound instruction to schedule the closing of its medicine shelf;

[0018] The version data of the cache synchronization server is detected, and the version data and the drug data associated with the QR code data of the outbound drug are mapped and recorded.

[0019] Furthermore, the cache synchronization server is internally provided with a manufacturer acquisition terminal. When the outbound instruction transmitted by the cache synchronization server is acquired, a closing request is transmitted to the cache synchronization server that transmits the outbound instruction to schedule the closing of its medicine shelf, including the steps of:

[0020] When the cache synchronization server obtains the acquired producer transmitted by the producer acquisition terminal, it transmits the acquired producer to the producer detection model;

[0021] The manufacturer detection model performs detection and matching operations on the obtained manufacturers;

[0022] After the cache synchronization server obtains the manufacturer's successful matching instruction for obtaining the model output, it obtains the outbound instruction transmitted by the cache synchronization server.

[0023] Further, after obtaining the screening data table data fed back by the drug warehouse end, after opening the outbound authorization of the cache synchronization server associated with the screening data table data of the drug warehouse end, the following steps are performed:

[0024] When obtaining the outbound instruction transmitted by the cache synchronization server associated with the data in the screening data table, transmitting a closing request to the cache synchronization server that transmitted the outbound instruction, so as to schedule the closing of its medicine shelf;

[0025] Detect the version data of the cache synchronization server, and transmit the version data and the screening data table data to the drug storage end that transmits the input warehouse request;

[0026] When a second matching instruction including the patient attribute data transmitted by the cache synchronization server is obtained, checking the patient attribute data;

[0027] When the patient attribute data is successfully verified, an open request is transmitted to the cache synchronization server that transmits the second matching instruction to schedule the opening of its medicine shelf.

[0028] Further, when the real-time does not meet the requirements of the uncirculated drugs, the data table check set is transmitted to the drug storage end that transmits the input request, so as to prepare for screening the input data table, and after the step of matching the drug data associated with the input request with the outbound request associated with the same drug data, the following steps are performed:

[0029] If the outbound request with the same drug data associated with the inbound request fails to be matched within the preset period, the circulation period of all the drugs of the circulated type included in the drug data associated with the inbound request is obtained;

[0030] If a drug has a circulation cycle that is longer than a preset standard circulation cycle, an early warning notification is transmitted to the drug storage terminal where the drug is stored in real time.

[0031] Further, when the outbound data table transmitted by the drug warehouse end is obtained, a verification directory is obtained, and the verification directory is transmitted to the drug warehouse end that transmits the outbound request, and the verification directory includes multiple steps of data tables located between the outbound data table and the inbound data table and satisfying the cache synchronization server, including the steps of:

[0032] When the outbound data table transmitted by the drug storage end is obtained, the data table that is closest to the midpoint of the line connecting the outbound data table and the inbound data table and satisfies the cache synchronization server is obtained, and it is configured as a temporary data table;

[0033] Obtain all data tables that meet the cache synchronization server requirements within a preset interval around the temporary data table, and configure them as reference data tables;

[0034] A verification catalog including a temporary data table and a reference data table is obtained, and the verification catalog is transmitted to the drug storage end that transmits the outbound request.

[0035] Furthermore, the step of obtaining all data tables that meet the requirements of the cache synchronization server within a preset interval around the temporary data table and configuring them as reference data tables includes the steps of:

[0036] If the number of the reference data tables is not greater than one, the preset interval is increased until the number of the reference data tables is at least two.

[0037] According to a second aspect of the present invention, the present invention claims protection for a data synchronization system based on drug circulation, comprising:

[0038] A data detection unit is configured to detect the drug data associated with the acquired entry request and its real-time entry data when acquiring the entry request transmitted by the drug storage end, and is configured to detect the drug data associated with the acquired exit request when acquiring the exit request transmitted by the drug storage end;

[0039] The storage data table determination unit is configured to transmit the data table check set to the drug storage end that transmits the storage request when the drug in the non-circulation type is not satisfied in real time, so as to prepare for screening the storage data table;

[0040] An incoming drug matching unit, configured to match incoming drug requests associated with the same drug data based on drug data associated with an outbound request;

[0041] An outbound drug matching unit configured to match an outbound request associated with the same drug data based on the drug data associated with the inbound request;

[0042] The outbound data table determination unit is configured to transmit the data table verification set to the drug storage end that transmits the outbound request when the inbound request and the outbound request associated with the same drug data are successfully matched;

[0043] The verification directory operation unit is configured to obtain the verification directory when obtaining the outbound data table transmitted by the drug warehouse end, and transmit the verification directory to the drug warehouse end that transmits the outbound request;

[0044] The data synchronization system based on drug circulation is used to execute the data synchronization method based on drug circulation.

[0045] The present application relates to the technical field of drug circulation data management, and in particular to a data synchronization method and system based on drug circulation. When an entry request transmitted by a drug storage end is obtained, the drug data associated with the entry request and the real-time entry data are detected; when the drug does not meet the uncirculated type, a data table check set is transmitted to the drug storage end that transmits the entry request, and the exit request associated with the same drug data is matched; when an exit request is obtained, the associated drug data is detected and the entry request associated with the same drug data is matched; when the exit request is successfully matched, the data table check set is transmitted to the drug storage end that transmits the exit request; when the screening data table data is obtained, the exit permission of the cache synchronization server associated with the screening data table data of the drug storage end is opened. The present invention can improve the update efficiency of the transmitted data in the pharmaceutical circulation link, and accurately update the validity verification of the transmitted data. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A workflow diagram of a data synchronization method based on drug circulation claimed in an embodiment of the present application;

[0047] Figure 2 A second working flow chart of a data synchronization method based on drug circulation claimed in an embodiment of the present application;

[0048] Figure 3 A third workflow diagram of a data synchronization method based on drug circulation claimed in an embodiment of the present application;

[0049] Figure 4 A fourth workflow diagram of a data synchronization method based on drug circulation claimed in an embodiment of the present application;

[0050] Figure 5 This is the fifth workflow diagram of a data synchronization method based on drug circulation that is claimed for protection in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0052] The terms "first", "second" and "third" in this application are only set for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second" and "third" can explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In the embodiments of the present application, all directional indications (such as up, down, left, right, front, back...) are only set to explain the relative position relationship, movement, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.

[0053] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or reference embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0054] In one embodiment, if Figure 1 As shown, the present application discloses a data synchronization method based on drug circulation, which specifically includes the following steps:

[0055] S10: When a storage request transmitted by the drug storage end is obtained, the drug data associated with the obtained storage request and its real-time storage data are detected, and the real-time storage data includes uncirculated types and circulated types;

[0056] In this embodiment, the drug storage end is a drug circulation market entry query APP end or web page end used by users within the drug delivery range, the entry request is an electronic instruction request transmitted by the user to select and associate the drugs to be entered into the warehouse on the drug storage end, the drug data associated with the entry request is the data of the drugs to be entered into the warehouse associated with the entry request, the real-time entry data is the type data of whether all the same drugs included in the drug data are entered into the warehouse in real time, and the real-time entry data includes uncirculated types and circulated types;

[0057] Specifically, when users within the drug delivery range screen drugs that need to be put into storage through the drug storage end, the drug storage end transmits a storage request, detects the drug data associated with the storage request and the real-time storage data of all the same drugs included in the drug data.

[0058] S20: When the drug in the uncirculated type is not satisfied in real time, the data table check set is transmitted to the drug storage end that transmits the input request, so as to prepare for screening the input data table, and matching the outbound request associated with the same drug data based on the drug data associated with the input request;

[0059] In this embodiment, the data table verification set is a collection directory covering all data tables that meet the cache synchronization server within the scope of drug delivery, and the incoming data table is a data table that meets the cache synchronization server selected by the drug storage end that transmits the incoming request from the data table verification set;

[0060] Specifically, when all the same drugs under the drug data associated with the real-time entry request are circulated, a verification collection directory containing all data tables within the drug delivery range that meet the cache synchronization server is obtained and transmitted to the drug warehouse end of the entry request for screening the entry data table, and the entry request is matched in the system background based on the drug data associated with the entry request. The matching object is the outbound request associated with the same drug data as the entry request. When both the entry request and the outbound request associated with the same drug data are met at the same time, the match is successful.

[0061] S30: when an outbound request transmitted by the drug storage end is obtained, the drug data associated with the obtained outbound request is detected, and an inbound request associated with the same drug data is matched based on the drug data associated with the outbound request;

[0062] In this embodiment, the outbound request is an electronic instruction request transmitted by a user at the drug storage end to select drugs that need to be outbound from the drugs already in stock, and the drug data associated with the outbound request is the data of the drugs that need to be outbound associated with the outbound request;

[0063] Specifically, when students screen the medicines that need to be shipped out through the medicine warehouse, the medicine warehouse transmits the shipping request, detects the medicine data associated with the shipping request, and matches the shipping request based on the medicine data associated with the shipping request in the system background. The matching object is the incoming request associated with the same medicine data as the shipping request. When the incoming request and the outgoing request associated with the same medicine data are satisfied at the same time, the match is successful.

[0064] S40: When the inbound request and the outbound request associated with the same drug data are successfully matched, the data table check set is transmitted to the drug storage end that transmits the outbound request, so as to prepare for screening the outbound data table;

[0065] In this embodiment, the data table verification set is a collection directory covering all data tables that meet the cache synchronization server within the scope of drug delivery, and the outbound data table is a data table that meets the cache synchronization server selected by the drug storage end that transmits the outbound request in the data table verification set;

[0066] Specifically, when an inbound request and an outbound request associated with the same drug data are met at the same time, that is, the outbound request matches the associated inbound request successfully, a collection directory containing all data tables within the drug delivery range that meet the cache synchronization server's requirements is transmitted to the drug storage end that transmits the outbound request for screening of the outbound data tables.

[0067] S50: when the outbound data table transmitted by the drug warehouse end is obtained, a verification directory is obtained, and the verification directory is transmitted to the drug warehouse end that transmits the outbound request, the verification directory includes multiple data tables located between the outbound data table and the inbound data table and satisfying the cache synchronization server;

[0068] In this embodiment, the verification directory is a collection directory including multiple data tables located between the outbound data table and the inbound data table and satisfying the cache synchronization server. The cache synchronization server is a temporary storage and transfer self-service cabinet with drug outbound and circulation functions set up in multiple locations within the drug delivery range. Specifically, it can be set at the entrance of the teaching building and the dormitory building, etc., which are convenient for teachers and students within the drug delivery range to use.

[0069] Specifically, after the drug warehouse screens the outbound data table, it obtains a verification directory for the data tables between the outbound data table and the inbound data table that satisfy the cache synchronization server, and transmits the verification directory to the drug warehouse that transmits the outbound request, in preparation for screening the data table of the cache synchronization server for drug outbound.

[0070] S60: after obtaining the screening data table data fed back by the drug warehouse, opening the outbound authorization of the cache synchronization server associated with the screening data table data of the drug warehouse;

[0071] In this embodiment, the screening data table data is the data table data verified by the user in the verification directory, and the outbound authority is the authority required by the user to outbound medicines from the cache synchronization server;

[0072] Specifically, after obtaining the filtered data table data verified in the feedback verification directory of the drug warehouse end, the drug warehouse end's outbound permission to the cache synchronization server at the location of the filtered data table data is opened, that is, the drug warehouse end can outbound the drugs associated with the outbound request transmitted by it through the cache synchronization server at that location.

[0073] In one embodiment, each drug is associated with a QR code, such as Figure 2 As shown, after step S30, the following steps are performed:

[0074] S31: If the matching of the incoming request with the same drug data associated with the outgoing request fails within the preset period, the outgoing permission of the drug storage end transmitting the outgoing request is opened;

[0075] S32: When a first matching instruction including the patient attribute data and the QR code data transmitted by the cache synchronization server is obtained, the patient attribute data and the QR code data are checked;

[0076] S33: When the patient attribute data and the QR code data are successfully verified, an opening request is transmitted to the cache synchronization server that transmits the first matching instruction to schedule the opening of its medicine shelf;

[0077] In this embodiment, the QR code is a graphic identifier attached to the drug that is associated with and expresses the drug data after scanning. Usually, the drug can be taken out of the cache synchronization server only after successful matching and opening of permissions. The patient attribute data is the patient attribute detection data of the user, wherein the patient attribute data of all teachers and students within the drug delivery range is obtained and recorded in the system. The QR code data is the detection data for detecting the QR code. The first matching instruction is an electrical instruction containing the user's patient attribute data and the drug's QR code data obtained by the manufacturer's acquisition device such as a camera set by the cache synchronization server. The opening request is an electrical instruction request for opening the transmission of the cache synchronization server drug shelf;

[0078] Specifically, if the matching of the incoming request with the same drug data associated with the outbound request fails within the preset period, that is, the incoming request with the same drug data associated with the outbound request is not matched, then the outbound permission of the drug storage end that transmits the outbound request is opened, so that the drug can be outbound from the cache synchronization server. When the user goes to the cache synchronization server for outbound delivery, the manufacturer acquisition device such as the camera used for data acquisition at the cache synchronization server acquires the user's patient attribute data and the QR code data of the drug. When the first matching instruction containing the patient attribute data and the QR code data is acquired, the patient attribute data and the QR code data are checked. When the patient attribute data and the QR code data are successfully associated and checked, an opening request is transmitted to the cache synchronization server to schedule it to open the drug shelf, so that the user can outbound the drug from the cache synchronization server.

[0079] In addition, the number of drugs shipped out of each cache synchronization server can be monitored. When the number of drugs reaches the preset storage threshold, the drug distribution market administrator is notified by means of a command warning to recover the drugs to the drug distribution market within the drug delivery range, so that the cache synchronization server will not be paralyzed due to the inability to store too many drugs.

[0080] In one embodiment, after step S33, the following steps are performed:

[0081] S34: after obtaining the outbound instruction transmitted by the cache synchronization server, transmitting a closing request to the cache synchronization server that transmitted the outbound instruction, so as to schedule the closing of its medicine shelf;

[0082] S35: Detecting the version data of the cache synchronization server, and mapping and recording the version data and the drug data associated with the QR code data of the outbound drug;

[0083] In this embodiment, the closing request is an electrical instruction request transmitted to the cache synchronization server after the medicine is shipped out of the warehouse, so as to schedule the cache synchronization server to close the medicine shelf, the version data is the detection data of the cache synchronization server, which is specifically preset as a digital number here, and the mapping record is a data record of the medicine shipped out of the warehouse associated with the QR code data preset to the cache synchronization server, so as to record the place where the medicine is shipped out of the warehouse;

[0084] Specifically, when the user takes the medicine out of the warehouse from the cache synchronization server, the cache synchronization server transmits the outbound instruction. When the outbound instruction is obtained, a closing request is transmitted to the cache synchronization server that transmitted the outbound instruction, thereby scheduling the closing of the medicine shelf after the medicine shelf is closed, detecting the version data of the cache synchronization server, and mapping the version data with the medicine data pre-associated with the QR code data of the outbound medicine, that is, recording the medicine stored at the cache synchronization server.

[0085] In one embodiment, the cache synchronization server is internally equipped with a manufacturer acquisition terminal, such as Figure 3 As shown, step S34 includes the steps of:

[0086] S341: When the cache synchronization server obtains the acquired producer transmitted by the producer acquisition terminal, the acquired producer is transmitted to the producer detection model;

[0087] S342: the manufacturer detection model performs a detection and matching operation on the obtained manufacturer;

[0088] S343: After the cache synchronization server obtains the matching success instruction of the manufacturer's acquisition model output, it obtains the delivery instruction transmitted by the cache synchronization server;

[0089] In this embodiment, the manufacturer acquisition terminal is a device such as a camera used by the manufacturer, which is installed in the cache synchronization server cabinet to obtain the drug manufacturer data when the user ships the drug out of the warehouse, and obtain the drug manufacturer data when the manufacturer, that is, the user ships the drug out of the warehouse. The manufacturer detection model is a trained model set for manufacturer data storage and manufacturer data matching, specifically, the manufacturer matching is performed based on the acquired manufacturer and the associated drug manufacturer data. The stored drug manufacturer data includes the cover of the drug, the manufacturer, etc., specifically including color, text, QR code, graphics and other data. The detection and matching operation is to match the acquired manufacturer with the associated drug manufacturer data;

[0090] Specifically, when the cache synchronization server obtains the manufacturer data of the user's outbound drugs obtained by the manufacturer device, the manufacturer data is transmitted to the manufacturer detection model. The manufacturer detection model matches the obtained manufacturer with the stored drug manufacturer data. When the match is successful, that is, it is determined that the user's outbound drugs are correct, the cache synchronization server transmits the outbound instruction, indicating that the user's outbound delivery is successful.

[0091] In one embodiment, if Figure 4 As shown, after step S60, the following steps are performed:

[0092] S70: When obtaining the outbound instruction transmitted by the cache synchronization server associated with the data in the screening data table, transmitting a closing request to the cache synchronization server that transmitted the outbound instruction, so as to schedule the closing of its medicine shelf;

[0093] S80: Detecting the version data of the cache synchronization server, and transmitting the version data and the screening data table data to the drug storage end that transmits the input storage request;

[0094] S90: When a second matching instruction including the patient attribute data transmitted by the cache synchronization server is obtained, the patient attribute data is checked;

[0095] S100: When the patient attribute data is successfully verified, an opening request is transmitted to the cache synchronization server that transmits the second matching instruction to schedule the opening of its medicine shelf;

[0096] In this embodiment, the second matching instruction is an electronic instruction including the user patient attribute data of the medicine storage end for transmitting the input warehouse request, and the opening request is an electronic instruction request for opening the transmission for the cache synchronization server medicine shelf;

[0097] Specifically, after obtaining the outbound request transmitted by the cache synchronization server at the data table verified by the user, that is, after the matched user successfully outbound medicines, a closing request is transmitted to the cache synchronization server that transmitted the outbound instruction to schedule the closing of its medicine shelf, detect the version data of the cache synchronization server of the outbound medicine, and transmit the version data and the location data of the data table to the medicine storage end that transmitted the inbound request, so that the incoming user can go to the cache synchronization server to store the medicine. When the user goes to the cache synchronization server to store, the manufacturer's acquisition device such as the camera used for data acquisition at the cache synchronization server acquires the user's patient attribute data. When the second matching instruction containing the patient attribute data is obtained, the patient attribute data is checked. After the check is successful, an opening request is transmitted to the cache synchronization server to schedule the opening of its medicine shelf, so that the user can take out the medicine.

[0098] Similarly, when a user takes out medicine from the cache synchronization server, he or she can also obtain the manufacturer through the manufacturer acquisition terminal. When the cache synchronization server obtains the manufacturer transmitted by the manufacturer acquisition terminal, the manufacturer is transmitted to the manufacturer detection model, so that the manufacturer detection model performs detection and matching operations on the drug manufacturer data of the drug data associated with the acquisition manufacturer and the warehousing request.

[0099] In one embodiment, after step S20, the following steps are performed:

[0100] S21: If the outbound request with the same drug data associated with the inbound request fails to be matched within the preset period, the circulation period of all the drugs in the circulated type included in the drug data associated with the inbound request is obtained;

[0101] S22: If the circulation cycle of the drug is greater than the preset standard circulation cycle, a warning notification is transmitted to the drug storage terminal where the drug is stored in real time;

[0102] In this embodiment, the circulation cycle is the real-time circulation cycle of the circulated type of drugs, the preset standard circulation cycle is a preset circulation cycle threshold value not greater than the specified outbound cycle based on the volume, classification and language of the drugs, and the warning notification is the data set as a reminder to warn of the real-time circulation cycle and to inform that other users need to borrow the drug;

[0103] Specifically, if the outbound request associated with the same drug data as the inbound request fails to be matched within the preset period, that is, the associated request with the same drug data associated with the inbound request is not matched, then the circulation cycle of all the same drugs in the circulated type included in the drug data associated with the inbound request is obtained. When the circulation cycle of the drug is greater than the preset circulation cycle threshold, the real-time circulation cycle of the warning is transmitted to the drug storage end that borrows the drug, and a warning notification set as a reminder is notified that there are other users who need to borrow the drug.

[0104] In one embodiment, if Figure 5 As shown, step S50 includes the steps of:

[0105] S51: when the outbound data table transmitted by the drug storage end is obtained, the data table which is closest to the midpoint of the line connecting the outbound data table and the inbound data table and satisfies the cache synchronization server is obtained, and it is configured as a temporary data table;

[0106] S52: Acquire all data tables that meet the requirements of the cache synchronization server within a preset interval around the temporary data table, and configure them as reference data tables;

[0107] S53: Obtain a verification catalog including a temporary data table and a reference data table, and transmit the verification catalog to the drug storage end that transmits the outbound request;

[0108] In this embodiment, the temporary data table is a data table that is closest to the midpoint of the line between the outbound data table and the inbound data table and satisfies the cache synchronization server; the reference data table is all data tables that satisfy the cache synchronization server within a preset interval around the temporary data table; the verification directory is a data table collection directory that includes the temporary data table and the reference data table and is set to verify the cache synchronization server for the incoming drugs;

[0109] Specifically, when the outbound data table transmitted by the drug warehouse is obtained, the outbound data table is connected to the inbound data table, and the data table closest to the midpoint of the connection line and satisfying the cache synchronization server is obtained, and configured as a temporary data table. Then, all data tables satisfying the cache synchronization server within a preset interval around the temporary data table are obtained, and the obtained data table is configured as a reference data table. A verification directory is obtained for the collection of temporary data tables and reference data tables, and the verification directory is transmitted to the drug warehouse end that transmits the outbound request, in preparation for screening the data table of the cache synchronization server for transferring drugs into the warehouse.

[0110] In one embodiment, step S52 includes the steps of:

[0111] S521: If the number of reference data tables is not greater than one, increase the preset interval until the number of reference data tables is at least two;

[0112] In this embodiment, the preset interval is increased by increasing the diameter of a circle with the temporary data table as the center;

[0113] Specifically, if the number of reference data tables is not greater than one, that is, only one or no reference data table is satisfied within the preset interval, the diameter of the preset interval is increased until the number of reference data tables increases to at least two.

[0114] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0115] In one embodiment, a data synchronization system based on drug circulation is provided, and the data synchronization system based on drug circulation is associated one-to-one with the data synchronization method based on drug circulation in the above embodiment. The data synchronization system based on drug circulation includes:

[0116] A data detection unit is configured to detect the drug data associated with the acquired entry request and its real-time entry data when acquiring the entry request transmitted by the drug storage end, and is configured to detect the drug data associated with the acquired exit request when acquiring the exit request transmitted by the drug storage end;

[0117] The storage data table determination unit is configured to transmit the data table check set to the drug storage end that transmits the storage request when the drug in the non-circulation type is not satisfied in real time, so as to prepare for screening the storage data table;

[0118] An incoming drug matching unit, configured to match incoming drug requests associated with the same drug data based on drug data associated with an outbound request;

[0119] An outbound drug matching unit configured to match an outbound request associated with the same drug data based on the drug data associated with the inbound request;

[0120] The outbound data table determination unit is configured to transmit the data table verification set to the drug storage end that transmits the outbound request when the inbound request and the outbound request associated with the same drug data are successfully matched;

[0121] The verification directory operation unit is configured to obtain the verification directory when obtaining the outbound data table transmitted by the drug warehouse end, and transmit the verification directory to the drug warehouse end that transmits the outbound request;

[0122] The outbound authorization opening unit is configured to open the outbound authorization of the drug storage end that transmits the outbound request when the inbound request with the same drug data associated with the outbound request fails to match within a preset period;

[0123] A first matching unit, configured to check the patient attribute data and the QR code data when a first matching instruction including the patient attribute data and the QR code data transmitted by the cache synchronization server is obtained;

[0124] A first opening unit is configured to transmit an opening request to a cache synchronization server that transmits a first matching instruction to schedule the opening of its medicine shelf when both the patient attribute data and the QR code data are successfully verified;

[0125] The medicine shelf locking unit is configured to, after obtaining the outbound instruction transmitted by the cache synchronization server, transmit a closing request to the cache synchronization server that transmitted the outbound instruction, so as to schedule the closing of its medicine shelf; and, when obtaining the outbound instruction transmitted by the cache synchronization server associated with the data in the screening data table, transmit a closing request to the cache synchronization server that transmitted the outbound instruction, so as to schedule the closing of its medicine shelf;

[0126] A data association unit is configured to detect the version data of the cache synchronization server, so that the version data and the drug data associated with the QR code data of the outbound drug are mapped and recorded;

[0127] A manufacturer transmission unit, configured to transmit the acquired manufacturer to the manufacturer detection model when the acquired manufacturer is transmitted by the acquired manufacturer acquisition terminal;

[0128] A detection and matching unit, configured to perform a detection and matching operation on the acquired manufacturer;

[0129] The outbound instruction acquisition unit is configured to acquire the outbound instruction transmitted by the cache synchronization server after the cache synchronization server acquires the successful matching instruction output by the manufacturer acquisition model;

[0130] A data table data transmission unit, configured to detect the version data of the cache synchronization server, and transmit the version data and the filtered data table data to the drug storage end that transmits the input warehouse request;

[0131] a second matching unit, which checks the patient attribute data when acquiring a second matching instruction including the patient attribute data transmitted by the cache synchronization server;

[0132] The second opening unit, when the patient attribute data is successfully checked, transmits an opening request to the cache synchronization server that transmits the second matching instruction to schedule the opening of its medicine shelf;

[0133] A drug type acquisition unit, configured to acquire the circulation period of all drugs of the circulated type included in the drug data associated with the entry request when a match fails within a preset period with an exit request for the same drug data associated with the entry request;

[0134] The early warning notification transmission unit is configured to transmit an early warning notification to a drug storage terminal that stores the drug in real time when the drug has a circulation cycle greater than a preset standard circulation cycle;

[0135] A temporary data table setting unit is configured to obtain, when the outbound data table transmitted by the drug storage end is obtained, a data table which is closest to the midpoint of the line between the outbound data table and the inbound data table and satisfies the cache synchronization server, and configure it as a temporary data table;

[0136] A reference data table acquisition unit is configured to acquire all data tables that meet the requirements of the cache synchronization server within a preset interval around the temporary data table, and configure them as reference data tables;

[0137] A verification catalog obtaining unit is configured to obtain a verification catalog including a temporary data table and a reference data table, and transmit the verification catalog to a drug storage end that transmits a delivery request;

[0138] The interval adding unit is configured to add the preset interval until the number of the reference data tables is at least two when the number of the reference data tables is not greater than one.

[0139] For the specific definition of a data synchronization system based on drug circulation, please refer to the definition of a data synchronization method based on drug circulation above, which will not be repeated here. Each unit in the above-mentioned data synchronization system based on drug circulation can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned units can be embedded in or independent of the operator in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the operator can call and execute the operations associated with the above-mentioned units.

[0140] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0141] In addition, each functional unit in each embodiment of the present application can be integrated into one operating unit, or each unit can be physically satisfied separately, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units. The above is only an implementation method of the present application, and does not limit the patent range of the present application. Any equivalent structure or equivalent process transformation made using the content of the specification and drawings of this application, or directly or indirectly used in other related technical fields, are also included in the patent protection range of the present application.

[0142] The specific implementation methods of the invention are described in detail above, but they are only examples, and the present application is not limited to the specific implementation methods described above. For those skilled in the art, any equivalent modification or substitution of the invention is also within the scope of the present application, and therefore, the equalization, modification, and improvement made without departing from the spirit and principle of the present application should be included in the scope of the present application.

Claims

1. A data synchronization method based on drug circulation, characterized in that: Includes steps: When a storage request transmitted by the drug storage end is obtained, the drug data associated with the obtained storage request and its real-time storage data are detected, and the real-time storage data includes uncirculated types and circulated types; When the drugs in the uncirculated type are not met in real time, the data table check set is transmitted to the drug storage end that transmits the input request, so as to prepare for screening the input data table, and matching the outbound request associated with the same drug data based on the drug data associated with the input request; When an outbound request transmitted by the drug storage end is obtained, the drug data associated with the obtained outbound request is detected, and an inbound request associated with the same drug data is matched based on the drug data associated with the outbound request; When the inbound request and outbound request associated with the same drug data are successfully matched, the data table check set is transmitted to the drug storage end that transmits the outbound request for preparation of screening the outbound data table; When the outbound data table transmitted by the drug warehouse end is obtained, a verification directory is obtained, and the verification directory is transmitted to the drug warehouse end that transmits the outbound request. The verification directory includes multiple data tables located between the outbound data table and the inbound data table and satisfying the cache synchronization server; After obtaining the screening data table data fed back by the drug warehouse, the outbound permission of the cache synchronization server associated with the screening data table data of the drug warehouse is opened.

2. A data synchronization method based on drug circulation as claimed in claim 1, characterized in that: Each drug is associated with a QR code. When a delivery request transmitted by the drug storage end is obtained, the drug data associated with the delivery request is detected, and after the step of matching the drug data associated with the delivery request with the inbound request associated with the same drug data, the following steps are performed: If the matching of the incoming request with the same drug data associated with the outgoing request fails within the preset period, the outgoing permission of the drug storage end that transmits the outgoing request is opened; When a first matching instruction including the patient attribute data and the QR code data transmitted by the cache synchronization server is obtained, the patient attribute data and the QR code data are checked; When both the patient attribute data and the QR code data are successfully verified, an opening request is transmitted to the cache synchronization server that transmits the first matching instruction to schedule the opening of its medicine shelf.

3. A data synchronization method based on drug circulation as claimed in claim 2, characterized in that: When both the patient attribute data and the QR code data are successfully verified, after the step of transmitting the opening request to the cache synchronization server that transmits the first matching instruction to schedule the opening of its medicine shelf, the following steps are performed: After obtaining the outbound instruction transmitted by the cache synchronization server, a closing request is transmitted to the cache synchronization server that transmitted the outbound instruction to schedule the closing of its medicine shelf; The version data of the cache synchronization server is detected, and the version data and the drug data associated with the QR code data of the outbound drug are mapped and recorded.

4. A data synchronization method based on drug circulation as claimed in claim 3, characterized in that: The cache synchronization server is equipped with a manufacturer acquisition terminal. After acquiring the outbound instruction transmitted by the cache synchronization server, a closing request is transmitted to the cache synchronization server that transmits the outbound instruction to schedule the closing of its drug shelf, including the steps of: When the cache synchronization server obtains the acquired producer transmitted by the producer acquisition terminal, it transmits the acquired producer to the producer detection model; The manufacturer detection model performs detection and matching operations on the obtained manufacturers; After the cache synchronization server obtains the manufacturer's successful matching instruction for obtaining the model output, it obtains the outbound instruction transmitted by the cache synchronization server.

5. A data synchronization method based on drug circulation as claimed in claim 1, characterized in that: After obtaining the screening data table data fed back by the drug warehouse end, after opening the outbound authorization of the cache synchronization server associated with the screening data table data of the drug warehouse end, the following steps are performed: When obtaining the outbound instruction transmitted by the cache synchronization server associated with the data in the screening data table, transmitting a closing request to the cache synchronization server that transmitted the outbound instruction, so as to schedule the closing of its medicine shelf; Detect the version data of the cache synchronization server, and transmit the version data and the screening data table data to the drug storage end that transmits the input warehouse request; When a second matching instruction including the patient attribute data transmitted by the cache synchronization server is obtained, checking the patient attribute data; When the patient attribute data is successfully verified, an open request is transmitted to the cache synchronization server that transmits the second matching instruction to schedule the opening of its medicine shelf.

6. A data synchronization method based on drug circulation as claimed in claim 1, characterized in that: When the real-time does not meet the requirements of the uncirculated drugs, the data table check set is transmitted to the drug storage end that transmits the input request for preparation of screening the input data table, and after the step of matching the drug data associated with the input request with the outbound request associated with the same drug data, the following steps are performed: If the outbound request with the same drug data associated with the inbound request fails to be matched within the preset period, the circulation period of all the drugs of the circulated type included in the drug data associated with the inbound request is obtained; If a drug has a circulation cycle that is longer than a preset standard circulation cycle, an early warning notification is transmitted to the drug storage terminal where the drug is stored in real time.

7. A data synchronization method based on drug circulation as claimed in claim 1, characterized in that: When the outbound data table transmitted by the drug warehouse end is obtained, a verification directory is obtained, and the verification directory is transmitted to the drug warehouse end that transmits the outbound request, and the verification directory includes multiple data tables located between the outbound data table and the inbound data table and satisfying the cache synchronization server, including the steps of: When the outbound data table transmitted by the drug storage end is obtained, the data table that is closest to the midpoint of the line connecting the outbound data table and the inbound data table and satisfies the cache synchronization server is obtained, and it is configured as a temporary data table; Obtain all data tables that meet the cache synchronization server requirements within a preset interval around the temporary data table, and configure them as reference data tables; A verification catalog including a temporary data table and a reference data table is obtained, and the verification catalog is transmitted to the drug storage end that transmits the outbound request.

8. A data synchronization method based on drug circulation as claimed in claim 7, characterized in that: The step of obtaining all data tables that meet the requirements of the cache synchronization server within a preset interval around the temporary data table and configuring them as reference data tables includes the following steps: If the number of the reference data tables is not greater than one, the preset interval is increased until the number of the reference data tables is at least two.

9. A data synchronization system based on drug circulation, characterized in that: include: A data detection unit is configured to detect the drug data associated with the acquired entry request and its real-time entry data when acquiring the entry request transmitted by the drug storage end, and is configured to detect the drug data associated with the acquired exit request when acquiring the exit request transmitted by the drug storage end; The storage data table determination unit is configured to transmit the data table check set to the drug storage end that transmits the storage request when the drug in the non-circulation type is not satisfied in real time, so as to prepare for screening the storage data table; An incoming drug matching unit, configured to match incoming drug requests associated with the same drug data based on drug data associated with an outbound request; An outbound drug matching unit configured to match an outbound request associated with the same drug data based on the drug data associated with the inbound request; The outbound data table determination unit is configured to transmit the data table verification set to the drug storage end that transmits the outbound request when the inbound request and the outbound request associated with the same drug data are successfully matched; The verification directory operation unit is configured to obtain the verification directory when obtaining the outbound data table transmitted by the drug warehouse end, and transmit the verification directory to the drug warehouse end that transmits the outbound request; The data synchronization system based on drug circulation is used to execute the data synchronization method based on drug circulation as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Intelligent management system for medical drug distribution

    CN106156979A

  • Campus library book borrowing management method and system

    CN117894122A