Medicine taking method and device for medicine warehouse, electronic equipment and storage medium thereof
By setting up storage areas, robots and sensors in the drug database of the smart pharmacy, the rapid acquisition of drugs is achieved, the problem of low efficiency of drug acquisition in the drug database is solved, and the efficiency of drug management is improved.
Patent Information
- Application Number
- CN202412000154.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2044-12-30
AI Technical Summary
In the drugstore of smart pharmacies, how to quickly and efficiently capture drugs has become an urgent problem.
By setting up a storage area, multiple robots and multiple storage box buffer areas in the medicine library, the sensors are used to detect the existence status of the storage box, and when the robot is idle, the drug collection information is obtained and the robot is controlled to perform the drug collection operation.
This method can greatly improve the efficiency of drug acquisition and ensure rapid access and management of drugs.
Smart Images

Figure CN119840988A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medicine storage, and in particular to a medicine taking method, device, electronic equipment and storage medium thereof for a medicine warehouse. Background Art
[0002] With the advancement of technology, smart pharmacies are increasingly being used in hospitals. In smart pharmacies, a medicine warehouse is usually provided, which can store medicine boxes, and medicine boxes can store medicines. A manipulator is usually provided in the medicine warehouse, and the manipulator is used to grab medicines from the medicine boxes.
[0003] In this medicine warehouse, how to quickly grab medicines becomes a problem that needs to be solved urgently. Summary of the invention
[0004] In view of this, the main purpose of the present invention is to provide a drug taking method, device, electronic device and storage medium thereof for a drug library.
[0005] To achieve the above-mentioned purpose, the technical solution of the present invention is implemented as follows: a method for taking medicine from a medicine warehouse, wherein the medicine warehouse is provided with a medicine storage area, a plurality of manipulators and a plurality of medicine box buffer areas, wherein a plurality of medicine boxes are stored in the medicine storage area, and each medicine box buffer area can store a medicine box, and the manipulator can grab medicines from the medicine boxes on any medicine box buffer area, and the number of manipulators is ≤ the number of medicine box buffer areas; comprising the following steps: setting the status value of all medicine box buffer areas to no task; continuously performing the following operations: upon detecting that a medicine box is stored in any medicine box buffer area A, and the status of medicine box buffer area A is When the status is no task and any manipulator B is idle, the medicine picking information corresponding to the medicine boxes in the medicine box buffer area A is obtained, and the manipulator B is controlled to start picking medicines from the medicine boxes in the medicine box buffer area A, and the status of the medicine box buffer area A is that there is an existing task; when it is detected that there are no medicine boxes stored in any medicine box buffer area C, a target medicine box with to-be-picked medicines is obtained from the medicine storage area, and the target medicine box is transported to the medicine box buffer area C; when it is detected that the status of any medicine box buffer area D is that there is an existing task and the medicine boxes in the medicine box buffer area D have completed picking up medicines, the status of the medicine box buffer area D is changed to no task.
[0006] As an improvement to an embodiment of the present invention, a sensor is provided in each medicine box cache area, and the sensor can detect whether there are medicine boxes stored in the medicine box cache area; the "detection that there are medicine boxes stored in any medicine box cache area A" specifically includes: when the sensor in any medicine box cache area A detects a medicine box, it is detected that there are medicine boxes stored in the medicine box cache area A; the "detection that there are no medicine boxes stored in any medicine box cache area C" specifically includes: when the sensor in any medicine box cache area C does not detect a medicine box, it is detected that there are no medicine boxes stored in the medicine box cache area C.
[0007] As an improvement of the embodiment of the present invention, the “obtaining the medicine taking information corresponding to the medicine storage boxes in the medicine storage box cache area A” specifically includes: obtaining the medicine taking information corresponding to the medicine storage boxes in the medicine storage box cache area A from the HIS system.
[0008] As an improvement of an embodiment of the present invention, the "setting the status of the medicine storage box cache area D to no task" specifically includes: setting the status of the medicine storage box cache area D to no task, and then transporting the medicine boxes in the medicine storage box cache area D to the medicine storage area.
[0009] The embodiment of the present invention further provides a drug taking device for a drug warehouse, wherein the drug warehouse is provided with a drug storage area, a plurality of manipulators and a plurality of drug box buffer areas, wherein a plurality of drug boxes are stored in the drug storage area, and each drug box buffer area can store a drug box, and the manipulator can grab drugs from the drug boxes on any drug box buffer area, and the number of manipulators is ≤ the number of drug box buffer areas; the device comprises the following modules: an initialization module, for setting the status values of all drug box buffer areas to no task; a processing module, for continuously performing the following operations: upon detecting that a drug box is stored in any drug box buffer area A, and the drug box buffer area A When the status is no task and any manipulator B is idle, the medicine picking information corresponding to the medicine boxes in the medicine box buffer area A is obtained, and the manipulator B is controlled to start picking medicines from the medicine boxes in the medicine box buffer area A, and the status of the medicine box buffer area A is that there is an existing task; when it is detected that there are no medicine boxes stored in any medicine box buffer area C, a target medicine box with to-be-picked medicines is obtained from the medicine storage area, and the target medicine box is transported to the medicine box buffer area C; when it is detected that the status of any medicine box buffer area D is that there is an existing task and the medicine boxes in the medicine box buffer area D have completed picking up medicines, the status of the medicine box buffer area D is set to no task.
[0010] As an improvement to an embodiment of the present invention, a sensor is provided in each medicine box cache area, and the sensor can detect whether there is a medicine box stored in the medicine box cache area; the processing module is also used for: when the sensor in any medicine box cache area A detects a medicine box, it is detected that there is a medicine box stored in the medicine box cache area A; when the sensor in any medicine box cache area C does not detect a medicine box, it is detected that there is no medicine box stored in the medicine box cache area C.
[0011] As an improvement of the embodiment of the present invention, the initialization module is further used to: obtain medicine collection information corresponding to the medicine storage box in the medicine storage box buffer area A from the HIS system.
[0012] As an improvement of the embodiment of the present invention, the processing module is further used to: set the status of the medicine storage box buffer area D to no task, and then transport the medicine storage boxes in the medicine storage box buffer area D to the medicine storage area.
[0013] An embodiment of the present invention further provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps in the above-mentioned method for taking medicine from a medicine warehouse are implemented.
[0014] An embodiment of the present invention further provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for taking medicine from a medicine warehouse are implemented.
[0015] The medicine taking method, device, electronic device and storage medium for a medicine store provided by the embodiment of the present invention have the following advantages: the embodiment of the present invention discloses a medicine taking method, device, electronic device and storage medium for a medicine store, the medicine taking method comprises the following steps: when it is detected that a medicine box is stored in a medicine box buffer area, and the state is no task and the manipulator is idle, the manipulator is controlled to start taking medicine from the medicine box in the medicine box buffer area; when it is detected that no medicine box is stored in the medicine box buffer area, a target medicine box to be taken is obtained from the medicine storage area, and the target medicine box is transported to the medicine box buffer area; when it is detected that the medicine box in the medicine box buffer area has completed taking medicine, the state of the medicine box buffer area is no task. The medicine taking method can greatly improve the efficiency of taking medicine. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 Schematic diagram of a process for taking medicine from a medicine storehouse in an embodiment of the present invention;
[0017] Figure 2 A structural diagram for describing the positional relationship among a robot, a horizontal slide rail, and a vertical slide rail. DETAILED DESCRIPTION
[0018] The present invention will be described in detail below in conjunction with the embodiments shown in the accompanying drawings. However, the embodiments do not limit the present invention, and any structural, methodological, or functional changes made by a person skilled in the art based on the embodiments are all within the protection scope of the present invention.
[0019] 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.
[0020] 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.
[0021] Embodiment 1 of the present invention provides a method for taking medicines in a medicine storehouse, wherein the medicine storehouse is provided with a medicine storage area, a plurality of manipulators and a plurality of medicine box buffer areas, wherein a plurality of medicine boxes are stored in the medicine storage area, and each medicine box buffer area can store a medicine box, and the manipulator can grab medicines from a medicine box on any medicine box buffer area, and the number of manipulators is ≤ the number of medicine box buffer areas; here, in the medicine storehouse, a medicine storage area is provided, and a medicine storage rack, etc., is provided in the medicine storage area, and medicine boxes are stored in the medicine storage rack, and medicines are stored in the medicine boxes, and the medicines can be boxed medicines, injections or solvents, etc. In the medicine storehouse, a plurality of medicine box buffer areas and a conveying device are also provided, and the conveying device can convey the medicine boxes in the medicine storage area to any medicine box buffer area, and can also convey the medicine boxes in any medicine box buffer area to the medicine storage area; the manipulator can grab medicines from the medicine boxes in any medicine box buffer area.
[0022] Here, the medicine warehouse may be provided with a medicine storage rack, and the medicine storage rack is divided into a plurality of horizontal rows along the up-down direction, the horizontal rows extend along the horizontal direction, and are divided into a plurality of medicine storage box buffer areas in the horizontal direction.
[0023] like Figure 2 As shown, a plurality of driving devices are arranged on one side of the medicine storage rack, and each driving device includes two horizontal slide rails 21 and a vertical slide rail 22. The two horizontal slide rails 21 are arranged one above the other and are parallel to each other. The vertical slide rail 22 can slide along the horizontal slide rail 21, and the manipulator can slide along the vertical slide rail 22. The manipulator can extend into any medicine storage box buffer area and can grab medicines from the medicine storage box in any medicine storage box buffer area.
[0024] like Figure 1 As shown, the following steps are included:
[0025] Step 101: setting the status values of all medicine storage box buffers to no tasks;
[0026] Step 102: Continue to perform the following operations: when it is detected that a medicine box is stored in any medicine box buffer area A, and the status of the medicine box buffer area A is that there is no task and any manipulator B is idle, obtain the medicine taking information corresponding to the medicine box in the medicine box buffer area A, control the manipulator B to start taking medicine from the medicine box in the medicine box buffer area A, and the status of the medicine box buffer area A is that there is an existing task; when it is detected that no medicine box is stored in any medicine box buffer area C, obtain a target medicine box for to be taken from the medicine storage area, and transport the target medicine box to the medicine box buffer area C; when it is detected that the status of any medicine box buffer area D is that there is an existing task and the medicine box in the medicine box buffer area D has completed taking medicine, set the status of the medicine box buffer area D to no task. Here, when it is detected that there is a medicine box stored in any medicine box cache area A, you only need to start grabbing medicines from the medicine boxes on the medicine box cache area A; at the same time, if there is no medicine box stored in any medicine box cache area C, take a medicine box and put it into the medicine box cache area B. These tasks can be performed simultaneously, thereby greatly improving the efficiency of taking medicines.
[0027] In the present embodiment, a sensor is provided in each medicine box buffer area, and the sensor can detect whether there are medicine boxes stored in the medicine box buffer area; the "detection that there are medicine boxes stored in any medicine box buffer area A" specifically includes: when the sensor in any medicine box buffer area A detects a medicine box, it is detected that there are medicine boxes stored in the medicine box buffer area A; the "detection that there are no medicine boxes stored in any medicine box buffer area C" specifically includes: when the sensor in any medicine box buffer area C does not detect a medicine box, it is detected that there are no medicine boxes stored in the medicine box buffer area C.
[0028] In this embodiment, the "obtaining the medicine taking information corresponding to the medicine storage boxes in the medicine storage box cache area A" specifically includes: obtaining the medicine taking information corresponding to the medicine storage boxes in the medicine storage box cache area A from a HIS (Hospital Information System) system.
[0029] In this embodiment, "setting the status of the medicine storage box buffer area D to no task" specifically includes: setting the status of the medicine storage box buffer area D to no task, and then transporting the medicine storage boxes in the medicine storage box buffer area D to the medicine storage area.
[0030] Embodiment 2 of the present invention provides a drug taking device for a drug warehouse, wherein the drug warehouse is provided with a drug storage area, a plurality of manipulators and a plurality of drug box buffer areas, wherein a plurality of drug boxes are stored in the drug storage area, and each drug box buffer area can store a drug box, and the manipulator can grab drugs from the drug boxes on any drug box buffer area, and the number of manipulators is ≤ the number of drug box buffer areas; the device comprises the following modules: an initialization module, for setting the status values of all drug box buffer areas to no task; a processing module, for continuously performing the following operations: upon detecting that a drug box is stored in any drug box buffer area A, and the drug box buffer area A When the status is no task and any manipulator B is idle, the medicine picking information corresponding to the medicine boxes in the medicine box buffer area A is obtained, and the manipulator B is controlled to start picking medicines from the medicine boxes in the medicine box buffer area A, and the status of the medicine box buffer area A is that there is an existing task; when it is detected that there are no medicine boxes stored in any medicine box buffer area C, a target medicine box with to-be-picked medicines is obtained from the medicine storage area, and the target medicine box is transported to the medicine box buffer area C; when it is detected that the status of any medicine box buffer area D is that there is an existing task and the medicine boxes in the medicine box buffer area D have completed picking up medicines, the status of the medicine box buffer area D is set to no task.
[0031] In the present embodiment, a sensor is provided in each medicine box cache area, and the sensor can detect whether there is a medicine box stored in the medicine box cache area; the processing module is also used for: when the sensor in any medicine box cache area A detects a medicine box, it is detected that there is a medicine box stored in the medicine box cache area A; when the sensor in any medicine box cache area C does not detect a medicine box, it is detected that there is no medicine box stored in the medicine box cache area C.
[0032] In this embodiment, the initialization module is further used to obtain medicine collection information corresponding to the medicine storage box in the medicine storage box buffer area A from the HIS system.
[0033] In this embodiment, the processing module is further used to: set the status of the medicine storage box buffer area D to no task, and then transport the medicine storage boxes in the medicine storage box buffer area D to the medicine storage area.
[0034] Embodiment 3 of the present invention provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the drug extraction method for a drug warehouse in embodiment 1 are implemented.
[0035] A fourth embodiment of the present invention provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the drug taking method for a drug warehouse in the first embodiment are implemented.
[0036] 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.
[0037] 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.
[0038] The readable storage medium can be a tangible device that holds and stores the 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 (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, for example, a punch card or a protruding structure in a groove on which instructions are stored, and any suitable combination thereof.
[0039] 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 taking medicine from a medicine warehouse, wherein the medicine warehouse is provided with a medicine storage area, a plurality of manipulators and a plurality of medicine box buffer areas, wherein a plurality of medicine boxes are stored in the medicine storage area, and each medicine box buffer area can store a medicine box, and the manipulator can grab medicine from a medicine box on any medicine box buffer area, and the number of manipulators is ≤ the number of medicine box buffer areas; characterized in that: The following steps are involved: Set the status value of all medicine storage box buffers to no task; The following operations are continuously performed: when it is detected that a medicine box is stored in any medicine box buffer area A, and the status of the medicine box buffer area A is that there is no task and any manipulator B is idle, the medicine taking information corresponding to the medicine box in the medicine box buffer area A is obtained, and the manipulator B is controlled to start taking medicine from the medicine box in the medicine box buffer area A, and the status of the medicine box buffer area A is that there is a task; when it is detected that no medicine box is stored in any medicine box buffer area C, a target medicine box to be taken from the medicine storage area is obtained, and the target medicine box is transported to the medicine box buffer area C; When it is detected that the status of any medicine storage box buffer area D is that there is a task and the medicine storage box in the medicine storage box buffer area D has completed taking medicine, the status of the medicine storage box buffer area D is changed to no task.
2. The drug dispensing method according to claim 1, characterized in that: A sensor is provided in each medicine storage box buffer area, and the sensor can detect whether a medicine storage box is stored in the medicine storage box buffer area; The “detection that a medicine box is stored in any 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; The “detection that no medicine box is stored in any medicine box buffer area C” specifically includes: when the sensor in any medicine box buffer area C does not detect the medicine box, it is detected that no medicine box is stored in the medicine box buffer area C.
3. The drug dispensing method according to claim 1, characterized in that: 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 the HIS system.
4. The drug dispensing method according to claim 1, characterized in that: The “setting the status of the medicine storage box buffer area D to no task” specifically includes: setting the status of the medicine storage box buffer area D to no task, and then transporting the medicine storage boxes in the medicine storage box buffer area D to the medicine storage area.
5. A drug taking device for a drug warehouse, wherein the drug warehouse is provided with a drug storage area, a plurality of manipulators and a plurality of drug storage box buffer areas, wherein a plurality of drug storage boxes are stored in the drug storage area, and each drug storage box buffer area can store a drug storage box, and the manipulator can grab drugs from a drug storage box on any drug storage box buffer area, and the number of manipulators is ≤ the number of drug storage box buffer areas; characterized in that: Includes the following modules: An initialization module is used to set the status values of all medicine storage box buffers to no tasks; The processing module is used to continuously perform the following operations: when it is detected that a medicine storage box is stored in any medicine storage box buffer area A, and the status of the medicine storage box buffer area A is that there is no task and any manipulator B is idle, obtain the medicine taking information corresponding to the medicine storage box in the medicine storage box buffer area A, and control the manipulator B to start taking medicine from the medicine storage box in the medicine storage box buffer area A, and the status of the medicine storage box buffer area A is that there is a task; when it is detected that no medicine storage box is stored in any medicine storage box buffer area C, obtain a target medicine storage box for medicine to be taken from the medicine storage area, and transport the target medicine storage box to the medicine storage box buffer area C; When it is detected that the status of any medicine storage box buffer area D is that there is a task and the medicine storage box in the medicine storage box buffer area D has completed taking medicine, the status of the medicine storage box buffer area D is changed to no task.
6. The medicine dispensing device according to claim 5, characterized in that: A sensor is provided in each medicine storage box buffer area, and the sensor can detect whether a medicine storage box is stored in the medicine storage box buffer area; The processing module is also used for: when the sensor in any medicine box buffer area A detects a medicine box, it is detected that there is a medicine box 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 there is no medicine box stored in the medicine box buffer area C.
7. The medicine dispensing device according to claim 5, characterized in that: The initialization module is also used to obtain medicine collection information corresponding to the medicine storage box in the medicine storage box buffer area A from the HIS system.
8. The medicine dispensing device according to claim 5, characterized in that: The processing module is further used to: set the status of the medicine storage box buffer area D to no task, and then transport the medicine storage boxes in the medicine storage box buffer area D to the medicine storage area.
9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the drug taking method for a drug store as claimed in any one of claims 1 to 4 are implemented.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the drug extraction method for a drug warehouse described in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Medicine dispensing system for automatic medicine dispensing machine and medicine dispensing method thereof
CN109081036A
Medicine storehouse for storing injections
CN111392305A
Intelligent reserved sample secondary warehouse and using method thereof
CN112193696A
Intelligent dispensing pharmacy and using method thereof
CN117184735A
Task generation and robot scheduling method and system based on cache region
CN119127449A