Medicine checking method, computing device and system
Through the data interaction between the medicine cabinet and the inventory machine, the weight change value is measured using the weighing box and the inventory box to calculate the drug count value, solving the problems of low efficiency and poor accuracy of the hospital's drug inventory, and achieving efficient and accurate drug quantity management.
Patent Information
- Application Number
- CN202411143338.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-29
- Publication Date
- 2024-11-15
AI Technical Summary
Hospitals have low efficiency in inventory of traditional Chinese medicines and are prone to errors, resulting in inaccurate counting of drugs.
Design a drug inventory method, through the data interaction between the medicine cabinet and the inventory machine, use the weighing box and the inventory box to measure the weight change value within the preset time, calculate and update the drug count value based on the single standard weight value of the drug to reduce errors and interference.
Improve the efficiency and accuracy of drug inventory, and automatically calculate drug count values, reduce manual errors and ensure the accuracy of drug quantity.
Smart Images

Figure CN118960924A_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with the application date of 2022-04-29, application number 202210474449.6, and invention name “Drug inventory method, device, computing device and system”. Technical Field
[0002] The present invention relates to the technical field of new generation information technology and biopharmaceutical industry, and in particular to a drug inventory method, device, computing equipment and system. Background Art
[0003] At present, in order to understand the supply and use of medicines, hospitals need to regularly count the medicines stored in the medicine cabinets. Due to the large number of medicines in the medicine cabinets, manual inventory is inefficient and can easily lead to errors in the quantity of medicines. Summary of the invention
[0004] Based on this, a drug inventory method, device, computing equipment and system are provided, which can realize data interaction between an intelligent medicine cabinet and an inventory counting machine and reduce errors and interferences during the inventory counting process.
[0005] A medicine inventory method includes a medicine cabinet and an inventory machine, wherein the medicine cabinet includes at least one weighing box, the inventory machine includes an inventory box, and the method includes:
[0006] Controlling the medicine cabinet to update the medicine count value according to the weight change value obtained by the weighing box and the preset standard weight value of a single corresponding medicine;
[0007] When the medicine cabinet receives the inventory command, the medicine cabinet sends the inventory command to the inventory machine and controls the inventory machine to start the inventory box;
[0008] When the difference between the weight increase value W1 of the inventory box and the weight decrease value W2 of the weighing box is within a preset range within a preset time, the medicine cabinet is controlled to upload the standard weight value of the corresponding single medicine and send it to the inventory machine;
[0009] The inventory result is obtained according to the standard weight value of the corresponding medicine uploaded by the medicine cabinet and the weight increase value W1 of the inventory box;
[0010] The medicine count value of the medicine cabinet is updated according to the inventory result.
[0011] In one embodiment, each weighing box includes a corresponding standard weight value of a single medicine, and the method further includes:
[0012] Pre-storing a plurality of standard weight values of individual medicines corresponding to the weighing boxes;
[0013] When the weight reduction value W2 of the weighing box exceeds the threshold, the corresponding standard weight value of the single medicine is obtained.
[0014] In one embodiment, each weighing box includes location information, and obtaining the corresponding standard weight value of a single medicine according to any weighing box includes:
[0015] Establishing an association between the location information and the standard weight value of a single drug;
[0016] When the weight reduction value W2 of the weighing box exceeds the threshold, obtaining the position information of the weighing box;
[0017] Finding the standard weight value of a single medicine according to the location information;
[0018] Correspondingly, the control of the medicine cabinet to update the medicine count value according to the weight change value obtained by the weighing box and the preset standard weight value of a single corresponding medicine includes:
[0019] Calculate the medicine count value according to the weight change value and the corresponding single standard weight value of the medicine;
[0020] The medicine cabinet is controlled to update the medicine count value according to the position information corresponding to the weighing box.
[0021] In one embodiment, the location information includes a medicine cabinet number and a medicine box number, and after the medicine cabinet is controlled to update the medicine count value according to the location information corresponding to the weighing box, the method includes:
[0022] When the updated drug count value and the pre-stored drug count value meet a preset condition, obtaining the medicine cabinet number and the medicine box number corresponding to the weighing box, wherein the preset condition includes that the updated drug count value is inconsistent with the pre-stored drug count value;
[0023] The medicine cabinet is controlled to unlock the corresponding weighing box according to the medicine cabinet number and the medicine box number.
[0024] In one embodiment, the preset range includes a plurality of preset threshold values, and the method further includes:
[0025] According to the position information of the weighing box, an association is established between the plurality of preset threshold values and the plurality of weighing boxes; wherein any of the preset threshold values is smaller than the standard weight value of a single medicine associated with the corresponding weighing box.
[0026] In one embodiment, the inventory result includes an inventory count value, and after obtaining the inventory result according to the standard weight value of the corresponding medicine uploaded by the medicine cabinet and the weight increase value W1 of the inventory box, it includes:
[0027] Controlling the inventory counting machine to upload the inventory counting value;
[0028] Extracting corresponding position information according to the standard weight value of a single medicine;
[0029] The inventory count value is used to update the drug count value according to the location information.
[0030] In one embodiment, after updating the medicine count value of the medicine cabinet according to the inventory result, the method includes:
[0031] Pre-storing the minimum drug count values corresponding to a plurality of the weighing boxes;
[0032] When the updated drug count value is less than the corresponding minimum drug count value, acquiring corresponding location information;
[0033] A state change instruction is issued to the corresponding weighing box according to the position information.
[0034] A drug inventory device, comprising:
[0035] A generation module is used to control the medicine cabinet to update the medicine count value according to the weight change value obtained by the weighing box and the preset standard weight value of a single corresponding medicine;
[0036] An execution module, for sending the inventory counting instruction to the inventory counting machine when the medicine cabinet receives the inventory counting instruction, and controlling the inventory counting machine to start the inventory counting box;
[0037] A verification module, used to control the medicine cabinet to upload the standard weight value of a single medicine and send it to the inventory counting machine when the difference between the weight increase value W1 of the inventory box and the weight decrease value W2 of the weighing box is within a preset range within a preset time;
[0038] A calculation module, used to obtain an inventory result according to the standard weight value of a single medicine uploaded by the medicine cabinet and the weight increase value W1 of the inventory box;
[0039] An updating module is used to update the medicine count value of the medicine cabinet according to the inventory result.
[0040] A computing device includes a memory and a processor, wherein the memory is used to store instructions, and the processor is used to call the instructions stored in the memory to implement the drug inventory method as described above.
[0041] A drug inventory system, comprising:
[0042] A medicine cabinet, the medicine cabinet comprising at least one weighing box, each weighing box having a standard weight value of a single medicine, the weighing box being used to store medicines and capable of measuring weight changes of the medicines;
[0043] An inventory counting machine, comprising an inventory counting box, the inventory counting box is used to inventory medicines and can measure the weight change value of the medicines;
[0044] A computing device is used to execute the drug inventory method as described above.
[0045] In one embodiment, the medicine cabinet includes multiple medicine cabinets, each of which includes multiple stacked drawers, each of which includes multiple weighing boxes arranged in sequence, and the inventory counting machine also includes a moving device for moving the inventory counting machine closer to or away from the medicine cabinet.
[0046] The drug inventory method, device, computing equipment and system of the present application, after receiving the inventory instruction, the inventory machine checks whether the difference between the weight increase value W1 of the inventory box and the weight decrease value W2 of the medicine cabinet weighing box is within a preset range within a preset time. If it is within the preset range, the medicine cabinet is controlled to upload the corresponding single standard weight value of the medicine and send it to the inventory machine, wherein the single standard weight value of the medicine corresponds to the single standard weight of the medicine. The inventory machine obtains the inventory result according to the single standard weight and weight increase value W1 corresponding to the weighing box, and updates the medicine cabinet count value according to the inventory result, thereby realizing automatic calculation of the drug count value, effectively improving the inventory efficiency, and judging whether the weighing box and the inventory box are in the inventory state by setting the preset time and the preset range, thereby reducing the error and interference of the inventory process. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 This is the system architecture diagram of this application;
[0048] Figure 2 Schematic diagram of the process of the drug inventory method in Example 1;
[0049] Figure 3 Another schematic diagram of the process of the drug inventory method in Example 1;
[0050] Figure 4 It is a schematic diagram of a process of obtaining the corresponding standard weight value of a single drug when the weight reduction value W2 of the weighing box exceeds the threshold value in the drug inventory method in Example 1;
[0051] Figure 5 A schematic diagram of a process for controlling a medicine cabinet in the medicine inventory counting method in Example 1 to update a medicine count value according to a weight change value obtained by a weighing box and a preset standard weight value of a corresponding single medicine;
[0052] Figure 6 It is a schematic diagram of the process before the medicine cabinet receives the inventory instruction and sends the inventory instruction to the inventory machine and controls the inventory machine to start the inventory box in the medicine inventory method of embodiment 1;
[0053] Figure 7It is a flow chart of the drug inventory method in Example 1 after obtaining the inventory result according to the standard weight value of a single drug uploaded by the medicine cabinet and the weight increase value W1 of the inventory box;
[0054] Figure 8 This is a schematic diagram of the process of updating the drug count value of the medicine cabinet according to the inventory result of the drug inventory method in Example 1;
[0055] Fig. 9 This is a structural block diagram of the drug inventory device in Example 2.
[0056] Figure numbers: medicine cabinet 10, processor 20, inventory machine 30, weighing box 50, medicine inventory device 40, generation module 41, execution module 42, verification module 43, calculation module 44, update module 45. DETAILED DESCRIPTION
[0057] In order to facilitate the understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive.
[0058] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0059] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0060] The embodiments of the present application provide a drug inventory method, device and system, which can realize data interaction between a medicine cabinet and an inventory counting machine to automatically count the drug count values while reducing errors and interference in the inventory counting process.
[0061] Embodiment 1
[0062] refer to Figure 1In this embodiment, the present application provides a drug inventory method, which can be applied to a cabinet that needs to be inventoried. Taking a medical medicine cabinet 10 as an example, during the use of the medical medicine cabinet 10, it is often necessary to weigh and count medical products such as medicines to determine the use status of the medicines. When it is determined that the status of the medicines does not match the actual status, for example, the counting result of the medicines does not match the actual counting result, the inventory box of the inventory machine 30 is started to weigh and count the medicines to achieve accurate counting and ensure the accuracy of the inventory of the medicines. In this embodiment, the drug inventory method includes a medicine cabinet 10, an inventory machine 30 and a processor 20. The medicine cabinet 10 includes a plurality of weighing boxes 50, each weighing box 50 has a standard weight value of a single medicine, and the weighing box 50 is used to store medicines. The inventory machine 30 includes an inventory box. The weighing box 50 and the inventory box are both used to store medicines and can measure the weight change value of the medicines. The processor 20 is used to execute the above-mentioned drug inventory method to achieve accurate counting and inventory of the medicines in the medicine cabinet 10.
[0063] refer to Figure 2 In this embodiment, the drug inventory method includes the following steps:
[0064] Step S100, controlling the medicine cabinet 10 to update the medicine count value according to the weight change value obtained by the weighing box 50 and the preset standard weight value of a corresponding single medicine.
[0065] Specifically, the weighing box 50 in the medical cabinet 10 is in a state of continuous weighing due to the pressure of the medicine. When the medical staff takes the medicine from the weighing box 50, the processor 20 obtains the weight change value of the weighing box 50. Since each weighing box 50 stores the corresponding standard weight value of a single medicine, the medicine count value can be calculated according to the weight change value and the standard weight value of a single medicine corresponding to the standard weight value of a single medicine, and the medicine count value is updated to the corresponding weighing box 50. Among them, a weighing box 50 is used to store medicines of one specification, so that the medical staff can count and count the weighing box 50. The weighing technology of the weighing box 50 is usually realized by a built-in pressure sensor, and is not limited to setting other components that can realize weighing.
[0066] In another embodiment, when the weighing box 50 has a weight change, the processor 20 determines the size of the weight change value, that is, determines whether the weight change value of the weighing box 50 is greater than the standard weight value of a single medicine. When the weight change value of the weighing box 50 is greater than the corresponding standard weight value of a single medicine, it means that the medical staff has taken and placed the medicine in the weighing box 50. For example, when the standard weight value of a single medicine placed in one of the weighing plates is 2.5g, it is necessary to determine the size of the obtained weight change value and 2.5g. The standard weight value of a single medicine of 2.5g is used as the basis for determining whether the medicine in the weighing box 50 is taken and placed. When the weight change value is less than 2.5, it means that the medical staff has not taken and placed the medicine, and the weighing box 50 continues to obtain the weight change value. When the weight change value is greater than 2.5, it means that the medical staff has taken and placed the medicine, and continues to the next step to update the medicine count value according to the current weight change value and the preset corresponding standard weight value of a single medicine.
[0067] Step S300, when the medicine cabinet 10 receives the inventory instruction, it sends the inventory instruction to the inventory machine 30, and controls the inventory machine 30 to start the inventory box.
[0068] Specifically, when the medicine count value of the weighing box 50 has been updated, in order to ensure the counting accuracy of the medicines, the medicines in the weighing box 50 are automatically counted by the counting machine 30. After receiving the update of the medicine count value in the weighing box 50, the processor 20 sends an inventory command to the medicine cabinet 10, and the medicine cabinet 10 receives the inventory command and sends the inventory command to the counting machine 30. The counting machine 30 starts the counting box, and the processor 20 obtains the weight change value of the counting box, that is, the weight increase value W1 of the counting box, and saves it to the database.
[0069] Step S500 , when the difference between the weight increase value W1 of the inventory box and the weight decrease value W2 of the weighing box 50 is within a preset range within a preset time, the medicine cabinet 10 is controlled to upload the standard weight value of the corresponding single medicine and send it to the inventory counting machine 30 .
[0070] Specifically, the processor 20 extracts the saved weight increase value W1 of the inventory box and the weight decrease value W2 of the weighing box 50, and calculates the difference W between the weight increase value W1 of the inventory box and the weight decrease value W2 of the weighing box 50. 差 , and determine the difference W 差 Whether it is within the preset range. If it is judged that it is within the preset time and the preset range, it means that the weighing box 50 and the inventory box are in the inventory state.
[0071] In this embodiment, the preset range includes multiple preset threshold values, and the multiple preset threshold values are stored in a one-to-one correspondence with the multiple weighing boxes 50. Any preset threshold value is less than the standard weight value of a single medicine associated with the corresponding weighing box 50. Specifically, when counting the medicine count value of weighing box 50 No. 1, the standard weight value of a single medicine associated with weighing box 50 No. 1 is 2g, then the preset threshold value of No. 1 is less than 2, that is, the preset range of No. 1, when the difference W 差 When the preset range is met, it means that the medicines in the inventory box and the medicines in the weighing box 50 are within a reasonable error range. 差 If it is greater than the preset range, it means that the error of the medicines in the inventory box is large, that is, the medicines in the weighing box 50 are not equal to the medicines in the inventory box, and there may be omissions of medicines, operational errors, etc. The setting of the preset range is conducive to judging whether the weighing box 50 and the inventory box are in the inventory state, reducing the deviation of the medicine weight value, and ensuring the inventory accuracy of the items.
[0072] In this embodiment, the preset time is set by the medical staff. If there are more drugs in the weighing box 50, the preset time can be set longer. If there are fewer drugs in the weighing box 50, the preset time can be set shorter. According to the preset time and the preset range, the deviation of the drug weight value is effectively reduced, and the accuracy of the inventory is enhanced.
[0073] When the processor 20 determines the difference W 差 When it is within the preset range, the processor 20 controls the medicine cabinet 10 to upload the standard weight value of a single medicine corresponding to the weighing box 50, and sends it to the inventory counting machine 30. Among them, the standard weight value of a single medicine includes the standard weight value of a single medicine.
[0074] Step S700, obtaining the inventory result according to the standard weight value of the corresponding single medicine uploaded by the medicine cabinet 10 and the weight increase value W1 of the inventory box.
[0075] Specifically, the processor 20 obtains the standard weight value of a single medicine based on the standard weight value of a single medicine uploaded by the medicine cabinet 10, and extracts the obtained inventory box weight increase value W1, and calculates the inventory result. The inventory result includes the inventory count value, that is, it effectively calculates the number of medicines in the inventory box.
[0076] Step S900, updating the medicine count value of the medicine cabinet 10 according to the inventory result.
[0077] Specifically, the processor 20 uploads the drug count value to the medicine cabinet 10 according to the obtained inventory result, and updates the drug count value of the corresponding weighing box 50.
[0078] After receiving the inventory instruction, the above-mentioned inventory counting machine 30 checks whether the difference between the weight increase value W1 of the inventory box and the weight decrease value W2 of the weighing box 50 of the medicine cabinet 10 is within the preset range within the preset time. If it is within the preset range, the medicine cabinet 10 is controlled to upload the corresponding single standard weight value of the medicine and send it to the inventory counting machine 30, wherein the single standard weight value of the medicine corresponds to the single standard weight of the medicine. The inventory counting machine 30 obtains the inventory result according to the single standard weight corresponding to the weighing box 50 and the weight increase value W1, and updates the count value of the medicine cabinet 10 according to the inventory result. During the inventory counting process, the above-mentioned inventory counting machine 30 realizes automatic calculation of the count value of the medicine, effectively improves the inventory counting efficiency, and determines whether the weighing box 50 and the inventory counting box are in the inventory counting state by setting the preset time and preset range, thereby reducing the error and interference of the inventory counting process.
[0079] refer to Figure 3 In this embodiment, each weighing box 50 includes a corresponding standard weight value of a single medicine, and the method further includes:
[0080] Step S010, pre-storing the standard weight values of individual medicines corresponding to a plurality of weighing boxes 50;
[0081] Step S020, when the weight reduction value W2 of the weighing box 50 exceeds the threshold value, the corresponding standard weight value of a single medicine is obtained.
[0082] Specifically, the medicine cabinet 10 has a plurality of weighing boxes 50. Since different weighing boxes 50 need to store medicines of different specifications, the weight values of individual medicines corresponding to medicines of different specifications are different. Therefore, each weighing box 50 has a one-to-one corresponding standard weight value of individual medicines, so as to facilitate the storage of medicines of different specifications, establish an association between the weighing box 50 and the standard weight value of individual medicines, and the medical staff pre-store the standard weight values of individual medicines corresponding to the plurality of weighing boxes 50. Medicines of the same specifications are placed in the same weighing box 50 for the convenience of medical staff to take them. When the processor 20 determines that the weight reduction value W2 of any weighing box 50 exceeds the threshold value, the standard weight value of individual medicines corresponding to the weighing box 50 is extracted to obtain the weight value of individual medicines.
[0083] Among them, medicines of the same specifications have corresponding single medicine weight values; the weighing boxes storing medicines of different specifications have different corresponding thresholds, and the threshold value setting is related to the single medicine weight value. When the weight reduction value of the weighing box 50 exceeds the threshold, that is, exceeds the single medicine weight value, it means that the medical staff has performed a taking and placing operation on the medicine in the weighing box.
[0084] refer to Figure 4 In this embodiment, each weighing box 50 includes position information. Step 200, obtaining the corresponding single standard weight value of the medicine according to any weighing box 50, includes:
[0085] Step 022, establishing an association between the location information and the standard weight value of a single drug;
[0086] Step 023, find out the standard weight value of a single medicine based on the location information.
[0087] Specifically, the output signal of each weighing box 50 can be transmitted through different paths (for example, by designing different interfaces and different circuit branches), so each weighing box 50 corresponds to a signal transmission path. According to the signal source, each weighing box 50 can be identified as 1#, 2#, 3#, etc., and the association between the weighing box 50 and the standard weight value of a single medicine can be established through the identification information n#.
[0088] When the processor 20 obtains the weight change value of any weighing box 50, the standard weight value of a single medicine corresponding to the weighing box 50 is extracted according to the position information, and the weight value of a single medicine can be obtained. It can be seen that any weighing box 50 can be matched with the corresponding weighing box 50 and the standard weight value of a single medicine through the position information and stored in the database.
[0089] refer to Figure 5 Correspondingly, step S100 controls the medicine cabinet 10 to update the medicine count value according to the weight change value obtained by the weighing box 50 and the preset corresponding single medicine standard weight value, including:
[0090] Step 110, calculating the drug count value according to the weight change value and the corresponding single drug standard weight value;
[0091] Step 120 , controlling the medicine cabinet 10 to update the medicine count value according to the position information corresponding to the weighing box 50 .
[0092] Specifically, the processor 20 extracts the weight change value of the weighing box 50 and the standard weight value of a single medicine (i.e., the weight value of a single medicine) from the database, and calculates the corresponding medicine count value. The processor 20 controls the medicine cabinet 10 to update the updated medicine count value to the corresponding weighing box 50 based on the associated location information.
[0093] refer to Figure 5 In this embodiment, the medicine cabinet 10 includes a plurality of cabinets, each cabinet includes a plurality of stacked drawers, each drawer sequentially arranges a plurality of weighing boxes 50, and the position information of the weighing boxes 50 includes the medicine cabinet number and the medicine box number. Step 120, after controlling the medicine cabinet 10 to update the medicine count value according to the position information corresponding to the weighing box 50, includes:
[0094] Step 130, when the updated drug count value and the pre-stored drug count value meet the preset conditions, obtain the medicine cabinet number and the medicine box number of the corresponding weighing box 50, wherein the preset conditions include that the updated drug count value is inconsistent with the pre-stored drug count value.
[0095] Specifically, the medicine cabinet 10 includes multiple cabinets, and each cabinet and medicine box has a corresponding virtual position. For example, suppose there are 3 medicine cabinets 10, each medicine cabinet 10 is marked with capital letters A, B, and C, and each cabinet has 3 layers of drawers, 1-3 from top to bottom, and each layer of drawers has 5 medicine boxes, 1-5 from left to right. When the medical staff takes the medicine cabinet number A and the medicine box number is the 5th compartment of the 3rd layer, the corresponding virtual position is defined as "A-03-05". It can be understood that users can flexibly customize virtual addresses.
[0096] Specifically, medicines of different specifications are stored in different weighing boxes 50, and medicines of the same specifications are stored in the same weighing box 50. The database associates the location information of the weighing box 50, the medicine cabinet number, and the medicine box number, that is, the location information of the weighing box 50 is associated with the corresponding virtual address. For example, weighing box 50 #1 corresponds to "A-01-01", weighing box 50 #2 corresponds to "B-01-01", etc. When the processor 20 obtains the weight change value of any weighing box 50, it can immediately obtain the medicine cabinet number and medicine box number of the corresponding weighing box 50.
[0097] In this embodiment, the preset condition includes that the updated drug count value is inconsistent with the pre-stored drug count value. Specifically, the pre-stored drug count value can be the count value recorded by the medical staff each time they take the drugs. The medical staff uploads the self-recorded count value to the database. When the drug count value of any weighing box 50 is updated, the processor 20 compares the updated drug count value with the self-recorded count value. When the updated drug count value is inconsistent with the pre-stored drug count value, it means that the preset condition is met, and the processor 20 obtains the medicine cabinet number and the medicine box number of the corresponding weighing box 50. The processor 20 controls the medicine cabinet 10 to unlock the corresponding weighing box 50 according to the medicine cabinet number and the medicine box number. This is to facilitate the medical staff to take the drugs in the weighing box 50.
[0098] Step 140, controlling the medicine cabinet 10 to unlock the corresponding weighing box 50 according to the medicine cabinet number and the medicine box number.
[0099] Specifically, the processor 20 controls the medicine cabinet 10 to unlock the corresponding weighing box 50 based on the acquired medicine cabinet number and medicine box number, so that the medical staff can take out the medicines in the weighing box 50 and place them in the inventory box. The processor 20 starts the inventory box of the inventory machine 30 to realize the inventory counting of the medicines in the inventory box.
[0100] refer to Figure 6 In another embodiment, step 300, when the medicine cabinet 10 receives the inventory command, the inventory command is sent to the inventory machine 30, and the inventory machine 30 is controlled to start the inventory box, including:
[0101] Step 210: Receive user identity information.
[0102] Specifically, the user identity information is the medical identity information. After the processor 20 controls the medicine cabinet 10 to unlock the corresponding weighing box 50 according to the medicine cabinet number and the medicine box number, and before the medicine cabinet 10 receives the inventory instruction, the processor 20 receives the user identity information.
[0103] Step 220: When the user identity information is consistent with the pre-stored user identity information, the medicine cabinet 10 receives an inventory instruction.
[0104] Specifically, the user identity information is pre-stored in the database, and the processor 20 compares the received user identity information with the pre-stored user identity information, wherein if the received user identity information belongs to one of the pre-stored user identity information, the medicine cabinet 10 receives the inventory instruction, and if the received user identity information does not belong to one of the pre-stored user identity information, the medicine cabinet 10 refuses to receive the inventory instruction. This step can improve the security of the medicine cabinet 10 management in the medicine cabinet 10 and prevent the use of unauthorized users.
[0105] In another embodiment, the method of verifying the user's identity information includes but is not limited to password verification, fingerprint verification, and RFID card verification, etc. In this way, the safety of the medicine cabinet 10 management can be further improved, and there are multiple verification methods.
[0106] In this embodiment, the preset range includes a plurality of preset threshold values, and the method further includes:
[0107] According to the position information of the weighing box 50 , associations between multiple preset threshold values and multiple weighing boxes 50 are established; wherein any preset threshold value is smaller than the standard weight value of a single medicine associated with the corresponding weighing box 50 .
[0108] Specifically, multiple preset threshold values are associated with multiple weighing boxes 50 through position information, and are stored in the database one by one. When the drug count value of weighing box 50 No. 1 is counted, the single standard weight value of the drug associated with weighing box 50 No. 1 is 2g, then the preset threshold value of No. 1 is less than 2, that is, the preset range of No. 1. When the difference W 差 When the preset range is met, it means that the medicines in the inventory box and the medicines in the weighing box 50 are within a reasonable error range.
[0109] refer to Figure 7 In this embodiment, the inventory result includes the inventory count value. Step S700, after obtaining the inventory result according to the standard weight value of the corresponding medicine uploaded by the medicine cabinet 10 and the weight increase value W1 of the inventory box, includes:
[0110] Step 810, controlling the inventory counting machine 30 to upload the inventory counting value;
[0111] Step 820, extracting corresponding position information according to the standard weight value of a single medicine;
[0112] Step 830, update the drug count value based on the inventory count value according to the location information.
[0113] Specifically, the processor 20 controls the inventory counting machine 30 to upload the inventory count value to the database, and extracts the corresponding location information according to the standard weight value of a single medicine, and stores the inventory count value in the weighing box 50 corresponding to the location information, so as to ensure the counting accuracy of the weighing box 50 and reduce the deviation of the weight value of the medicine bottle.
[0114] In this embodiment, after the step S900, in which the medicine count value of the medicine cabinet 10 is updated according to the inventory result, the following steps are performed:
[0115] S910, pre-store the minimum drug count values corresponding to multiple weighing boxes.
[0116] Specifically, the range of the minimum drug count value can be set between 0-5. According to the different needs of medical staff for drug usage, it can also be set between 0-10, so as to replenish drugs with high demand in time and prevent the insufficient amount of drugs in the weighing box 50 when emergency use is needed, thus affecting the use of drugs.
[0117] S920, when the updated drug count value is less than the corresponding minimum drug count value, obtain the corresponding location information.
[0118] Specifically, when the processor 20 determines that the updated drug count value is less than the corresponding minimum drug count value, it indicates that the drugs in the weighing box 50 need to be replenished, and the corresponding location information is obtained, that is, the corresponding medicine cabinet number and medicine box number are obtained.
[0119] S930: Send a status change instruction to the corresponding weighing box according to the position information.
[0120] Specifically, the processor sends a status change instruction to the corresponding weighing box 50 according to the acquired medicine cabinet number and medicine box number. For example, the processor controls the display color change or voice broadcast of the weighing box 50 to remind medical staff to replenish the medicine of the weighing box 50 in time.
[0121] Embodiment 2
[0122] refer to Figure 8 The present application also provides a drug inventory device 40, which includes a generation module 41, an execution module 42, a verification module 43, a calculation module 44 and an update module 45, and the medicine cabinet 10 that needs to be inventoried is inventoried through an inventory machine 30.
[0123] The generating module 41 is used to control the medicine cabinet 10 to update the medicine counting value according to the weight change value obtained by the weighing box 50 and the preset standard weight value of a corresponding single medicine;
[0124] The execution module 42 is used to send the inventory command to the inventory machine 30 when the medicine cabinet 10 receives the inventory command, and control the inventory machine 30 to start the inventory box;
[0125] The verification module 43 is used to control the medicine cabinet 10 to upload the standard weight value of the corresponding medicine and send it to the inventory counting machine 30 when the difference between the weight increase value W1 of the inventory box and the weight decrease value W2 of the weighing box 50 is within a preset range within a preset time;
[0126] The calculation module 44 is used to obtain the inventory result according to the standard weight value of the corresponding medicine uploaded by the medicine cabinet 10 and the weight increase value W1 of the inventory box;
[0127] The updating module 45 is used to update the medicine count value of the medicine cabinet 10 according to the inventory result.
[0128] In this embodiment, during use, the medical staff first controls the medicine cabinet 10 to update the drug count value through the generation module 41, starts the inventory box through the execution module 42, and then determines whether the difference between the weight increase value W1 of the inventory box and the weight decrease value W2 of the weighing box 50 within the preset time is within the preset range through the verification module 43. If it is within the preset range, the medicine cabinet 10 is controlled to upload the standard weight value of a single drug, and the calculation module 44 obtains the inventory result according to the uploaded standard weight value of a single drug and the weight increase value W1 of the inventory box, and the update module 45 updates the drug count value of the medicine cabinet 10 according to the inventory result. In the process of inventorying the inventory box, the above-mentioned drug inventory device 40 realizes automatic calculation of the drug count value, effectively improves the inventory efficiency, and determines whether the weighing box 50 and the inventory box are in the inventory state through the verification module 43, reducing the error and interference of the inventory process.
[0129] Embodiment 3
[0130] The present application also provides a computing device, which includes a memory and a processor 20, the memory is used to store instructions, and the processor 20 is used to call the instructions stored in the memory to implement the drug inventory method as in Example 1.
[0131] Specifically, the medicine cabinet 10 and the inventory counting machine 30 also include their own independent memories, processors 20, and power sources (such as batteries) for powering various components including the memories and processors 20, and can be used to store software programs and various data.
[0132] The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a program required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0133] In another embodiment, since the medicine cabinet 10 and the inventory counting machine 30 include their own independent memories, processors, and power supplies (such as batteries) for powering various components including the memories and processors, the medicine inventory counting device 40 can also be independently operated in the medicine cabinet 10 and the inventory counting machine 30. The medicine inventory counting device 40 can be a complete executable program or a distributed storage network program. The medicine inventory counting device 40 can also be partially operated in the medicine cabinet 10 and the inventory counting machine 30, or in other storable network nodes in the network architecture that includes the medicine cabinet 10 and the inventory counting machine 30, and some functions of the medicine inventory counting device 40 are executed through network control.
[0134] Embodiment 4
[0135] refer to Figure 1 The present application also provides a drug inventory system, which includes a medicine cabinet 10, an inventory machine 30 and a computing device, wherein the medicine cabinet 10, the inventory machine 30 and the computing device work together and execute the drug inventory method of embodiment 1 to realize automatic calculation of drug count values and effectively improve inventory efficiency.
[0136] In this embodiment, the medicine cabinet 10 includes multiple medicine cabinets 10, each medicine cabinet 10 has multiple layers of drawers, each layer of drawers includes multiple weighing boxes 50, and multiple weighing boxes 50 are arranged in sequence in the drawers. Different weighing boxes 50 need to store medicines of different specifications, and the weight values of individual medicines corresponding to medicines of different specifications are different. Therefore, each weighing box 50 has a standard weight value of a single medicine, and the standard weight value of a single medicine includes the weight value of a single medicine. Any weighing box 50 can measure the weight change value of the medicine in the weighing box 50 according to the corresponding standard weight value of a single medicine. The inventory machine 30 includes an inventory box. When the medicines are inventoryed, the medical staff transfers the medicines in the weighing box 50 to the inventory box, and the inventory box starts the inventory function to measure the weight change value in the inventory box.
[0137] In this embodiment, the processor 20 is respectively connected to the medicine cabinet 10 and the inventory counting machine 30 for communication. The medicine inventory counting device 40 stores the weighing box 50 and the standard weight value of each medicine in a database in advance. The generation module 41 can control the medicine cabinet 10 to update the medicine count value according to the weight change value obtained by the weighing box 50 and the preset corresponding standard weight value of each medicine. The execution module 42 determines that when the medicine cabinet 10 receives the inventory instruction, the inventory instruction is sent to the inventory counting machine 30, and the inventory counting machine 30 is controlled to start the inventory box. The verification module 43 determines that when the difference between the weight increase value W1 of the inventory box and the weight decrease value W2 of the weighing box 50 within the preset time is within the preset range, the processor 20 controls the medicine cabinet 10 to upload the corresponding standard weight value of each medicine and sends it to the inventory counting machine 30. The calculation module 44 obtains the inventory result according to the corresponding standard weight value of each medicine uploaded by the medicine cabinet 10 and the weight increase value W1 of the inventory box, and then the update module 45 updates the medicine count value of the medicine cabinet 10 according to the inventory result.
[0138] The above-mentioned inventory counting device realizes automatic calculation of drug count values during the inventory counting process, effectively improving the inventory counting efficiency, and determines whether the weighing box 50 and the inventory counting box are in the inventory counting state through the preset time and preset range, thereby reducing the error and interference of the inventory counting process.
[0139] In this embodiment, the inventory counting machine includes a moving device for moving the inventory counting machine close to or away from the medicine cabinet. Specifically, the medical staff can push the inventory counting machine to move the inventory counting machine to the vicinity of the medicine cabinet that needs to be counted, effectively improving the convenience of medical staff operation.
[0140] In another embodiment, the medicine cabinet inventory system includes a first display device, a second display device and a prompt device, the first display device is arranged on the inventory box, the first display device is used to display the weight change value of the medicines in the inventory box and the inventory result, the second display device and the prompt device are respectively arranged on the weighing box 50, the second display device is used to display the weight change value of the medicines in the weighing box 50 and the medicine count value, when the processor sends a status change instruction to the weighing box 50, the prompt device displays prompt information according to the status change instruction, wherein the prompt information includes color prompts or sound prompts.
[0141] Specifically, the first display device is connected to the inventory counting machine 30 in communication, and the inventory result includes the inventory count value. The first display device can display the drug weight value and the inventory count value of the inventory box. The second display device and the prompt device are connected to the plurality of weighing boxes 50 in communication, and each weighing box 50 has a corresponding display position on the second display device. When the drug weight value and the drug count value of any weighing box 50 are updated, they can be displayed at the corresponding display position of the second display device to improve the convenience of use. When the drug count value of the weighing box 50 is less than the minimum drug count value, the prompt light of the prompt device can be turned on, off or change color to remind the medical staff that they need to refill the drugs in the weighing box 50. The voice prompt of the voice announcer can also be used to remind them to refill the drugs. It can also be understood that the second display device and the prompt device each include a plurality of them, and the plurality of second display devices are set in a one-to-one correspondence with the plurality of weighing boxes 50, and the plurality of prompt devices are set in a one-to-one correspondence with the plurality of weighing boxes 50, so as to improve the convenience of medical staff operation.
[0142] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0143] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.
Claims
1. A drug inventory method, characterized in that: The invention comprises a plurality of medicine cabinets and an inventory counting machine, each of the medicine cabinets comprises a plurality of weighing boxes, each of the weighing boxes is used to store medicines of one specification, the inventory counting machine comprises an inventory counting box and a moving device, the moving device is used to move the inventory counting machine close to or away from the medicine cabinet, the weighing boxes and the inventory counting box are both capable of measuring the weight change value of the medicine, and the method comprises: When the mobile device moves the inventory counting machine to the vicinity of the medicine cabinet that needs to be counted, the medicine cabinet is controlled to update the medicine counting value according to the weight change value obtained by the weighing box and the preset standard weight value of the corresponding single medicine; When the medicine cabinet receives the inventory command, the medicine cabinet sends the inventory command to the inventory machine and controls the inventory machine to start the inventory box; When the difference between the weight increase value W1 of the inventory box and the weight decrease value W2 of the weighing box is within a preset range within a preset time, the medicine cabinet is controlled to upload the standard weight value of the corresponding single medicine and send it to the inventory machine, wherein the preset time can be manually set by the medical staff according to the number of medicines in the weighing box; The inventory result is obtained according to the standard weight value of the corresponding medicine uploaded by the medicine cabinet and the weight increase value W1 of the inventory box; The medicine count value of the medicine cabinet is updated according to the inventory result.
2. The drug inventory method according to claim 1, characterized in that: Different weighing boxes store medicines of different specifications, and the weight values of individual medicines corresponding to medicines of different specifications are different. Each weighing box has a one-to-one corresponding standard weight value of a single medicine to store medicines of different specifications, and each weighing box includes a corresponding standard weight value of a single medicine. The method further includes: Pre-storing a plurality of standard weight values of individual medicines corresponding to the weighing boxes; When the weight reduction value W2 of the weighing box exceeds the threshold, the corresponding standard weight value of the single medicine is obtained.
3. The drug inventory method according to claim 2, characterized in that: Each weighing box corresponds to a signal transmission path, and each weighing box includes position information. The method of obtaining the corresponding single standard weight value of the medicine according to any weighing box includes: Establishing an association between the location information and the standard weight value of a single drug through identification information of a signal transmission path; When the weight reduction value W2 of the weighing box exceeds the threshold, obtaining the position information of the weighing box; Finding the standard weight value of a single medicine according to the location information; Correspondingly, the control of the medicine cabinet to update the medicine count value according to the weight change value obtained by the weighing box and the preset standard weight value of a single corresponding medicine includes: Calculate the medicine count value according to the weight change value and the corresponding single standard weight value of the medicine; The medicine cabinet is controlled to update the medicine count value according to the position information corresponding to the weighing box.
4. The drug inventory method according to claim 3, characterized in that: The medicine cabinet includes a plurality of cabinets, each cabinet includes a plurality of stacked drawers, each of the drawers sequentially arranges a plurality of weighing boxes, the position information includes a medicine cabinet number and a medicine box number, each of the cabinets and the medicine box has a corresponding virtual position, and after the medicine cabinet is controlled to update the medicine count value according to the position information corresponding to the weighing box, the method includes: When the updated drug count value and the pre-stored drug count value meet a preset condition, obtaining the medicine cabinet number and the medicine box number corresponding to the weighing box, wherein the preset condition includes that the updated drug count value is inconsistent with the pre-stored drug count value; Control the medicine cabinet to unlock the corresponding weighing box according to the medicine cabinet number and the medicine box number; The method further comprises: The position information of the weighing box is associated with the corresponding virtual address, so that when the weight change value of any weighing box is obtained, the medicine cabinet number and medicine box number of the corresponding weighing box are immediately obtained.
5. The drug inventory method according to claim 1, characterized in that: Before sending the inventory counting instruction to the inventory counting machine and controlling the inventory counting machine to start the inventory counting box, the method further includes: Receive user identity information; When the user identity information is consistent with the pre-stored user identity information, the medicine cabinet is controlled to receive the inventory instruction.
6. A computing device, characterized in that It includes a memory and a processor, the memory is used to store instructions, and the processor is used to call the instructions stored in the memory to implement the drug inventory method as described in any one of claims 1-5.
7. The computing device according to claim 6, characterized in that The computing device includes a plurality of independent memories and processors, and a power supply for supplying power to the corresponding memories and processors, and is respectively arranged in the medicine cabinet and the inventory counting machine.
8. A drug inventory system, characterized in that: include: A medicine cabinet, the medicine cabinet comprising at least a plurality of weighing boxes, each weighing box having a standard weight value of a single medicine; An inventory counting machine, comprising an inventory counting box, wherein the inventory counting box is used for counting medicines; A computing device for executing the drug inventory method as described in any one of claims 1-5.
9. The drug inventory system according to claim 8, characterized in that: It also includes a first display device, a second display device and a prompt device. The first display device is arranged on the inventory box to display the weight change value of the medicines in the inventory box and the inventory result. The second display device and the prompt device are respectively arranged on the weighing box to display the weight change value of the medicines in the weighing box and the medicine count value. When a status change instruction is issued to the weighing box, the prompt device displays prompt information according to the status change instruction.
10. The drug inventory system according to claim 9, characterized in that: The first display device is communicatively connected to the inventory counting machine, the second display device and the prompt device are communicatively connected to the plurality of weighing boxes respectively, each weighing box has a corresponding display position on the second display device, when the drug weight value and drug count value of any weighing box are updated, they can be displayed at the corresponding display position of the second display device, when the drug count value counted by the weighing box is less than the minimum drug count value, the prompt light of the prompt device can light up, turn off, change color or provide voice prompts through a voice announcer, wherein the second display device and the prompt device each include a plurality, the plurality of the second display devices are arranged in a one-to-one correspondence with the plurality of weighing boxes, and the plurality of the prompt devices are arranged in a one-to-one correspondence with the plurality of weighing boxes.
