Method for controlling a drug storage and dispensing device and device therefor
By introducing N entrances/exits, drug storage devices, drug handling devices, and a status memory into the drug storage warehouse, combined with detectors and input/output devices, the problem of slow speed in the drug storage warehouse was solved, and automated and efficient drug management was achieved.
Patent Information
- Application Number
- CN202311255957.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-27
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2043-09-27
AI Technical Summary
The existing drug storage warehouse has a slow drug inbound and outbound speed, which makes it impossible to efficiently automate drug management.
The drug storage warehouse control method includes N entrances and exits, drug storage devices, drug handling devices, state memory, and input/output devices. The status of the entrances and exits is detected by detectors, the drug handling devices realize the automated entry and exit operations of drugs, and the state memory and input/output devices are used for state management.
It improved the inbound and outbound speed of drug storage facilities, and enabled automated management and efficient operation of drugs.
Smart Images

Figure CN117163539B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of medicine storage, in particular to a control method of medicine storage and a device thereof. BACKGROUND
[0002] In a hospital, a medicine storage 1 is usually set up, Figure 1 A possible structure of the medicine storage 1 is shown, in which medicines can be stored, and in order to facilitate use, the medicine storage 1 is provided with a medicine outlet 11 and a medicine inlet 12, and can automatically perform medicine storage processing at the medicine inlet 12 and automatically perform medicine storage processing at the medicine outlet 11. It can be understood that since the medicine outlet 11 can only perform medicine storage processing, and the medicine inlet 12 can only perform medicine storage processing, the speed is relatively slow. SUMMARY
[0003] Therefore, the main purpose of the present application is to provide a control method of medicine storage and a device thereof.
[0004] To achieve the above-mentioned purpose, the technical scheme of the present application is as follows: a control method of medicine storage, the medicine storage comprising: N exits and entrances, a medicine storage device, a medicine conveying device, a state storage and an input and output device, N being a natural number; the medicine storage device is used for storing medicines; the medicine conveying device can take out medicines from the medicine storage device and send them into any exit and entrance, and in addition, can take out medicines from any exit and entrance and send them into the medicine storage device; a detector is arranged at each exit and entrance, and the detector can detect whether the exit and entrance where it is located stores medicines; the state storage can store state information of N exits and entrances, and the state information is one of an out-of-storage state, an in-storage state and an idle state; comprising the following steps: when a medicine-out instruction is received, the medicine-out instruction at least comprising medicine information and a first exit and entrance, controlling the medicine storage device to take out target medicines conforming to the medicine information, controlling the medicine conveying device to receive the target medicines and send them into the first exit and entrance, and then modifying the state information of the first exit and entrance to the out-of-storage state; when a modification instruction is received from the input and output device, modifying the state information of a second exit and entrance to the idle state; when it is determined based on the detector in the second exit and entrance that the second exit and entrance stores medicines and the state information of the second exit and entrance is the idle state, controlling the medicine conveying device to take out medicines from the second exit and entrance and send them into the medicine storage device.
[0005] As a refinement of the embodiment of the present application, the control of the medicine conveying device to receive the target medicine and send it into the first exit port specifically includes: control of the medicine conveying device to receive the target medicine, and when the state information of the first exit port is in the warehouse-out state or the warehouse-in state, waiting for the state of the first exit port to become the idle state, and then sending the target medicine into the first exit port.
[0006] As a refinement of the embodiment of the present application, the medicine information specifically includes: a plurality of medicine types, and a corresponding desired quantity for each medicine type; and the control of the medicine storage device to take out the target medicine in accordance with the medicine information, and the control of the medicine conveying device to receive the target medicine and send it into the first exit port specifically includes: for each medicine type, control of the medicine storage device to take out the corresponding medicine in the corresponding desired quantity, and then put all the medicines into an empty medicine box, and control of the medicine conveying device to receive the medicine box and send it into the first exit port.
[0007] As a refinement of the embodiment of the present application, the control of the medicine conveying device to take out the medicine from the second exit port and send it into the medicine storage device specifically includes: modification of the state information of the second exit port to the warehouse-in state, and then control of the medicine conveying device to take out the medicine from the second exit port and send it into the medicine storage device, and then modification of the state information of the second exit port to the idle state.
[0008] As a refinement of the embodiment of the present application, N=10.
[0009] The embodiment of the present application also provides a control device of a medicine storage library, the medicine storage library comprising: N exits, a medicine storage device, a medicine carrying device, a state storage and an input and output device, N being a natural number; the medicine storage device is used for storing medicines; the medicine carrying device can take out medicines from the medicine storage device and send the medicines into any exit, and can also take out medicines from any exit and send the medicines into the medicine storage device; a detector is arranged at each exit, and the detector can detect whether medicines are stored at the exit; the state storage can store state information of the N exits, the state information being one of an out-of-stock state, an in-stock state and an idle state; the control device comprises the following modules: a first processing module, used for, when receiving a medicine taking instruction, the medicine taking instruction at least comprising medicine information and a first exit, controlling the medicine storage device to take out target medicines conforming to the medicine information, controlling the medicine carrying device to receive the target medicines and send the target medicines into the first exit, and then modifying the state information of the first exit to the out-of-stock state; a second processing module, used for, when receiving a modification instruction from the input and output device, modifying the state information of a second exit to the idle state; when it is determined based on the detector in the second exit that medicines are stored in the second exit and the state information of the second exit is the idle state, controlling the medicine carrying device to take out the medicines from the second exit and send the medicines into the medicine storage device.
[0010] As an improvement of the embodiment of the present application, the first processing module is further used for: controlling the medicine carrying device to receive the target medicines, and when the state information of the first exit is the out-of-stock state or the in-stock state, waiting for the state of the first exit to be the idle state, and then sending the target medicines into the first exit.
[0011] As an improvement of the embodiment of the present application, the medicine information specifically comprises: a plurality of medicine types and a desired taking quantity corresponding to each medicine type; and the first processing module is further used for: for each medicine type, controlling the medicine storage device to take out the corresponding medicines and the number of the corresponding desired taking quantity, and then putting all the medicines into an empty medicine box, controlling the medicine carrying device to receive the medicine box and send the medicine box into the first exit.
[0012] As an improvement of the embodiment of the present application, the second processing module is further used for: modifying the state information of the second exit to the in-stock state, and then controlling the medicine carrying device to take out the medicines from the second exit and send the medicines into the medicine storage device, and then modifying the state information of the second exit to the idle state.
[0013] As an improvement of the embodiment of the present application, N=10.
[0014] The control method and device of the medicine storage provided by the embodiments of the present application have the following advantages: the embodiments of the present application disclose a control method and device of a medicine storage, the control method comprises the following steps: when a medicine dispensing instruction is received, the medicine dispensing instruction at least comprises medicine information and a first access, a medicine storage device is controlled to take out target medicine meeting the medicine information, a medicine handling device is controlled to receive the target medicine and send it into the first access, then, the state information of the first access is modified to a storage state; when a modification instruction is received from an input and output device, the modification instruction is used to indicate that the state information of a second access is modified to an idle state; when it is determined based on a detector in the second access that medicine is stored in the second access and the state information of the second access is the idle state, the medicine handling device is controlled to take out the medicine from the second access and send it into the medicine storage device. The control method can accelerate the speed of medicine entering and leaving the medicine storage. BRIEF DESCRIPTION OF DRAWINGS
[0015] Figure 1 A partial structure diagram of the medicine storage provided by the embodiments of the present application is provided.
[0016] Figure 2 A flowchart of the control method of the medicine storage provided by the embodiments of the present application is provided. DETAILED DESCRIPTION
[0017] The present application will be described in detail below with reference to the embodiments shown in the drawings. However, the embodiments do not limit the present 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 present application.
[0018] The following description and drawings are illustrative of the specific embodiments herein and are not intended to be limiting. Parts and features of some embodiments can be included or replaced by parts and features of other embodiments. The scope of the embodiments herein includes the entire scope of the claims and all available equivalents thereof. In this document, the terms "first," "second," etc. are used merely as identifiers that distinguish one element from another, and are not intended to signify or imply that the elements so identified must have a particular relationship to one another or be in a particular order, unless otherwise specified and limited. In fact, the first element could be the second element, and vice versa. Also, the terms "comprise," "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 only 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. Various embodiments are described with progression in this document, each embodiment emphasizing related aspects that distinguish it from other embodiments. Each embodiment can provide from 1% to 99% or more of the aspects creating a merit to the inventive proceeding. Accordingly, the embodiments described herein are not mutually exclusive, but are to be appreciated separately or in any combination.
[0019] The terms "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like in this document refer to the orientation or positional relationship as shown in the drawings, and are merely used to facilitate the description of this document and simplify the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application. In the description of this document, unless otherwise specified and limited, the terms "mounting," "connecting," "connection" should be interpreted broadly, for example, it can be a mechanical connection or an electrical connection, it can be a communication between two elements inside, it can be a direct connection or an indirect connection through an intermediate medium, and the specific meaning of the above terms can be understood by those skilled in the art according to the specific circumstances.
[0020] The embodiment one of the present application provides a control method of a medicine storage, the medicine storage comprises: N entrances, a medicine storage device, a medicine carrying device, a state storage and an input and output device, N is a natural number; the medicine storage device is used for storing medicines; the medicine carrying device can take out medicines from the medicine storage device and send into any entrance, and can also take out medicines from any entrance and send into the medicine storage device; a detector is arranged at each entrance, and the detector can detect whether medicines are stored at the entrance; the state storage can store state information of the N entrances, and the state information is one of an out-of-stock state, an in-stock state and an idle state; here, the medicine storage device can be used for storing medicines, a database system is arranged in the medicine storage, and all medicines stored in the medicine storage device are stored in the database system, and information of the medicines (types of the medicines, positions of the medicines and the like) is stored, so that when the medicine storage device receives an out-of-stock instruction, the medicine storage device can send out medicines (the quantity and the type meet the requirements) specified by the out-of-stock instruction. A controller can be arranged in the medicine storage, the controller executes the control method, and the detector can detect whether medicines are placed at the entrance at every preset time, and sends the detection result to the controller.
[0021] As shown in the figure, the method comprises the following steps: Figure 2
[0022] Step 201: when receiving a medicine taking instruction, the medicine taking instruction at least comprises medicine information and a first entrance, the medicine storage device is controlled to take out target medicines meeting the medicine information, the medicine carrying device is controlled to receive the target medicines and send into the first entrance, and then, the state information of the first entrance is modified to an out-of-stock state; after receiving the out-of-stock instruction, the medicines are sent into an entrance, and then, a worker can take away the medicines at the entrance; optionally, the entrances that are not passed can be provided with different identifiers, and in order to facilitate use of the user, the input and output device can display the identifier of the first entrance. The input and output device can be a touch screen.
[0023] Step 202: when receiving a modification instruction from the input and output device, the state information of a second entrance is modified to an idle state; when it is determined that medicines are stored in the second entrance based on the detector in the second entrance, and the state information of the second entrance is an idle state, the medicine carrying device is controlled to take out the medicines from the second entrance and send into the medicine storage device.
[0024] Afterwards, when the user needs to put the medicine into the medicine storage, the medicine is put into any of the entrances, and then the relevant information, such as the medicine type of the medicine, the quantity of the medicine, and the like, is input into the input and output device. It can be understood that the detector detects that the medicine is stored in the second entrance, and then the control medicine handling device takes the medicine from the second entrance and sends it into the medicine storage device. It can be understood that after the medicine is successfully sent into the medicine storage device, the corresponding modification is needed in the database system.
[0025] In the embodiment, the control of the medicine handling device receiving the target medicine and sending it into the first entrance specifically includes: controlling the medicine handling device to receive the target medicine, waiting for the state of the first entrance to change to the idle state when the state information of the first entrance is the out-of-stock state or the in-stock state, and then sending the target medicine into the first entrance.
[0026] In the embodiment, the medicine information specifically includes: a plurality of medicine types and the corresponding desired quantity of each medicine type; and the control of the medicine storage device taking out the target medicine in accordance with the medicine information and the control of the medicine handling device receiving the target medicine and sending it into the first entrance specifically includes: for each medicine type, controlling the medicine storage device to take out the corresponding medicine in the corresponding desired quantity, and then putting all the medicines into an empty medicine box, controlling the medicine handling device to receive the medicine box, and sending the medicine box into the first entrance.
[0027] In the embodiment, the control of the medicine handling device taking the medicine from the second entrance and sending it into the medicine storage device specifically includes: modifying the state information of the second entrance to the in-stock state, then controlling the medicine handling device to take the medicine from the second entrance and send it into the medicine storage device, and then modifying the state information of the second entrance to the idle state.
[0028] In the embodiment, N=10.
[0029] Embodiment two of the present application provides a control device of a medicine storage, which comprises: N entrances, a medicine storage device, a medicine handling device, a state storage, and an input and output device, wherein N is a natural number; the medicine storage device is used for storing medicines; the medicine handling device can take the medicines from the medicine storage device and send them into any of the entrances, and can also take the medicines from any of the entrances and send them into the medicine storage device; a detector is arranged at each of the entrances, and the detector can detect whether the medicine is stored in the entrance; the state storage can store the state information of the N entrances, and the state information is one of the out-of-stock state, the in-stock state, and the idle state; and the control device comprises the following modules:
[0030] The first processing module is configured to, when receiving a dispensing instruction, control the medicine storage device to take out a target medicine according to the medicine information in the dispensing instruction, control the medicine conveying device to receive the target medicine and send the target medicine to the first exit, and then modify the state information of the first exit to a warehouse-out state; the second processing module is configured to, when receiving a modification instruction from the input and output device, modify the state information of the second exit to an idle state; and when determining that the second exit stores the medicine based on a detector in the second exit and the state information of the second exit is the idle state, control the medicine conveying device to take out the medicine from the second exit and send the medicine to the medicine storage device.
[0031] In this embodiment, the first processing module is further configured to control the medicine conveying device to receive the target medicine, and when the state information of the first exit is the warehouse-out state or the warehouse-in state, wait for the state of the first exit to be the idle state, and then send the target medicine to the first exit.
[0032] In this embodiment, the medicine information specifically includes a plurality of medicine types and a corresponding desired quantity of each medicine type; and the first processing module is further configured to, for each medicine type, control the medicine storage device to take out the corresponding medicine in the corresponding desired quantity, and then put all the medicines into an empty medicine box, control the medicine conveying device to receive the medicine box, and send the medicine box to the first exit.
[0033] In this embodiment, the second processing module is further configured to modify the state information of the second exit to a warehouse-in state, and then control the medicine conveying device to take out the medicine from the second exit and send the medicine to the medicine storage device, and then modify the state information of the second exit to the idle state.
[0034] In this embodiment, N=10.
[0035] It should be understood that, although the present specification is described in terms of embodiments, not every embodiment contains only one independent technical solution, and the description of the specification is only for the sake of clarity, and those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can be combined appropriately to form other embodiments that those skilled in the art can understand.
[0036] The series of detailed descriptions listed above are only specific descriptions of the feasible embodiments of the present application, and are not intended to limit the protection scope of the present application, and any equivalent embodiments or changes made without departing from the spirit of the present application should be included in the protection scope of the present application.
Claims
1. A method for controlling a drug storage repository, the drug storage repository comprising: There are N entrances / exits, drug storage devices, drug handling devices, state memory, and input / output devices, where N is a natural number; The drug storage device is used to store drugs; The drug handling device can take out drugs from the drug storage device and send them to any entrance / exit. In addition, it can also take out drugs from any entrance / exit and send them into the drug storage device. A detector is installed at each entrance / exit, capable of detecting whether medicines are stored at that entrance / exit; the state memory can store the state information of N entrances / exits, the state information being one of outbound state, inbound state, and idle state; characterized by including the following steps: When a dispensing instruction is received, the dispensing instruction includes at least drug information and a first inlet / outlet. The drug storage device is controlled to retrieve the target drug matching the drug information. The drug handling device is controlled to receive the target drug and deliver it to the first inlet / outlet. Then, the status information of the first inlet / outlet is changed to an out-of-stock status. Specifically, controlling the drug handling device to receive the target drug and deliver it to the first inlet / outlet includes: controlling the drug handling device to receive the target drug; when the status information of the first inlet / outlet is out-of-stock or in-stock, waiting for the status of the first inlet / outlet to become idle, and then delivering the target drug to the first inlet / outlet. When a modification instruction is received from the input / output device, the status information of the second entrance / exit is modified to an idle state; when the detector in the second entrance / exit determines that there is medicine stored in the second entrance / exit and the status information of the second entrance / exit is an idle state, the medicine handling device is controlled to take out the medicine from the second entrance / exit and send it into the medicine storage device.
2. The control method according to claim 1, characterized in that, The drug information specifically includes: several drug types, and the quantity of each drug type to be obtained; The specific steps of controlling the drug storage device to retrieve the target drug that matches the drug information, controlling the drug handling device to receive the target drug, and sending it to the first entrance / exit include: for each drug type, controlling the drug storage device to retrieve the corresponding drug in the quantity required, then placing all the drugs into an empty medicine box, controlling the drug handling device to receive the medicine box, and sending the medicine box to the first entrance / exit.
3. The control method according to claim 1, characterized in that, The specific steps of controlling the drug handling device to retrieve drugs from the second inlet and outlet and deliver them into the drug storage device include: The status information of the second entrance / exit is changed to the storage status. Then, the medicine handling device is controlled to take out the medicine from the second entrance / exit and send it into the medicine storage device. After that, the status information of the second entrance / exit is changed to the idle status.
4. The control method according to claim 1, characterized in that: N=10。 5. A control device for a drug storage warehouse, the drug storage warehouse comprising: There are N entrances / exits, drug storage devices, drug handling devices, state memory, and input / output devices, where N is a natural number; The drug storage device is used to store drugs; The drug handling device can take out drugs from the drug storage device and send them to any entrance / exit. In addition, it can also take out drugs from any entrance / exit and send them into the drug storage device. A detector is installed at each entrance / exit, capable of detecting whether medicines are stored at that entrance / exit; the state memory can store the state information of N entrances / exits, the state information being one of outbound state, inbound state, and idle state; characterized in that it includes the following modules: The first processing module is configured to, upon receiving a dispensing instruction (which includes at least drug information and a first inlet / outlet), control the drug storage device to retrieve a target drug matching the drug information, control the drug handling device to receive the target drug, and deliver it to the first inlet / outlet. Then, the module modifies the status information of the first inlet / outlet to an out-of-warehouse status. The first processing module is further configured to: control the drug handling device to receive the target drug; when the status information of the first inlet / outlet is either an out-of-warehouse status or an in-warehouse status, wait for the status of the first inlet / outlet to become idle, and then deliver the target drug to the first inlet / outlet. The second processing module is used to modify the status information of the second entrance / exit to an idle state when it receives a modification instruction from the input / output device; and to control the drug handling device to take out the drug from the second entrance / exit and send it into the drug storage device when it is determined by the detector in the second entrance / exit that there is medicine stored in the second entrance / exit and the status information of the second entrance / exit is an idle state.
6. The control device according to claim 5, characterized in that, The drug information specifically includes: several drug types, and the quantity of each drug type to be obtained; The first processing module is further configured to: for each type of medicine, control the medicine storage device to take out the corresponding medicine in the quantity required, then put all the medicines into an empty medicine box, control the medicine handling device to receive the medicine box, and send the medicine box into the first inlet / outlet.
7. The control device according to claim 5, characterized in that, The second processing module is also used for: The status information of the second entrance / exit is changed to the storage status. Then, the medicine handling device is controlled to take out the medicine from the second entrance / exit and send it into the medicine storage device. After that, the status information of the second entrance / exit is changed to the idle status.
8. The control device according to claim 5, characterized in that: N=10。
Citation Information
Patent Citations
Medicine taking method and device and control method and device for medicine storage rack
CN111377180A
Medicine bottle storing and taking method, device and system and storage medium
CN113120497A