Medicine warehouse arrangement method and device

By obtaining the quantity information of various drugs in the drug database, automatically merge the baskets with insufficient types of drugs and transporting their drugs to baskets with abundant drugs, solving the problem of unbalanced storage of drugs in the drug database and realizing the Efficient organization and supplementation, making it easier to manage the drug warehouse.

CN118790656BActive Publication Date: 2025-01-10SUZHOU IRON TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411282553.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2025-01-10
Estimated Expiration
2044-09-13

AI Technical Summary

Technical Problem

The storage of medicines in hospital medicine warehouses is uneven, resulting in too much or too little Chinese medicines in some medicine baskets, and it needs to be sorted to meet a reasonable total quantity requirement, but the existing technology lacks efficient sorting methods and devices.

Method used

By obtaining the quantity information of various drugs in the drug database, we automatically identify and merge the baskets with insufficient drug types, transport their drugs to baskets with abundant drugs, and sort them out according to the preset threshold to free up the empty baskets for replenishment. .

Benefits of technology

It realizes efficient sorting of drugs in the drug warehouse, freeing up empty baskets, making it easier to supplement drugs, and improving the efficiency and accuracy of drug warehouse management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118790656B_ABST
    Figure CN118790656B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for arranging a medicine storehouse, the method comprising the following steps: obtaining multiple drug types stored in the medicine storehouse and the total quantity corresponding to each drug type; when the total quantity corresponding to any target drug type is less than a first preset threshold, obtaining a plurality of medicine baskets to be merged whose drug type is the target drug type and whose drug quantity is less than a second preset threshold, and performing the following first processing on each medicine basket to be merged: the number of drugs in the medicine basket to be merged is Num1, obtaining a first target medicine basket whose drug type is the target drug type, and the number of drugs in the first target medicine basket + Num1 ≤ Num2, and conveying all drugs in the medicine basket to be merged to the first target medicine basket. Thus, some empty medicine baskets can be freed up.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of drug storage, and in particular to a method and device for organizing a drug warehouse. Background Art

[0002] In current hospitals, drug warehouses are usually set up. There are multiple medicine baskets in the drug warehouse, and each medicine basket can store the same type of drugs. When in use, drugs are taken from the medicine baskets (for example, the medicine basket is sent out of the drug warehouse, and drugs are taken away manually, and then the medicine basket is retrieved). It can be understood that this will result in some medicine baskets having very few drugs and some medicine baskets having a lot of drugs, but the total amount of drugs does not meet the requirements. At this time, replenishment is required, which requires the drug warehouse to be organized and some medicine baskets to be emptied. Summary of the Invention

[0003] The purpose of the present invention is to provide a method and device for organizing a drug warehouse.

[0004] To achieve one of the above-mentioned invention purposes, an embodiment of the present invention provides a method for organizing a drug warehouse. Multiple medicine baskets are set in the drug warehouse, and each medicine basket can store the same type of drugs. The method includes the following steps: obtaining multiple drug types stored in the drug warehouse and the total quantity corresponding to each drug type; when the total quantity corresponding to any target drug type < a first preset threshold, obtaining several to-be-merged medicine baskets with the drug type being the target drug type and the drug quantity < a second preset threshold, and performing the following first processing on each to-be-merged medicine basket: the drug quantity in the to-be-merged medicine basket is Num1, obtaining a first target medicine basket with the drug type being the target drug type, and the drug quantity in the first target medicine basket + Num1 ≤ Num2, transporting all the drugs in the to-be-merged medicine basket to the first target medicine basket, where the to-be-merged medicine basket and the first target medicine basket are different medicine baskets, Num2 is the maximum quantity value of the drugs of the target drug type that the medicine basket can store, 0 < the second preset threshold < the first preset threshold; continuously performing the following second processing on any to-be-merged medicine basket with a non-zero drug quantity: the drug quantity in the to-be-merged medicine basket is Num3, if a second target medicine basket with the drug type being the target drug type, the drug quantity Num4 < Num2 and the drug quantity Num4 + Num3 > Num2 is successfully obtained, then transporting Num2 - Num4 drugs in the to-be-merged medicine basket to the second target medicine basket, otherwise, no subsequent second processing is performed on the to-be-merged medicine basket; where the to-be-merged medicine basket and the second target medicine basket are different medicine baskets.

[0005] As a further improvement of an embodiment of the present invention, the method further includes the following step: displaying the drug types that meet "the total quantity < the first preset threshold".

[0006] As a further improvement of one embodiment of the present invention, the method of transporting all the medicines in the medicine basket to be merged to the first target medicine basket specifically includes: transporting all the medicines in the medicine basket to be merged to the first target medicine basket, and then sending the medicine basket to be merged out of the medicine warehouse; the second processing also includes: if the number of medicines in the medicine basket to be merged is zero, sending the medicine basket to be merged out of the medicine warehouse.

[0007] As a further improvement of an embodiment of the present invention, the first processing of each medicine basket to be merged specifically includes: performing the first processing of each medicine basket to be merged in order of the number of medicines from small to large.

[0008] As a further improvement of an embodiment of the present invention, a storage device is further provided in the medicine warehouse, and the storage device stores an identifier corresponding to each medicine basket, a corresponding drug type and a corresponding drug quantity; the acquisition of the multiple drug types stored in the medicine warehouse and the total quantity corresponding to each drug type specifically includes: acquiring the drug types and the corresponding drug quantities corresponding to all the medicine baskets in the medicine warehouse from the storage device, thereby obtaining the multiple drug types stored in the medicine warehouse and the total quantity corresponding to each drug type; the delivery of all the drugs in the medicine basket to be merged to the first target medicine basket specifically includes: acquiring the drug quantity Num5 in the medicine basket to be merged, delivering all the drugs in the medicine basket to be merged to the first target medicine basket, and then, in the storage device, increasing the drug quantity corresponding to the first target medicine basket by Num5; the delivery of Num2-Num4 drugs in the medicine basket to be merged to the second target medicine basket specifically includes: delivering Num2-Num4 drugs in the medicine basket to be merged to the second target medicine basket, and then, in the storage device, increasing the drug quantity corresponding to the second target medicine basket by Num2.

[0009] An embodiment of the present invention further provides an arrangement device for a medicine repository. A plurality of medicine baskets are arranged in the medicine repository, and each medicine basket can store the same type of medicine. The device includes the following modules: an information acquisition module, configured to acquire a plurality of medicine types stored in the medicine repository and the total quantity corresponding to each medicine type; a first medicine arrangement module, configured to, when the total quantity corresponding to any target medicine type is less than a first preset threshold, acquire a plurality of to-be-consolidated medicine baskets whose medicine type is the target medicine type and whose medicine quantity is less than a second preset threshold, and perform the following first processing on each to-be-consolidated medicine basket: the medicine quantity in the to-be-consolidated medicine basket is Num1, acquire a first target medicine basket whose medicine type is the target medicine type, and the medicine quantity of the first target medicine basket + Num1 ≤ Num2, and transport all the medicines in the to-be-consolidated medicine basket to the first target medicine basket, where the to-be-consolidated medicine basket and the first target medicine basket are different medicine baskets, and Num2 is the maximum quantity value of the medicines of the target medicine type that the medicine basket can store, 0 < the second preset threshold < the first preset threshold; a second medicine arrangement module, configured to continuously perform the following second processing on any to-be-consolidated medicine basket whose medicine quantity is not zero: the medicine quantity in the to-be-consolidated medicine basket is Num3, if a second target medicine basket whose medicine type is the target medicine type and whose medicine quantity Num4 < Num2 and medicine quantity Num4 + Num3 > Num2 is successfully acquired, then transport Num2 - Num4 medicines in the to-be-consolidated medicine basket to the second target medicine basket, otherwise, no subsequent second processing is performed on the to-be-consolidated medicine basket; where the to-be-consolidated medicine basket and the second target medicine basket are different medicine baskets.

[0010] As a further improvement of an embodiment of the present invention, it further includes the following module: a display module, configured to display the medicine types that satisfy "the total quantity < the first preset threshold".

[0011] As a further improvement of an embodiment of the present invention, the first medicine arrangement module is further configured to: transport all the medicines in the to-be-consolidated medicine basket to the first target medicine basket, and then send the to-be-consolidated medicine basket out of the medicine repository; the second processing further includes: if the medicine quantity in the to-be-consolidated medicine basket is zero, send the to-be-consolidated medicine basket out of the medicine repository.

[0012] As a further improvement of an embodiment of the present invention, the first medicine arrangement module is further configured to: perform the following first processing on each to-be-consolidated medicine basket in ascending order of the medicine quantity.

[0013] As a further improvement of one embodiment of the present invention, a storage device is further provided in the medicine warehouse, and the storage device stores an identifier corresponding to each medicine basket, a corresponding drug type and a corresponding drug quantity; the information acquisition module is also used to: obtain the drug type and the corresponding drug quantity corresponding to all medicine baskets in the medicine warehouse from the storage device, so as to obtain multiple drug types stored in the medicine warehouse, and the total quantity corresponding to each drug type; the first drug sorting module is also used to: obtain the number of drugs Num5 in the medicine basket to be merged, transport all the drugs in the medicine basket to be merged to the first target medicine basket, and then, in the storage device, increase the number of drugs corresponding to the first target medicine basket by Num5; the second drug sorting module is also used to: transport Num2-Num4 drugs in the medicine basket to be merged to the second target medicine basket, and then, in the storage device, increase the number of drugs corresponding to the second target medicine basket by Num2.

[0014] Compared with the prior art, the technical effect of the present invention is that: the present invention provides a method and device for organizing a medicine warehouse, the method comprising the following steps: obtaining multiple drug types stored in the medicine warehouse and the total quantity corresponding to each drug type; when the total quantity corresponding to any target drug type is less than the first preset threshold, obtaining a number of medicine baskets to be merged whose drug type is the target drug type and whose drug quantity is less than the second preset threshold, and performing the following first processing on each medicine basket to be merged: the number of drugs in the medicine basket to be merged is Num1, obtaining a first target medicine basket whose drug type is the target drug type, and the number of drugs in the first target medicine basket + Num1 ≤ Num2, and transporting all drugs in the medicine basket to be merged to the first target medicine basket. Thus, some empty medicine baskets can be freed up. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a schematic flow chart of the method for organizing the medicine warehouse in an embodiment of the present invention. DETAILED DESCRIPTION

[0016] The following description and accompanying drawings fully illustrate the specific embodiments of this article so that those skilled in the art can practice them. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. The scope of the embodiments of this article includes the entire scope of the claims, as well as all available equivalents of the claims. Herein, the terms "first", "second", etc. are only used to distinguish one element from another, without requiring or implying any actual relationship or order between these elements. In fact, the first element can also be called the second element, and vice versa. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the structure, device or equipment including a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also include elements inherent to such structure, device or equipment. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the structure, device or equipment including the elements. Each embodiment is described in a progressive manner herein, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the embodiments can be referred to each other.

[0017] The terms "longitudinal", "lateral", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. in this document indicate the orientation or position relationship based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing this document and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In the description of this document, unless otherwise specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a mechanical connection or an electrical connection, it can also be the internal communication of two elements, it can be a direct connection, or it can be indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.

[0018] Embodiment 1 of the present invention provides a method for organizing a medicine warehouse, wherein a plurality of medicine baskets are provided in the medicine warehouse, and each medicine basket can store the same type of medicines. Here, a frame can be provided in the medicine warehouse, and a plurality of medicine storage positions are provided in the frame, and each medicine storage position can store a medicine basket; in addition, a transportation device and a manipulator can be provided in the medicine warehouse, so that the medicine baskets can be moved between different medicine storage positions, and the medicines in one medicine basket can be transported to other medicine baskets, and empty medicine baskets can be sent out of the medicine warehouse, and medicine baskets full of medicines can be received and stored in a medicine storage position.

[0019] like Figure 1 As shown, it includes the following steps:

[0020] Step 101: Obtain multiple drug types stored in the medicine repository and the total quantity corresponding to each drug type; here, a storage device can also be set in the medicine repository, and the storage device stores the identifier corresponding to each medicine basket, the corresponding drug type, and the corresponding drug quantity, so that multiple drug types stored in the medicine repository and the total quantity corresponding to each drug type can be counted.

[0021] Step 102: When the total quantity corresponding to any target drug type < the first preset threshold, obtain several to-be-merged medicine baskets with the drug type being the target drug type and the drug quantity < the second preset threshold, and perform the following first processing on each to-be-merged medicine basket: The drug quantity in the to-be-merged medicine basket is Num1, obtain the first target medicine basket with the drug type being the target drug type, and the drug quantity of the first target medicine basket + Num1 ≤ Num2, and transport all the drugs in the to-be-merged medicine basket to the first target medicine basket. Here, the to-be-merged medicine basket and the first target medicine basket are different medicine baskets, Num2 is the maximum quantity value of the drugs of the target drug type that the medicine basket can store, and 0 < the second preset threshold < the first preset threshold.

[0022] Here, when the total quantity corresponding to a drug type < the first preset threshold, it means that the total quantity corresponding to this drug type is insufficient. At this time, some merges can be performed, that is, if the sum of the drug quantities in two medicine baskets ≤ Num2, the drugs in the two medicine baskets can be merged.

[0023] Step 103: Continuously perform the following second processing on any to-be-merged medicine basket with a non-zero drug quantity: The drug quantity in the to-be-merged medicine basket is Num3. When the second target medicine basket with the drug type being the target drug type, the drug quantity Num4 < Num2, and the drug quantity Num4 + Num3 > Num2 is successfully obtained, then transport Num2 - Num4 drugs in the to-be-merged medicine basket to the second target medicine basket; otherwise, no subsequent second processing is performed on the to-be-merged medicine basket; where the to-be-merged medicine basket and the second target medicine basket are different medicine baskets.

[0024] Here, when the drug quantity of a certain to-be-merged medicine basket is non-zero, the to-be-merged medicine basket can be placed into multiple medicine baskets.

[0025] In this embodiment, it further includes the following step: Display the drug types that meet the condition of "total quantity < the first preset threshold". Here, the drug types that meet the condition of "total quantity < the first preset threshold" can be displayed through a display, voice, or printer printing, etc., so as to facilitate the staff to know which drugs need to be replenished.

[0026] In this embodiment, the step of conveying all the medicines in the medicine basket to be merged to the first target medicine basket specifically includes: conveying all the medicines in the medicine basket to be merged to the first target medicine basket, and then sending the medicine basket to be merged out of the medicine storehouse; the second process also includes: if the number of medicines in the medicine basket to be merged is zero, sending the medicine basket to be merged out of the medicine storehouse. Here, the empty medicine basket to be merged is sent out of the medicine storehouse, so as to facilitate the staff to replenish the medicines.

[0027] In this embodiment, the first processing is performed on each medicine basket to be merged, specifically including: performing the first processing on each medicine basket to be merged in order of the number of medicines from small to large.

[0028] In this embodiment, a storage device is further provided in the medicine warehouse, and the storage device stores an identifier corresponding to each medicine basket, a corresponding drug type and a corresponding drug quantity; the acquisition of the multiple drug types stored in the medicine warehouse and the total quantity corresponding to each drug type specifically includes: acquiring the drug types and the corresponding drug quantities corresponding to all the medicine baskets in the medicine warehouse from the storage device, thereby obtaining the multiple drug types stored in the medicine warehouse and the total quantity corresponding to each drug type; the delivery of all the drugs in the medicine baskets to be merged to the first target medicine basket specifically includes: acquiring the drug quantity Num5 in the medicine baskets to be merged, delivering all the drugs in the medicine baskets to be merged to the first target medicine basket, and then, in the storage device, increasing the drug quantity corresponding to the first target medicine basket by Num5; the delivery of Num2-Num4 drugs in the medicine baskets to be merged to the second target medicine basket specifically includes: delivering Num2-Num4 drugs in the medicine baskets to be merged to the second target medicine basket, and then, in the storage device, increasing the drug quantity corresponding to the second target medicine basket by Num2.

[0029] Embodiment 2 of the present invention provides an arrangement device for a medicine storage. A plurality of medicine baskets are arranged in the medicine storage, and each medicine basket can store the same type of medicine. The device includes the following modules: an information acquisition module, configured to acquire a plurality of medicine types stored in the medicine storage and the total quantity corresponding to each medicine type; a first medicine arrangement module, when the total quantity corresponding to any target medicine type is less than a first preset threshold, configured to acquire several to-be-consolidated medicine baskets with the medicine type being the target medicine type and the medicine quantity being less than a second preset threshold, and perform the following first processing on each to-be-consolidated medicine basket: the medicine quantity in the to-be-consolidated medicine basket is Num1, acquire a first target medicine basket with the medicine type being the target medicine type, and the medicine quantity of the first target medicine basket + Num1 ≤ Num2, and transport all the medicines in the to-be-consolidated medicine basket to the first target medicine basket, where the to-be-consolidated medicine basket and the first target medicine basket are different medicine baskets, and Num2 is the maximum quantity value of the medicines of the target medicine type that the medicine basket can store, 0 < the second preset threshold < the first preset threshold; a second medicine arrangement module, configured to continuously perform the following second processing on any to-be-consolidated medicine basket with a non-zero medicine quantity: the medicine quantity in the to-be-consolidated medicine basket is Num3, if a second target medicine basket with the medicine type being the target medicine type, the medicine quantity Num4 < Num2, and the medicine quantity Num4 + Num3 > Num2 is successfully acquired, then transport Num2 - Num4 medicines in the to-be-consolidated medicine basket to the second target medicine basket, otherwise, no subsequent second processing is performed on the to-be-consolidated medicine basket; where the to-be-consolidated medicine basket and the second target medicine basket are different medicine baskets.

[0030] In this embodiment, it further includes the following module: a display module, configured to display the medicine types that satisfy "the total quantity < the first preset threshold".

[0031] In this embodiment, the first medicine arrangement module is further configured to: transport all the medicines in the to-be-consolidated medicine basket to the first target medicine basket, and then send the to-be-consolidated medicine basket out of the medicine storage; the second processing further includes: if the medicine quantity in the to-be-consolidated medicine basket is zero, send the to-be-consolidated medicine basket out of the medicine storage.

[0032] In this embodiment, the first medicine arrangement module is further configured to: perform the following first processing on each to-be-consolidated medicine basket in ascending order of the medicine quantity.

[0033] In this embodiment, a storage device is also provided in the medicine warehouse, and the storage device stores an identifier corresponding to each medicine basket, a corresponding drug type and a corresponding drug quantity; the information acquisition module is also used to: obtain the drug type and the corresponding drug quantity corresponding to all the medicine baskets in the medicine warehouse from the storage device, so as to obtain multiple drug types stored in the medicine warehouse, and the total quantity corresponding to each drug type; the first drug sorting module is also used to: obtain the number of drugs Num5 in the medicine basket to be merged, transport all the drugs in the medicine basket to be merged to the first target medicine basket, and then, in the storage device, increase the number of drugs corresponding to the first target medicine basket by Num5; the second drug sorting module is also used to: transport Num2-Num4 drugs in the medicine basket to be merged to the second target medicine basket, and then, in the storage device, increase the number of drugs corresponding to the second target medicine basket by Num2.

[0034] It should be noted that although the above describes the various steps in a specific order, it does not mean that the various steps must be executed in the above specific order. In fact, some of these steps can be executed concurrently or even in a different order as long as the required functions can be achieved.

[0035] The present invention may be a system, a method and / or a computer program product. The computer program product may include a readable storage medium carrying computer readable program instructions for causing a processor to implement various aspects of the present invention.

[0036] The readable storage medium can be a tangible device that holds and stores instructions used by the instruction execution device. The readable storage medium can include, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of readable storage media include: a portable computer disk, a hard disk, a random access memory device (RAM), a read-only memory device (ROM), an erasable programmable read-only memory device (EPROM or flash memory), a static random access memory device (SRAM), a portable compact disk read-only memory device (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a protruding structure in a groove on which instructions are stored, and any suitable combination thereof.

[0037] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for organizing a medicine storehouse, wherein a plurality of medicine baskets are arranged in the medicine storehouse, each medicine basket can store the same type of medicine, characterized in that: It includes the following steps: Obtain multiple drug types stored in the medicine repository and the total quantity corresponding to each drug type; When the total quantity corresponding to any target drug type < the first preset threshold, obtain several to-be-consolidated medicine baskets with the drug type being the target drug type and the drug quantity < the second preset threshold, and perform the following first processing on each to-be-consolidated medicine basket: The drug quantity in the to-be-consolidated medicine basket is Num1, obtain the first target medicine basket with the drug type being the target drug type, and the drug quantity of the first target medicine basket + Num1 ≤ Num2, and transport all the drugs in the to-be-consolidated medicine basket to the first target medicine basket, where the to-be-consolidated medicine basket and the first target medicine basket are different medicine baskets, and Num2 is the maximum quantity value of the drugs of the target drug type that the medicine basket can store, and 0 < the second preset threshold < the first preset threshold; Continue to perform the following second processing on any to-be-consolidated medicine basket with a non-zero drug quantity: The drug quantity in the to-be-consolidated medicine basket is Num3. If a second target medicine basket with the drug type being the target drug type and the drug quantity Num4 < Num2 and the drug quantity Num4 + Num3 > Num2 is successfully obtained, then transport Num2 - Num4 drugs in the to-be-consolidated medicine basket to the second target medicine basket, otherwise, no subsequent second processing is performed on the to-be-consolidated medicine basket; where the to-be-consolidated medicine basket and the second target medicine basket are different medicine baskets.

2. The finishing method according to claim 1, characterized in that: It further includes the following steps: Display the drug types that meet the condition of "total quantity < the first preset threshold".

3. The sorting method according to claim 1, wherein The specific process of transporting all the drugs in the to-be-consolidated medicine basket to the first target medicine basket includes: Transport all the drugs in the to-be-consolidated medicine basket to the first target medicine basket, and then send the to-be-consolidated medicine basket out of the medicine repository; The second processing further includes: If the drug quantity in the to-be-consolidated medicine basket is zero, send the to-be-consolidated medicine basket out of the medicine repository.

4. The finishing method according to claim 1, characterized in that: The specific process of performing the following first processing on each to-be-consolidated medicine basket specifically includes: Perform the following first processing on each to-be-consolidated medicine basket in ascending order of drug quantity.

5. The sorting method according to claim 1, wherein A storage device is further provided in the medicine repository, and the storage device stores the identifier corresponding to each medicine basket, the corresponding drug type, and the corresponding drug quantity; The specific process of obtaining multiple drug types stored in the medicine repository and the total quantity corresponding to each drug type specifically includes: Obtain the drug types and the corresponding drug quantities of all medicine baskets in the medicine repository from the storage device, so as to obtain multiple drug types stored in the medicine repository and the total quantity corresponding to each drug type; The specific process of transporting all the drugs in the to-be-consolidated medicine basket to the first target medicine basket specifically includes: Obtain the drug quantity Num5 in the to-be-consolidated medicine basket, transport all the drugs in the to-be-consolidated medicine basket to the first target medicine basket, and then, in the storage device, increase the drug quantity corresponding to the first target medicine basket by Num5; The step of transporting Num2 - Num4 drugs in the to - be - merged medicine basket to the second target medicine basket specifically includes: transporting Num2 - Num4 drugs in the to - be - merged medicine basket to the second target medicine basket. Then, in the storage device, increase the drug quantity corresponding to the second target medicine basket by Num2.

6. A medicine storage arrangement device, wherein a plurality of medicine baskets are arranged in the medicine storage, each medicine basket can store the same type of medicine, characterized in that: It includes the following modules: An information acquisition module, configured to acquire multiple drug types stored in the pharmacy and the total quantity corresponding to each drug type. A first drug sorting module, when the total quantity corresponding to any target drug type < the first preset threshold, acquires several to - be - merged medicine baskets with the drug type being the target drug type and the drug quantity < the second preset threshold, and performs the following first processing on each to - be - merged medicine basket: the drug quantity in the to - be - merged medicine basket is Num1, acquires a first target medicine basket with the drug type being the target drug type, and the drug quantity of the first target medicine basket + Num1 ≤ Num2, transports all the drugs in the to - be - merged medicine basket to the first target medicine basket, where the to - be - merged medicine basket and the first target medicine basket are different medicine baskets, Num2 is the maximum quantity value of drugs of the target drug type that a medicine basket can store, and 0 < the second preset threshold < the first preset threshold. A second drug sorting module, continuously performs the following second processing on any to - be - merged medicine basket with a non - zero drug quantity: the drug quantity in the to - be - merged medicine basket is Num3. If a second target medicine basket with the drug type being the target drug type, the drug quantity Num4 < Num2, and the drug quantity Num4 + Num3 > Num2 is successfully acquired, then transports Num2 - Num4 drugs in the to - be - merged medicine basket to the second target medicine basket; otherwise, no further second processing is performed on the to - be - merged medicine basket; where the to - be - merged medicine basket and the second target medicine basket are different medicine baskets.

7. The arranging device according to claim 6, characterized in that: It also includes the following modules: A display module, configured to display drug types that satisfy "total quantity < the first preset threshold".

8. The sorting device according to claim 6, wherein The first drug sorting module is further configured to: transport all the drugs in the to - be - merged medicine basket to the first target medicine basket, and then send the to - be - merged medicine basket out of the pharmacy. The second processing further includes: if the drug quantity in the to - be - merged medicine basket is zero, send the to - be - merged medicine basket out of the pharmacy.

9. The arranging device according to claim 6, characterized in that: The first drug sorting module is further configured to: perform the following first processing on each to - be - merged medicine basket in ascending order of drug quantity.

10. The sorting device according to claim 6, wherein A storage device is further provided in the pharmacy, and the storage device stores the identifier corresponding to each medicine basket, the corresponding drug type, and the corresponding drug quantity. The information acquisition module is further configured to: acquire the drug types and the corresponding drug quantities corresponding to all medicine baskets in the pharmacy from the storage device, so as to obtain multiple drug types stored in the pharmacy and the total quantity corresponding to each drug type. The first medicine sorting module is further used to: obtain the number Num5 of medicines in the medicine basket to be merged, transport all the medicines in the medicine basket to be merged to the first target medicine basket, and then increase the number of medicines corresponding to the first target medicine basket by Num5 in the storage device; The second medicine sorting module is also used to: transport Num2-Num4 medicines in the medicine basket to be merged to the second target medicine basket, and then increase the number of medicines corresponding to the second target medicine basket by Num2 in the storage device.

Citation Information

Patent Citations

  • Dispensing system, control end and dispensing method

    CN102491041A

  • Medicine basket conveying system

    CN103771067A