Medicine taking method and device for medicine cabinet, electronic equipment and storage medium thereof
By setting up drug storage areas, robotic arms, and sensors in the pharmacy, and combining this with drug retrieval information from the HIS system, the problem of rapid drug retrieval in the pharmacy has been solved, and the efficiency of drug delivery has been improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SUZHOU IRON TECH CO LTD
- Filing Date
- 2024-12-30
- Publication Date
- 2026-04-10
AI Technical Summary
In the drug warehouse of a smart pharmacy, how to quickly retrieve medicines has become an urgent problem to be solved.
The medicine warehouse is equipped with a medicine storage area, multiple robotic arms, and a medicine storage box buffer area. The presence status of the medicine storage boxes is detected by sensors, and the medicine retrieval information is obtained from the HIS system. The robotic arms are controlled to retrieve medicine from the medicine storage box buffer area and transport the target medicine storage box to the medicine storage box buffer area. The status is updated to indicate whether there is a task or no task.
It improves the efficiency of drug grabbing and achieves more efficient drug delivery through parallel operation and status management.
Smart Images

Figure CN119840988B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of medicine storage, and in particular to a medicine taking method and device for a medicine library, an electronic device and a storage medium thereof. BACKGROUND
[0002] With the progress of technology, intelligent pharmacies are increasingly applied in hospitals. In an intelligent pharmacy, a medicine library is usually provided, which can store medicine boxes, and the medicine boxes can store medicines. A mechanical hand is usually provided in the medicine library, which is used to grab medicines from the medicine boxes.
[0003] In the medicine library, how to quickly grab medicines becomes a problem to be solved. SUMMARY
[0004] Therefore, the main purpose of the present application is to provide a medicine taking method and device for a medicine library, an electronic device and a storage medium thereof.
[0005] To achieve the above purpose, the technical solution of the present application is as follows: a medicine taking method for a medicine library, the medicine library is provided with a medicine storage area, a plurality of mechanical hands and a plurality of medicine box buffer areas, the medicine storage area stores a plurality of medicine boxes, each medicine box buffer area can store one medicine box, the mechanical hand can grab medicines from the medicine box on any medicine box buffer area, and the number of mechanical hands is less than or equal to the number of medicine box buffer areas; comprising the following steps: setting the state value of all medicine box buffer areas as no task; continuously performing the following operations: when it is detected that any medicine box buffer area A stores a medicine box, and the state of the medicine box buffer area A is no task and any mechanical hand B is idle, obtaining the medicine taking information corresponding to the medicine box in the medicine box buffer area A, controlling the mechanical hand B to start taking medicines from the medicine box in the medicine box buffer area A, and the state of the medicine box buffer area A is task; when it is detected that any medicine box buffer area C does not store a medicine box, obtaining a target medicine box of a medicine to be taken from the medicine storage area, and transporting the target medicine box to the medicine box buffer area C; when it is detected that any medicine box buffer area D is in the state of task and the medicine box in the medicine box buffer area D has completed taking medicines, setting the state of the medicine box buffer area D as no task.
[0006] As a kind of improvement of the embodiment of the application, sensor is arranged in each drug storage box buffer area, and the sensor can detect whether the drug storage box is stored in the drug storage box buffer area;The "detecting that any drug storage box buffer area A stores drug storage box" specifically includes: when the sensor in any drug storage box buffer area A detects drug storage box, it is detected that drug storage box buffer area A stores drug storage box;The "detecting that any drug storage box buffer area C does not store drug storage box" specifically includes: when the sensor in any drug storage box buffer area C does not detect drug storage box, it is detected that drug storage box buffer area C does not store drug storage box.
[0007] As a kind of improvement of the embodiment of the application, the "obtaining the drug taking information corresponding to the drug storage box in the drug storage box buffer area A" specifically includes: obtaining the drug taking information corresponding to the drug storage box in the drug storage box buffer area A from the HIS system.
[0008] As a kind of improvement of the embodiment of the application, the "setting the state of the drug storage box buffer area D as no task" specifically includes: setting the state of the drug storage box buffer area D as no task, and then conveying the drug storage box in the drug storage box buffer area D to the drug storage area.
[0009] The embodiment of the application also provides a drug taking device for drug library, the drug library is provided with drug storage area, multiple mechanical hands and multiple drug storage box buffer areas, the drug storage area stores multiple drug storage boxes, each drug storage box buffer area can store one drug storage box, the mechanical hand can grab medicine from the drug storage box on any drug storage box buffer area, and the number of mechanical hands is less than or equal to the number of drug storage box buffer areas;It includes the following modules: initialization module, for setting the state value of all drug storage box buffer areas as no task;Processing module, for continuously performing the following operations: when detecting that any drug storage box buffer area A stores drug storage box, and the state of drug storage box buffer area A is no task and any mechanical hand B is idle, obtaining the drug taking information corresponding to the drug storage box in the drug storage box buffer area A, controlling the mechanical hand B to start taking medicine from the drug storage box in the drug storage box buffer area A, and the state of the drug storage box buffer area A is already task;When detecting that any drug storage box buffer area C does not store drug storage box, obtaining a target drug storage box of the medicine to be taken from the drug storage area, and conveying the target drug storage box to the drug storage box buffer area C;When detecting that the state of any drug storage box buffer area D is already task and the drug storage box in the drug storage box buffer area D has completed taking medicine, setting the state of the drug storage box buffer area D as no task.
[0010] As a kind of improvement of the embodiment of the application, sensor is arranged in each drug storage box buffer area, the sensor can detect whether the drug storage box is stored in the drug storage box buffer area;The processing module is further used to: when the sensor in any drug storage box buffer area A detects drug storage box, it is detected that drug storage box is stored in drug storage box buffer area A;When the sensor in any drug storage box buffer area C does not detect drug storage box, it is detected that drug storage box is not stored in drug storage box buffer area C.
[0011] As a kind of improvement of the embodiment of the application, the initialization module is further used to: obtain the drug information corresponding to the drug storage box in the drug storage box buffer area A from the HIS system.
[0012] As a kind of improvement of the embodiment of the application, the processing module is further used to: the state of the drug storage box buffer area D is no task, then, the drug storage box in the drug storage box buffer area D is transported to the drug storage area.
[0013] The embodiment of the application also provides an electronic device, the electronic device includes memory and processor, the memory stores computer program, when the processor executes the computer program, the steps in the above-mentioned drug taking method for medicine store are realized.
[0014] The embodiment of the application also provides a storage medium, the storage medium stores computer program, when the computer program is executed by processor, the steps of the above-mentioned drug taking method for medicine store are realized.
[0015] The drug taking method, device, electronic device and storage medium for medicine store provided by the embodiment of the application have the following advantages: the drug taking method, device, electronic device and storage medium for medicine store are disclosed, and the drug taking method comprises the following steps: when it is detected that drug storage box is stored in drug storage box buffer area and the state is no task and the manipulator is idle, the manipulator starts to take medicine from the drug storage box in the drug storage box buffer area;When it is detected that no drug storage box is stored in the drug storage box buffer area, a target drug storage box of a medicine to be taken is obtained from the drug storage area, and the target drug storage box is transported to the drug storage box buffer area;When it is detected that the drug storage box in the drug storage box buffer area has completed taking medicine, the state of the drug storage box buffer area is no task.The drug taking method can greatly improve the medicine taking efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 It is the flow chart of the drug taking method for medicine store in the embodiment of the application;
[0017] Figure 2 It is the structure diagram for describing the positional relationship of manipulator, horizontal slide rail and vertical slide rail. DETAILED DESCRIPTION
[0018] The application will be described in detail below with reference to the embodiments shown in the drawings. However, the embodiments do not limit the application, and the changes in structure, method, or function made by those skilled in the art based on the embodiments are included in the protection scope of the application.
[0019] The following description and drawings are sufficient to enable one skilled in the art to practice the embodiments herein. Portions and features of some embodiments can be included in, or substituted for, portions and features of other embodiments. The scope of the embodiments herein includes the entire scope of the claims and all available equivalents of the claims. In this document, the terms "first," "second," and so on do not necessarily mean "one," "two," and so on, but are used to distinguish one element from another. In fact, a first element could be termed a second element, and, similarly, a second element could be termed a first element without departing from the scope of the application. Also, the terms "comprise," "comprises," and "comprising" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a structure, device, or apparatus that comprises a list of elements is not necessarily limited to those elements, but can include other elements not expressly listed or inherent to such structure, device, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the structure, device, or apparatus that includes the element. The embodiments are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between embodiments can be referred to each other.
[0020] The terms "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like in the present document indicate the orientation or positional relationship shown in the drawings, and are only used for the convenience of description and simplification of the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the application. In the description herein, unless otherwise specified and limited, the terms "mounting," "connection," and "connection" should be interpreted broadly, for example, they can be mechanical or electrical connections, or internal communication between two elements, and can be direct connection or indirect connection through an intermediate medium. Those skilled in the art can understand the specific meanings of the above terms according to the specific circumstances.
[0021] Embodiment 1 of the present invention provides a method for retrieving medicine from a pharmacy. The pharmacy includes a medicine storage area, multiple robotic arms, and multiple medicine box buffer areas. The medicine storage area contains multiple medicine boxes, and each medicine box buffer area can hold one medicine box. The robotic arms can retrieve medicine from any medicine box in any medicine box buffer area. The number of robotic arms is less than or equal to the number of medicine box buffer areas. Here, the pharmacy includes a medicine storage area, which may contain medicine shelves, etc., storing medicine boxes, which contain medicines such as boxed medicines, injections, or solvents. The pharmacy also includes multiple medicine box buffer areas and a conveying device. The conveying device can transport medicine boxes from the medicine storage area to any medicine box buffer area, and can also transport medicine boxes from any medicine box buffer area to the medicine storage area. The robotic arms can retrieve medicine from any medicine box in any medicine box buffer area.
[0022] Here, the medicine storage room can be equipped with medicine storage racks, which are divided into several horizontal rows along the vertical direction. The horizontal rows extend horizontally and are divided into several medicine storage box buffer areas in the horizontal direction.
[0023] like Figure 2 As shown, multiple drive devices are provided on one side of the medicine storage rack. Each drive device includes two horizontal slide rails 21 and a vertical slide rail 22. The two horizontal slide rails 21 are distributed one above the other and are parallel to each other. The vertical slide rail 22 can slide along the horizontal slide rails 21. The robotic arm can slide along the vertical slide rail 22 and can reach into any medicine storage box buffer area and grab medicine from any medicine storage box in the medicine storage box buffer area.
[0024] like Figure 1 As shown, it includes the following steps:
[0025] Step 101: Set the status value of all medicine storage box buffer areas to "No task".
[0026] Step 102: continuously perform the following operations: when it is detected that any of the medicine storage box buffer areas A stores a medicine storage box, and the state of the medicine storage box buffer area A is no task and any of the mechanical arms B is idle, obtaining the medicine taking information corresponding to the medicine storage box in the medicine storage box buffer area A, controlling the mechanical arm B to start taking medicine from the medicine storage box in the medicine storage box buffer area A, and the state of the medicine storage box buffer area A is already has task; when it is detected that any of the medicine storage box buffer areas C does not store a medicine storage box, obtaining a target medicine storage box of a medicine to be taken from the medicine storage area, and transporting the target medicine storage box to the medicine storage box buffer area C; when it is detected that any of the medicine storage box buffer areas D has a task and the medicine storage box buffer area D has completed taking medicine, the state of the medicine storage box buffer area D is no task. Here, when it is detected that any of the medicine storage box buffer areas A stores a medicine storage box, only the medicine in the medicine storage box on the medicine storage box buffer area A needs to be grabbed; at the same time, if any of the medicine storage box buffer areas C does not store a medicine storage box, a medicine storage box is taken and placed in the medicine storage box buffer area B, and these tasks can be performed simultaneously, thereby greatly improving the medicine taking efficiency.
[0027] In the embodiment, a sensor is arranged in each medicine storage box buffer area, which can detect whether a medicine storage box is stored in the medicine storage box buffer area; the "detecting that any of the medicine storage box buffer areas A stores a medicine storage box" specifically includes: when the sensor in any of the medicine storage box buffer areas A detects a medicine storage box, it is detected that the medicine storage box buffer area A stores a medicine storage box; the "detecting that any of the medicine storage box buffer areas C does not store a medicine storage box" specifically includes: when the sensor in any of the medicine storage box buffer areas C does not detect a medicine storage box, it is detected that the medicine storage box buffer area C does not store a medicine storage box.
[0028] In the embodiment, the "obtaining the medicine taking information corresponding to the medicine storage box in the medicine storage box buffer area A" specifically includes: obtaining the medicine taking information corresponding to the medicine storage box in the medicine storage box buffer area A from a HIS (Hospital Information System) system.
[0029] In the embodiment, the "setting the state of the medicine storage box buffer area D as no task" specifically includes: setting the state of the medicine storage box buffer area D as no task, and then transporting the medicine storage box in the medicine storage box buffer area D to the medicine storage area.
[0030] Embodiment two of the present application provides a medicine taking device for a medicine library, the medicine library is provided with a medicine storage area, a plurality of mechanical arms and a plurality of medicine box buffer areas, a plurality of medicine boxes are stored in the medicine storage area, each medicine box buffer area can store one medicine box, the mechanical arms can grab medicine from the medicine box on any medicine box buffer area, the number of mechanical arms is less than or equal to the number of medicine box buffer areas; comprising the following modules: an initialization module, used for setting the state values of all medicine box buffer areas as no task; a processing module, used for continuously performing the following operations: when it is detected that a medicine box is stored in any medicine box buffer area A and the state of the medicine box buffer area A is no task and any mechanical arm B is idle, acquiring the medicine taking information corresponding to the medicine box in the medicine box buffer area A, controlling the mechanical arm B to start taking medicine from the medicine box in the medicine box buffer area A, and the state of the medicine box buffer area A is task; when it is detected that no medicine box is stored in any medicine box buffer area C, acquiring a target medicine box of a medicine to be taken from the medicine storage area, and transporting the target medicine box to the medicine box buffer area C; when it is detected that the state of any medicine box buffer area D is task and the medicine box in the medicine box buffer area D has completed taking medicine, setting the state of the medicine box buffer area D as no task.
[0031] In the embodiment, a sensor is arranged in each medicine box buffer area, the sensor can detect whether a medicine box is stored in the medicine box buffer area; the processing module is further used for: when the sensor in any medicine box buffer area A detects a medicine box, it is detected that a medicine box is stored in the medicine box buffer area A; when the sensor in any medicine box buffer area C does not detect a medicine box, it is detected that no medicine box is stored in the medicine box buffer area C.
[0032] In the embodiment, the initialization module is further used for: acquiring the medicine taking information corresponding to the medicine box in the medicine box buffer area A from a HIS system.
[0033] In the embodiment, the processing module is further used for: setting the state of the medicine box buffer area D as no task, and then transporting the medicine box in the medicine box buffer area D to the medicine storage area.
[0034] Embodiment three of the present application provides an electronic device, the electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the steps in the medicine taking method for the medicine library in embodiment one when executing the computer program.
[0035] Embodiment four of the present application provides a storage medium, the storage medium stores a computer program, and the computer program implements the steps in the medicine taking method for the medicine library in embodiment one when executed by a processor.
[0036] It is to be understood that even though various embodiments can be described in conjunction with a specific order, the order is not absolute and the steps can be performed in other orders.
[0037] The present application can be a system, a method, and / or a computer program product. The computer program product can include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present application.
[0038] The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium can be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium can also include the following: a portable computer diskette, 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 disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se.
[0039] Embodiments of the application have been described above, and the description is not exhaustive, and is not intended to limit the various embodiments disclosed herein. Many modifications and variations will be apparent to those of ordinary skill in the art, in light of the above teachings. It is, therefore, to be understood that changes can be made in the function and / or arrangement of elements without departing from the scope and spirit of the described embodiments. The use of the terms "preferably," "preferably," "preferred," and "desirably" indicates that although the feature / aspect described can not be essential to the technology, that the particular feature / aspect is desirable and / or highly desirable. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature / aspect is optional. The use of the terms "may" and "may" indicates that the particular feature
Claims
1. A method for dispensing medicine from a medicine store, the medicine store being provided with a medicine storage area, a plurality of mechanical arms and a plurality of medicine cassette buffer areas, the medicine storage area being provided with a plurality of medicine cassettes, each medicine cassette buffer area being capable of storing one medicine cassette, the mechanical arms being capable of picking up medicine from any medicine cassette on any medicine cassette buffer area, the number of mechanical arms being less than the number of medicine cassette buffer areas. A sensor is arranged in each medicine box buffer area, and the sensor can detect whether a medicine box is stored in the corresponding medicine box buffer area. The method comprises the following steps: Setting the state value of all medicine box buffer areas as no task; Continuously performing the following operations: when it is detected that any medicine box buffer area A stores a medicine box, and the state of the medicine box buffer area A is no task and any manipulator B is idle, obtaining the medicine taking information corresponding to the medicine box in the medicine box buffer area A, controlling the manipulator B to start taking medicine from the medicine box in the medicine box buffer area A, and setting the state of the medicine box buffer area A as having task; when it is detected that any medicine box buffer area C does not store a medicine box, obtaining a target medicine box of a medicine to be taken from the medicine storage area, and delivering the target medicine box to the medicine box buffer area C; When it is detected that the state of any medicine box buffer area D is having task and the medicine box in the medicine box buffer area D has completed taking medicine, setting the state of the medicine box buffer area D as no task; The "detecting that any medicine box buffer area A stores a medicine box" specifically comprises: when the sensor in any medicine box buffer area A detects a medicine box, it is detected that the medicine box buffer area A stores a medicine box; and the "detecting that any medicine box buffer area C does not store a medicine box" specifically comprises: when the sensor in any medicine box buffer area C does not detect a medicine box, it is detected that the medicine box buffer area C does not store a medicine box.
2. The medicine taking method according to claim 1, wherein The "obtaining the medicine taking information corresponding to the medicine box in the medicine box buffer area A" specifically comprises: obtaining the medicine taking information corresponding to the medicine box in the medicine box buffer area A from a HIS system.
3. The medicine taking method according to claim 1, wherein The "setting the state of the medicine box buffer area D as no task" specifically comprises: setting the state of the medicine box buffer area D as no task, and then delivering the medicine box in the medicine box buffer area D to the medicine storage area.
4. A medicine taking device for a medicine library, the medicine library is provided with a medicine storage area, a plurality of mechanical arms and a plurality of medicine box buffer areas, a plurality of medicine boxes are stored in the medicine storage area, each medicine box buffer area is capable of storing one medicine box, the mechanical arms are capable of grabbing medicine from the medicine boxes on any medicine box buffer area, the number of mechanical arms ≤ the number of medicine box buffer areas; a sensor is provided in each medicine box buffer area, the sensor is capable of detecting whether a medicine box is stored in the medicine box buffer area; characterized in that, The method comprises the following modules: An initialization module, which is used to set the state value of all medicine box buffer areas as no task; A processing module, which is used to continuously perform the following operations: when it is detected that any medicine box buffer area A stores a medicine box, and the state of the medicine box buffer area A is no task and any manipulator B is idle, obtaining the medicine taking information corresponding to the medicine box in the medicine box buffer area A, controlling the manipulator B to start taking medicine from the medicine box in the medicine box buffer area A, and setting the state of the medicine box buffer area A as having task; when it is detected that any medicine box buffer area C does not store a medicine box, obtaining a target medicine box of a medicine to be taken from the medicine storage area, and delivering the target medicine box to the medicine box buffer area C; When it is detected that the state of any medicine box buffer area D is having task and the medicine box in the medicine box buffer area D has completed taking medicine, setting the state of the medicine box buffer area D as no task; and The "detecting that any medicine box is stored in the medicine box buffer area A" specifically includes: when a sensor in any medicine box buffer area A detects a medicine box, it is detected that a medicine box is stored in the medicine box buffer area A; and the "detecting that any medicine box is not stored in the medicine box buffer area C" specifically includes: when a sensor in any medicine box buffer area C does not detect a medicine box, it is detected that no medicine box is stored in the medicine box buffer area C.
5. The medicine taking device according to claim 4, wherein, The initialization module is further configured to acquire, from the HIS system, the medicine taking information corresponding to the medicine box in the medicine box buffer area A.
6. The medicine taking device according to claim 4, wherein, The processing module is further configured to: after the state of the medicine box buffer area D is no task, transport the medicine box in the medicine box buffer area D to the medicine storage area.
7. An electronic device, comprising: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement the steps in the medicine taking method for the medicine library in any one of claims 1 to 3.
8. A storage medium, characterized by The storage medium stores a computer program, and the computer program is executed by the processor to implement the steps in the medicine taking method for the medicine library in any one of claims 1 to 3.
Citation Information
Patent Citations
Intelligent dispensing pharmacy and using method thereof
CN117184735A