Medicine taking method and device for tablet medicine warehouse, storage medium and terminal

By designing the drug storage area, medicine collection unit, packaging area and medicine outlet in the plate medicine library, and using guide rails and cached medicine boxes to achieve accurate drug acquisition and transmission, the problem of complex and low efficiency of drug acquisition process in the existing technology is solved, and the accuracy and efficiency of drug transmission are improved.

CN119612029APending Publication Date: 2025-03-14SUZHOU IRON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411931489.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the existing automated pharmacy system, the drug collection process of the board medicine library has problems such as complex management, confusion of drugs, delayed transmission and incorrect distribution, and insufficient drug acquisition path and time efficiency.

Method used

A method for taking medicine for the plate medicine library was designed. By setting up a storage area, a medicine collection unit, a packaging area and a medicine outlet, the guide rail and a cache medicine box were used to achieve accurate medicine collection and transmission of medicines. The medicine collection unit automatically locates and takes medicine according to the target prescription, and the medicine is transmitted to the packaging area through the guide rail for packaging and discharge.

Benefits of technology

It improves the efficiency of drug collection, reduces the risk of drug confusion and delay, optimizes the layout and transmission mechanism of the cache area, and achieves faster and more accurate drug transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119612029A_ABST
    Figure CN119612029A_ABST
Patent Text Reader

Abstract

The invention discloses a medicine taking method and device for a tablet medicine warehouse, a storage medium and a terminal, and the method comprises the following steps: obtaining a target prescription which comprises the name and the number of target medicines; based on the target prescription, the medicine taking unit is controlled to take target medicines, and all the target medicines are conveyed to a packaging area; and the packaging area is controlled to package all the target drugs and convey the target drugs to a drug outlet. By optimizing the medicine taking process, improving cache management and improving the automation degree of the medicine taking units, efficient and accurate medicine distribution is achieved, movement of the medicine taking units can be accurately controlled, waiting time and repeated operation are reduced, the medicine taking speed is increased, the system is suitable for an automatic plate medicine warehouse, and the operation efficiency and the patient satisfaction degree of the plate medicine warehouse are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automated pharmacies, and in particular to a medicine taking method, a device, a storage medium and a terminal for a plate medicine warehouse. Background Art

[0002] In the existing automated pharmacy system, the drug collection process in the drug warehouse usually includes steps such as receiving prescriptions, locating drugs, picking up drugs, caching, and packaging and transmission.

[0003] The management and maintenance of the cache area of ​​traditional medicine dispensing devices are relatively complex. Since the number and variety of medicines stored in the cache area are large, an effective management mechanism needs to be established to ensure the correct storage, timely transmission and avoidance of confusion of the medicines. However, in actual operation, due to equipment failure, human error or untimely updating of drug information, the medicines in the cache area may be subject to management chaos, delayed transmission or incorrect distribution. In addition, the traditional method of dispensing medicines with a cache also has certain shortcomings in terms of the path and time of dispensing medicines. Since it is necessary to wait until all the medicines in the cache area are collected before they can be packaged and transported, the process of dispensing medicines may be affected by factors such as the size of the cache area, the transmission speed and the distribution of medicines, resulting in a longer time for dispensing medicines and increased waiting time for patients.

[0004] Therefore, how to solve the deficiencies and shortcomings of existing technologies through effective drug extraction methods in drug libraries has become an important issue that researchers in this field need to solve urgently. Summary of the invention

[0005] The purpose of the present invention is to solve the above problems and provide a medicine taking method, device, storage medium and terminal for a plate medicine warehouse.

[0006] The technical solution of the present invention is: a drug taking method for a plate medicine warehouse, wherein the plate medicine warehouse is provided with a drug storage area, a drug taking unit, a packaging area and a drug outlet, wherein the packaging area is connected to the drug outlet, and comprises the following steps: obtaining a target prescription, wherein the target prescription comprises: a plurality of target drug types and a pre-taken quantity corresponding to each target drug type; for each drug type, controlling the drug taking unit to obtain a target drug corresponding to the target drug type, and the quantity is the pre-taken quantity corresponding to the target drug type, and then transmitting the obtained drug to the packaging area; controlling the packaging area to package all target drugs and transmit them to the drug outlet.

[0007] As an improvement of the embodiment of the present invention, the medicine storage area is divided into multiple layers in the up-down direction, each layer extends in the front-to-back direction, each layer is provided with a guide rail, the guide rail extends from the front end of the layer to the rear end, each guide rail is provided with a cache medicine box, and the cache medicine box can slide along the guide rail; each layer includes a plurality of medicine storage units distributed in the front-to-back direction, the medicine storage units are used to accommodate medicine baskets, and the medicine baskets are used to store medicines;

[0008] The "controlling the medicine picking unit to obtain the target medicine corresponding to the target medicine type, and the quantity is the pre-taken quantity corresponding to the target medicine type" specifically includes: continuously obtaining the target layer where the medicine corresponding to the target medicine type is located and the target medicine basket in the target layer, controlling the medicine picking unit to take the target medicine from the target medicine basket and send it to the cache medicine box corresponding to the target layer, until the quantity of the medicine corresponding to the target medicine type is the corresponding pre-taken quantity; the "transferring the obtained medicine to the packaging area" specifically includes: controlling all cache medicine boxes containing medicines to move along the guide rails, and transferring the medicines therein to the packaging area.

[0009] As an improvement of the embodiment of the present invention, the medicine storage area is divided into multiple layers in the up-down direction, each layer extends in the front-to-back direction, each layer includes a plurality of medicine storage units distributed in the front-to-back direction, the medicine storage units are used to accommodate medicine baskets, and the medicine baskets are used to store medicines; the medicine dispensing unit is provided with a cache medicine box;

[0010] The “controlling the drug taking unit to obtain the target drug corresponding to the target drug type, and the quantity is the pre-taken quantity corresponding to the target drug type” specifically includes: continuously obtaining the target layer where the drug corresponding to the target drug type is located and the target medicine basket in the target layer, and controlling the drug taking unit to take the target drug from the target medicine basket and send it to the cache medicine box until the quantity of the drug corresponding to the target drug type is the corresponding pre-taken quantity;

[0011] The “transferring the acquired medicines to the packaging area” specifically includes: controlling the medicine fetching unit to transfer the medicines in the cache medicine box to the packaging area.

[0012] As an improvement of an embodiment of the present invention, the medicine dispensing unit includes a medicine dispensing nozzle; a medicine basket can be placed in the medicine storage unit, and the medicine basket includes a plurality of medicine storage compartments; the "controlling the medicine dispensing unit to take away the target medicine from the target medicine basket" specifically includes: selecting a target medicine storage compartment closest to the medicine dispensing unit from the target medicine basket, and controlling the medicine dispensing nozzle in the medicine dispensing unit to suck away the target medicine from the target medicine storage compartment.

[0013] As an improvement of an embodiment of the present invention, the "sending to the cache medicine box corresponding to the target layer" specifically includes: controlling the cache medicine box to move along the guide rail to the position corresponding to the target medicine basket, and the medicine taking unit places the target medicine into the cache medicine box that is in place.

[0014] As an improvement of the embodiment of the present invention, a medicine collecting device is provided on one side of the medicine storage area, and the medicine collecting device can move between the uppermost layer and the lowermost layer, and can receive medicines in the cache medicine boxes in all layers; a slide is provided on the packaging area, and the first end of the slide is higher than the second end, and the second end is connected to the packaging area;

[0015] The “controlling all the cache medicine boxes containing medicines to move along the guide rail and transferring the medicines therein to the packaging area” specifically includes: controlling all the cache medicine boxes containing medicines to move along the guide rail and move to a side close to the medicine collecting device;

[0016] The following operations are performed on any cache medicine box containing medicines: the medicine collecting device is controlled to move until it is at the same height as the cache medicine box, and the medicines in the cache medicine box are transported to the medicine collecting device; thereafter, the medicine collecting device is controlled to transport the medicines therein to the first end of the slide.

[0017] As an improvement of an embodiment of the present invention, the "transporting the medicines in the cache medicine box to the medicine collection device" specifically includes: inspecting the medicines and quantities in the cache medicine box, and after the inspection is qualified, transporting the medicines in the cache medicine box to the medicine collection device.

[0018] As an improvement of the embodiment of the present invention, a medicine collecting device is provided on one side of the medicine storage area, and the medicine collecting device is used to move up and down to the target layer to collect the target medicine in the cache medicine box; a slide is provided on the packaging area, and the slide is used to send the target medicine in the medicine collecting device into the packaging bag;

[0019] The "transferring all target drugs to the packaging area" specifically includes: performing the following operations on each cache medicine box storing target drugs: controlling the cache medicine box to move along the guide rail to the target side, the medicine collecting device moves to the target layer to collect the target drugs in the cache medicine box, and moves to the height corresponding to the upper end of the slide, and the target drugs in the medicine collecting device fall into the packaging bag through the slide.

[0020] As an improvement of an embodiment of the present invention, the packaging area is further provided with a printing device; the "controlling the packaging area to package all target drugs and transmit them to the drug outlet" specifically includes: the printing device prints a packaging label according to the target prescription, uses the packaging bag to package all target drugs, and attaches the packaging label to the packaging bag.

[0021] In order to achieve one of the above-mentioned purposes, an embodiment of the present invention provides a drug dispensing device for a plate drug warehouse, wherein the plate drug warehouse is provided with a drug storage area, a drug dispensing unit, a packaging area and a drug outlet, wherein the packaging area is connected to the drug outlet, and comprises the following modules:

[0022] An information acquisition module is used to acquire a target prescription, wherein the target prescription includes: a plurality of target drug types and a pre-taken quantity corresponding to each target drug type;

[0023] The medicine fetching module is used to control the medicine fetching unit to fetch the target medicine corresponding to the target medicine type for each medicine type, and the quantity is the pre-fetched quantity corresponding to the target medicine type, and then the fetched medicine is transferred to the packaging area;

[0024] The medicine discharging module is used to control the packing area to pack all target medicines and transmit them to the medicine discharging port.

[0025] To achieve one of the above objects of the invention, an embodiment of the present invention provides a storage medium storing program instructions, wherein the program instructions, when executed by a processor, implement the drug taking method as described in any one of the above items.

[0026] To achieve one of the above-mentioned purposes of the invention, an embodiment of the present invention provides a terminal, including a processor and a memory, wherein the memory stores program instructions, and the processor executes the program instructions to implement the drug taking method as described in any one of the above items.

[0027] The drug taking method, device, storage medium and terminal for a plate drug warehouse provided by the embodiments of the present invention have the following advantages:

[0028] 1. The present invention reduces the waiting time and repeated operations in the medicine dispensing process and improves the medicine dispensing efficiency by accurately controlling the moving path and medicine dispensing sequence of the medicine dispensing unit.

[0029] 2. The present invention reduces the risk of drug mix-ups and delays by optimizing the layout of the cache area and the transmission mechanism.

[0030] 3. The present invention adopts advanced sensors and recognition technologies to realize automatic control and precise positioning of the medicine dispensing unit. The medicine dispensing unit can accurately identify the location and quantity of target medicines and automatically perform medicine dispensing and transmission operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of the process of the drug taking method for the plate drug storehouse of the present invention;

[0032] Figure 2 It is a schematic diagram of the structure of the plate medicine storehouse of the present invention;

[0033] Figure 3It is a schematic diagram of the medicine basket of the present invention. DETAILED DESCRIPTION

[0034] The present invention will be described in detail below in conjunction with the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by a person skilled in the art based on these embodiments are all within the scope of protection of the present invention.

[0035] If the present invention involves directions (for example, up, down, left, right, front, back, outside, inside, etc.) when describing, it is necessary to define the directions involved.

[0036] The scope of the embodiments herein includes the entire scope of the claims, and 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 not only include those elements, but also include other elements not clearly listed, or also include elements inherent to such structure, device or equipment.In the absence of more restrictions, the elements limited by the statement "include one..." do not exclude the existence of other identical elements in the structure, device or equipment including the elements.Each embodiment herein is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same similar parts between each embodiment can be referred to each other.

[0037] 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.

[0038] Embodiment 1 of the present invention provides a method for taking medicine from a plate medicine storehouse, such as Figure 2As shown, the plate medicine warehouse is provided with a medicine storage area 1, a medicine taking unit 2, a packaging area 3 and a medicine outlet 4, and the packaging area 3 is connected to the medicine outlet 4. Figure 1 As shown, the medicine taking method includes the following steps:

[0039] Step 101: Obtain a target prescription, wherein the target prescription includes: a plurality of target drug types and a pre-taken quantity corresponding to each target drug type;

[0040] In practice, the board medicine library first receives the target prescription from the hospital information system. The target prescription lists the names of all target drugs required by the patient and the pre-taken quantity corresponding to each target drug type. The board medicine library reads the prescription information and stores it in the internal database to provide data support for the subsequent drug collection process. It can be understood that the target drugs are all board medicines. Board medicines refer to drugs that are packaged in single or several units, sealed in independent plastic bubbles through aluminum-plastic packaging or similar materials, to form one or more boards. Each board usually has multiple independent drug bubble shells, each bubble shell contains one or more drugs.

[0041] Step 102: for each drug type, the drug taking unit 2 is controlled to obtain the target drug corresponding to the target drug type, and the quantity is the pre-taken quantity corresponding to the target drug type, and then the obtained drug is transmitted to the packaging area 3;

[0042] Here, when the plate medicine warehouse obtains the target prescription, the medicine dispensing unit 2 starts to execute the medicine dispensing process. First, the plate medicine warehouse system locates the location of the target medicine in the medicine storage area 1 according to the name and quantity of the target medicine listed in the target prescription. The medicine storage area 1 is arranged according to the type of medicine or alphabetical order for quick positioning. After that, the medicine dispensing unit 2 is controlled to move to the location of the target medicine and accurately grab the target medicine of the specified quantity in the target prescription.

[0043] Step 103: Control the packaging area 3 to package all target drugs and transfer them to the drug outlet 4.

[0044] In practice, when all target drugs are transferred to the packing area 3, the packing area 3 starts the packing process. The packing area 3 may include one or more packers for packing drugs into packing bags and affixing labels. During the packing process, the system will check each target drug according to the target prescription to ensure that the packaged target drug is consistent with the requirements in the target prescription. After the packing is completed, the system controls the transmission mechanism to transfer the packaged drugs from the packing area 3 to the drug outlet 4. The drug outlet 4 can be located at the front desk of the pharmacy or the patient's drug collection area, so that patients or pharmacy staff can pick up drugs conveniently. During the transmission to the drug outlet 4, the system can notify patients or staff that the drugs are ready through display screens or voice prompts.

[0045] In this embodiment, Figure 2 As shown, the medicine storage area 1 is divided into multiple layers in the up and down direction, each layer extends in the front-to-back direction, each layer is provided with a guide rail 11, and the guide rail extends from the front end to the rear end of the layer, and each guide rail 11 is provided with a cache medicine box 12, and the cache medicine box 12 can slide along the guide rail 11; each layer includes a plurality of medicine storage units 13 distributed in the front-to-back direction, and the medicine storage units 13 are used to accommodate medicine baskets 14, and the medicine baskets 14 are used to store medicines; it can be understood that the plurality of guide rails 11 not only serve as tracks for the movement of the cache medicine boxes 12, but also play a role in supporting and positioning the cache medicine boxes 12, and each guide rail is installed with a cache medicine box 12, which is used to temporarily store medicines taken out of the medicine basket 14 for subsequent transmission and processing.

[0046] The “controlling the medicine taking unit 2 to obtain the target medicine corresponding to the target medicine type, and the quantity is the pre-taken quantity corresponding to the target medicine type” specifically includes: continuously obtaining the target layer where the medicine corresponding to the target medicine type is located and the target medicine basket in the target layer, controlling the medicine taking unit 2 to take the target medicine from the target medicine basket and send it to the cache medicine box 12 corresponding to the target layer, until the quantity of the medicine corresponding to the target medicine type is the corresponding pre-taken quantity; the “transferring the obtained medicine to the packaging area 3” specifically includes: controlling all the cache medicine boxes 12 containing medicines to move along the guide rail 11, and transferring the medicines therein to the packaging area 3.

[0047] In practice, the system determines the target layer and target medicine basket for each target drug based on the name and quantity of the target drug, the layout of the drug storage area, and the actual storage location of the drug. The drug dispensing unit 2 is controlled to move to the target layer and accurately align with the target medicine basket. The drug dispensing unit 2 accurately takes out the required number of target drugs from the target medicine basket and puts them into the cache medicine box 12 corresponding to the target layer. As the drug dispensing unit 2 works continuously, multiple target drugs on the same layer will be placed in the same cache medicine box 12 one after another. When all target drugs in a layer have been taken out and placed in the cache medicine box, the cache medicine box 12 is controlled to move along the guide rail 11 to the packaging area 3.

[0048] In this embodiment, the medicine storage area 1 is divided into multiple layers in the up-down direction, each layer extends in the front-to-back direction, and each layer includes a plurality of medicine storage units 13 distributed in the front-to-back direction, and the medicine storage units 13 are used to accommodate medicine baskets 14, and the medicine baskets 14 are used to store medicines; the medicine dispensing unit 2 is provided with a cache medicine box 12;

[0049] The “controlling the drug taking unit 2 to obtain the target drug corresponding to the target drug type, and the quantity is the pre-taken quantity corresponding to the target drug type” specifically includes: continuously obtaining the target layer where the drug corresponding to the target drug type is located and the target medicine basket in the target layer, controlling the drug taking unit 2 to take the target drug from the target medicine basket and send it to the cache medicine box 12, until the quantity of the drug corresponding to the target drug type is the corresponding pre-taken quantity;

[0050] The “transferring the obtained medicines to the packing area 3 ” specifically includes: controlling the medicine taking unit 2 to transfer the medicines in the buffer medicine box 12 to the packing area 3 .

[0051] In this embodiment, the medicine dispensing unit 2 includes a medicine dispensing nozzle; a medicine basket 14 can be placed in the medicine storage unit 13, and the medicine basket 14 includes a plurality of medicine storage compartments; the "controlling the medicine dispensing unit 2 to take the target medicine from the target medicine basket" specifically includes: selecting a target medicine storage compartment closest to the medicine dispensing unit 2 from the target medicine basket, and controlling the medicine dispensing nozzle in the medicine dispensing unit 2 to suck the target medicine from the target medicine storage compartment.

[0052] Here, if Figure 3 As shown, one side of the medicine basket 14 is open, which is convenient for the medicine dispensing unit 2 to dispensing medicine; it can be understood that the medicine dispensing nozzle of the medicine dispensing unit 2 can easily extend from the open side into the medicine basket 14, accurately reach the location of the target medicine, and perform the suction operation. The medicine basket 14 includes M*N medicine compartments 141, and each of the M*N medicine compartments 141 corresponds to a number Num, and the number Num is an S-type number from left to right and from front to back, where 1≤Num≤X, M, N, and X are all positive integers; the medicine dispensing nozzle starts to dispensing medicine from the medicine compartment 141 with the smallest number Num; when dispensing medicine, the medicine dispensing nozzle reaches down to the medicine compartment 141 with the corresponding number Num to absorb the target medicine, and places the absorbed target medicine into the cache medicine box 12 of the corresponding layer, and the cache medicine box 12 moves on the guide rail 11 to the packaging area 3.

[0053] In practice, when taking medicine, the medicine taking nozzle will reach down into the medicine placing grid 141 corresponding to the number Num and suck up the target medicine through vacuum adsorption technology. Then, the medicine taking nozzle will move the sucked medicine to the top of the buffer medicine box 12 of the corresponding layer and place the target medicine in the buffer medicine box.

[0054] Here, the medicine suction nozzle adopts vacuum adsorption technology, which can accurately aim at the target medicine, and generate negative pressure through the vacuum pump to suck the medicine from the medicine basket and hold it on the suction nozzle 21 for subsequent movement and placement. It can be understood that the medicine suction nozzle can ensure that various types of plate medicines can be sucked without causing damage.

[0055] In this embodiment, the "delivery to the cache medicine box 12 corresponding to the target layer" specifically includes: controlling the cache medicine box 12 to move along the guide rail 11 to the position corresponding to the target medicine basket, and the medicine taking unit 2 places the target medicine into the cache medicine box 12 that is in place. The cache medicine box 12 has two states. When the cache medicine box 12 moves along the guide rail 11 to the position corresponding to the target medicine basket, the bottom of the cache medicine box 12 is in a closed state. It can be understood that this ensures that when the medicine taking unit 2 places the target medicine into the cache medicine box 12, the target medicine will not fall or scatter due to the opening at the bottom of the medicine box, thereby ensuring the integrity and safety of the medicine. When the cache medicine box 12 completes the task of taking medicine and transfers the medicine to the packaging area, the bottom of the cache medicine box 12 switches from a closed state to an open state.

[0056] In this embodiment, a medicine collecting device 15 is provided on one side of the medicine storage area 1, and the medicine collecting device 15 can move between the uppermost layer and the lowermost layer, and can receive medicines in the cache medicine boxes 12 in all layers; a slide 31 is provided on the packaging area 3, and the first end of the slide 31 is higher than the second end, and the second end is connected to the packaging area 3;

[0057] The “controlling all the cache medicine boxes 12 containing medicines to move along the guide rail 11 and transferring the medicines therein to the packaging area 3” specifically includes: controlling all the cache medicine boxes 12 containing medicines to move along the guide rail 11 and move to a side close to the medicine collecting device 15;

[0058] The following operations are performed on any cache medicine box 12 containing medicines: the medicine collecting device 15 is controlled to move until it is at the same height as the cache medicine box, and the medicines in the cache medicine box 12 are transported to the medicine collecting device 15; thereafter, the medicine collecting device 15 is controlled to transport the medicines therein to the first end of the slide 31.

[0059] Here, the system first controls the cache medicine box 12 to move along the guide rail 11 to the target side, that is, the position of the medicine collecting device 15. Then, the medicine collecting device 15 moves up and down to the target layer and docks with the cache medicine box 12. The bottom of the cache medicine box 12 switches from a closed state to an open state, and the target medicine therein falls onto the medicine collecting device 15. After collecting all the target medicines, the medicine collecting device 15 moves up and down again to transport the medicines to the height corresponding to the upper end of the slide 31. At this time, the medicine collecting device 15 will dump the medicines therein so that they can fall smoothly into the packaging bag through the slide 31. It can be understood that through the coordinated use of the medicine collecting device and the slide, the system can quickly transfer the target medicines in the cache medicine box 12 to the packaging area, reducing the intermediate links and waiting time.

[0060] In this embodiment, “transporting the medicines in the cache medicine box 12 to the medicine collecting device 15 ” specifically includes: inspecting the medicines and quantities in the cache medicine box 12 , and after the inspection is qualified, transporting the medicines in the cache medicine box 12 to the medicine collecting device 15 .

[0061] In practice, the system can use high-precision sensors and scanning equipment to accurately scan each drug in the cache medicine box 12, identify the barcode or RFID tag of the drug, and obtain detailed information about the drug, including key data such as the drug name, specification, batch number, and expiration date, and compare these scan results with the preset drug collection instructions to verify whether the quantity of the drug is consistent with the drug collection instructions. It can be understood that this can prevent drug collection errors caused by incorrect drug types or quantities and improve drug collection efficiency.

[0062] In this embodiment, a medicine collecting device 15 is provided on one side of the medicine storage area 1, and the medicine collecting device 15 is used to move up and down to the target layer to collect the target medicine in the cache medicine box 12; a slide 31 is provided on the packaging area 3, and the slide 31 is used to send the target medicine in the medicine collecting device 15 into the packaging bag;

[0063] The “transferring all target drugs to the packaging area 3” specifically includes: performing the following operations on each cache medicine box 12 storing target drugs: controlling the cache medicine box 12 to move along the guide rail 11 to the target side, the medicine collecting device 15 moves to the target layer to collect the target drugs in the cache medicine box 12, and moves to the height corresponding to the upper end of the slide 31, and the target drugs in the medicine collecting device 15 fall into the packaging bag through the slide 31.

[0064] In this embodiment, the packaging area 3 is also provided with a printing device; the "controlling the packaging area 3 to package all target drugs and transmit them to the drug outlet 4" specifically includes: the printing device prints a packaging label according to the target prescription, uses the packaging bag to package all target drugs, and attaches the packaging label to the packaging bag.

[0065] In practice, the printing device can receive the target prescription from the system and generate a corresponding packaging label according to the target prescription. The content that may be included on the label includes but is not limited to: drug name, specification, quantity, usage and dosage, patient name, prescription number Num, doctor's name, drug library information, etc. It can be understood that the label is crucial to ensure that patients use the drug correctly, track the source and flow of drugs, and manage drugs.

[0066] When the printing module is in an idle state, it will automatically obtain the first printing data from the printing queue and start the printing process. The printed medicine is marked as D. The medicine collecting device 15 will automatically calculate and locate the corresponding library module. If there is medicine output data in the library module, the medicine collecting device 15 will collect the target medicine according to the type of medicine. When the target medicine is collected, the medicine collecting device 15 will carefully compare it with the medicine D on the current printed label. If the two are exactly the same, the medicines in the medicine collecting device 15 will fall into the packaging bag through the slide 31; if they are inconsistent, these medicines will temporarily stay in the medicine collecting device and continue to wait until they match the medicine D on the next printed label before being released.

[0067] When the medicine collecting device 15 sends the target medicine into the packing bag through the slide and completes the packaging, the printing device will automatically print out a complete label according to the target prescription, and attach the label to the packed bag through a robotic arm or other automated equipment. It can be understood that this improves the accuracy and traceability of medicine packaging, provides patients with a safer and more convenient medicine collection experience, and also promotes the information management and efficiency improvement of pharmacies.

[0068] Embodiment 2 of the present invention provides a drug dispensing device for a plate drug warehouse, wherein the plate drug warehouse is provided with a drug storage area 1, a drug dispensing unit 2, a packaging area 3 and a drug outlet 4, wherein the packaging area 3 is connected to the drug outlet 4, and comprises the following modules: an information acquisition module, for acquiring a target prescription, wherein the target prescription comprises: a plurality of target drug types and a pre-taken quantity corresponding to each target drug type;

[0069] The medicine fetching module is used to control the medicine fetching unit 2 to fetch the target medicine corresponding to the target medicine type for each medicine type, and the quantity is the pre-fetched quantity corresponding to the target medicine type, and then the fetched medicine is transferred to the packaging area 3;

[0070] The medicine discharging module is used to control the packing area 3 to pack all target medicines and transmit them to the medicine discharging port 4.

[0071] Embodiment 3 of the present invention provides a storage medium storing program instructions, which, when executed by a processor, implement the medicine taking method as described in Embodiment 1 and Embodiment 2 of the present invention.

[0072] Embodiment 4 of the present invention provides a terminal, including a processor and a memory, wherein the memory stores program instructions, and the processor executes the program instructions to implement the medicine taking method as described in Embodiment 1 and Embodiment 2 of the present invention.

[0073] The storage medium may be a tangible device that holds and stores instructions used by the instruction execution device. The storage medium may 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 of the above. More specific examples of readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above.

[0074] It should be understood that although this specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation mode may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

[0075] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for taking medicine from a plate medicine warehouse, wherein the plate medicine warehouse is provided with a medicine storage area (1), a medicine taking unit (2), a packaging area (3) and a medicine outlet (4), wherein the packaging area (3) is connected to the medicine outlet (4), and is characterized in that: The following steps are involved: Obtaining a target prescription, the target prescription comprising: a plurality of target drug types and a pre-taken quantity corresponding to each target drug type; For each drug type, the drug taking unit (2) is controlled to obtain a target drug corresponding to the target drug type, and the quantity is the pre-taken quantity corresponding to the target drug type, and then the obtained drug is transmitted to the packaging area (3); The packaging area (3) is controlled to package all target drugs and transport them to the drug outlet (4).

2. The drug dispensing method according to claim 1, characterized in that: The medicine storage area (1) is divided into multiple layers in the vertical direction, each layer extends in the front-to-back direction, each layer is provided with a guide rail (11), the guide rail extends from the front end to the rear end of the layer, each guide rail (11) is provided with a cache medicine box (12), and the cache medicine box (12) can slide along the guide rail (11); each layer includes a plurality of medicine storage units (13) distributed in the front-to-back direction, the medicine storage units (13) are used to accommodate medicine baskets (14), and the medicine baskets (14) are used to store medicines; The "controlling the medicine taking unit (2) to obtain the target medicine corresponding to the target medicine type, and the quantity is the pre-taken quantity corresponding to the target medicine type" specifically includes: continuously obtaining the target layer where the medicine corresponding to the target medicine type is located and the target medicine basket in the target layer, controlling the medicine taking unit (2) to take the target medicine from the target medicine basket and send it to the cache medicine box (12) corresponding to the target layer, until the quantity of the medicine corresponding to the target medicine type is the corresponding pre-taken quantity; the "transferring the obtained medicine to the packaging area (3)" specifically includes: controlling all the cache medicine boxes (12) containing medicines to move along the guide rail (11), and transferring the medicines therein to the packaging area (3).

3. The drug dispensing method according to claim 1, characterized in that: The medicine storage area (1) is divided into multiple layers in the vertical direction, each layer extending in the front-to-back direction, each layer comprising a plurality of medicine storage units (13) distributed in the front-to-back direction, the medicine storage units (13) being used to accommodate medicine baskets (14), the medicine baskets (14) being used to store medicines; the medicine dispensing unit (2) is provided with a buffer medicine box (12); The "controlling the medicine taking unit (2) to obtain the target medicine corresponding to the target medicine type, and the quantity is the pre-taken quantity corresponding to the target medicine type" specifically includes: continuously obtaining the target layer where the medicine corresponding to the target medicine type is located and the target medicine basket in the target layer, controlling the medicine taking unit (2) to take the target medicine from the target medicine basket and send it to the cache medicine box (12), until the quantity of the medicine corresponding to the target medicine type is the corresponding pre-taken quantity; The step of “transferring the obtained medicines to the packaging area (3)” specifically includes: controlling the medicine taking unit (2) to transfer the medicines in the buffer medicine box (12) to the packaging area (3).

4. The drug taking method according to claim 2, characterized in that: The medicine dispensing unit (2) comprises a medicine dispensing nozzle; a medicine basket (14) can be placed in the medicine storage unit (13), and the medicine basket (14) comprises a plurality of medicine storage compartments; the "controlling the medicine dispensing unit (2) to remove the target medicine from the target medicine basket" specifically comprises: selecting a target medicine storage compartment closest to the medicine dispensing unit (2) from the target medicine storage compartment, and controlling the medicine dispensing nozzle in the medicine dispensing unit (2) to suck the target medicine from the target medicine storage compartment.

5. The drug taking method according to claim 2, characterized in that: The “delivering to the cache medicine box (12) corresponding to the target layer” specifically includes: controlling the cache medicine box (12) to move along the guide rail (11) to a position corresponding to the target medicine basket, and the medicine taking unit (2) placing the target medicine into the cache medicine box (12) that has been in place.

6. The drug dispensing method according to claim 2, characterized in that: A medicine collecting device (15) is provided on one side of the medicine storage area (1), and the medicine collecting device (15) can move between the uppermost layer and the lowermost layer, and can receive medicines in the buffer medicine boxes (12) in all layers; a slideway (31) is provided on the packaging area (3), and the first end of the slideway (31) is higher than the second end, and the second end is connected to the packaging area (3); The step of “controlling all the buffer medicine boxes (12) containing medicines to move along the guide rail (11) and transferring the medicines therein to the packaging area (3)” specifically includes: controlling all the buffer medicine boxes (12) containing medicines to move along the guide rail (11) and to move to a side close to the medicine collecting device (15); The following operations are performed on any buffer medicine box (12) containing medicines: the medicine collecting device (15) is controlled to move until it is at the same height as the buffer medicine box, and the medicines in the buffer medicine box (12) are transported to the medicine collecting device (15); Afterwards, the medicine collecting device (15) is controlled to transport the medicine therein to the first end of the slideway (31).

7. The drug taking method according to claim 3, characterized in that: The plate medicine warehouse further comprises: a medicine collecting device (15), the medicine collecting device (15) can move up and down and can receive medicines in the buffer medicine box (12); a slideway (31) is arranged on the packaging area (3), the first end of the slideway (31) is higher than the second end, and the second end is connected to the packaging area (3); The “controlling the medicine taking unit (2) to transfer the medicines in the buffer medicine box (12) to the packaging area (3)” specifically includes: The medicine collecting device (15) is controlled to move until it is at the same height as the buffer medicine box (12), and the medicines in the buffer medicine box (12) are transported to the medicine collecting device (15); thereafter, the medicine collecting device (15) is controlled to transport the medicines therein to the first end of the slideway (31).

8. The drug taking method according to claim 6 or 7, characterized in that: The step of "transporting the medicines in the cache medicine box (12) to the medicine collecting device (15)" specifically includes: inspecting the medicines and quantity in the cache medicine box (12), and after the inspection is qualified, transporting the medicines in the cache medicine box (12) to the medicine collecting device (15).

9. The drug dispensing method according to claim 1, characterized in that: The packaging area (3) is also provided with a printing device; the "controlling the packaging area (3) to package all target drugs and transmit them to the drug outlet (4)" specifically includes: the printing device prints a packaging label according to the target prescription, uses the packaging bag to package all target drugs, and attaches the packaging label to the packaging bag.

10. A drug dispensing device for a plate drug store, the plate drug store is provided with a drug storage area (1), a drug dispensing unit (2), a packing area (3) and a drug outlet (4), the packing area (3) is connected to the drug outlet (4), characterized in that: Includes the following modules: An information acquisition module is used to acquire a target prescription, wherein the target prescription includes: a plurality of target drug types and a pre-taken quantity corresponding to each target drug type; A medicine fetching module is used to control the medicine fetching unit (2) to fetch target medicines corresponding to the target medicine type for each medicine type, and the quantity is the pre-fetched quantity corresponding to the target medicine type, and then transmit the fetched medicines to the packaging area (3); The medicine discharging module is used to control the packaging area (3) to package all target medicines and transmit them to the medicine discharging port (4).

11. A storage medium storing program instructions, characterized in that: When the program instructions are executed by the processor, the drug taking method according to any one of claims 1 to 10 is implemented.

12. A terminal, characterized in that: It includes a processor and a memory, the memory stores program instructions, and the processor runs the program instructions to implement the drug taking method according to any one of claims 1 to 10.